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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Mount.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
Returns
buildPartial()
public Mount buildPartial()
Returns
clear()
public Mount.Builder clear()
Returns
Overrides
clearDisk()
public Mount.Builder clearDisk()
The name of the disk to mount, as specified in the resources section.
string disk = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public Mount.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Mount.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearPath()
public Mount.Builder clearPath()
The path to mount the disk inside the container.
string path = 2;
Returns
clearReadOnly()
public Mount.Builder clearReadOnly()
If true, the disk is mounted read-only inside the container.
bool read_only = 3;
Returns
clone()
public Mount.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public Mount getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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
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
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(Mount other)
public Mount.Builder mergeFrom(Mount other)
Parameter
Name | Description |
other | Mount
|
Returns
public Mount.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Mount.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Mount.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Name | Description |
value | String
The disk to set.
|
Returns
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 | ByteString
The bytes for disk to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public Mount.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
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 | String
The path to set.
|
Returns
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 | ByteString
The bytes for path to set.
|
Returns
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 | boolean
The readOnly to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Mount.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Mount.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides