Class Mount.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Mount.Builder>
-
- com.google.cloud.lifesciences.v2beta.Mount.Builder
-
- All Implemented Interfaces:
MountOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- Mount
public static final class Mount.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Mount.Builder> implements MountOrBuilder
Carries information about a particular disk mount inside a container.
Protobuf typegoogle.cloud.lifesciences.v2beta.Mount
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Mount.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Mount
build()
Mount
buildPartial()
Mount.Builder
clear()
Mount.Builder
clearDisk()
The name of the disk to mount, as specified in the resources section.Mount.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Mount.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Mount.Builder
clearPath()
The path to mount the disk inside the container.Mount.Builder
clearReadOnly()
If true, the disk is mounted read-only inside the container.Mount.Builder
clone()
Mount
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getDisk()
The name of the disk to mount, as specified in the resources section.com.google.protobuf.ByteString
getDiskBytes()
The name of the disk to mount, as specified in the resources section.String
getPath()
The path to mount the disk inside the container.com.google.protobuf.ByteString
getPathBytes()
The path to mount the disk inside the container.boolean
getReadOnly()
If true, the disk is mounted read-only inside the container.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Mount.Builder
mergeFrom(Mount other)
Mount.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Mount.Builder
mergeFrom(com.google.protobuf.Message other)
Mount.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Mount.Builder
setDisk(String value)
The name of the disk to mount, as specified in the resources section.Mount.Builder
setDiskBytes(com.google.protobuf.ByteString value)
The name of the disk to mount, as specified in the resources section.Mount.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Mount.Builder
setPath(String value)
The path to mount the disk inside the container.Mount.Builder
setPathBytes(com.google.protobuf.ByteString value)
The path to mount the disk inside the container.Mount.Builder
setReadOnly(boolean value)
If true, the disk is mounted read-only inside the container.Mount.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Mount.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Mount.Builder>
-
clear
public Mount.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Mount.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Mount.Builder>
-
getDefaultInstanceForType
public Mount getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Mount build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Mount buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Mount.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Mount.Builder>
-
setField
public Mount.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Mount.Builder>
-
clearField
public Mount.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Mount.Builder>
-
clearOneof
public Mount.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Mount.Builder>
-
setRepeatedField
public Mount.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Mount.Builder>
-
addRepeatedField
public Mount.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Mount.Builder>
-
mergeFrom
public Mount.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Mount.Builder>
-
mergeFrom
public Mount.Builder mergeFrom(Mount other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Mount.Builder>
-
mergeFrom
public Mount.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Mount.Builder>
- Throws:
IOException
-
getDisk
public String getDisk()
The name of the disk to mount, as specified in the resources section.
string disk = 1;
- Specified by:
getDisk
in interfaceMountOrBuilder
- Returns:
- The disk.
-
getDiskBytes
public com.google.protobuf.ByteString getDiskBytes()
The name of the disk to mount, as specified in the resources section.
string disk = 1;
- Specified by:
getDiskBytes
in interfaceMountOrBuilder
- Returns:
- The bytes for disk.
-
setDisk
public Mount.Builder setDisk(String value)
The name of the disk to mount, as specified in the resources section.
string disk = 1;
- Parameters:
value
- The disk to set.- Returns:
- This builder for chaining.
-
clearDisk
public Mount.Builder clearDisk()
The name of the disk to mount, as specified in the resources section.
string disk = 1;
- Returns:
- This builder for chaining.
-
setDiskBytes
public Mount.Builder setDiskBytes(com.google.protobuf.ByteString value)
The name of the disk to mount, as specified in the resources section.
string disk = 1;
- Parameters:
value
- The bytes for disk to set.- Returns:
- This builder for chaining.
-
getPath
public String getPath()
The path to mount the disk inside the container.
string path = 2;
- Specified by:
getPath
in interfaceMountOrBuilder
- Returns:
- The path.
-
getPathBytes
public com.google.protobuf.ByteString getPathBytes()
The path to mount the disk inside the container.
string path = 2;
- Specified by:
getPathBytes
in interfaceMountOrBuilder
- Returns:
- The bytes for path.
-
setPath
public Mount.Builder setPath(String value)
The path to mount the disk inside the container.
string path = 2;
- Parameters:
value
- The path to set.- Returns:
- This builder for chaining.
-
clearPath
public Mount.Builder clearPath()
The path to mount the disk inside the container.
string path = 2;
- Returns:
- This builder for chaining.
-
setPathBytes
public Mount.Builder setPathBytes(com.google.protobuf.ByteString value)
The path to mount the disk inside the container.
string path = 2;
- Parameters:
value
- The bytes for path to set.- Returns:
- This builder for chaining.
-
getReadOnly
public boolean getReadOnly()
If true, the disk is mounted read-only inside the container.
bool read_only = 3;
- Specified by:
getReadOnly
in interfaceMountOrBuilder
- Returns:
- The readOnly.
-
setReadOnly
public Mount.Builder setReadOnly(boolean value)
If true, the disk is mounted read-only inside the container.
bool read_only = 3;
- Parameters:
value
- The readOnly to set.- Returns:
- 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:
- This builder for chaining.
-
setUnknownFields
public final Mount.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Mount.Builder>
-
mergeUnknownFields
public final Mount.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Mount.Builder>
-
-