Class DataplexTableSpec (1.55.0)

public final class DataplexTableSpec extends GeneratedMessageV3 implements DataplexTableSpecOrBuilder

Entry specification for a Dataplex table.

Protobuf type google.cloud.datacatalog.v1.DataplexTableSpec

Static Fields

DATAPLEX_SPEC_FIELD_NUMBER

public static final int DATAPLEX_SPEC_FIELD_NUMBER
Field Value
Type Description
int

EXTERNAL_TABLES_FIELD_NUMBER

public static final int EXTERNAL_TABLES_FIELD_NUMBER
Field Value
Type Description
int

USER_MANAGED_FIELD_NUMBER

public static final int USER_MANAGED_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DataplexTableSpec getDefaultInstance()
Returns
Type Description
DataplexTableSpec

getDescriptor()

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

newBuilder()

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

newBuilder(DataplexTableSpec prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDataplexSpec()

public DataplexSpec getDataplexSpec()

Common Dataplex fields.

.google.cloud.datacatalog.v1.DataplexSpec dataplex_spec = 2;

Returns
Type Description
DataplexSpec

The dataplexSpec.

getDataplexSpecOrBuilder()

public DataplexSpecOrBuilder getDataplexSpecOrBuilder()

Common Dataplex fields.

.google.cloud.datacatalog.v1.DataplexSpec dataplex_spec = 2;

Returns
Type Description
DataplexSpecOrBuilder

getDefaultInstanceForType()

public DataplexTableSpec getDefaultInstanceForType()
Returns
Type Description
DataplexTableSpec

getExternalTables(int index)

public DataplexExternalTable getExternalTables(int index)

List of external tables registered by Dataplex in other systems based on the same underlying data.

External tables allow to query this data in those systems.

repeated .google.cloud.datacatalog.v1.DataplexExternalTable external_tables = 1;

Parameter
Name Description
index int
Returns
Type Description
DataplexExternalTable

getExternalTablesCount()

public int getExternalTablesCount()

List of external tables registered by Dataplex in other systems based on the same underlying data.

External tables allow to query this data in those systems.

repeated .google.cloud.datacatalog.v1.DataplexExternalTable external_tables = 1;

Returns
Type Description
int

getExternalTablesList()

public List<DataplexExternalTable> getExternalTablesList()

List of external tables registered by Dataplex in other systems based on the same underlying data.

External tables allow to query this data in those systems.

repeated .google.cloud.datacatalog.v1.DataplexExternalTable external_tables = 1;

Returns
Type Description
List<DataplexExternalTable>

getExternalTablesOrBuilder(int index)

public DataplexExternalTableOrBuilder getExternalTablesOrBuilder(int index)

List of external tables registered by Dataplex in other systems based on the same underlying data.

External tables allow to query this data in those systems.

repeated .google.cloud.datacatalog.v1.DataplexExternalTable external_tables = 1;

Parameter
Name Description
index int
Returns
Type Description
DataplexExternalTableOrBuilder

getExternalTablesOrBuilderList()

public List<? extends DataplexExternalTableOrBuilder> getExternalTablesOrBuilderList()

List of external tables registered by Dataplex in other systems based on the same underlying data.

External tables allow to query this data in those systems.

repeated .google.cloud.datacatalog.v1.DataplexExternalTable external_tables = 1;

Returns
Type Description
List<? extends com.google.cloud.datacatalog.v1.DataplexExternalTableOrBuilder>

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUserManaged()

public boolean getUserManaged()

Indicates if the table schema is managed by the user or not.

bool user_managed = 3;

Returns
Type Description
boolean

The userManaged.

hasDataplexSpec()

public boolean hasDataplexSpec()

Common Dataplex fields.

.google.cloud.datacatalog.v1.DataplexSpec dataplex_spec = 2;

Returns
Type Description
boolean

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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