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