Class BigQueryTableSpec.Builder (1.50.0)

public static final class BigQueryTableSpec.Builder extends GeneratedMessageV3.Builder<BigQueryTableSpec.Builder> implements BigQueryTableSpecOrBuilder

Describes a BigQuery table.

Protobuf type google.cloud.datacatalog.v1.BigQueryTableSpec

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BigQueryTableSpec build()
Returns
Type Description
BigQueryTableSpec

buildPartial()

public BigQueryTableSpec buildPartial()
Returns
Type Description
BigQueryTableSpec

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTableSourceType()

public BigQueryTableSpec.Builder clearTableSourceType()

Output only. The table source type.

.google.cloud.datacatalog.v1.TableSourceType table_source_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
BigQueryTableSpec.Builder

This builder for chaining.

clearTableSpec()

public BigQueryTableSpec.Builder clearTableSpec()

Specification of a BigQuery table. Populated only if the table_source_type is BIGQUERY_TABLE.

.google.cloud.datacatalog.v1.TableSpec table_spec = 3;

Returns
Type Description
BigQueryTableSpec.Builder

clearTypeSpec()

public BigQueryTableSpec.Builder clearTypeSpec()
Returns
Type Description
BigQueryTableSpec.Builder

clearViewSpec()

public BigQueryTableSpec.Builder clearViewSpec()

Table view specification. Populated only if the table_source_type is BIGQUERY_VIEW.

.google.cloud.datacatalog.v1.ViewSpec view_spec = 2;

Returns
Type Description
BigQueryTableSpec.Builder

clone()

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

getDefaultInstanceForType()

public BigQueryTableSpec getDefaultInstanceForType()
Returns
Type Description
BigQueryTableSpec

getDescriptorForType()

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

getTableSourceType()

public TableSourceType getTableSourceType()

Output only. The table source type.

.google.cloud.datacatalog.v1.TableSourceType table_source_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TableSourceType

The tableSourceType.

getTableSourceTypeValue()

public int getTableSourceTypeValue()

Output only. The table source type.

.google.cloud.datacatalog.v1.TableSourceType table_source_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for tableSourceType.

getTableSpec()

public TableSpec getTableSpec()

Specification of a BigQuery table. Populated only if the table_source_type is BIGQUERY_TABLE.

.google.cloud.datacatalog.v1.TableSpec table_spec = 3;

Returns
Type Description
TableSpec

The tableSpec.

getTableSpecBuilder()

public TableSpec.Builder getTableSpecBuilder()

Specification of a BigQuery table. Populated only if the table_source_type is BIGQUERY_TABLE.

.google.cloud.datacatalog.v1.TableSpec table_spec = 3;

Returns
Type Description
TableSpec.Builder

getTableSpecOrBuilder()

public TableSpecOrBuilder getTableSpecOrBuilder()

Specification of a BigQuery table. Populated only if the table_source_type is BIGQUERY_TABLE.

.google.cloud.datacatalog.v1.TableSpec table_spec = 3;

Returns
Type Description
TableSpecOrBuilder

getTypeSpecCase()

public BigQueryTableSpec.TypeSpecCase getTypeSpecCase()
Returns
Type Description
BigQueryTableSpec.TypeSpecCase

getViewSpec()

public ViewSpec getViewSpec()

Table view specification. Populated only if the table_source_type is BIGQUERY_VIEW.

.google.cloud.datacatalog.v1.ViewSpec view_spec = 2;

Returns
Type Description
ViewSpec

The viewSpec.

getViewSpecBuilder()

public ViewSpec.Builder getViewSpecBuilder()

Table view specification. Populated only if the table_source_type is BIGQUERY_VIEW.

.google.cloud.datacatalog.v1.ViewSpec view_spec = 2;

Returns
Type Description
ViewSpec.Builder

getViewSpecOrBuilder()

public ViewSpecOrBuilder getViewSpecOrBuilder()

