Interface DatabaseOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Database, Database.Builder

@Generated public interface DatabaseOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasHiveOptions

      boolean hasHiveOptions()
       Options of a Hive database.
       
      .google.cloud.bigquery.biglake.v1.HiveDatabaseOptions hive_options = 7;
      Returns:
      Whether the hiveOptions field is set.
    • getHiveOptions

      HiveDatabaseOptions getHiveOptions()
       Options of a Hive database.
       
      .google.cloud.bigquery.biglake.v1.HiveDatabaseOptions hive_options = 7;
      Returns:
      The hiveOptions.
    • getHiveOptionsOrBuilder

      HiveDatabaseOptionsOrBuilder getHiveOptionsOrBuilder()
       Options of a Hive database.
       
      .google.cloud.bigquery.biglake.v1.HiveDatabaseOptions hive_options = 7;
    • getName

      String getName()
       Output only. The resource name.
       Format:
       projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Output only. The resource name.
       Format:
       projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for name.
    • hasCreateTime

      boolean hasCreateTime()
       Output only. The creation time of the database.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      com.google.protobuf.Timestamp getCreateTime()
       Output only. The creation time of the database.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. The creation time of the database.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • hasUpdateTime

      boolean hasUpdateTime()
       Output only. The last modification time of the database.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      com.google.protobuf.Timestamp getUpdateTime()
       Output only. The last modification time of the database.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The updateTime.
    • getUpdateTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. The last modification time of the database.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • hasDeleteTime

      boolean hasDeleteTime()
       Output only. The deletion time of the database. Only set after the database
       is deleted.
       
      .google.protobuf.Timestamp delete_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the deleteTime field is set.
    • getDeleteTime

      com.google.protobuf.Timestamp getDeleteTime()
       Output only. The deletion time of the database. Only set after the database
       is deleted.
       
      .google.protobuf.Timestamp delete_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The deleteTime.
    • getDeleteTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder()
       Output only. The deletion time of the database. Only set after the database
       is deleted.
       
      .google.protobuf.Timestamp delete_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • hasExpireTime

      boolean hasExpireTime()
       Output only. The time when this database is considered expired. Only set
       after the database is deleted.
       
      .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the expireTime field is set.
    • getExpireTime

      com.google.protobuf.Timestamp getExpireTime()
       Output only. The time when this database is considered expired. Only set
       after the database is deleted.
       
      .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The expireTime.
    • getExpireTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder()
       Output only. The time when this database is considered expired. Only set
       after the database is deleted.
       
      .google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getTypeValue

      int getTypeValue()
       The database type.
       
      .google.cloud.bigquery.biglake.v1.Database.Type type = 6;
      Returns:
      The enum numeric value on the wire for type.
    • getType

      Database.Type getType()
       The database type.
       
      .google.cloud.bigquery.biglake.v1.Database.Type type = 6;
      Returns:
      The type.
    • getOptionsCase

      Database.OptionsCase getOptionsCase()