Class BigQueryTableSpec.Builder (1.6.2)

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

Describes a BigQuery table.

Protobuf type google.cloud.datacatalog.v1.BigQueryTableSpec

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BigQueryTableSpec build()
Returns
TypeDescription
BigQueryTableSpec

buildPartial()

public BigQueryTableSpec buildPartial()
Returns
TypeDescription
BigQueryTableSpec

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public BigQueryTableSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
BigQueryTableSpec.Builder

clearTypeSpec()

public BigQueryTableSpec.Builder clearTypeSpec()
Returns
TypeDescription
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
TypeDescription
BigQueryTableSpec.Builder

clone()

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

getDefaultInstanceForType()

public BigQueryTableSpec getDefaultInstanceForType()
Returns
TypeDescription
BigQueryTableSpec

getDescriptor()

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

getDescriptorForType()

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

getTypeSpecCase()

public BigQueryTableSpec.TypeSpecCase getTypeSpecCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the viewSpec field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(BigQueryTableSpec other)

public BigQueryTableSpec.Builder mergeFrom(BigQueryTableSpec other)
Parameter
NameDescription
otherBigQueryTableSpec
Returns
TypeDescription
BigQueryTableSpec.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public BigQueryTableSpec.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueTableSpec
Returns
TypeDescription
BigQueryTableSpec.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BigQueryTableSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueViewSpec
Returns
TypeDescription
BigQueryTableSpec.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public BigQueryTableSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueTableSourceType

The tableSourceType to set.

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

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

Returns
TypeDescription
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
NameDescription
valueTableSpec
Returns
TypeDescription
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
NameDescription
builderForValueTableSpec.Builder
Returns
TypeDescription
BigQueryTableSpec.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final BigQueryTableSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueViewSpec
Returns
TypeDescription
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
NameDescription
builderForValueViewSpec.Builder
Returns
TypeDescription
BigQueryTableSpec.Builder