Class DatabaseTableSpec (1.54.0)

public final class DatabaseTableSpec extends GeneratedMessageV3 implements DatabaseTableSpecOrBuilder

Specification that applies to a table resource. Valid only for entries with the TABLE type.

Protobuf type google.cloud.datacatalog.v1.DatabaseTableSpec

Static Fields

DATABASE_VIEW_SPEC_FIELD_NUMBER

public static final int DATABASE_VIEW_SPEC_FIELD_NUMBER
Field Value
Type Description
int

DATAPLEX_TABLE_FIELD_NUMBER

public static final int DATAPLEX_TABLE_FIELD_NUMBER
Field Value
Type Description
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DatabaseTableSpec getDefaultInstance()
Returns
Type Description
DatabaseTableSpec

getDescriptor()

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

newBuilder()

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

newBuilder(DatabaseTableSpec prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDatabaseViewSpec()

public DatabaseTableSpec.DatabaseViewSpec getDatabaseViewSpec()

Spec what aplies to tables that are actually views. Not set for "real" tables.

.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3;

Returns
Type Description
DatabaseTableSpec.DatabaseViewSpec

The databaseViewSpec.

getDatabaseViewSpecOrBuilder()

public DatabaseTableSpec.DatabaseViewSpecOrBuilder getDatabaseViewSpecOrBuilder()

Spec what aplies to tables that are actually views. Not set for "real" tables.

.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3;

Returns
Type Description
DatabaseTableSpec.DatabaseViewSpecOrBuilder

getDataplexTable()

public DataplexTableSpec getDataplexTable()

Output only. Fields specific to a Dataplex table and present only in the Dataplex table entries.

.google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DataplexTableSpec

The dataplexTable.

getDataplexTableOrBuilder()

public DataplexTableSpecOrBuilder getDataplexTableOrBuilder()

Output only. Fields specific to a Dataplex table and present only in the Dataplex table entries.

.google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DataplexTableSpecOrBuilder

getDefaultInstanceForType()

public DatabaseTableSpec getDefaultInstanceForType()
Returns
Type Description
DatabaseTableSpec

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getType()

public DatabaseTableSpec.TableType getType()

Type of this table.

.google.cloud.datacatalog.v1.DatabaseTableSpec.TableType type = 1;

Returns
Type Description
DatabaseTableSpec.TableType

The type.

getTypeValue()

public int getTypeValue()

Type of this table.

.google.cloud.datacatalog.v1.DatabaseTableSpec.TableType type = 1;

Returns
Type Description
int

The enum numeric value on the wire for type.

hasDatabaseViewSpec()

public boolean hasDatabaseViewSpec()

Spec what aplies to tables that are actually views. Not set for "real" tables.

.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3;

Returns
Type Description
boolean

Whether the databaseViewSpec field is set.

hasDataplexTable()

public boolean hasDataplexTable()

Output only. Fields specific to a Dataplex table and present only in the Dataplex table entries.

.google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the dataplexTable 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 DatabaseTableSpec.Builder newBuilderForType()
Returns
Type Description
DatabaseTableSpec.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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