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)
PEnumBuilder
setByValue
in class PEnumBuilder<PServiceCallType>
value
- The value to match.public PServiceCallType._Builder setByName(String name)
PEnumBuilder
setByName
in class PEnumBuilder<PServiceCallType>
name
- The name to match.public boolean valid()
PEnumBuilder
valid
in class PEnumBuilder<PServiceCallType>
public PServiceCallType build()
PBuilder
Copyright © 2015–2017 morimekta.net. All rights reserved.