Class Mount.Builder

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Mount build()
Returns
TypeDescription
Mount

buildPartial()

public Mount buildPartial()
Returns
TypeDescription
Mount

clear()

public Mount.Builder clear()
Returns
TypeDescription
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
TypeDescription
Mount.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPath()

public Mount.Builder clearPath()

The path to mount the disk inside the container.

string path = 2;

Returns
TypeDescription
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
TypeDescription
Mount.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public Mount getDefaultInstanceForType()
Returns
TypeDescription
Mount

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDisk()

public String getDisk()

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

string disk = 1;

Returns
TypeDescription
String

The disk.

getDiskBytes()

public ByteString getDiskBytes()

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

string disk = 1;

Returns
TypeDescription
ByteString

The bytes for disk.

getPath()

public String getPath()

The path to mount the disk inside the container.

string path = 2;

Returns
TypeDescription
String

The path.

getPathBytes()

public ByteString getPathBytes()

The path to mount the disk inside the container.

string path = 2;

Returns
TypeDescription
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
TypeDescription
boolean

The readOnly.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Mount other)

public Mount.Builder mergeFrom(Mount other)
Parameter
NameDescription
otherMount
Returns
TypeDescription
Mount.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Mount.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The disk to set.

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

The bytes for disk to set.

Returns
TypeDescription
Mount.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Mount.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The path to set.

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

The bytes for path to set.

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

The readOnly to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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