Class MountOption.Builder (0.33.0)

public static final class MountOption.Builder extends GeneratedMessageV3.Builder<MountOption.Builder> implements MountOptionOrBuilder

View only mount options for a volume.

Protobuf type google.cloud.netapp.v1.MountOption

Static 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
Overrides

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
Overrides

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
Overrides

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
Overrides

clearProtocol()

public MountOption.Builder clearProtocol()

Protocol to mount with.

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

Returns
Type Description
MountOption.Builder

This builder for chaining.

clone()

public MountOption.Builder clone()
Returns
Type Description
MountOption.Builder
Overrides

getDefaultInstanceForType()

public MountOption getDefaultInstanceForType()
Returns
Type Description
MountOption

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.v1.Protocols protocol = 3;

Returns
Type Description
Protocols

The protocol.

getProtocolValue()

public int getProtocolValue()

Protocol to mount with.

.google.cloud.netapp.v1.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
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public MountOption.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
MountOption.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final MountOption.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
MountOption.Builder
Overrides

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
Overrides

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.v1.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.v1.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
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final MountOption.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
MountOption.Builder
Overrides