publicstaticfinalclass VolumeMount.BuilderextendsGeneratedMessageV3.Builder<VolumeMount.Builder>implementsVolumeMountOrBuilder
VolumeMount describes a mounting of a Volume within a container.
Protobuf type google.cloud.run.v2.VolumeMount
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()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
publicVolumeMount.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Overrides
build()
buildPartial()
publicVolumeMountbuildPartial()
clear()
publicVolumeMount.Builderclear()
Overrides
clearField(Descriptors.FieldDescriptor field)
publicVolumeMount.BuilderclearField(Descriptors.FieldDescriptorfield)
Overrides
clearMountPath()
publicVolumeMount.BuilderclearMountPath()
Required. Path within the container at which the volume should be mounted.
Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must
otherwise be /cloudsql. All instances defined in the Volume will be
available as /cloudsql/[instance]. For more information on Cloud SQL
volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run
string mount_path = 3 [(.google.api.field_behavior) = REQUIRED];
clearName()
publicVolumeMount.BuilderclearName()
Required. This must match the Name of a Volume.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
clearOneof(Descriptors.OneofDescriptor oneof)
publicVolumeMount.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Overrides
clone()
publicVolumeMount.Builderclone()
Overrides
getDefaultInstanceForType()
publicVolumeMountgetDefaultInstanceForType()
getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()
Overrides
getMountPath()
publicStringgetMountPath()
Required. Path within the container at which the volume should be mounted.
Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must
otherwise be /cloudsql. All instances defined in the Volume will be
available as /cloudsql/[instance]. For more information on Cloud SQL
volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run
string mount_path = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
String |
The mountPath.
|
getMountPathBytes()
publicByteStringgetMountPathBytes()
Required. Path within the container at which the volume should be mounted.
Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must
otherwise be /cloudsql. All instances defined in the Volume will be
available as /cloudsql/[instance]. For more information on Cloud SQL
volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run
string mount_path = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
ByteString |
The bytes for mountPath.
|
getName()
Required. This must match the Name of a Volume.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
String |
The name.
|
getNameBytes()
publicByteStringgetNameBytes()
Required. This must match the Name of a Volume.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
ByteString |
The bytes for name.
|
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
isInitialized()
publicfinalbooleanisInitialized()
Overrides
mergeFrom(VolumeMount other)
publicVolumeMount.BuildermergeFrom(VolumeMountother)
publicVolumeMount.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Overrides
mergeFrom(Message other)
publicVolumeMount.BuildermergeFrom(Messageother)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalVolumeMount.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
publicVolumeMount.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Overrides
setMountPath(String value)
publicVolumeMount.BuildersetMountPath(Stringvalue)
Required. Path within the container at which the volume should be mounted.
Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must
otherwise be /cloudsql. All instances defined in the Volume will be
available as /cloudsql/[instance]. For more information on Cloud SQL
volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run
string mount_path = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
value |
String
The mountPath to set.
|
setMountPathBytes(ByteString value)
publicVolumeMount.BuildersetMountPathBytes(ByteStringvalue)
Required. Path within the container at which the volume should be mounted.
Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must
otherwise be /cloudsql. All instances defined in the Volume will be
available as /cloudsql/[instance]. For more information on Cloud SQL
volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run
string mount_path = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
value |
ByteString
The bytes for mountPath to set.
|
setName(String value)
publicVolumeMount.BuildersetName(Stringvalue)
Required. This must match the Name of a Volume.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
value |
String
The name to set.
|
setNameBytes(ByteString value)
publicVolumeMount.BuildersetNameBytes(ByteStringvalue)
Required. This must match the Name of a Volume.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
value |
ByteString
The bytes for name to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
publicVolumeMount.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
publicfinalVolumeMount.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Overrides