Interface EnumValueOrBuilder (3.19.4)
Stay organized with collections
Save and categorize content based on your preferences.
publicinterface EnumValueOrBuilderextendsMessageLiteOrBuilderImplements
MessageLiteOrBuilderMethods
getName()
publicabstractStringgetName()Enum value name.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
publicabstractByteStringgetNameBytes()Enum value name.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getNumber()
publicabstractintgetNumber()Enum value number.
int32 number = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The number. |
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> |
|