Class Mount.Builder (0.51.0)

public static final class Mount.Builder extends GeneratedMessageV3.Builder<Mount.Builder> implements MountOrBuilder

Carries information about a particular disk mount inside a container.

Protobuf type google.cloud.lifesciences.v2beta.Mount

Implements

MountOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Mount.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Mount.Builder
Overrides

build()

public Mount build()
Returns
Type Description
Mount

buildPartial()

public Mount buildPartial()
Returns
Type Description
Mount

clear()

public Mount.Builder clear()
Returns
Type Description
Mount.Builder
Overrides

clearDisk()

public Mount.Builder clearDisk()

The name of the disk to mount, as specified in the resources section.

string disk = 1;

Returns
Type Description
Mount.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Mount.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Mount.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Mount.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Mount.Builder
Overrides

clearPath()

public Mount.Builder clearPath()

The path to mount the disk inside the container.

string path = 2;

Returns
Type Description
Mount.Builder

This builder for chaining.

clearReadOnly()

public Mount.Builder clearReadOnly()

If true, the disk is mounted read-only inside the container.

bool read_only = 3;

Returns
Type Description
Mount.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public Mount getDefaultInstanceForType()
Returns
Type Description
Mount

getDescriptorForType()

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

getDisk()

public String getDisk()

The name of the disk to mount, as specified in the resources section.

string disk = 1;

Returns
Type Description
String

The disk.

getDiskBytes()

public ByteString getDiskBytes()

The name of the disk to mount, as specified in the resources section.

string disk = 1;

Returns
Type Description
ByteString

The bytes for disk.

getPath()

public String getPath()

The path to mount the disk inside the container.

string path = 2;

Returns
Type Description
String

The path.

getPathBytes()

public ByteString getPathBytes()

The path to mount the disk inside the container.

string path = 2;

Returns
Type Description
ByteString

The bytes for path.

getReadOnly()

public boolean getReadOnly()

If true, the disk is mounted read-only inside the container.

bool read_only = 3;

Returns
Type Description
boolean

The readOnly.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Mount other)

public Mount.Builder mergeFrom(Mount other)
Parameter
Name Description
other Mount
Returns
Type Description
Mount.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Mount.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Mount.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDisk(String value)

public Mount.Builder setDisk(String value)

The name of the disk to mount, as specified in the resources section.

string disk = 1;

Parameter
Name Description
value String

The disk to set.

Returns
Type Description
Mount.Builder

This builder for chaining.

setDiskBytes(ByteString value)

public Mount.Builder setDiskBytes(ByteString value)

The name of the disk to mount, as specified in the resources section.

string disk = 1;

Parameter
Name Description
value ByteString

The bytes for disk to set.

Returns
Type Description
Mount.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Mount.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Mount.Builder
Overrides

setPath(String value)

public Mount.Builder setPath(String value)

The path to mount the disk inside the container.

string path = 2;

Parameter
Name Description
value String

The path to set.

Returns
Type Description
Mount.Builder

This builder for chaining.

setPathBytes(ByteString value)

public Mount.Builder setPathBytes(ByteString value)

The path to mount the disk inside the container.

string path = 2;

Parameter
Name Description
value ByteString

The bytes for path to set.

Returns
Type Description
Mount.Builder

This builder for chaining.

setReadOnly(boolean value)

public Mount.Builder setReadOnly(boolean value)

If true, the disk is mounted read-only inside the container.

bool read_only = 3;

Parameter
Name Description
value boolean

The readOnly to set.

Returns
Type Description
Mount.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Mount.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Mount.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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