Interface EnumOrBuilder
- All Superinterfaces:
MessageLiteOrBuilder, MessageOrBuilder
- All Known Implementing Classes:
Enum, Enum.Builder
-
Method Summary
Modifier and TypeMethodDescriptionThe source edition string, only valid when syntax is SYNTAX_EDITIONS.The source edition string, only valid when syntax is SYNTAX_EDITIONS.getEnumvalue(int index) Enum value definitions.intEnum value definitions.Enum value definitions.getEnumvalueOrBuilder(int index) Enum value definitions.List<? extends EnumValueOrBuilder> Enum value definitions.getName()Enum type name.Enum type name.getOptions(int index) Protocol buffer options.intProtocol buffer options.Protocol buffer options.getOptionsOrBuilder(int index) Protocol buffer options.List<? extends OptionOrBuilder> Protocol buffer options.The source context.The source context.The source syntax.intThe source syntax.booleanThe source context.Methods inherited from interface MessageLiteOrBuilder
isInitialized
-
Method Details
-
getName
-
getNameBytes
-
getEnumvalueList
-
getEnumvalue
Enum value definitions.
repeated .google.protobuf.EnumValue enumvalue = 2; -
getEnumvalueCount
int getEnumvalueCount()Enum value definitions.
repeated .google.protobuf.EnumValue enumvalue = 2; -
getEnumvalueOrBuilderList
List<? extends EnumValueOrBuilder> getEnumvalueOrBuilderList()Enum value definitions.
repeated .google.protobuf.EnumValue enumvalue = 2; -
getEnumvalueOrBuilder
Enum value definitions.
repeated .google.protobuf.EnumValue enumvalue = 2; -
getOptionsList
-
getOptions
Protocol buffer options.
repeated .google.protobuf.Option options = 3; -
getOptionsCount
int getOptionsCount()Protocol buffer options.
repeated .google.protobuf.Option options = 3; -
getOptionsOrBuilderList
List<? extends OptionOrBuilder> getOptionsOrBuilderList()Protocol buffer options.
repeated .google.protobuf.Option options = 3; -
getOptionsOrBuilder
Protocol buffer options.
repeated .google.protobuf.Option options = 3; -
hasSourceContext
boolean hasSourceContext()The source context.
.google.protobuf.SourceContext source_context = 4;- Returns:
- Whether the sourceContext field is set.
-
getSourceContext
SourceContext getSourceContext()The source context.
.google.protobuf.SourceContext source_context = 4;- Returns:
- The sourceContext.
-
getSourceContextOrBuilder
SourceContextOrBuilder getSourceContextOrBuilder()The source context.
.google.protobuf.SourceContext source_context = 4; -
getSyntaxValue
int getSyntaxValue()The source syntax.
.google.protobuf.Syntax syntax = 5;- Returns:
- The enum numeric value on the wire for syntax.
-
getSyntax
-
getEdition
String getEdition()The source edition string, only valid when syntax is SYNTAX_EDITIONS.
string edition = 6;- Returns:
- The edition.
-
getEditionBytes
ByteString getEditionBytes()The source edition string, only valid when syntax is SYNTAX_EDITIONS.
string edition = 6;- Returns:
- The bytes for edition.
-