public static interface DescriptorProtos.OneofDescriptorProtoOrBuilder 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. |
getOptions()
public abstract DescriptorProtos.OneofOptions getOptions()
optional .google.protobuf.OneofOptions options = 2;
Returns | |
---|---|
Type | Description |
DescriptorProtos.OneofOptions |
The options. |
getOptionsOrBuilder()
public abstract DescriptorProtos.OneofOptionsOrBuilder getOptionsOrBuilder()
optional .google.protobuf.OneofOptions options = 2;
Returns | |
---|---|
Type | Description |
DescriptorProtos.OneofOptionsOrBuilder |
hasName()
public abstract boolean hasName()
optional string name = 1;
Returns | |
---|---|
Type | Description |
boolean |
Whether the name field is set. |
hasOptions()
public abstract boolean hasOptions()
optional .google.protobuf.OneofOptions options = 2;
Returns | |
---|---|
Type | Description |
boolean |
Whether the options field is set. |