Interface DescriptorProtos.OneofDescriptorProtoOrBuilder

public static interface DescriptorProtos.OneofDescriptorProtoOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getName()

public abstract String getName()

optional string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

optional string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getOptions()

public abstract DescriptorProtos.OneofOptions getOptions()

optional .google.protobuf.OneofOptions options = 2;

Returns
TypeDescription
DescriptorProtos.OneofOptions

The options.

getOptionsOrBuilder()

public abstract DescriptorProtos.OneofOptionsOrBuilder getOptionsOrBuilder()

optional .google.protobuf.OneofOptions options = 2;

Returns
TypeDescription
DescriptorProtos.OneofOptionsOrBuilder

hasName()

public abstract boolean hasName()

optional string name = 1;

Returns
TypeDescription
boolean

Whether the name field is set.

hasOptions()

public abstract boolean hasOptions()

optional .google.protobuf.OneofOptions options = 2;

Returns
TypeDescription
boolean

Whether the options field is set.