public static interface DescriptorProtos.EnumDescriptorProtoOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
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; |
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.
|
List<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.
|
List<DescriptorProtos.EnumDescriptorProto.EnumReservedRange> |
getReservedRangeList()
Range of reserved numeric values.
|
DescriptorProtos.EnumDescriptorProto.EnumReservedRangeOrBuilder |
getReservedRangeOrBuilder(int index)
Range of reserved numeric values.
|
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; |
List<DescriptorProtos.EnumValueDescriptorProto> |
getValueList()
repeated .google.protobuf.EnumValueDescriptorProto value = 2; |
DescriptorProtos.EnumValueDescriptorProtoOrBuilder |
getValueOrBuilder(int index)
repeated .google.protobuf.EnumValueDescriptorProto value = 2; |
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;
String getName()
optional string name = 1;
ByteString getNameBytes()
optional string name = 1;
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;
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;
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;
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;
List<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;
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.Copyright © 2008–2019. All rights reserved.