Table view specification. Populated only if the table_source_type is BIGQUERY_VIEW.

.google.cloud.datacatalog.v1.ViewSpec view_spec = 2;

Returns
Type Description
ViewSpecOrBuilder

hasTableSpec()

public boolean hasTableSpec()

Specification of a BigQuery table. Populated only if the table_source_type is BIGQUERY_TABLE.

.google.cloud.datacatalog.v1.TableSpec table_spec = 3;

Returns
Type Description
boolean

Whether the tableSpec field is set.

hasViewSpec()

public boolean hasViewSpec()

Table view specification. Populated only if the table_source_type is BIGQUERY_VIEW.

.google.cloud.datacatalog.v1.ViewSpec view_spec = 2;

Returns
Type Description
boolean

Whether the viewSpec field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BigQueryTableSpec other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeTableSpec(TableSpec value)

public BigQueryTableSpec.Builder mergeTableSpec(TableSpec value)

Specification of a BigQuery table. Populated only if the table_source_type is BIGQUERY_TABLE.

.google.cloud.datacatalog.v1.TableSpec table_spec = 3;

Parameter
Name Description
value TableSpec
Returns
Type Description
BigQueryTableSpec.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeViewSpec(ViewSpec value)

public BigQueryTableSpec.Builder mergeViewSpec(ViewSpec value)

Table view specification. Populated only if the table_source_type is BIGQUERY_VIEW.

.google.cloud.datacatalog.v1.ViewSpec view_spec = 2;

Parameter
Name Description
value ViewSpec
Returns
Type Description
BigQueryTableSpec.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setTableSourceType(TableSourceType value)

public BigQueryTableSpec.Builder setTableSourceType(TableSourceType value)

Output only. The table source type.

.google.cloud.datacatalog.v1.TableSourceType table_source_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value TableSourceType

The tableSourceType to set.

Returns
Type Description
BigQueryTableSpec.Builder

This builder for chaining.

setTableSourceTypeValue(int value)

public BigQueryTableSpec.Builder setTableSourceTypeValue(int value)

Output only. The table source type.

.google.cloud.datacatalog.v1.TableSourceType table_source_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

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

Returns
Type Description
BigQueryTableSpec.Builder

This builder for chaining.

setTableSpec(TableSpec value)

public BigQueryTableSpec.Builder setTableSpec(TableSpec value)

Specification of a BigQuery table. Populated only if the table_source_type is BIGQUERY_TABLE.

.google.cloud.datacatalog.v1.TableSpec table_spec = 3;

Parameter
Name Description
value TableSpec
Returns
Type Description
BigQueryTableSpec.Builder

setTableSpec(TableSpec.Builder builderForValue)

public BigQueryTableSpec.Builder setTableSpec(TableSpec.Builder builderForValue)

Specification of a BigQuery table. Populated only if the table_source_type is BIGQUERY_TABLE.

.google.cloud.datacatalog.v1.TableSpec table_spec = 3;

Parameter
Name Description
builderForValue TableSpec.Builder
Returns
Type Description
BigQueryTableSpec.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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

setViewSpec(ViewSpec value)

public BigQueryTableSpec.Builder setViewSpec(ViewSpec value)

Table view specification. Populated only if the table_source_type is BIGQUERY_VIEW.

.google.cloud.datacatalog.v1.ViewSpec view_spec = 2;

Parameter
Name Description
value ViewSpec
Returns
Type Description
BigQueryTableSpec.Builder

setViewSpec(ViewSpec.Builder builderForValue)

public BigQueryTableSpec.Builder setViewSpec(ViewSpec.Builder builderForValue)

Table view specification. Populated only if the table_source_type is BIGQUERY_VIEW.

.google.cloud.datacatalog.v1.ViewSpec view_spec = 2;

Parameter
Name Description
builderForValue ViewSpec.Builder
Returns
Type Description
BigQueryTableSpec.Builder