public static class PServiceCallType._Builder extends PEnumBuilder<PServiceCallType>
| Constructor and Description |
|---|
_Builder() |
| Modifier and Type | Method and Description |
|---|---|
PServiceCallType |
build()
Build the instance value.
|
PServiceCallType._Builder |
setByName(String name)
Set the enum entity from name as it was written in the thrift IDL.
|
PServiceCallType._Builder |
setByValue(int value)
Set the enum entity from integer value as it was defined in the thrift
IDL.
|
boolean |
valid()
Check if the enum builder has been given a valid value.
|
public PServiceCallType._Builder setByValue(int value)
PEnumBuildersetByValue in class PEnumBuilder<PServiceCallType>value - The value to match.public PServiceCallType._Builder setByName(String name)
PEnumBuildersetByName in class PEnumBuilder<PServiceCallType>name - The name to match.public boolean valid()
PEnumBuildervalid in class PEnumBuilder<PServiceCallType>public PServiceCallType build()
PBuilderCopyright © 2015–2016 morimekta.net. All rights reserved.