Class DatabaseTableSpec (1.35.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
TypeDescription
int

DATAPLEX_TABLE_FIELD_NUMBER

public static final int DATAPLEX_TABLE_FIELD_NUMBER
Field Value
TypeDescription
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DatabaseTableSpec getDefaultInstance()
Returns
TypeDescription
DatabaseTableSpec

getDescriptor()

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

newBuilder()

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

newBuilder(DatabaseTableSpec prototype)

public static DatabaseTableSpec.Builder newBuilder(DatabaseTableSpec prototype)
Parameter
NameDescription
prototypeDatabaseTableSpec
Returns
TypeDescription
DatabaseTableSpec.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
DataplexTableSpecOrBuilder

getDefaultInstanceForType()

public DatabaseTableSpec getDefaultInstanceForType()
Returns
TypeDescription
DatabaseTableSpec

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getType()

public DatabaseTableSpec.TableType getType()

Type of this table.

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

Returns
TypeDescription
DatabaseTableSpec.TableType

The type.

getTypeValue()

public int getTypeValue()

Type of this table.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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