Interface DatabaseOrBuilder (0.32.0)

public interface DatabaseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCreateTime()

public abstract Timestamp getCreateTime()

Output only. The creation time of the database.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The creation time of the database.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDeleteTime()

public abstract 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
Type Description
Timestamp

The deleteTime.

getDeleteTimeOrBuilder()

public abstract 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];

Returns
Type Description
TimestampOrBuilder

getExpireTime()

public abstract 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
Type Description
Timestamp

The expireTime.

getExpireTimeOrBuilder()

public abstract 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];

Returns
Type Description
TimestampOrBuilder

getHiveOptions()

public abstract HiveDatabaseOptions getHiveOptions()

Options of a Hive database.

.google.cloud.bigquery.biglake.v1alpha1.HiveDatabaseOptions hive_options = 7;

Returns
Type Description
HiveDatabaseOptions

The hiveOptions.

getHiveOptionsOrBuilder()

public abstract HiveDatabaseOptionsOrBuilder getHiveOptionsOrBuilder()

Options of a Hive database.

.google.cloud.bigquery.biglake.v1alpha1.HiveDatabaseOptions hive_options = 7;

Returns
Type Description
HiveDatabaseOptionsOrBuilder

getName()

public abstract 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
Type Description
String

The name.

getNameBytes()

public abstract 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
Type Description
ByteString

The bytes for name.

getOptionsCase()

public abstract Database.OptionsCase getOptionsCase()
Returns
Type Description
Database.OptionsCase

getType()

public abstract Database.Type getType()

The database type.

.google.cloud.bigquery.biglake.v1alpha1.Database.Type type = 6;

Returns
Type Description
Database.Type

The type.

getTypeValue()

public abstract int getTypeValue()

The database type.

.google.cloud.bigquery.biglake.v1alpha1.Database.Type type = 6;

Returns
Type Description
int

The enum numeric value on the wire for type.

getUpdateTime()

public abstract Timestamp getUpdateTime()

Output only. The last modification time of the database.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public abstract TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The last modification time of the database.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

hasCreateTime()

public abstract boolean hasCreateTime()

Output only. The creation time of the database.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasDeleteTime()

public abstract 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
Type Description
boolean

Whether the deleteTime field is set.

hasExpireTime()

public abstract 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
Type Description
boolean

Whether the expireTime field is set.

hasHiveOptions()

public abstract boolean hasHiveOptions()

Options of a Hive database.

.google.cloud.bigquery.biglake.v1alpha1.HiveDatabaseOptions hive_options = 7;

Returns
Type Description
boolean

Whether the hiveOptions field is set.

hasUpdateTime()

public abstract boolean hasUpdateTime()

Output only. The last modification time of the database.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.