Interface EnumValueOrBuilder

Stay organized with collections Save and categorize content based on your preferences.
public interface EnumValueOrBuilder extends MessageLiteOrBuilder

Methods

getName()

public abstract String getName()

Enum value name.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Enum value name.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getNumber()

public abstract int getNumber()

Enum value number.

int32 number = 2;

Returns
TypeDescription
int

The number.

getOptions(int index)

public abstract Option getOptions(int index)

Protocol buffer options.

repeated .google.protobuf.Option options = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
Option

getOptionsCount()

public abstract int getOptionsCount()

Protocol buffer options.

repeated .google.protobuf.Option options = 3;

Returns
TypeDescription
int

getOptionsList()

public abstract List<Option> getOptionsList()

Protocol buffer options.

repeated .google.protobuf.Option options = 3;

Returns
TypeDescription
List<Option>