public static interface DescriptorProtos.EnumValueDescriptorProtoOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getName()
public abstract String getName()
optional string name = 1;
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public abstract ByteString getNameBytes()
optional string name = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getNumber()
public abstract int getNumber()
optional int32 number = 2;
Returns | |
---|---|
Type | Description |
int |
The number. |
getOptions()
public abstract DescriptorProtos.EnumValueOptions getOptions()
optional .google.protobuf.EnumValueOptions options = 3;
Returns | |
---|---|
Type | Description |
DescriptorProtos.EnumValueOptions |
The options. |
getOptionsOrBuilder()
public abstract DescriptorProtos.EnumValueOptionsOrBuilder getOptionsOrBuilder()
optional .google.protobuf.EnumValueOptions options = 3;
Returns | |
---|---|
Type | Description |
DescriptorProtos.EnumValueOptionsOrBuilder |
hasName()
public abstract boolean hasName()
optional string name = 1;
Returns | |
---|---|
Type | Description |
boolean |
Whether the name field is set. |
hasNumber()
public abstract boolean hasNumber()
optional int32 number = 2;
Returns | |
---|---|
Type | Description |
boolean |
Whether the number field is set. |
hasOptions()
public abstract boolean hasOptions()
optional .google.protobuf.EnumValueOptions options = 3;
Returns | |
---|---|
Type | Description |
boolean |
Whether the options field is set. |