public static interface DescriptorProtos.EnumDescriptorProtoOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
optional string name = 1; |
ByteString |
getNameBytes()
optional string name = 1; |
DescriptorProtos.EnumOptions |
getOptions()
optional .google.protobuf.EnumOptions options = 3; |
DescriptorProtos.EnumOptionsOrBuilder |
getOptionsOrBuilder()
optional .google.protobuf.EnumOptions options = 3; |
java.lang.String |
getReservedName(int index)
Reserved enum value names, which may not be reused.
|
ByteString |
getReservedNameBytes(int index)
Reserved enum value names, which may not be reused.
|
int |
getReservedNameCount()
Reserved enum value names, which may not be reused.
|
java.util.List<java.lang.String> |
getReservedNameList()
Reserved enum value names, which may not be reused.
|
DescriptorProtos.EnumDescriptorProto.EnumReservedRange |
getReservedRange(int index)
Range of reserved numeric values.
|
int |
getReservedRangeCount()
Range of reserved numeric values.
|
java.util.List<DescriptorProtos.EnumDescriptorProto.EnumReservedRange> |
getReservedRangeList()
Range of reserved numeric values.
|
DescriptorProtos.EnumDescriptorProto.EnumReservedRangeOrBuilder |
getReservedRangeOrBuilder(int index)
Range of reserved numeric values.
|
java.util.List<? extends DescriptorProtos.EnumDescriptorProto.EnumReservedRangeOrBuilder> |
getReservedRangeOrBuilderList()
Range of reserved numeric values.
|
DescriptorProtos.EnumValueDescriptorProto |
getValue(int index)
repeated .google.protobuf.EnumValueDescriptorProto value = 2; |
int |
getValueCount()
repeated .google.protobuf.EnumValueDescriptorProto value = 2; |
java.util.List<DescriptorProtos.EnumValueDescriptorProto> |
getValueList()
repeated .google.protobuf.EnumValueDescriptorProto value = 2; |
DescriptorProtos.EnumValueDescriptorProtoOrBuilder |
getValueOrBuilder(int index)
repeated .google.protobuf.EnumValueDescriptorProto value = 2; |
java.util.List<? extends DescriptorProtos.EnumValueDescriptorProtoOrBuilder> |
getValueOrBuilderList()
repeated .google.protobuf.EnumValueDescriptorProto value = 2; |
boolean |
hasName()
optional string name = 1; |
boolean |
hasOptions()
optional .google.protobuf.EnumOptions options = 3; |
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
boolean hasName()
optional string name = 1;
java.lang.String getName()
optional string name = 1;
ByteString getNameBytes()
optional string name = 1;
java.util.List<DescriptorProtos.EnumValueDescriptorProto> getValueList()
repeated .google.protobuf.EnumValueDescriptorProto value = 2;
DescriptorProtos.EnumValueDescriptorProto getValue(int index)
repeated .google.protobuf.EnumValueDescriptorProto value = 2;
int getValueCount()
repeated .google.protobuf.EnumValueDescriptorProto value = 2;
java.util.List<? extends DescriptorProtos.EnumValueDescriptorProtoOrBuilder> getValueOrBuilderList()
repeated .google.protobuf.EnumValueDescriptorProto value = 2;
DescriptorProtos.EnumValueDescriptorProtoOrBuilder getValueOrBuilder(int index)
repeated .google.protobuf.EnumValueDescriptorProto value = 2;
boolean hasOptions()
optional .google.protobuf.EnumOptions options = 3;
DescriptorProtos.EnumOptions getOptions()
optional .google.protobuf.EnumOptions options = 3;
DescriptorProtos.EnumOptionsOrBuilder getOptionsOrBuilder()
optional .google.protobuf.EnumOptions options = 3;
java.util.List<DescriptorProtos.EnumDescriptorProto.EnumReservedRange> getReservedRangeList()
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.
repeated .google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4;
DescriptorProtos.EnumDescriptorProto.EnumReservedRange getReservedRange(int index)
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.
repeated .google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4;
int getReservedRangeCount()
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.
repeated .google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4;
java.util.List<? extends DescriptorProtos.EnumDescriptorProto.EnumReservedRangeOrBuilder> getReservedRangeOrBuilderList()
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.
repeated .google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4;
DescriptorProtos.EnumDescriptorProto.EnumReservedRangeOrBuilder getReservedRangeOrBuilder(int index)
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.
repeated .google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4;
java.util.List<java.lang.String> getReservedNameList()
Reserved enum value names, which may not be reused. A given name may only be reserved once.
repeated string reserved_name = 5;
int getReservedNameCount()
Reserved enum value names, which may not be reused. A given name may only be reserved once.
repeated string reserved_name = 5;
java.lang.String getReservedName(int index)
Reserved enum value names, which may not be reused. A given name may only be reserved once.
repeated string reserved_name = 5;
index
- The index of the element to return.ByteString getReservedNameBytes(int index)
Reserved enum value names, which may not be reused. A given name may only be reserved once.
repeated string reserved_name = 5;
index
- The index of the value to return.