Describes an enum type.

from message google.protobuf.EnumDescriptorProto

Hierarchy

Constructors

Properties

name?: string

from field: optional string name = 1;

options?: EnumOptions

from field: optional google.protobuf.EnumOptions options = 3;

reservedName: string[] = []

Reserved enum value names, which may not be reused. A given name may only be reserved once.

from field: repeated string reserved_name = 5;

Range of reserved numeric values. Reserved numeric values may not be used by enum values in the same enum declaration. Reserved ranges may not overlap.

from field: repeated google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4;

from field: repeated google.protobuf.EnumValueDescriptorProto value = 2;

fields: FieldList = ...
runtime: ProtoRuntime = proto2
typeName: "google.protobuf.EnumDescriptorProto" = "google.protobuf.EnumDescriptorProto"

Methods