Interface DatabaseOrBuilder (0.27.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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
TimestampOrBuilder

getHiveOptions()

public abstract HiveDatabaseOptions getHiveOptions()

Options of a Hive database.

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

Returns
TypeDescription
HiveDatabaseOptions

The hiveOptions.

getHiveOptionsOrBuilder()

public abstract HiveDatabaseOptionsOrBuilder getHiveOptionsOrBuilder()

Options of a Hive database.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for name.

getOptionsCase()

public abstract Database.OptionsCase getOptionsCase()
Returns
TypeDescription
Database.OptionsCase

getType()

public abstract Database.Type getType()

The database type.

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

Returns
TypeDescription
Database.Type

The type.

getTypeValue()

public abstract int getTypeValue()

The database type.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the expireTime field is set.

hasHiveOptions()

public abstract boolean hasHiveOptions()

Options of a Hive database.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the updateTime field is set.