Package com.google.protobuf
Interface DescriptorProtos.EnumValueDescriptorProtoOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,MessageOrBuilder
- All Known Implementing Classes:
DescriptorProtos.EnumValueDescriptorProto,DescriptorProtos.EnumValueDescriptorProto.Builder
- Enclosing class:
- DescriptorProtos
public static interface DescriptorProtos.EnumValueDescriptorProtoOrBuilder extends MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetName()optional string name = 1 [json_name = "name"];com.google.protobuf.ByteStringgetNameBytes()optional string name = 1 [json_name = "name"];intgetNumber()optional int32 number = 2 [json_name = "number"];DescriptorProtos.EnumValueOptionsgetOptions()optional .google.protobuf.EnumValueOptions options = 3 [json_name = "options"];DescriptorProtos.EnumValueOptionsOrBuildergetOptionsOrBuilder()optional .google.protobuf.EnumValueOptions options = 3 [json_name = "options"];booleanhasName()optional string name = 1 [json_name = "name"];booleanhasNumber()optional int32 number = 2 [json_name = "number"];booleanhasOptions()optional .google.protobuf.EnumValueOptions options = 3 [json_name = "options"];-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasName
boolean hasName()
optional string name = 1 [json_name = "name"];- Returns:
- Whether the name field is set.
-
getName
java.lang.String getName()
optional string name = 1 [json_name = "name"];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
optional string name = 1 [json_name = "name"];- Returns:
- The bytes for name.
-
hasNumber
boolean hasNumber()
optional int32 number = 2 [json_name = "number"];- Returns:
- Whether the number field is set.
-
getNumber
int getNumber()
optional int32 number = 2 [json_name = "number"];- Returns:
- The number.
-
hasOptions
boolean hasOptions()
optional .google.protobuf.EnumValueOptions options = 3 [json_name = "options"];- Returns:
- Whether the options field is set.
-
getOptions
DescriptorProtos.EnumValueOptions getOptions()
optional .google.protobuf.EnumValueOptions options = 3 [json_name = "options"];- Returns:
- The options.
-
getOptionsOrBuilder
DescriptorProtos.EnumValueOptionsOrBuilder getOptionsOrBuilder()
optional .google.protobuf.EnumValueOptions options = 3 [json_name = "options"];
-
-