Class DataplexTableSpec (1.14.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
TypeDescription
int

EXTERNAL_TABLES_FIELD_NUMBER

public static final int EXTERNAL_TABLES_FIELD_NUMBER
Field Value
TypeDescription
int

USER_MANAGED_FIELD_NUMBER

public static final int USER_MANAGED_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DataplexTableSpec getDefaultInstance()
Returns
TypeDescription
DataplexTableSpec

getDescriptor()

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

newBuilder()

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

newBuilder(DataplexTableSpec prototype)

public static DataplexTableSpec.Builder newBuilder(DataplexTableSpec prototype)
Parameter
NameDescription
prototypeDataplexTableSpec
Returns
TypeDescription
DataplexTableSpec.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDataplexSpec()

public DataplexSpec getDataplexSpec()

Common Dataplex fields.

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

Returns
TypeDescription
DataplexSpec

The dataplexSpec.

getDataplexSpecOrBuilder()

public DataplexSpecOrBuilder getDataplexSpecOrBuilder()

Common Dataplex fields.

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

Returns
TypeDescription
DataplexSpecOrBuilder

getDefaultInstanceForType()

public DataplexTableSpec getDefaultInstanceForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.datacatalog.v1.DataplexExternalTableOrBuilder>

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getUserManaged()

public boolean getUserManaged()

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

bool user_managed = 3;

Returns
TypeDescription
boolean

The userManaged.

hasDataplexSpec()

public boolean hasDataplexSpec()

Common Dataplex fields.

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

Returns
TypeDescription
boolean

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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