public static final class Database.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Database.Builder> implements DatabaseOrBuilder
Database is the container of tables.Protobuf type
google.cloud.bigquery.biglake.v1.Database| Modifier and Type | Method and Description |
|---|---|
Database.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Database |
build() |
Database |
buildPartial() |
Database.Builder |
clear() |
Database.Builder |
clearCreateTime()
Output only.
|
Database.Builder |
clearDeleteTime()
Output only.
|
Database.Builder |
clearExpireTime()
Output only.
|
Database.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Database.Builder |
clearHiveOptions()
Options of a Hive database.
|
Database.Builder |
clearName()
Output only.
|
Database.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Database.Builder |
clearOptions() |
Database.Builder |
clearType()
The database type.
|
Database.Builder |
clearUpdateTime()
Output only.
|
Database.Builder |
clone() |
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getCreateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
Database |
getDefaultInstanceForType() |
com.google.protobuf.Timestamp |
getDeleteTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getDeleteTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getDeleteTimeOrBuilder()
Output only.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.Timestamp |
getExpireTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getExpireTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getExpireTimeOrBuilder()
Output only.
|
HiveDatabaseOptions |
getHiveOptions()
Options of a Hive database.
|
HiveDatabaseOptions.Builder |
getHiveOptionsBuilder()
Options of a Hive database.
|
HiveDatabaseOptionsOrBuilder |
getHiveOptionsOrBuilder()
Options of a Hive database.
|
String |
getName()
Output only.
|
com.google.protobuf.ByteString |
getNameBytes()
Output only.
|
Database.OptionsCase |
getOptionsCase() |
Database.Type |
getType()
The database type.
|
int |
getTypeValue()
The database type.
|
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getUpdateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
boolean |
hasCreateTime()
Output only.
|
boolean |
hasDeleteTime()
Output only.
|
boolean |
hasExpireTime()
Output only.
|
boolean |
hasHiveOptions()
Options of a Hive database.
|
boolean |
hasUpdateTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Database.Builder |
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
Database.Builder |
mergeDeleteTime(com.google.protobuf.Timestamp value)
Output only.
|
Database.Builder |
mergeExpireTime(com.google.protobuf.Timestamp value)
Output only.
|
Database.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Database.Builder |
mergeFrom(Database other) |
Database.Builder |
mergeFrom(com.google.protobuf.Message other) |
Database.Builder |
mergeHiveOptions(HiveDatabaseOptions value)
Options of a Hive database.
|
Database.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Database.Builder |
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
Database.Builder |
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
Database.Builder |
setCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
Database.Builder |
setDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
Database.Builder |
setDeleteTime(com.google.protobuf.Timestamp value)
Output only.
|
Database.Builder |
setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
Database.Builder |
setExpireTime(com.google.protobuf.Timestamp value)
Output only.
|
Database.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Database.Builder |
setHiveOptions(HiveDatabaseOptions.Builder builderForValue)
Options of a Hive database.
|
Database.Builder |
setHiveOptions(HiveDatabaseOptions value)
Options of a Hive database.
|
Database.Builder |
setName(String value)
Output only.
|
Database.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Output only.
|
Database.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Database.Builder |
setType(Database.Type value)
The database type.
|
Database.Builder |
setTypeValue(int value)
The database type.
|
Database.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Database.Builder |
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
Database.Builder |
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Database.Builder>public Database.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Database.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Database.Builder>public Database getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Database build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Database buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Database.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Database.Builder>public Database.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Database.Builder>public Database.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Database.Builder>public Database.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Database.Builder>public Database.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Database.Builder>public Database.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Database.Builder>public Database.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Database.Builder>public Database.Builder mergeFrom(Database other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Database.Builder>public Database.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Database.Builder>IOExceptionpublic Database.OptionsCase getOptionsCase()
getOptionsCase in interface DatabaseOrBuilderpublic Database.Builder clearOptions()
public boolean hasHiveOptions()
Options of a Hive database.
.google.cloud.bigquery.biglake.v1.HiveDatabaseOptions hive_options = 7;hasHiveOptions in interface DatabaseOrBuilderpublic HiveDatabaseOptions getHiveOptions()
Options of a Hive database.
.google.cloud.bigquery.biglake.v1.HiveDatabaseOptions hive_options = 7;getHiveOptions in interface DatabaseOrBuilderpublic Database.Builder setHiveOptions(HiveDatabaseOptions value)
Options of a Hive database.
.google.cloud.bigquery.biglake.v1.HiveDatabaseOptions hive_options = 7;public Database.Builder setHiveOptions(HiveDatabaseOptions.Builder builderForValue)
Options of a Hive database.
.google.cloud.bigquery.biglake.v1.HiveDatabaseOptions hive_options = 7;public Database.Builder mergeHiveOptions(HiveDatabaseOptions value)
Options of a Hive database.
.google.cloud.bigquery.biglake.v1.HiveDatabaseOptions hive_options = 7;public Database.Builder clearHiveOptions()
Options of a Hive database.
.google.cloud.bigquery.biglake.v1.HiveDatabaseOptions hive_options = 7;public HiveDatabaseOptions.Builder getHiveOptionsBuilder()
Options of a Hive database.
.google.cloud.bigquery.biglake.v1.HiveDatabaseOptions hive_options = 7;public HiveDatabaseOptionsOrBuilder getHiveOptionsOrBuilder()
Options of a Hive database.
.google.cloud.bigquery.biglake.v1.HiveDatabaseOptions hive_options = 7;getHiveOptionsOrBuilder in interface DatabaseOrBuilderpublic 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) = { ... }
getName in interface DatabaseOrBuilderpublic 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) = { ... }
getNameBytes in interface DatabaseOrBuilderpublic Database.Builder setName(String value)
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) = { ... }
value - The name to set.public Database.Builder clearName()
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) = { ... }
public Database.Builder setNameBytes(com.google.protobuf.ByteString value)
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) = { ... }
value - The bytes for name to set.public boolean hasCreateTime()
Output only. The creation time of the database.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime in interface DatabaseOrBuilderpublic 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];
getCreateTime in interface DatabaseOrBuilderpublic Database.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. The creation time of the database.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Database.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The creation time of the database.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Database.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. The creation time of the database.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Database.Builder clearCreateTime()
Output only. The creation time of the database.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. The creation time of the database.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public 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];
getCreateTimeOrBuilder in interface DatabaseOrBuilderpublic boolean hasUpdateTime()
Output only. The last modification time of the database.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasUpdateTime in interface DatabaseOrBuilderpublic 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];
getUpdateTime in interface DatabaseOrBuilderpublic Database.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Output only. The last modification time of the database.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Database.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The last modification time of the database.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Database.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only. The last modification time of the database.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Database.Builder clearUpdateTime()
Output only. The last modification time of the database.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
Output only. The last modification time of the database.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public 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];
getUpdateTimeOrBuilder in interface DatabaseOrBuilderpublic 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];
hasDeleteTime in interface DatabaseOrBuilderpublic 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];
getDeleteTime in interface DatabaseOrBuilderpublic Database.Builder setDeleteTime(com.google.protobuf.Timestamp value)
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];
public Database.Builder setDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue)
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];
public Database.Builder mergeDeleteTime(com.google.protobuf.Timestamp value)
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];
public Database.Builder clearDeleteTime()
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];
public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder()
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];
public 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];
getDeleteTimeOrBuilder in interface DatabaseOrBuilderpublic 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];
hasExpireTime in interface DatabaseOrBuilderpublic 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];
getExpireTime in interface DatabaseOrBuilderpublic Database.Builder setExpireTime(com.google.protobuf.Timestamp value)
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];
public Database.Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue)
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];
public Database.Builder mergeExpireTime(com.google.protobuf.Timestamp value)
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];
public Database.Builder clearExpireTime()
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];
public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder()
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];
public 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];
getExpireTimeOrBuilder in interface DatabaseOrBuilderpublic int getTypeValue()
The database type.
.google.cloud.bigquery.biglake.v1.Database.Type type = 6;getTypeValue in interface DatabaseOrBuilderpublic Database.Builder setTypeValue(int value)
The database type.
.google.cloud.bigquery.biglake.v1.Database.Type type = 6;value - The enum numeric value on the wire for type to set.public Database.Type getType()
The database type.
.google.cloud.bigquery.biglake.v1.Database.Type type = 6;getType in interface DatabaseOrBuilderpublic Database.Builder setType(Database.Type value)
The database type.
.google.cloud.bigquery.biglake.v1.Database.Type type = 6;value - The type to set.public Database.Builder clearType()
The database type.
.google.cloud.bigquery.biglake.v1.Database.Type type = 6;public final Database.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Database.Builder>public final Database.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Database.Builder>Copyright © 2023 Google LLC. All rights reserved.