public static final class MountOption.Builder extends GeneratedMessageV3.Builder<MountOption.Builder> implements MountOptionOrBuilder
MountOption View only mount options for a volume.
Protobuf type google.cloud.netapp.v1beta1.MountOption
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > MountOption.BuilderImplements
MountOptionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MountOption.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
MountOption.Builder |
build()
public MountOption build()
Returns | |
---|---|
Type | Description |
MountOption |
buildPartial()
public MountOption buildPartial()
Returns | |
---|---|
Type | Description |
MountOption |
clear()
public MountOption.Builder clear()
Returns | |
---|---|
Type | Description |
MountOption.Builder |
clearExport()
public MountOption.Builder clearExport()
Export string
string export = 1;
Returns | |
---|---|
Type | Description |
MountOption.Builder | This builder for chaining. |
clearExportFull()
public MountOption.Builder clearExportFull()
Full export string
string export_full = 2;
Returns | |
---|---|
Type | Description |
MountOption.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public MountOption.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
MountOption.Builder |
clearInstructions()
public MountOption.Builder clearInstructions()
Instructions for mounting
string instructions = 4;
Returns | |
---|---|
Type | Description |
MountOption.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public MountOption.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
MountOption.Builder |
clearProtocol()
public MountOption.Builder clearProtocol()
Protocol to mount with.
.google.cloud.netapp.v1beta1.Protocols protocol = 3;
Returns | |
---|---|
Type | Description |
MountOption.Builder | This builder for chaining. |
clone()
public MountOption.Builder clone()
Returns | |
---|---|
Type | Description |
MountOption.Builder |
getDefaultInstanceForType()
public MountOption getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
MountOption |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getExport()
public String getExport()
Export string
string export = 1;
Returns | |
---|---|
Type | Description |
String | The export. |
getExportBytes()
public ByteString getExportBytes()
Export string
string export = 1;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for export. |
getExportFull()
public String getExportFull()
Full export string
string export_full = 2;
Returns | |
---|---|
Type | Description |
String | The exportFull. |
getExportFullBytes()
public ByteString getExportFullBytes()
Full export string
string export_full = 2;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for exportFull. |
getInstructions()
public String getInstructions()
Instructions for mounting
string instructions = 4;
Returns | |
---|---|
Type | Description |
String | The instructions. |
getInstructionsBytes()
public ByteString getInstructionsBytes()
Instructions for mounting
string instructions = 4;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for instructions. |
getProtocol()
public Protocols getProtocol()
Protocol to mount with.
.google.cloud.netapp.v1beta1.Protocols protocol = 3;
Returns | |
---|---|
Type | Description |
Protocols | The protocol. |
getProtocolValue()
public int getProtocolValue()
Protocol to mount with.
.google.cloud.netapp.v1beta1.Protocols protocol = 3;
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire for protocol. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(MountOption other)
public MountOption.Builder mergeFrom(MountOption other)
Parameter | |
---|---|
Name | Description |
other | MountOption |
Returns | |
---|---|
Type | Description |
MountOption.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MountOption.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
MountOption.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public MountOption.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
MountOption.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MountOption.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
MountOption.Builder |
setExport(String value)
public MountOption.Builder setExport(String value)
Export string
string export = 1;
Parameter | |
---|---|
Name | Description |
value | String The export to set. |
Returns | |
---|---|
Type | Description |
MountOption.Builder | This builder for chaining. |
setExportBytes(ByteString value)
public MountOption.Builder setExportBytes(ByteString value)
Export string
string export = 1;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for export to set. |
Returns | |
---|---|
Type | Description |
MountOption.Builder | This builder for chaining. |
setExportFull(String value)
public MountOption.Builder setExportFull(String value)
Full export string
string export_full = 2;
Parameter | |
---|---|
Name | Description |
value | String The exportFull to set. |
Returns | |
---|---|
Type | Description |
MountOption.Builder | This builder for chaining. |
setExportFullBytes(ByteString value)
public MountOption.Builder setExportFullBytes(ByteString value)
Full export string
string export_full = 2;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for exportFull to set. |
Returns | |
---|---|
Type | Description |
MountOption.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public MountOption.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
MountOption.Builder |
setInstructions(String value)
public MountOption.Builder setInstructions(String value)
Instructions for mounting
string instructions = 4;
Parameter | |
---|---|
Name | Description |
value | String The instructions to set. |
Returns | |
---|---|
Type | Description |
MountOption.Builder | This builder for chaining. |
setInstructionsBytes(ByteString value)
public MountOption.Builder setInstructionsBytes(ByteString value)
Instructions for mounting
string instructions = 4;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for instructions to set. |
Returns | |
---|---|
Type | Description |
MountOption.Builder | This builder for chaining. |
setProtocol(Protocols value)
public MountOption.Builder setProtocol(Protocols value)
Protocol to mount with.
.google.cloud.netapp.v1beta1.Protocols protocol = 3;
Parameter | |
---|---|
Name | Description |
value | Protocols The protocol to set. |
Returns | |
---|---|
Type | Description |
MountOption.Builder | This builder for chaining. |
setProtocolValue(int value)
public MountOption.Builder setProtocolValue(int value)
Protocol to mount with.
.google.cloud.netapp.v1beta1.Protocols protocol = 3;
Parameter | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for protocol to set. |
Returns | |
---|---|
Type | Description |
MountOption.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MountOption.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
MountOption.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final MountOption.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
MountOption.Builder |