Class DataplexSpec (1.22.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
TypeDescription
int

COMPRESSION_FORMAT_FIELD_NUMBER

public static final int COMPRESSION_FORMAT_FIELD_NUMBER
Field Value
TypeDescription
int

DATA_FORMAT_FIELD_NUMBER

public static final int DATA_FORMAT_FIELD_NUMBER
Field Value
TypeDescription
int

PROJECT_ID_FIELD_NUMBER

public static final int PROJECT_ID_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DataplexSpec getDefaultInstance()
Returns
TypeDescription
DataplexSpec

getDescriptor()

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

newBuilder()

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

newBuilder(DataplexSpec prototype)

public static DataplexSpec.Builder newBuilder(DataplexSpec prototype)
Parameter
NameDescription
prototypeDataplexSpec
Returns
TypeDescription
DataplexSpec.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

The bytes for asset.

getCompressionFormat()

public String getCompressionFormat()

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

string compression_format = 3;

Returns
TypeDescription
String

The compressionFormat.

getCompressionFormatBytes()

public ByteString getCompressionFormatBytes()

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

string compression_format = 3;

Returns
TypeDescription
ByteString

The bytes for compressionFormat.

getDataFormat()

public PhysicalSchema getDataFormat()

Format of the data.

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

Returns
TypeDescription
PhysicalSchema

The dataFormat.

getDataFormatOrBuilder()

public PhysicalSchemaOrBuilder getDataFormatOrBuilder()

Format of the data.

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

Returns
TypeDescription
PhysicalSchemaOrBuilder

getDefaultInstanceForType()

public DataplexSpec getDefaultInstanceForType()
Returns
TypeDescription
DataplexSpec

getParserForType()

public Parser<DataplexSpec> getParserForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for projectId.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasDataFormat()

public boolean hasDataFormat()

Format of the data.

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

Returns
TypeDescription
boolean

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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