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 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;