Class TableSpec.Builder (1.61.0)

public static final class TableSpec.Builder extends GeneratedMessageV3.Builder<TableSpec.Builder> implements TableSpecOrBuilder

Normal BigQuery table spec.

Protobuf type google.cloud.datacatalog.v1beta1.TableSpec

Implements

TableSpecOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TableSpec build()
Returns
Type Description
TableSpec

buildPartial()

public TableSpec buildPartial()
Returns
Type Description
TableSpec

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearGroupedEntry()

public TableSpec.Builder clearGroupedEntry()

Output only. If the table is a dated shard, i.e., with name pattern [prefix]YYYYMMDD, grouped_entry is the Data Catalog resource name of the date sharded grouped entry, for example, projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}. Otherwise, grouped_entry is empty.

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

Returns
Type Description
TableSpec.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public TableSpec getDefaultInstanceForType()
Returns
Type Description
TableSpec

getDescriptorForType()

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

getGroupedEntry()

public String getGroupedEntry()

Output only. If the table is a dated shard, i.e., with name pattern [prefix]YYYYMMDD, grouped_entry is the Data Catalog resource name of the date sharded grouped entry, for example, projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}. Otherwise, grouped_entry is empty.

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

Returns
Type Description
String

The groupedEntry.

getGroupedEntryBytes()

public ByteString getGroupedEntryBytes()

Output only. If the table is a dated shard, i.e., with name pattern [prefix]YYYYMMDD, grouped_entry is the Data Catalog resource name of the date sharded grouped entry, for example, projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}. Otherwise, grouped_entry is empty.

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

Returns
Type Description
ByteString

The bytes for groupedEntry.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TableSpec other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setGroupedEntry(String value)

public TableSpec.Builder setGroupedEntry(String value)

Output only. If the table is a dated shard, i.e., with name pattern [prefix]YYYYMMDD, grouped_entry is the Data Catalog resource name of the date sharded grouped entry, for example, projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}. Otherwise, grouped_entry is empty.

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

Parameter
Name Description
value String

The groupedEntry to set.

Returns
Type Description
TableSpec.Builder

This builder for chaining.

setGroupedEntryBytes(ByteString value)

public TableSpec.Builder setGroupedEntryBytes(ByteString value)

Output only. If the table is a dated shard, i.e., with name pattern [prefix]YYYYMMDD, grouped_entry is the Data Catalog resource name of the date sharded grouped entry, for example, projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}. Otherwise, grouped_entry is empty.

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

Parameter
Name Description
value ByteString

The bytes for groupedEntry to set.

Returns
Type Description
TableSpec.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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