Interface VolumeOrBuilder (0.35.0)

public interface VolumeOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCloudSqlInstance()

public abstract CloudSqlInstance getCloudSqlInstance()

For Cloud SQL volumes, contains the specific instances that should be mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run.

.google.cloud.run.v2.CloudSqlInstance cloud_sql_instance = 3;

Returns
Type Description
CloudSqlInstance

The cloudSqlInstance.

getCloudSqlInstanceOrBuilder()

public abstract CloudSqlInstanceOrBuilder getCloudSqlInstanceOrBuilder()

For Cloud SQL volumes, contains the specific instances that should be mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run.

.google.cloud.run.v2.CloudSqlInstance cloud_sql_instance = 3;

Returns
Type Description
CloudSqlInstanceOrBuilder

getEmptyDir()

public abstract EmptyDirVolumeSource getEmptyDir()

Ephemeral storage used as a shared volume.

.google.cloud.run.v2.EmptyDirVolumeSource empty_dir = 4;

Returns
Type Description
EmptyDirVolumeSource

The emptyDir.

getEmptyDirOrBuilder()

public abstract EmptyDirVolumeSourceOrBuilder getEmptyDirOrBuilder()

Ephemeral storage used as a shared volume.

.google.cloud.run.v2.EmptyDirVolumeSource empty_dir = 4;

Returns
Type Description
EmptyDirVolumeSourceOrBuilder

getName()

public abstract String getName()

Required. Volume's name.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Required. Volume's name.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for name.

getSecret()

public abstract SecretVolumeSource getSecret()

Secret represents a secret that should populate this volume.

.google.cloud.run.v2.SecretVolumeSource secret = 2;

Returns
Type Description
SecretVolumeSource

The secret.

getSecretOrBuilder()

public abstract SecretVolumeSourceOrBuilder getSecretOrBuilder()

Secret represents a secret that should populate this volume.

.google.cloud.run.v2.SecretVolumeSource secret = 2;

Returns
Type Description
SecretVolumeSourceOrBuilder

getVolumeTypeCase()

public abstract Volume.VolumeTypeCase getVolumeTypeCase()
Returns
Type Description
Volume.VolumeTypeCase

hasCloudSqlInstance()

public abstract boolean hasCloudSqlInstance()

For Cloud SQL volumes, contains the specific instances that should be mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run.

.google.cloud.run.v2.CloudSqlInstance cloud_sql_instance = 3;

Returns
Type Description
boolean

Whether the cloudSqlInstance field is set.

hasEmptyDir()

public abstract boolean hasEmptyDir()

Ephemeral storage used as a shared volume.

.google.cloud.run.v2.EmptyDirVolumeSource empty_dir = 4;

Returns
Type Description
boolean

Whether the emptyDir field is set.

hasSecret()

public abstract boolean hasSecret()

Secret represents a secret that should populate this volume.

.google.cloud.run.v2.SecretVolumeSource secret = 2;

Returns
Type Description
boolean

Whether the secret field is set.