public interface EnumOrBuilder extends MessageLiteOrBuilder
Modifier and Type | Method and Description |
---|---|
EnumValue |
getEnumvalue(int index)
Enum value definitions.
|
int |
getEnumvalueCount()
Enum value definitions.
|
List<EnumValue> |
getEnumvalueList()
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.
|
SourceContext |
getSourceContext()
The source context.
|
Syntax |
getSyntax()
The source syntax.
|
int |
getSyntaxValue()
The source syntax.
|
boolean |
hasSourceContext()
The source context.
|
getDefaultInstanceForType, 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<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;
boolean hasSourceContext()
The source context.
.google.protobuf.SourceContext source_context = 4;
SourceContext getSourceContext()
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–2022. All rights reserved.