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
Returns
Overrides
build()
public BigQueryTableSpec build()
Returns
buildPartial()
public BigQueryTableSpec buildPartial()
Returns
clear()
public BigQueryTableSpec.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public BigQueryTableSpec.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public BigQueryTableSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
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
clearTypeSpec()
public BigQueryTableSpec.Builder clearTypeSpec()
Returns
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
clone()
public BigQueryTableSpec.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public BigQueryTableSpec getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
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
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
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
getTypeSpecCase()
public BigQueryTableSpec.TypeSpecCase getTypeSpecCase()
Returns
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
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
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
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(BigQueryTableSpec other)
public BigQueryTableSpec.Builder mergeFrom(BigQueryTableSpec other)
Parameter
Returns
public BigQueryTableSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public BigQueryTableSpec.Builder mergeFrom(Message other)
Parameter
Returns
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
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BigQueryTableSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public BigQueryTableSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BigQueryTableSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
Returns
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
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
Returns
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
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final BigQueryTableSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns