public interface VolumeOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
CloudSqlInstance |
getCloudSqlInstance()
For Cloud SQL volumes, contains the specific instances that should be
mounted.
|
CloudSqlInstanceOrBuilder |
getCloudSqlInstanceOrBuilder()
For Cloud SQL volumes, contains the specific instances that should be
mounted.
|
EmptyDirVolumeSource |
getEmptyDir()
Ephemeral storage used as a shared volume.
|
EmptyDirVolumeSourceOrBuilder |
getEmptyDirOrBuilder()
Ephemeral storage used as a shared volume.
|
GCSVolumeSource |
getGcs()
Persistent storage backed by a Google Cloud Storage bucket.
|
GCSVolumeSourceOrBuilder |
getGcsOrBuilder()
Persistent storage backed by a Google Cloud Storage bucket.
|
String |
getName()
Required.
|
com.google.protobuf.ByteString |
getNameBytes()
Required.
|
NFSVolumeSource |
getNfs()
For NFS Voumes, contains the path to the nfs Volume
.google.cloud.run.v2.NFSVolumeSource nfs = 5; |
NFSVolumeSourceOrBuilder |
getNfsOrBuilder()
For NFS Voumes, contains the path to the nfs Volume
.google.cloud.run.v2.NFSVolumeSource nfs = 5; |
SecretVolumeSource |
getSecret()
Secret represents a secret that should populate this volume.
|
SecretVolumeSourceOrBuilder |
getSecretOrBuilder()
Secret represents a secret that should populate this volume.
|
Volume.VolumeTypeCase |
getVolumeTypeCase() |
boolean |
hasCloudSqlInstance()
For Cloud SQL volumes, contains the specific instances that should be
mounted.
|
boolean |
hasEmptyDir()
Ephemeral storage used as a shared volume.
|
boolean |
hasGcs()
Persistent storage backed by a Google Cloud Storage bucket.
|
boolean |
hasNfs()
For NFS Voumes, contains the path to the nfs Volume
.google.cloud.run.v2.NFSVolumeSource nfs = 5; |
boolean |
hasSecret()
Secret represents a secret that should populate this volume.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getName()
Required. Volume's name.
string name = 1 [(.google.api.field_behavior) = REQUIRED];com.google.protobuf.ByteString getNameBytes()
Required. Volume's name.
string name = 1 [(.google.api.field_behavior) = REQUIRED];boolean hasSecret()
Secret represents a secret that should populate this volume.
.google.cloud.run.v2.SecretVolumeSource secret = 2;SecretVolumeSource getSecret()
Secret represents a secret that should populate this volume.
.google.cloud.run.v2.SecretVolumeSource secret = 2;SecretVolumeSourceOrBuilder getSecretOrBuilder()
Secret represents a secret that should populate this volume.
.google.cloud.run.v2.SecretVolumeSource secret = 2;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;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;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;boolean hasEmptyDir()
Ephemeral storage used as a shared volume.
.google.cloud.run.v2.EmptyDirVolumeSource empty_dir = 4;EmptyDirVolumeSource getEmptyDir()
Ephemeral storage used as a shared volume.
.google.cloud.run.v2.EmptyDirVolumeSource empty_dir = 4;EmptyDirVolumeSourceOrBuilder getEmptyDirOrBuilder()
Ephemeral storage used as a shared volume.
.google.cloud.run.v2.EmptyDirVolumeSource empty_dir = 4;boolean hasNfs()
For NFS Voumes, contains the path to the nfs Volume
.google.cloud.run.v2.NFSVolumeSource nfs = 5;NFSVolumeSource getNfs()
For NFS Voumes, contains the path to the nfs Volume
.google.cloud.run.v2.NFSVolumeSource nfs = 5;NFSVolumeSourceOrBuilder getNfsOrBuilder()
For NFS Voumes, contains the path to the nfs Volume
.google.cloud.run.v2.NFSVolumeSource nfs = 5;boolean hasGcs()
Persistent storage backed by a Google Cloud Storage bucket.
.google.cloud.run.v2.GCSVolumeSource gcs = 6;GCSVolumeSource getGcs()
Persistent storage backed by a Google Cloud Storage bucket.
.google.cloud.run.v2.GCSVolumeSource gcs = 6;GCSVolumeSourceOrBuilder getGcsOrBuilder()
Persistent storage backed by a Google Cloud Storage bucket.
.google.cloud.run.v2.GCSVolumeSource gcs = 6;Volume.VolumeTypeCase getVolumeTypeCase()
Copyright © 2025 Google LLC. All rights reserved.