Top Methods
com.google.protobuf

public Interface EnumOrBuilder

extends MessageOrBuilder
Known Direct Implementers
com.google.protobuf.Enum, com.google.protobuf.Enum.Builder

Method Summary

Modifier and TypeMethod and Description
public EnumValue
getEnumvalue(int index)

Enum value definitions.
public int
getEnumvalueCount()

Enum value definitions.
public List<EnumValue>
getEnumvalueList()

Enum value definitions.
public EnumValueOrBuilder
getEnumvalueOrBuilder(int index)

Enum value definitions.
public List<? extends EnumValueOrBuilder>
getEnumvalueOrBuilderList()

Enum value definitions.
public String
getName()

Enum type name.
public ByteString
getNameBytes()

Enum type name.
public Option
getOptions(int index)

Protocol buffer options.
public int
getOptionsCount()

Protocol buffer options.
public List<Option>
getOptionsList()

Protocol buffer options.
public OptionOrBuilder
getOptionsOrBuilder(int index)

Protocol buffer options.
public List<? extends OptionOrBuilder>
getOptionsOrBuilderList()

Protocol buffer options.
public SourceContext
getSourceContext()

The source context.
public SourceContextOrBuilder
getSourceContextOrBuilder()

The source context.
public Syntax
getSyntax()

The source syntax.
public int
getSyntaxValue()

The source syntax.
public boolean
hasSourceContext()

The source context.
Inherited from com.google.protobuf.MessageOrBuilder:
findInitializationErrorsgetAllFieldsgetDefaultInstanceForTypegetDescriptorForTypegetFieldgetInitializationErrorStringgetOneofFieldDescriptorgetRepeatedFieldgetRepeatedFieldCountgetUnknownFieldshasFieldhasOneof

Method Detail

getEnumvalueback to summary
public EnumValue getEnumvalue(int index)
Enum value definitions.
repeated .google.protobuf.EnumValue enumvalue = 2;
getEnumvalueCountback to summary
public int getEnumvalueCount()
Enum value definitions.
repeated .google.protobuf.EnumValue enumvalue = 2;
getEnumvalueListback to summary
public List<EnumValue> getEnumvalueList()
Enum value definitions.
repeated .google.protobuf.EnumValue enumvalue = 2;
getEnumvalueOrBuilderback to summary
public EnumValueOrBuilder getEnumvalueOrBuilder(int index)
Enum value definitions.
repeated .google.protobuf.EnumValue enumvalue = 2;
getEnumvalueOrBuilderListback to summary
public List<? extends EnumValueOrBuilder> getEnumvalueOrBuilderList()
Enum value definitions.
repeated .google.protobuf.EnumValue enumvalue = 2;
getNameback to summary
public String getName()
Enum type name.
string name = 1;
getNameBytesback to summary
public ByteString getNameBytes()
Enum type name.
string name = 1;
getOptionsback to summary
public Option getOptions(int index)
Protocol buffer options.
repeated .google.protobuf.Option options = 3;
getOptionsCountback to summary
public int getOptionsCount()
Protocol buffer options.
repeated .google.protobuf.Option options = 3;
getOptionsListback to summary
public List<Option> getOptionsList()
Protocol buffer options.
repeated .google.protobuf.Option options = 3;
getOptionsOrBuilderback to summary
public OptionOrBuilder getOptionsOrBuilder(int index)
Protocol buffer options.
repeated .google.protobuf.Option options = 3;
getOptionsOrBuilderListback to summary
public List<? extends OptionOrBuilder> getOptionsOrBuilderList()
Protocol buffer options.
repeated .google.protobuf.Option options = 3;
getSourceContextback to summary
public SourceContext getSourceContext()
The source context.
.google.protobuf.SourceContext source_context = 4;
getSourceContextOrBuilderback to summary
public SourceContextOrBuilder getSourceContextOrBuilder()
The source context.
.google.protobuf.SourceContext source_context = 4;
getSyntaxback to summary
public Syntax getSyntax()
The source syntax.
.google.protobuf.Syntax syntax = 5;
getSyntaxValueback to summary
public int getSyntaxValue()
The source syntax.
.google.protobuf.Syntax syntax = 5;
hasSourceContextback to summary
public boolean hasSourceContext()
The source context.
.google.protobuf.SourceContext source_context = 4;