Message in google.protobuf
Enum
google.protobuf.Enum
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.
Fields
| Field | Type | Number | Description |
|---|---|---|---|
| name | string | 1 | Enum type name. |
| enumvalue | repeatedEnumValue | 2 | Enum value definitions. |
| options | repeatedOption | 3 | Protocol buffer options. |
| source_context | SourceContext | 4 | The source context. |
| syntax | Syntax | 5 | The source syntax. |
| edition | string | 6 | The source edition string, only valid when syntax is SYNTAX_EDITIONS. |
Defined in google/protobuf/type.proto