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 |
setById(int value)
Set the enum entity from integer value as it was defined in the thrift
IDL.
|
PServiceCallType._Builder |
setByName(String name)
Set the enum entity from name as it was written in the thrift IDL.
|
boolean |
valid()
Check if the enum builder has been given a valid value.
|
@Nonnull public PServiceCallType._Builder setById(int value)
PEnumBuildersetById in class PEnumBuilder<PServiceCallType>value - The value to match.@Nonnull 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–2018 morimekta.net. All rights reserved.