public final class BigQueryTableSpec extends GeneratedMessageV3 implements BigQueryTableSpecOrBuilder
Describes a BigQuery table.
Protobuf type google.cloud.datacatalog.v1beta1.BigQueryTableSpec
Fields
TABLE_SOURCE_TYPE_FIELD_NUMBER
public static final int TABLE_SOURCE_TYPE_FIELD_NUMBER
Field Value
TABLE_SPEC_FIELD_NUMBER
public static final int TABLE_SPEC_FIELD_NUMBER
Field Value
VIEW_SPEC_FIELD_NUMBER
public static final int VIEW_SPEC_FIELD_NUMBER
Field Value
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstance()
public static BigQueryTableSpec getDefaultInstance()
Returns
getDefaultInstanceForType()
public BigQueryTableSpec getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getParserForType()
public Parser<BigQueryTableSpec> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
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];
Returns
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
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
getTypeSpecCase()
public BigQueryTableSpec.TypeSpecCase getTypeSpecCase()
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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
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
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.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilder()
public static BigQueryTableSpec.Builder newBuilder()
Returns
newBuilder(BigQueryTableSpec prototype)
public static BigQueryTableSpec.Builder newBuilder(BigQueryTableSpec prototype)
Parameter
Returns
newBuilderForType()
public BigQueryTableSpec.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected BigQueryTableSpec.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static BigQueryTableSpec parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static BigQueryTableSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static BigQueryTableSpec parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BigQueryTableSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static BigQueryTableSpec parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BigQueryTableSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BigQueryTableSpec parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static BigQueryTableSpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BigQueryTableSpec parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static BigQueryTableSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static BigQueryTableSpec parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BigQueryTableSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<BigQueryTableSpec> parser()
Returns
toBuilder()
public BigQueryTableSpec.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions