Class Table.Builder (0.43.0)

public static final class Table.Builder extends GeneratedMessageV3.Builder<Table.Builder> implements TableOrBuilder

Represents a table.

Protobuf type google.cloud.bigquery.biglake.v1.Table

Implements

TableOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Table.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Table.Builder
Overrides

build()

public Table build()
Returns
Type Description
Table

buildPartial()

public Table buildPartial()
Returns
Type Description
Table

clear()

public Table.Builder clear()
Returns
Type Description
Table.Builder
Overrides

clearCreateTime()

public Table.Builder clearCreateTime()

Output only. The creation time of the table.

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

Returns
Type Description
Table.Builder

clearDeleteTime()

public Table.Builder clearDeleteTime()

Output only. The deletion time of the table. Only set after the table is deleted.

.google.protobuf.Timestamp delete_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Table.Builder

clearEtag()

public Table.Builder clearEtag()

The checksum of a table object computed by the server based on the value of other fields. It may be sent on update requests to ensure the client has an up-to-date value before proceeding. It is only checked for update table operations.

string etag = 8;

Returns
Type Description
Table.Builder

This builder for chaining.

clearExpireTime()

public Table.Builder clearExpireTime()

Output only. The time when this table is considered expired. Only set after the table is deleted.

.google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Table.Builder

clearField(Descriptors.FieldDescriptor field)

public Table.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Table.Builder
Overrides

clearHiveOptions()

public Table.Builder clearHiveOptions()

Options of a Hive table.

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

Returns
Type Description
Table.Builder

clearName()

public Table.Builder clearName()

Output only. The resource name. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}/tables/{table_id}

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
Table.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Table.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Table.Builder
Overrides

clearOptions()

public Table.Builder clearOptions()
Returns
Type Description
Table.Builder

clearType()

public Table.Builder clearType()

The table type.

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

Returns
Type Description
Table.Builder

This builder for chaining.

clearUpdateTime()

public Table.Builder clearUpdateTime()

Output only. The last modification time of the table.

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

Returns
Type Description
Table.Builder

clone()

public Table.Builder clone()
Returns
Type Description
Table.Builder
Overrides

getCreateTime()

public Timestamp getCreateTime()

Output only. The creation time of the table.

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

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. The creation time of the table.

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

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The creation time of the table.

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

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public Table getDefaultInstanceForType()
Returns
Type Description
Table

getDeleteTime()

public Timestamp getDeleteTime()

Output only. The deletion time of the table. Only set after the table is deleted.

.google.protobuf.Timestamp delete_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The deleteTime.

getDeleteTimeBuilder()

public Timestamp.Builder getDeleteTimeBuilder()

Output only. The deletion time of the table. Only set after the table is deleted.

.google.protobuf.Timestamp delete_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getDeleteTimeOrBuilder()

public TimestampOrBuilder getDeleteTimeOrBuilder()

Output only. The deletion time of the table. Only set after the table is deleted.

.google.protobuf.Timestamp delete_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEtag()

public String getEtag()

The checksum of a table object computed by the server based on the value of other fields. It may be sent on update requests to ensure the client has an up-to-date value before proceeding. It is only checked for update table operations.

string etag = 8;

Returns
Type Description
String

The etag.

getEtagBytes()

public ByteString getEtagBytes()

The checksum of a table object computed by the server based on the value of other fields. It may be sent on update requests to ensure the client has an up-to-date value before proceeding. It is only checked for update table operations.

string etag = 8;

Returns
Type Description
ByteString

The bytes for etag.

getExpireTime()

public Timestamp getExpireTime()

Output only. The time when this table is considered expired. Only set after the table is deleted.

.google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The expireTime.

getExpireTimeBuilder()

public Timestamp.Builder getExpireTimeBuilder()

Output only. The time when this table is considered expired. Only set after the table is deleted.

.google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getExpireTimeOrBuilder()

public TimestampOrBuilder getExpireTimeOrBuilder()

Output only. The time when this table is considered expired. Only set after the table is deleted.

.google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getHiveOptions()

public HiveTableOptions getHiveOptions()

Options of a Hive table.

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

Returns
Type Description
HiveTableOptions

The hiveOptions.

getHiveOptionsBuilder()

public HiveTableOptions.Builder getHiveOptionsBuilder()

Options of a Hive table.

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

Returns
Type Description
HiveTableOptions.Builder

getHiveOptionsOrBuilder()

public HiveTableOptionsOrBuilder getHiveOptionsOrBuilder()

Options of a Hive table.

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

Returns
Type Description
HiveTableOptionsOrBuilder

getName()

public String getName()

Output only. The resource name. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}/tables/{table_id}

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. The resource name. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}/tables/{table_id}

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

getOptionsCase()

public Table.OptionsCase getOptionsCase()
Returns
Type Description
Table.OptionsCase

getType()

public Table.Type getType()

The table type.

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

Returns
Type Description
Table.Type

The type.

getTypeValue()

public int getTypeValue()

The table type.

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

Returns
Type Description
int

The enum numeric value on the wire for type.

getUpdateTime()

public Timestamp getUpdateTime()

Output only. The last modification time of the table.

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

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. The last modification time of the table.

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

Returns
Type Description
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The last modification time of the table.

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

