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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Mount.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
Returns |
Type |
Description |
Mount |
|
buildPartial()
public Mount buildPartial()
Returns |
Type |
Description |
Mount |
|
clear()
public Mount.Builder clear()
Overrides
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.
|
clearField(Descriptors.FieldDescriptor field)
public Mount.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Mount.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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.
|
clone()
public Mount.Builder clone()
Overrides
getDefaultInstanceForType()
public Mount getDefaultInstanceForType()
Returns |
Type |
Description |
Mount |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
Type |
Description |
ByteString |
The bytes for disk.
|
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Mount other)
public Mount.Builder mergeFrom(Mount other)
Parameter |
Name |
Description |
other |
Mount
|
public Mount.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Mount.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Mount.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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 |
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 |
ByteString
The bytes for disk to set.
|
Returns |
Type |
Description |
Mount.Builder |
This builder for chaining.
|
setField(Descriptors.FieldDescriptor field, Object value)
public Mount.Builder setField(Descriptors.FieldDescriptor field, Object value)
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 |
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 |
ByteString
The 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 |
boolean
The readOnly to set.
|
Returns |
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)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Mount.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides