Enum value definition.
New usages of this message as an alternative to EnumValueDescriptorProto are strongly discouraged. This message does not reliability preserve all information necessary to model the schema and preserve semantics. Instead make use of FileDescriptorSet which preserves the necessary information.
Generated from protobuf message google.protobuf.EnumValue
| Methods |
| public __construct( $data = NULL) Constructor.
|
| public getName() Enum value name. Generated from protobuf field string name = 1;
|
| public getNumber() Enum value number. Generated from protobuf field int32 number = 2;
|
| public getOptions() Protocol buffer options. Generated from protobuf field repeated .google.protobuf.Option options = 3;
|
| public setName( $var) Enum value name. Generated from protobuf field string name = 1;
|
| public setNumber( $var) Enum value number. Generated from protobuf field int32 number = 2;
|
| public setOptions( $var) Protocol buffer options. Generated from protobuf field repeated .google.protobuf.Option options = 3;
|
| Properties |
| protected $name = '' Enum value name. Generated from protobuf field string name = 1; |
| protected $number = 0 Enum value number. Generated from protobuf field int32 number = 2; |
| Methods |
| Properties |
| private $options = NULL Protocol buffer options. Generated from protobuf field repeated .google.protobuf.Option options = 3; |