Package com.google.protobuf
Interface DescriptorProtos.OneofDescriptorProtoOrBuilder
- All Superinterfaces:
MessageLiteOrBuilder
- All Known Implementing Classes:
DescriptorProtos.OneofDescriptorProto
,DescriptorProtos.OneofDescriptorProto.Builder
- Enclosing class:
DescriptorProtos
-
Method Summary
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
hasName
boolean hasName()optional string name = 1;
- Returns:
- Whether the name field is set.
-
getName
String getName()optional string name = 1;
- Returns:
- The name.
-
getNameBytes
ByteString getNameBytes()optional string name = 1;
- Returns:
- The bytes for name.
-
hasOptions
boolean hasOptions()optional .google.protobuf.OneofOptions options = 2;
- Returns:
- Whether the options field is set.
-
getOptions
DescriptorProtos.OneofOptions getOptions()optional .google.protobuf.OneofOptions options = 2;
- Returns:
- The options.
-