Interface DescriptorProtos.EnumValueDescriptorProtoOrBuilder

public static interface DescriptorProtos.EnumValueDescriptorProtoOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getName()

public abstract String getName()

optional string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

optional string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getNumber()

public abstract int getNumber()

optional int32 number = 2;

Returns
TypeDescription
int

The number.

getOptions()

public abstract DescriptorProtos.EnumValueOptions getOptions()

optional .google.protobuf.EnumValueOptions options = 3;

Returns
TypeDescription
DescriptorProtos.EnumValueOptions

The options.

getOptionsOrBuilder()

public abstract DescriptorProtos.EnumValueOptionsOrBuilder getOptionsOrBuilder()

optional .google.protobuf.EnumValueOptions options = 3;

Returns
TypeDescription
DescriptorProtos.EnumValueOptionsOrBuilder

hasName()

public abstract boolean hasName()

optional string name = 1;

Returns
TypeDescription
boolean

Whether the name field is set.

hasNumber()

public abstract boolean hasNumber()

optional int32 number = 2;

Returns
TypeDescription
boolean

Whether the number field is set.

hasOptions()

public abstract boolean hasOptions()

optional .google.protobuf.EnumValueOptions options = 3;

Returns
TypeDescription
boolean

Whether the options field is set.