Interface EnumOrBuilder (3.19.4)
Stay organized with collections
Save and categorize content based on your preferences.
publicinterface EnumOrBuilderextendsMessageLiteOrBuilderImplements
MessageLiteOrBuilderMethods
getEnumvalue(int index)
publicabstractEnumValuegetEnumvalue(intindex)Enum value definitions.
repeated .google.protobuf.EnumValue enumvalue = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
EnumValue |
|
getEnumvalueCount()
publicabstractintgetEnumvalueCount()Enum value definitions.
repeated .google.protobuf.EnumValue enumvalue = 2;
| Returns | |
|---|---|
| Type | Description |
int |
|
getEnumvalueList()
publicabstractList<EnumValue>getEnumvalueList()Enum value definitions.
repeated .google.protobuf.EnumValue enumvalue = 2;
| Returns | |
|---|---|
| Type | Description |
List<EnumValue> |
|
getName()
publicabstractStringgetName()Enum type name.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
publicabstractByteStringgetNameBytes()Enum type name.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getOptions(int index)
publicabstractOptiongetOptions(intindex)Protocol buffer options.
repeated .google.protobuf.Option options = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Option |
|
getOptionsCount()
publicabstractintgetOptionsCount()Protocol buffer options.
repeated .google.protobuf.Option options = 3;
| Returns | |
|---|---|
| Type | Description |
int |
|
getOptionsList()
publicabstractList<Option>getOptionsList()Protocol buffer options.
repeated .google.protobuf.Option options = 3;
| Returns | |
|---|---|
| Type | Description |
List<Option> |
|
getSourceContext()
publicabstractSourceContextgetSourceContext()The source context.
.google.protobuf.SourceContext source_context = 4;
| Returns | |
|---|---|
| Type | Description |
SourceContext |
The sourceContext. |
getSyntax()
publicabstractSyntaxgetSyntax()The source syntax.
.google.protobuf.Syntax syntax = 5;
| Returns | |
|---|---|
| Type | Description |
Syntax |
The syntax. |
getSyntaxValue()
publicabstractintgetSyntaxValue()The source syntax.
.google.protobuf.Syntax syntax = 5;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for syntax. |
hasSourceContext()
publicabstractbooleanhasSourceContext()The source context.
.google.protobuf.SourceContext source_context = 4;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the sourceContext field is set. |