public interface EnumValueOrBuilder extends MessageLiteOrBuilder
Implements
MessageLiteOrBuilderMethods
getName()
public abstract String getName()
Enum value name.
string name = 1;
Returns | |
---|---|
Type | Description |
String | The name. |
getNameBytes()
public abstract ByteString getNameBytes()
Enum value name.
string name = 1;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for name. |
getNumber()
public abstract int getNumber()
Enum value number.
int32 number = 2;
Returns | |
---|---|
Type | Description |
int | The number. |
getOptions(int index)
public abstract Option getOptions(int index)
Protocol buffer options.
repeated .google.protobuf.Option options = 3;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
Option |
getOptionsCount()
public abstract int getOptionsCount()
Protocol buffer options.
repeated .google.protobuf.Option options = 3;
Returns | |
---|---|
Type | Description |
int |
getOptionsList()
public abstract List<Option> getOptionsList()
Protocol buffer options.
repeated .google.protobuf.Option options = 3;
Returns | |
---|---|
Type | Description |
List<Option> |