Package com.google.protobuf
Interface DescriptorProtos.OneofDescriptorProtoOrBuilder
-
- All Superinterfaces:
MessageLiteOrBuilder,MessageOrBuilder
- All Known Implementing Classes:
DescriptorProtos.OneofDescriptorProto,DescriptorProtos.OneofDescriptorProto.Builder
- Enclosing class:
- DescriptorProtos
public static interface DescriptorProtos.OneofDescriptorProtoOrBuilder 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"];ByteStringgetNameBytes()optional string name = 1 [json_name = "name"];DescriptorProtos.OneofOptionsgetOptions()optional .google.protobuf.OneofOptions options = 2 [json_name = "options"];DescriptorProtos.OneofOptionsOrBuildergetOptionsOrBuilder()optional .google.protobuf.OneofOptions options = 2 [json_name = "options"];booleanhasName()optional string name = 1 [json_name = "name"];booleanhasOptions()optional .google.protobuf.OneofOptions options = 2 [json_name = "options"];-
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
-
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
ByteString getNameBytes()
optional string name = 1 [json_name = "name"];- Returns:
- The bytes for name.
-
hasOptions
boolean hasOptions()
optional .google.protobuf.OneofOptions options = 2 [json_name = "options"];- Returns:
- Whether the options field is set.
-
getOptions
DescriptorProtos.OneofOptions getOptions()
optional .google.protobuf.OneofOptions options = 2 [json_name = "options"];- Returns:
- The options.
-
getOptionsOrBuilder
DescriptorProtos.OneofOptionsOrBuilder getOptionsOrBuilder()
optional .google.protobuf.OneofOptions options = 2 [json_name = "options"];
-
-