Class Mount (0.10.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
TypeDescription
int

PATH_FIELD_NUMBER

public static final int PATH_FIELD_NUMBER
Field Value
TypeDescription
int

READ_ONLY_FIELD_NUMBER

public static final int READ_ONLY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Mount getDefaultInstance()
Returns
TypeDescription
Mount

getDescriptor()

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

newBuilder()

public static Mount.Builder newBuilder()
Returns
TypeDescription
Mount.Builder

newBuilder(Mount prototype)

public static Mount.Builder newBuilder(Mount prototype)
Parameter
NameDescription
prototypeMount
Returns
TypeDescription
Mount.Builder

parseDelimitedFrom(InputStream input)

public static Mount parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Mount
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Mount parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Mount
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Mount parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Mount
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Mount parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Mount
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Mount parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Mount
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Mount parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Mount
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Mount parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Mount
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Mount parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Mount
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Mount parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Mount
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Mount parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Mount
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Mount parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Mount
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Mount parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Mount
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Mount> parser()
Returns
TypeDescription
Parser<Mount>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public Mount getDefaultInstanceForType()
Returns
TypeDescription
Mount

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.

getParserForType()

public Parser<Mount> getParserForType()
Returns
TypeDescription
Parser<Mount>
Overrides

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.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Mount.Builder newBuilderForType()
Returns
TypeDescription
Mount.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Mount.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Mount.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Mount.Builder toBuilder()
Returns
TypeDescription
Mount.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException