Package com.google.cloud.run.v2
Interface VolumeOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Volume,Volume.Builder
public interface VolumeOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CloudSqlInstancegetCloudSqlInstance()For Cloud SQL volumes, contains the specific instances that should be mounted.CloudSqlInstanceOrBuildergetCloudSqlInstanceOrBuilder()For Cloud SQL volumes, contains the specific instances that should be mounted.StringgetName()Required.com.google.protobuf.ByteStringgetNameBytes()Required.SecretVolumeSourcegetSecret()Secret represents a secret that should populate this volume.SecretVolumeSourceOrBuildergetSecretOrBuilder()Secret represents a secret that should populate this volume.Volume.VolumeTypeCasegetVolumeTypeCase()booleanhasCloudSqlInstance()For Cloud SQL volumes, contains the specific instances that should be mounted.booleanhasSecret()Secret represents a secret that should populate this volume.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
Required. Volume's name.
string name = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Required. Volume's name.
string name = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for name.
-
hasSecret
boolean hasSecret()
Secret represents a secret that should populate this volume.
.google.cloud.run.v2.SecretVolumeSource secret = 2;- Returns:
- Whether the secret field is set.
-
getSecret
SecretVolumeSource getSecret()
Secret represents a secret that should populate this volume.
.google.cloud.run.v2.SecretVolumeSource secret = 2;- Returns:
- The secret.
-
getSecretOrBuilder
SecretVolumeSourceOrBuilder getSecretOrBuilder()
Secret represents a secret that should populate this volume.
.google.cloud.run.v2.SecretVolumeSource secret = 2;
-
hasCloudSqlInstance
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:
- Whether the cloudSqlInstance field is set.
-
getCloudSqlInstance
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:
- The cloudSqlInstance.
-
getCloudSqlInstanceOrBuilder
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;
-
getVolumeTypeCase
Volume.VolumeTypeCase getVolumeTypeCase()
-
-