public static final class BigQueryTableSpec.Builder extends GeneratedMessage.Builder<BigQueryTableSpec.Builder> implements BigQueryTableSpecOrBuilderDescribes a BigQuery table.
Protobuf type google.cloud.datacatalog.v1beta1.BigQueryTableSpec
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > BigQueryTableSpec.BuilderImplements
BigQueryTableSpecOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
clearTableSourceType()
public BigQueryTableSpec.Builder clearTableSourceType()Output only. The table source type.
.google.cloud.datacatalog.v1beta1.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() Spec of a BigQuery table. This field should only be populated if
table_source_type is BIGQUERY_TABLE.
.google.cloud.datacatalog.v1beta1.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. This field should only be populated if
table_source_type is BIGQUERY_VIEW.
.google.cloud.datacatalog.v1beta1.ViewSpec view_spec = 2;
| Returns | |
|---|---|
| Type | Description |
BigQueryTableSpec.Builder |
|
getDefaultInstanceForType()
public BigQueryTableSpec getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
BigQueryTableSpec |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getTableSourceType()
public TableSourceType getTableSourceType()Output only. The table source type.
.google.cloud.datacatalog.v1beta1.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.v1beta1.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() Spec of a BigQuery table. This field should only be populated if
table_source_type is BIGQUERY_TABLE.
.google.cloud.datacatalog.v1beta1.TableSpec table_spec = 3;
| Returns | |
|---|---|
| Type | Description |
TableSpec |
The tableSpec. |
getTableSpecBuilder()
public TableSpec.Builder getTableSpecBuilder() Spec of a BigQuery table. This field should only be populated if
table_source_type is BIGQUERY_TABLE.
.google.cloud.datacatalog.v1beta1.TableSpec table_spec = 3;
| Returns | |
|---|---|
| Type | Description |
TableSpec.Builder |
|
getTableSpecOrBuilder()
public TableSpecOrBuilder getTableSpecOrBuilder() Spec of a BigQuery table. This field should only be populated if
table_source_type is BIGQUERY_TABLE.
.google.cloud.datacatalog.v1beta1.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. This field should only be populated if
table_source_type is BIGQUERY_VIEW.
.google.cloud.datacatalog.v1beta1.ViewSpec view_spec = 2;
| Returns | |
|---|---|
| Type | Description |
ViewSpec |
The viewSpec. |
getViewSpecBuilder()
public ViewSpec.Builder getViewSpecBuilder() Table view specification. This field should only be populated if
table_source_type is BIGQUERY_VIEW.
.google.cloud.datacatalog.v1beta1.ViewSpec view_spec = 2;
| Returns | |
|---|---|
| Type | Description |
ViewSpec.Builder |
|
getViewSpecOrBuilder()
public ViewSpecOrBuilder getViewSpecOrBuilder() Table view specification. This field should only be populated if
table_source_type is BIGQUERY_VIEW.
.google.cloud.datacatalog.v1beta1.ViewSpec view_spec = 2;
| Returns | |
|---|---|
| Type | Description |
ViewSpecOrBuilder |
|
hasTableSpec()
public boolean hasTableSpec() Spec of a BigQuery table. This field should only be populated if
table_source_type is BIGQUERY_TABLE.
.google.cloud.datacatalog.v1beta1.TableSpec table_spec = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the tableSpec field is set. |
hasViewSpec()
public boolean hasViewSpec() Table view specification. This field should only be populated if
table_source_type is BIGQUERY_VIEW.
.google.cloud.datacatalog.v1beta1.ViewSpec view_spec = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the viewSpec field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public BigQueryTableSpec.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
BigQueryTableSpec.Builder |
|
mergeTableSpec(TableSpec value)
public BigQueryTableSpec.Builder mergeTableSpec(TableSpec value) Spec of a BigQuery table. This field should only be populated if
table_source_type is BIGQUERY_TABLE.
.google.cloud.datacatalog.v1beta1.TableSpec table_spec = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
TableSpec |
| Returns | |
|---|---|
| Type | Description |
BigQueryTableSpec.Builder |
|
mergeViewSpec(ViewSpec value)
public BigQueryTableSpec.Builder mergeViewSpec(ViewSpec value) Table view specification. This field should only be populated if
table_source_type is BIGQUERY_VIEW.
.google.cloud.datacatalog.v1beta1.ViewSpec view_spec = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ViewSpec |
| Returns | |
|---|---|
| Type | Description |
BigQueryTableSpec.Builder |
|
setTableSourceType(TableSourceType value)
public BigQueryTableSpec.Builder setTableSourceType(TableSourceType value)Output only. The table source type.
.google.cloud.datacatalog.v1beta1.TableSourceType table_source_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
TableSourceTypeThe 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.v1beta1.TableSourceType table_source_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe 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) Spec of a BigQuery table. This field should only be populated if
table_source_type is BIGQUERY_TABLE.
.google.cloud.datacatalog.v1beta1.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) Spec of a BigQuery table. This field should only be populated if
table_source_type is BIGQUERY_TABLE.
.google.cloud.datacatalog.v1beta1.TableSpec table_spec = 3;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
TableSpec.Builder |
| Returns | |
|---|---|
| Type | Description |
BigQueryTableSpec.Builder |
|
setViewSpec(ViewSpec value)
public BigQueryTableSpec.Builder setViewSpec(ViewSpec value) Table view specification. This field should only be populated if
table_source_type is BIGQUERY_VIEW.
.google.cloud.datacatalog.v1beta1.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. This field should only be populated if
table_source_type is BIGQUERY_VIEW.
.google.cloud.datacatalog.v1beta1.ViewSpec view_spec = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ViewSpec.Builder |
| Returns | |
|---|---|
| Type | Description |
BigQueryTableSpec.Builder |
|