Class DataplexSpec (1.51.0)

public final class DataplexSpec extends GeneratedMessageV3 implements DataplexSpecOrBuilder

Common Dataplex fields.

Protobuf type google.cloud.datacatalog.v1.DataplexSpec

Static Fields

ASSET_FIELD_NUMBER

public static final int ASSET_FIELD_NUMBER
Field Value
Type Description
int

COMPRESSION_FORMAT_FIELD_NUMBER

public static final int COMPRESSION_FORMAT_FIELD_NUMBER
Field Value
Type Description
int

DATA_FORMAT_FIELD_NUMBER

public static final int DATA_FORMAT_FIELD_NUMBER
Field Value
Type Description
int

PROJECT_ID_FIELD_NUMBER

public static final int PROJECT_ID_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DataplexSpec getDefaultInstance()
Returns
Type Description
DataplexSpec

getDescriptor()

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

newBuilder()

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

newBuilder(DataplexSpec prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAsset()

public String getAsset()

Fully qualified resource name of an asset in Dataplex, to which the underlying data source (Cloud Storage bucket or BigQuery dataset) of the entity is attached.

string asset = 1;

Returns
Type Description
String

The asset.

getAssetBytes()

public ByteString getAssetBytes()

Fully qualified resource name of an asset in Dataplex, to which the underlying data source (Cloud Storage bucket or BigQuery dataset) of the entity is attached.

string asset = 1;

Returns
Type Description
ByteString

The bytes for asset.

getCompressionFormat()

public String getCompressionFormat()

Compression format of the data, e.g., zip, gzip etc.

string compression_format = 3;

Returns
Type Description
String

The compressionFormat.

getCompressionFormatBytes()

public ByteString getCompressionFormatBytes()

Compression format of the data, e.g., zip, gzip etc.

string compression_format = 3;

Returns
Type Description
ByteString

The bytes for compressionFormat.

getDataFormat()

public PhysicalSchema getDataFormat()

Format of the data.

.google.cloud.datacatalog.v1.PhysicalSchema data_format = 2;

Returns
Type Description
PhysicalSchema

The dataFormat.

getDataFormatOrBuilder()

public PhysicalSchemaOrBuilder getDataFormatOrBuilder()

Format of the data.

.google.cloud.datacatalog.v1.PhysicalSchema data_format = 2;

Returns
Type Description
PhysicalSchemaOrBuilder

getDefaultInstanceForType()

public DataplexSpec getDefaultInstanceForType()
Returns
Type Description
DataplexSpec

getParserForType()

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

getProjectId()

public String getProjectId()

Project ID of the underlying Cloud Storage or BigQuery data. Note that this may not be the same project as the correspondingly Dataplex lake / zone / asset.

string project_id = 4;

Returns
Type Description
String

The projectId.

getProjectIdBytes()

public ByteString getProjectIdBytes()

Project ID of the underlying Cloud Storage or BigQuery data. Note that this may not be the same project as the correspondingly Dataplex lake / zone / asset.

string project_id = 4;

Returns
Type Description
ByteString

The bytes for projectId.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasDataFormat()

public boolean hasDataFormat()

Format of the data.

.google.cloud.datacatalog.v1.PhysicalSchema data_format = 2;

Returns
Type Description
boolean

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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