Interface DescriptorProtos.EnumValueDescriptorProtoOrBuilder
- All Superinterfaces:
MessageLiteOrBuilder
- All Known Implementing Classes:
DescriptorProtos.EnumValueDescriptorProto, DescriptorProtos.EnumValueDescriptorProto.Builder
- Enclosing class:
DescriptorProtos
public static interface DescriptorProtos.EnumValueDescriptorProtoOrBuilder
extends MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetName()optional string name = 1;optional string name = 1;intoptional int32 number = 2;optional .google.protobuf.EnumValueOptions options = 3;booleanhasName()optional string name = 1;booleanoptional int32 number = 2;booleanoptional .google.protobuf.EnumValueOptions options = 3;Methods inherited from interface MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
hasName
boolean hasName()optional string name = 1;- Returns:
- Whether the name field is set.
-
getName
-
getNameBytes
-
hasNumber
boolean hasNumber()optional int32 number = 2;- Returns:
- Whether the number field is set.
-
getNumber
int getNumber()optional int32 number = 2;- Returns:
- The number.
-
hasOptions
boolean hasOptions()optional .google.protobuf.EnumValueOptions options = 3;- Returns:
- Whether the options field is set.
-
getOptions
DescriptorProtos.EnumValueOptions getOptions()optional .google.protobuf.EnumValueOptions options = 3;- Returns:
- The options.
-