Class TableSpec.Builder (1.89.0)

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

Normal BigQuery table specification.

Protobuf type google.cloud.datacatalog.v1.TableSpec

Implements

TableSpecOrBuilder

Static Methods

getDescriptor()

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

Methods

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

clearGroupedEntry()

public TableSpec.Builder clearGroupedEntry()

Output only. If the table is date-sharded, that is, it matches the [prefix]YYYYMMDD name pattern, this field 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.

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 date-sharded, that is, it matches the [prefix]YYYYMMDD name pattern, this field 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 date-sharded, that is, it matches the [prefix]YYYYMMDD name pattern, this field 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 GeneratedMessage.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

setGroupedEntry(String value)

public TableSpec.Builder setGroupedEntry(String value)

Output only. If the table is date-sharded, that is, it matches the [prefix]YYYYMMDD name pattern, this field 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 date-sharded, that is, it matches the [prefix]YYYYMMDD name pattern, this field 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.