Package com.google.protobuf
Interface DescriptorProtos.EnumDescriptorProtoOrBuilder
- All Superinterfaces:
MessageLiteOrBuilder,MessageOrBuilder
- All Known Implementing Classes:
DescriptorProtos.EnumDescriptorProto,DescriptorProtos.EnumDescriptorProto.Builder
- Enclosing class:
- DescriptorProtos
-
Method Summary
Modifier and TypeMethodDescriptiongetName()optional string name = 1;optional string name = 1;optional .google.protobuf.EnumOptions options = 3;optional .google.protobuf.EnumOptions options = 3;getValue(int index) repeated .google.protobuf.EnumValueDescriptorProto value = 2;intrepeated .google.protobuf.EnumValueDescriptorProto value = 2;repeated .google.protobuf.EnumValueDescriptorProto value = 2;getValueOrBuilder(int index) repeated .google.protobuf.EnumValueDescriptorProto value = 2;repeated .google.protobuf.EnumValueDescriptorProto value = 2;booleanhasName()optional string name = 1;booleanoptional .google.protobuf.EnumOptions options = 3;Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasName
boolean hasName()optional string name = 1; -
getName
String getName()optional string name = 1; -
getNameBytes
ByteString getNameBytes()optional string name = 1; -
getValueList
List<DescriptorProtos.EnumValueDescriptorProto> getValueList()repeated .google.protobuf.EnumValueDescriptorProto value = 2; -
getValue
repeated .google.protobuf.EnumValueDescriptorProto value = 2; -
getValueCount
int getValueCount()repeated .google.protobuf.EnumValueDescriptorProto value = 2; -
getValueOrBuilderList
List<? extends DescriptorProtos.EnumValueDescriptorProtoOrBuilder> getValueOrBuilderList()repeated .google.protobuf.EnumValueDescriptorProto value = 2; -
getValueOrBuilder
repeated .google.protobuf.EnumValueDescriptorProto value = 2; -
hasOptions
boolean hasOptions()optional .google.protobuf.EnumOptions options = 3; -
getOptions
DescriptorProtos.EnumOptions getOptions()optional .google.protobuf.EnumOptions options = 3; -
getOptionsOrBuilder
DescriptorProtos.EnumOptionsOrBuilder getOptionsOrBuilder()optional .google.protobuf.EnumOptions options = 3;
-