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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Mount.BuilderImplements
MountOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Mount.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Mount.Builder |
build()
public Mount build()
Type | Description |
Mount |
buildPartial()
public Mount buildPartial()
Type | Description |
Mount |
clear()
public Mount.Builder clear()
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;
Type | Description |
Mount.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Mount.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Mount.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Mount.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Mount.Builder |
clearPath()
public Mount.Builder clearPath()
The path to mount the disk inside the container.
string path = 2;
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;
Type | Description |
Mount.Builder | This builder for chaining. |
clone()
public Mount.Builder clone()
Type | Description |
Mount.Builder |
getDefaultInstanceForType()
public Mount getDefaultInstanceForType()
Type | Description |
Mount |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getDisk()
public String getDisk()
The name of the disk to mount, as specified in the resources section.
string disk = 1;
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;
Type | Description |
ByteString | The bytes for disk. |
getPath()
public String getPath()
The path to mount the disk inside the container.
string path = 2;
Type | Description |
String | The path. |
getPathBytes()
public ByteString getPathBytes()
The path to mount the disk inside the container.
string path = 2;
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;
Type | Description |
boolean | The readOnly. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(Mount other)
public Mount.Builder mergeFrom(Mount other)
Name | Description |
other | Mount |
Type | Description |
Mount.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Mount.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Mount.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Mount.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Mount.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Mount.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
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;
Name | Description |
value | String The disk to set. |
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;
Name | Description |
value | ByteString The bytes for disk to set. |
Type | Description |
Mount.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Mount.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Mount.Builder |
setPath(String value)
public Mount.Builder setPath(String value)
The path to mount the disk inside the container.
string path = 2;
Name | Description |
value | String The path to set. |
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;
Name | Description |
value | ByteString The bytes for path to set. |
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;
Name | Description |
value | boolean The readOnly to set. |
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)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Mount.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Mount.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Mount.Builder |