Returns
Type Description
TimestampOrBuilder

hasCreateTime()

public boolean hasCreateTime()

Output only. The creation time of the table.

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

Returns
Type Description
boolean

Whether the createTime field is set.

hasDeleteTime()

public boolean hasDeleteTime()

Output only. The deletion time of the table. Only set after the table 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 boolean hasExpireTime()

Output only. The time when this table is considered expired. Only set after the table 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 boolean hasHiveOptions()

Options of a Hive table.

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

Returns
Type Description
boolean

Whether the hiveOptions field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. The last modification time of the table.

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

Returns
Type Description
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCreateTime(Timestamp value)

public Table.Builder mergeCreateTime(Timestamp value)

Output only. The creation time of the table.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
Table.Builder

mergeDeleteTime(Timestamp value)

public Table.Builder mergeDeleteTime(Timestamp value)

Output only. The deletion time of the table. Only set after the table is deleted.

.google.protobuf.Timestamp delete_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Table.Builder

mergeExpireTime(Timestamp value)

public Table.Builder mergeExpireTime(Timestamp value)

Output only. The time when this table is considered expired. Only set after the table is deleted.

.google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Table.Builder

mergeFrom(Table other)

public Table.Builder mergeFrom(Table other)
Parameter
Name Description
other Table
Returns
Type Description
Table.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Table.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Table.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Table.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Table.Builder
Overrides

mergeHiveOptions(HiveTableOptions value)

public Table.Builder mergeHiveOptions(HiveTableOptions value)

Options of a Hive table.

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

Parameter
Name Description
value HiveTableOptions
Returns
Type Description
Table.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Table.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Table.Builder
Overrides

mergeUpdateTime(Timestamp value)

public Table.Builder mergeUpdateTime(Timestamp value)

Output only. The last modification time of the table.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
Table.Builder

setCreateTime(Timestamp value)

public Table.Builder setCreateTime(Timestamp value)

Output only. The creation time of the table.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
Table.Builder

setCreateTime(Timestamp.Builder builderForValue)

public Table.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. The creation time of the table.

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Table.Builder

setDeleteTime(Timestamp value)

public Table.Builder setDeleteTime(Timestamp value)

Output only. The deletion time of the table. Only set after the table is deleted.

.google.protobuf.Timestamp delete_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Table.Builder

setDeleteTime(Timestamp.Builder builderForValue)

public Table.Builder setDeleteTime(Timestamp.Builder builderForValue)

Output only. The deletion time of the table. Only set after the table is deleted.

.google.protobuf.Timestamp delete_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Table.Builder

setEtag(String value)

public Table.Builder setEtag(String value)

The checksum of a table object computed by the server based on the value of other fields. It may be sent on update requests to ensure the client has an up-to-date value before proceeding. It is only checked for update table operations.

string etag = 8;

Parameter
Name Description
value String

The etag to set.

Returns
Type Description
Table.Builder

This builder for chaining.

setEtagBytes(ByteString value)

public Table.Builder setEtagBytes(ByteString value)

The checksum of a table object computed by the server based on the value of other fields. It may be sent on update requests to ensure the client has an up-to-date value before proceeding. It is only checked for update table operations.

string etag = 8;

Parameter
Name Description
value ByteString

The bytes for etag to set.

Returns
Type Description
Table.Builder

This builder for chaining.

setExpireTime(Timestamp value)

public Table.Builder setExpireTime(Timestamp value)

Output only. The time when this table is considered expired. Only set after the table is deleted.

.google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Table.Builder

setExpireTime(Timestamp.Builder builderForValue)

public Table.Builder setExpireTime(Timestamp.Builder builderForValue)

Output only. The time when this table is considered expired. Only set after the table is deleted.

.google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Table.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Table.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Table.Builder
Overrides

setHiveOptions(HiveTableOptions value)

public Table.Builder setHiveOptions(HiveTableOptions value)

Options of a Hive table.

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

Parameter
Name Description
value HiveTableOptions
Returns
Type Description
Table.Builder

setHiveOptions(HiveTableOptions.Builder builderForValue)

public Table.Builder setHiveOptions(HiveTableOptions.Builder builderForValue)

Options of a Hive table.

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

Parameter
Name Description
builderForValue HiveTableOptions.Builder
Returns
Type Description
Table.Builder

setName(String value)

public Table.Builder setName(String value)

Output only. The resource name. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}/tables/{table_id}

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The name to set.

Returns
Type Description
Table.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Table.Builder setNameBytes(ByteString value)

Output only. The resource name. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}/tables/{table_id}

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
Table.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Table.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Table.Builder
Overrides

setType(Table.Type value)

public Table.Builder setType(Table.Type value)

The table type.

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

Parameter
Name Description
value Table.Type

The type to set.

Returns
Type Description
Table.Builder

This builder for chaining.

setTypeValue(int value)

public Table.Builder setTypeValue(int value)

The table type.

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

Parameter
Name Description
value int

The enum numeric value on the wire for type to set.

Returns
Type Description
Table.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Table.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Table.Builder
Overrides

setUpdateTime(Timestamp value)

public Table.Builder setUpdateTime(Timestamp value)

Output only. The last modification time of the table.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
Table.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public Table.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. The last modification time of the table.

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Table.Builder