public static final class Mount.Builder extends GeneratedMessage.Builder<Mount.Builder> implements MountOrBuilderCarries information about a particular disk mount inside a container.
Protobuf type google.cloud.lifesciences.v2beta.Mount
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Mount.BuilderImplements
MountOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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. |
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. |
getDefaultInstanceForType()
public Mount getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Mount |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Mount.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Mount.Builder |
|
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 |
StringThe 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 |
ByteStringThe bytes for disk to set. |
| Returns | |
|---|---|
| Type | Description |
Mount.Builder |
This builder for chaining. |
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 |
StringThe 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 |
ByteStringThe 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 |
booleanThe readOnly to set. |
| Returns | |
|---|---|
| Type | Description |
Mount.Builder |
This builder for chaining. |