public interface VolumeMountOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getMountPath()
public abstract String getMountPath() 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()
public abstract ByteString getMountPathBytes() 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()
public abstract String 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()
public abstract ByteString getNameBytes()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. |
getSubPath()
public abstract String getSubPath()Optional. Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root).
This field is currently rejected in Secret volume mounts.
string sub_path = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The subPath. |
getSubPathBytes()
public abstract ByteString getSubPathBytes()Optional. Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root).
This field is currently rejected in Secret volume mounts.
string sub_path = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for subPath. |