public interface EnumOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
EnumValue |
getEnumvalue(int index)
repeated .google.protobuf.EnumValue enumvalue = 2; |
int |
getEnumvalueCount()
repeated .google.protobuf.EnumValue enumvalue = 2; |
List<EnumValue> |
getEnumvalueList()
repeated .google.protobuf.EnumValue enumvalue = 2; |
EnumValueOrBuilder |
getEnumvalueOrBuilder(int index)
repeated .google.protobuf.EnumValue enumvalue = 2; |
List<? extends EnumValueOrBuilder> |
getEnumvalueOrBuilderList()
repeated .google.protobuf.EnumValue enumvalue = 2; |
String |
getName()
optional string name = 1; |
ByteString |
getNameBytes()
optional string name = 1; |
Option |
getOptions(int index)
repeated .google.protobuf.Option options = 3; |
int |
getOptionsCount()
repeated .google.protobuf.Option options = 3; |
List<Option> |
getOptionsList()
repeated .google.protobuf.Option options = 3; |
OptionOrBuilder |
getOptionsOrBuilder(int index)
repeated .google.protobuf.Option options = 3; |
List<? extends OptionOrBuilder> |
getOptionsOrBuilderList()
repeated .google.protobuf.Option options = 3; |
SourceContext |
getSourceContext()
optional .google.protobuf.SourceContext source_context = 4; |
SourceContextOrBuilder |
getSourceContextOrBuilder()
optional .google.protobuf.SourceContext source_context = 4; |
boolean |
hasSourceContext()
optional .google.protobuf.SourceContext source_context = 4; |
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
String getName()
optional string name = 1;
Enum type name.
ByteString getNameBytes()
optional string name = 1;
Enum type name.
List<EnumValue> getEnumvalueList()
repeated .google.protobuf.EnumValue enumvalue = 2;
Enum value definitions.
EnumValue getEnumvalue(int index)
repeated .google.protobuf.EnumValue enumvalue = 2;
Enum value definitions.
int getEnumvalueCount()
repeated .google.protobuf.EnumValue enumvalue = 2;
Enum value definitions.
List<? extends EnumValueOrBuilder> getEnumvalueOrBuilderList()
repeated .google.protobuf.EnumValue enumvalue = 2;
Enum value definitions.
EnumValueOrBuilder getEnumvalueOrBuilder(int index)
repeated .google.protobuf.EnumValue enumvalue = 2;
Enum value definitions.
List<Option> getOptionsList()
repeated .google.protobuf.Option options = 3;
Proto options for the enum type.
Option getOptions(int index)
repeated .google.protobuf.Option options = 3;
Proto options for the enum type.
int getOptionsCount()
repeated .google.protobuf.Option options = 3;
Proto options for the enum type.
List<? extends OptionOrBuilder> getOptionsOrBuilderList()
repeated .google.protobuf.Option options = 3;
Proto options for the enum type.
OptionOrBuilder getOptionsOrBuilder(int index)
repeated .google.protobuf.Option options = 3;
Proto options for the enum type.
boolean hasSourceContext()
optional .google.protobuf.SourceContext source_context = 4;
The source context.
SourceContext getSourceContext()
optional .google.protobuf.SourceContext source_context = 4;
The source context.
SourceContextOrBuilder getSourceContextOrBuilder()
optional .google.protobuf.SourceContext source_context = 4;
The source context.
Copyright © 2008–2015 Google. All rights reserved.