Class Mount (0.50.0)

public final class Mount extends GeneratedMessageV3 implements MountOrBuilder

Carries information about a particular disk mount inside a container.

Protobuf type google.cloud.lifesciences.v2beta.Mount

Implements

MountOrBuilder

Static Fields

DISK_FIELD_NUMBER

public static final int DISK_FIELD_NUMBER
Field Value
Type Description
int

PATH_FIELD_NUMBER

public static final int PATH_FIELD_NUMBER
Field Value
Type Description
int

READ_ONLY_FIELD_NUMBER

public static final int READ_ONLY_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Mount getDefaultInstance()
Returns
Type Description
Mount

getDescriptor()

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

newBuilder()

public static Mount.Builder newBuilder()
Returns
Type Description
Mount.Builder

newBuilder(Mount prototype)

public static Mount.Builder newBuilder(Mount prototype)
Parameter
Name Description
prototype Mount
Returns
Type Description
Mount.Builder

parseDelimitedFrom(InputStream input)

public static Mount parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Mount
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Mount parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Mount
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Mount parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Mount
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Mount parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Mount
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Mount parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Mount
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Mount parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Mount
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Mount parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Mount
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Mount parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Mount
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Mount parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Mount
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Mount parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Mount
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Mount parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Mount
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Mount parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Mount
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Mount> parser()
Returns
Type Description
Parser<Mount>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public Mount getDefaultInstanceForType()
Returns
Type Description
Mount

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.

getParserForType()

public Parser<Mount> getParserForType()
Returns
Type Description
Parser<Mount>
Overrides

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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Mount.Builder newBuilderForType()
Returns
Type Description
Mount.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Mount.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Mount.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Mount.Builder toBuilder()
Returns
Type Description
Mount.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException