class EnumDescriptorProto extends Message

Properties

string $name
EnumValueDescriptorProto[] $value
EnumOptions $options

Methods

static 
descriptor()

No description

boolean
hasName()

Check if has a value

string
getName()

Get value

setName(string $value)

Set value

boolean
hasValue()

Check if has a value

getValue(int $idx = NULL)

Get value

setValue(EnumValueDescriptorProto $value, $idx = NULL)

Set value

getValueList()

Get all elements of

boolean
hasOptions()

Check if has a value

getOptions()

Get value

Details

at line line 2412
static descriptor()

at line line 2454
boolean hasName()

Check if has a value

Return Value

boolean

at line line 2463
EnumDescriptorProto clearName()

Clear value

Return Value

EnumDescriptorProto

at line line 2472
string getName()

Get value

Return Value

string

at line line 2482
EnumDescriptorProto setName(string $value)

Set value

Parameters

string $value

Return Value

EnumDescriptorProto

at line line 2491
boolean hasValue()

Check if has a value

Return Value

boolean

at line line 2500
EnumDescriptorProto clearValue()

Clear value

Return Value

EnumDescriptorProto

at line line 2510
EnumValueDescriptorProto getValue(int $idx = NULL)

Get value

Parameters

int $idx

Return Value

EnumValueDescriptorProto

at line line 2520
EnumDescriptorProto setValue(EnumValueDescriptorProto $value, $idx = NULL)

Set value

Parameters

EnumValueDescriptorProto $value
$idx

Return Value

EnumDescriptorProto

at line line 2529
EnumValueDescriptorProto[] getValueList()

Get all elements of

Return Value

EnumValueDescriptorProto[]

at line line 2539
EnumDescriptorProto addValue(EnumValueDescriptorProto $value)

Add a new element to

Parameters

EnumValueDescriptorProto $value

Return Value

EnumDescriptorProto

at line line 2548
boolean hasOptions()

Check if has a value

Return Value

boolean

at line line 2557
EnumDescriptorProto clearOptions()

Clear value

Return Value

EnumDescriptorProto

at line line 2566
EnumOptions getOptions()

Get value

Return Value

EnumOptions

at line line 2576
EnumDescriptorProto setOptions(EnumOptions $value)

Set value

Parameters

EnumOptions $value

Return Value

EnumDescriptorProto