public interface VolumeOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
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;
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;
Type | Description |
CloudSqlInstanceOrBuilder |
getName()
public abstract String getName()
Required. Volume's name.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
String | The name. |
getNameBytes()
public abstract ByteString getNameBytes()
Required. Volume's name.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString | The bytes for name. |
getSecret()
public abstract SecretVolumeSource getSecret()
Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
.google.cloud.run.v2.SecretVolumeSource secret = 2;
Type | Description |
SecretVolumeSource | The secret. |
getSecretOrBuilder()
public abstract SecretVolumeSourceOrBuilder getSecretOrBuilder()
Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
.google.cloud.run.v2.SecretVolumeSource secret = 2;
Type | Description |
SecretVolumeSourceOrBuilder |
getVolumeTypeCase()
public abstract Volume.VolumeTypeCase getVolumeTypeCase()
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;
Type | Description |
boolean | Whether the cloudSqlInstance field is set. |
hasSecret()
public abstract boolean hasSecret()
Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
.google.cloud.run.v2.SecretVolumeSource secret = 2;
Type | Description |
boolean | Whether the secret field is set. |