EnumDescriptorProto
class EnumDescriptorProto extends Message
Properties
string | $name | ||
EnumValueDescriptorProto[] | $value | ||
EnumOptions | $options |
Methods
static
descriptor()
No description
boolean
hasName()
Check if
clearName()
Clear
string
getName()
Get
setName(string $value)
Set
boolean
hasValue()
Check if
clearValue()
Clear
getValue(int $idx = NULL)
Get
getValueList()
Get all elements of
boolean
hasOptions()
Check if
clearOptions()
Clear
getOptions()
Get
Details
at line line 2412
static
descriptor()
at line line 2454
boolean
hasName()
Check if
at line line 2463
EnumDescriptorProto
clearName()
Clear
at line line 2472
string
getName()
Get
at line line 2482
EnumDescriptorProto
setName(string $value)
Set
at line line 2491
boolean
hasValue()
Check if
at line line 2500
EnumDescriptorProto
clearValue()
Clear
at line line 2510
EnumValueDescriptorProto
getValue(int $idx = NULL)
Get
at line line 2520
EnumDescriptorProto
setValue(EnumValueDescriptorProto $value, $idx = NULL)
Set
at line line 2529
EnumValueDescriptorProto[]
getValueList()
Get all elements of
at line line 2539
EnumDescriptorProto
addValue(EnumValueDescriptorProto $value)
Add a new element to
at line line 2548
boolean
hasOptions()
Check if
at line line 2557
EnumDescriptorProto
clearOptions()
Clear
at line line 2566
EnumOptions
getOptions()
Get
at line line 2576
EnumDescriptorProto
setOptions(EnumOptions $value)
Set