Interface VolumeMountOrBuilder (0.21.0)

public interface VolumeMountOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for name.