Enum type definition.
New usages of this message as an alternative to EnumDescriptorProto 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.Enum
| Methods |
| public __construct( $data = NULL) Constructor.
|
| public clearSourceContext() |
| public getEdition() The source edition string, only valid when syntax is SYNTAX_EDITIONS. Generated from protobuf field string edition = 6;
|
| public getEnumvalue() Enum value definitions. Generated from protobuf field repeated .google.protobuf.EnumValue enumvalue = 2;
|
| public getName() Enum type name. Generated from protobuf field string name = 1;
|
| public getOptions() Protocol buffer options. Generated from protobuf field repeated .google.protobuf.Option options = 3;
|
| public getSourceContext() The source context. Generated from protobuf field .google.protobuf.SourceContext source_context = 4;
|
| public getSyntax() The source syntax. Generated from protobuf field .google.protobuf.Syntax syntax = 5;
|
| public hasSourceContext() |
| public setEdition( $var) The source edition string, only valid when syntax is SYNTAX_EDITIONS. Generated from protobuf field string edition = 6;
|
| public setEnumvalue( $var) Enum value definitions. Generated from protobuf field repeated .google.protobuf.EnumValue enumvalue = 2;
|
| public setName( $var) Enum type name. Generated from protobuf field string name = 1;
|
| public setOptions( $var) Protocol buffer options. Generated from protobuf field repeated .google.protobuf.Option options = 3;
|
| public setSourceContext( $var) The source context. Generated from protobuf field .google.protobuf.SourceContext source_context = 4;
|
| public setSyntax( $var) The source syntax. Generated from protobuf field .google.protobuf.Syntax syntax = 5;
|
| Properties |
| protected $edition = '' The source edition string, only valid when syntax is SYNTAX_EDITIONS. Generated from protobuf field string edition = 6; |
| protected $name = '' Enum type name. Generated from protobuf field string name = 1; |
| protected $source_context = NULL The source context. Generated from protobuf field .google.protobuf.SourceContext source_context = 4; |
| protected $syntax = 0 The source syntax. Generated from protobuf field .google.protobuf.Syntax syntax = 5; |
| Methods |
| Properties |
| private $enumvalue = NULL Enum value definitions. Generated from protobuf field repeated .google.protobuf.EnumValue enumvalue = 2; |
| private $options = NULL Protocol buffer options. Generated from protobuf field repeated .google.protobuf.Option options = 3; |