Class MountOption.Builder (0.1.0)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public MountOption.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
MountOption.Builder
Overrides

build()

public MountOption build()
Returns
TypeDescription
MountOption

buildPartial()

public MountOption buildPartial()
Returns
TypeDescription
MountOption

clear()

public MountOption.Builder clear()
Returns
TypeDescription
MountOption.Builder
Overrides

clearExport()

public MountOption.Builder clearExport()

Export string

string export = 1;

Returns
TypeDescription
MountOption.Builder

This builder for chaining.

clearExportFull()

public MountOption.Builder clearExportFull()

Full export string

string export_full = 2;

Returns
TypeDescription
MountOption.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public MountOption.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
MountOption.Builder
Overrides

clearInstructions()

public MountOption.Builder clearInstructions()

Instructions for mounting

string instructions = 4;

Returns
TypeDescription
MountOption.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public MountOption.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
MountOption.Builder
Overrides

clearProtocol()

public MountOption.Builder clearProtocol()

Protocol to mount with.

.google.cloud.netapp.v1beta1.Protocols protocol = 3;

Returns
TypeDescription
MountOption.Builder

This builder for chaining.

clone()

public MountOption.Builder clone()
Returns
TypeDescription
MountOption.Builder
Overrides

getDefaultInstanceForType()

public MountOption getDefaultInstanceForType()
Returns
TypeDescription
MountOption

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getExport()

public String getExport()

Export string

string export = 1;

Returns
TypeDescription
String

The export.

getExportBytes()

public ByteString getExportBytes()

Export string

string export = 1;

Returns
TypeDescription
ByteString

The bytes for export.

getExportFull()

public String getExportFull()

Full export string

string export_full = 2;

Returns
TypeDescription
String

The exportFull.

getExportFullBytes()

public ByteString getExportFullBytes()

Full export string

string export_full = 2;

Returns
TypeDescription
ByteString

The bytes for exportFull.

getInstructions()

public String getInstructions()

Instructions for mounting

string instructions = 4;

Returns
TypeDescription
String

The instructions.

getInstructionsBytes()

public ByteString getInstructionsBytes()

Instructions for mounting

string instructions = 4;

Returns
TypeDescription
ByteString

The bytes for instructions.

getProtocol()

public Protocols getProtocol()

Protocol to mount with.

.google.cloud.netapp.v1beta1.Protocols protocol = 3;

Returns
TypeDescription
Protocols

The protocol.

getProtocolValue()

public int getProtocolValue()

Protocol to mount with.

.google.cloud.netapp.v1beta1.Protocols protocol = 3;

Returns
TypeDescription
int

The enum numeric value on the wire for protocol.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(MountOption other)

public MountOption.Builder mergeFrom(MountOption other)
Parameter
NameDescription
otherMountOption
Returns
TypeDescription
MountOption.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public MountOption.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MountOption.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public MountOption.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
MountOption.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final MountOption.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
MountOption.Builder
Overrides

setExport(String value)

public MountOption.Builder setExport(String value)

Export string

string export = 1;

Parameter
NameDescription
valueString

The export to set.

Returns
TypeDescription
MountOption.Builder

This builder for chaining.

setExportBytes(ByteString value)

public MountOption.Builder setExportBytes(ByteString value)

Export string

string export = 1;

Parameter
NameDescription
valueByteString

The bytes for export to set.

Returns
TypeDescription
MountOption.Builder

This builder for chaining.

setExportFull(String value)

public MountOption.Builder setExportFull(String value)

Full export string

string export_full = 2;

Parameter
NameDescription
valueString

The exportFull to set.

Returns
TypeDescription
MountOption.Builder

This builder for chaining.

setExportFullBytes(ByteString value)

public MountOption.Builder setExportFullBytes(ByteString value)

Full export string

string export_full = 2;

Parameter
NameDescription
valueByteString

The bytes for exportFull to set.

Returns
TypeDescription
MountOption.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public MountOption.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
MountOption.Builder
Overrides

setInstructions(String value)

public MountOption.Builder setInstructions(String value)

Instructions for mounting

string instructions = 4;

Parameter
NameDescription
valueString

The instructions to set.

Returns
TypeDescription
MountOption.Builder

This builder for chaining.

setInstructionsBytes(ByteString value)

public MountOption.Builder setInstructionsBytes(ByteString value)

Instructions for mounting

string instructions = 4;

Parameter
NameDescription
valueByteString

The bytes for instructions to set.

Returns
TypeDescription
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
NameDescription
valueProtocols

The protocol to set.

Returns
TypeDescription
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
NameDescription
valueint

The enum numeric value on the wire for protocol to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
MountOption.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final MountOption.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
MountOption.Builder
Overrides