Class Table.Builder (0.11.0)

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

Represents a table.

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

Implements

TableOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Table.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Table.Builder
Overrides

build()

public Table build()
Returns
TypeDescription
Table

buildPartial()

public Table buildPartial()
Returns
TypeDescription
Table

clear()

public Table.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
Table.Builder

clearField(Descriptors.FieldDescriptor field)

public Table.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Table.Builder
Overrides

clearHiveOptions()

public Table.Builder clearHiveOptions()

Options of a Hive table.

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

Returns
TypeDescription
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
TypeDescription
Table.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Table.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Table.Builder
Overrides

clearOptions()

public Table.Builder clearOptions()
Returns
TypeDescription
Table.Builder

clearType()

public Table.Builder clearType()

The table type.

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

Returns
TypeDescription
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
TypeDescription
Table.Builder

clone()

public Table.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public Table getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
TimestampOrBuilder

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
TimestampOrBuilder

getHiveOptions()

public HiveTableOptions getHiveOptions()

Options of a Hive table.

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

Returns
TypeDescription
HiveTableOptions

The hiveOptions.

getHiveOptionsBuilder()

public HiveTableOptions.Builder getHiveOptionsBuilder()

Options of a Hive table.

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

Returns
TypeDescription
HiveTableOptions.Builder

getHiveOptionsOrBuilder()

public HiveTableOptionsOrBuilder getHiveOptionsOrBuilder()

Options of a Hive table.

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

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

The bytes for name.

getOptionsCase()

public Table.OptionsCase getOptionsCase()
Returns
TypeDescription
Table.OptionsCase

getType()

public Table.Type getType()

The table type.

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

Returns
TypeDescription
Table.Type

The type.

getTypeValue()

public int getTypeValue()

The table type.

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

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

Whether the expireTime field is set.

hasHiveOptions()

public boolean hasHiveOptions()

Options of a Hive table.

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

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

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
Table.Builder

mergeFrom(Table other)

public Table.Builder mergeFrom(Table other)
Parameter
NameDescription
otherTable
Returns
TypeDescription
Table.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Table.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Table.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Table.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Table.Builder
Overrides

mergeHiveOptions(HiveTableOptions value)

public Table.Builder mergeHiveOptions(HiveTableOptions value)

Options of a Hive table.

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

Parameter
NameDescription
valueHiveTableOptions
Returns
TypeDescription
Table.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Table.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueString

The etag to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for etag to set.

Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
Table.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Table.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Table.Builder
Overrides

setHiveOptions(HiveTableOptions value)

public Table.Builder setHiveOptions(HiveTableOptions value)

Options of a Hive table.

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

Parameter
NameDescription
valueHiveTableOptions
Returns
TypeDescription
Table.Builder

setHiveOptions(HiveTableOptions.Builder builderForValue)

public Table.Builder setHiveOptions(HiveTableOptions.Builder builderForValue)

Options of a Hive table.

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

Parameter
NameDescription
builderForValueHiveTableOptions.Builder
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Table.Builder
Overrides

setType(Table.Type value)

public Table.Builder setType(Table.Type value)

The table type.

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

Parameter
NameDescription
valueTable.Type

The type to set.

Returns
TypeDescription
Table.Builder

This builder for chaining.

setTypeValue(int value)

public Table.Builder setTypeValue(int value)

The table type.

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

Parameter
NameDescription
valueint

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

Returns
TypeDescription
Table.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Table.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
Table.Builder