public static final class BigQueryTableSpec.Builder extends GeneratedMessageV3.Builder<BigQueryTableSpec.Builder> implements BigQueryTableSpecOrBuilder
Describes a BigQuery table.
Protobuf type google.cloud.datacatalog.v1beta1.BigQueryTableSpec
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BigQueryTableSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public BigQueryTableSpec build()
buildPartial()
public BigQueryTableSpec buildPartial()
clear()
public BigQueryTableSpec.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public BigQueryTableSpec.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public BigQueryTableSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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];
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;
clearTypeSpec()
public BigQueryTableSpec.Builder clearTypeSpec()
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;
clone()
public BigQueryTableSpec.Builder clone()
Overrides
getDefaultInstanceForType()
public BigQueryTableSpec getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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];
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;
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;
getTypeSpecCase()
public BigQueryTableSpec.TypeSpecCase getTypeSpecCase()
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;
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;
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(BigQueryTableSpec other)
public BigQueryTableSpec.Builder mergeFrom(BigQueryTableSpec other)
public BigQueryTableSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public BigQueryTableSpec.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
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;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BigQueryTableSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public BigQueryTableSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BigQueryTableSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
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 |
TableSourceType
The tableSourceType to set.
|
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 |
int
The enum numeric value on the wire for tableSourceType to set.
|
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;
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;
setUnknownFields(UnknownFieldSet unknownFields)
public final BigQueryTableSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
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
|
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;