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.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Mountbuild()MountbuildPartial()Mount.Builderclear()Mount.BuilderclearDisk()The name of the disk to mount, as specified in the resources section.Mount.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Mount.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Mount.BuilderclearPath()The path to mount the disk inside the container.Mount.BuilderclearReadOnly()If true, the disk is mounted read-only inside the container.Mount.Builderclone()MountgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetDisk()The name of the disk to mount, as specified in the resources section.com.google.protobuf.ByteStringgetDiskBytes()The name of the disk to mount, as specified in the resources section.StringgetPath()The path to mount the disk inside the container.com.google.protobuf.ByteStringgetPathBytes()The path to mount the disk inside the container.booleangetReadOnly()If true, the disk is mounted read-only inside the container.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Mount.BuildermergeFrom(Mount other)Mount.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Mount.BuildermergeFrom(com.google.protobuf.Message other)Mount.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Mount.BuildersetDisk(String value)The name of the disk to mount, as specified in the resources section.Mount.BuildersetDiskBytes(com.google.protobuf.ByteString value)The name of the disk to mount, as specified in the resources section.Mount.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Mount.BuildersetPath(String value)The path to mount the disk inside the container.Mount.BuildersetPathBytes(com.google.protobuf.ByteString value)The path to mount the disk inside the container.Mount.BuildersetReadOnly(boolean value)If true, the disk is mounted read-only inside the container.Mount.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Mount.BuildersetUnknownFields(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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Mount.Builder>
-
clear
public Mount.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Mount.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Mount.Builder>
-
getDefaultInstanceForType
public Mount getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Mount build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Mount buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Mount.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Mount.Builder>
-
setField
public Mount.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Mount.Builder>
-
clearField
public Mount.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Mount.Builder>
-
clearOneof
public Mount.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Mount.Builder>
-
setRepeatedField
public Mount.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Mount.Builder>
-
addRepeatedField
public Mount.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Mount.Builder>
-
mergeFrom
public Mount.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Mount.Builder>
-
mergeFrom
public Mount.Builder mergeFrom(Mount other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin 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:
getDiskin 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:
getDiskBytesin 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:
getPathin 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:
getPathBytesin 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:
getReadOnlyin 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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Mount.Builder>
-
mergeUnknownFields
public final Mount.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Mount.Builder>
-
-