Class BigQueryTableSpec (1.28.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
TypeDescription
int

TABLE_SPEC_FIELD_NUMBER

public static final int TABLE_SPEC_FIELD_NUMBER
Field Value
TypeDescription
int

VIEW_SPEC_FIELD_NUMBER

public static final int VIEW_SPEC_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static BigQueryTableSpec getDefaultInstance()
Returns
TypeDescription
BigQueryTableSpec

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static BigQueryTableSpec.Builder newBuilder()
Returns
TypeDescription
BigQueryTableSpec.Builder

newBuilder(BigQueryTableSpec prototype)

public static BigQueryTableSpec.Builder newBuilder(BigQueryTableSpec prototype)
Parameter
NameDescription
prototypeBigQueryTableSpec
Returns
TypeDescription
BigQueryTableSpec.Builder

parseDelimitedFrom(InputStream input)

public static BigQueryTableSpec parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BigQueryTableSpec
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BigQueryTableSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BigQueryTableSpec
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static BigQueryTableSpec parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
BigQueryTableSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BigQueryTableSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BigQueryTableSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BigQueryTableSpec parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
BigQueryTableSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BigQueryTableSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BigQueryTableSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BigQueryTableSpec parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
BigQueryTableSpec
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BigQueryTableSpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BigQueryTableSpec
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static BigQueryTableSpec parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BigQueryTableSpec
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BigQueryTableSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BigQueryTableSpec
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static BigQueryTableSpec parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
BigQueryTableSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BigQueryTableSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BigQueryTableSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<BigQueryTableSpec> parser()
Returns
TypeDescription
Parser<BigQueryTableSpec>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public BigQueryTableSpec getDefaultInstanceForType()
Returns
TypeDescription
BigQueryTableSpec

getParserForType()

public Parser<BigQueryTableSpec> getParserForType()
Returns
TypeDescription
Parser<BigQueryTableSpec>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
TableSpecOrBuilder

getTypeSpecCase()

public BigQueryTableSpec.TypeSpecCase getTypeSpecCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the viewSpec field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public BigQueryTableSpec.Builder newBuilderForType()
Returns
TypeDescription
BigQueryTableSpec.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BigQueryTableSpec.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
BigQueryTableSpec.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public BigQueryTableSpec.Builder toBuilder()
Returns
TypeDescription
BigQueryTableSpec.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException