Interface VolumeOrBuilder (0.22.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
TypeDescription
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
TypeDescription
CloudSqlInstanceOrBuilder

getName()

public abstract String getName()

Required. Volume's name.

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

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Required. Volume's name.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
SecretVolumeSourceOrBuilder

getVolumeTypeCase()

public abstract Volume.VolumeTypeCase getVolumeTypeCase()
Returns
TypeDescription
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
TypeDescription
boolean

Whether the cloudSqlInstance 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
TypeDescription
boolean

Whether the secret field is set.