Class BigQueryTableSpec (1.57.0)

public final class BigQueryTableSpec extends GeneratedMessageV3 implements BigQueryTableSpecOrBuilder

Describes a BigQuery table.

Protobuf type google.cloud.datacatalog.v1beta1.BigQueryTableSpec

Static Fields

TABLE_SOURCE_TYPE_FIELD_NUMBER

public static final int TABLE_SOURCE_TYPE_FIELD_NUMBER
Field Value
Type Description
int

TABLE_SPEC_FIELD_NUMBER

public static final int TABLE_SPEC_FIELD_NUMBER
Field Value
Type Description
int

VIEW_SPEC_FIELD_NUMBER

public static final int VIEW_SPEC_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static BigQueryTableSpec getDefaultInstance()
Returns
Type Description
BigQueryTableSpec

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static BigQueryTableSpec.Builder newBuilder()
Returns
Type Description
BigQueryTableSpec.Builder

newBuilder(BigQueryTableSpec prototype)

public static BigQueryTableSpec.Builder newBuilder(BigQueryTableSpec prototype)
Parameter
Name Description
prototype BigQueryTableSpec
Returns
Type Description
BigQueryTableSpec.Builder

parseDelimitedFrom(InputStream input)

public static BigQueryTableSpec parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BigQueryTableSpec
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BigQueryTableSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BigQueryTableSpec
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static BigQueryTableSpec parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
BigQueryTableSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BigQueryTableSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BigQueryTableSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BigQueryTableSpec parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
BigQueryTableSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BigQueryTableSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BigQueryTableSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BigQueryTableSpec parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
BigQueryTableSpec
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BigQueryTableSpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BigQueryTableSpec
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static BigQueryTableSpec parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BigQueryTableSpec
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BigQueryTableSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BigQueryTableSpec
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static BigQueryTableSpec parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
BigQueryTableSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BigQueryTableSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BigQueryTableSpec
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<BigQueryTableSpec> parser()
Returns
Type Description
Parser<BigQueryTableSpec>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public BigQueryTableSpec getDefaultInstanceForType()
Returns
Type Description
BigQueryTableSpec

getParserForType()

public Parser<BigQueryTableSpec> getParserForType()
Returns
Type Description
Parser<BigQueryTableSpec>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
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
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.

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.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public BigQueryTableSpec.Builder newBuilderForType()
Returns
Type Description
BigQueryTableSpec.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BigQueryTableSpec.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
BigQueryTableSpec.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public BigQueryTableSpec.Builder toBuilder()
Returns
Type Description
BigQueryTableSpec.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException