Class TableSpec.Builder (1.19.0)

public static final class TableSpec.Builder extends GeneratedMessageV3.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TableSpec build()
Returns
TypeDescription
TableSpec

buildPartial()

public TableSpec buildPartial()
Returns
TypeDescription
TableSpec

clear()

public TableSpec.Builder clear()
Returns
TypeDescription
TableSpec.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public TableSpec.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
TableSpec.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public TableSpec.Builder clone()
Returns
TypeDescription
TableSpec.Builder
Overrides

getDefaultInstanceForType()

public TableSpec getDefaultInstanceForType()
Returns
TypeDescription
TableSpec

getDescriptorForType()

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

The bytes for groupedEntry.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(TableSpec other)

public TableSpec.Builder mergeFrom(TableSpec other)
Parameter
NameDescription
otherTableSpec
Returns
TypeDescription
TableSpec.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TableSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
TableSpec.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public TableSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The groupedEntry to set.

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

The bytes for groupedEntry to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

public final TableSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
TableSpec.Builder
Overrides