Class DataplexSpec.Builder (1.89.0)

public static final class DataplexSpec.Builder extends GeneratedMessage.Builder<DataplexSpec.Builder> implements DataplexSpecOrBuilder

Common Dataplex fields.

Protobuf type google.cloud.datacatalog.v1.DataplexSpec

Static Methods

getDescriptor()

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

Methods

build()

public DataplexSpec build()
Returns
Type Description
DataplexSpec

buildPartial()

public DataplexSpec buildPartial()
Returns
Type Description
DataplexSpec

clear()

public DataplexSpec.Builder clear()
Returns
Type Description
DataplexSpec.Builder
Overrides

clearAsset()

public DataplexSpec.Builder clearAsset()

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
DataplexSpec.Builder

This builder for chaining.

clearCompressionFormat()

public DataplexSpec.Builder clearCompressionFormat()

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

string compression_format = 3;

Returns
Type Description
DataplexSpec.Builder

This builder for chaining.

clearDataFormat()

public DataplexSpec.Builder clearDataFormat()

Format of the data.

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

Returns
Type Description
DataplexSpec.Builder

clearProjectId()

public DataplexSpec.Builder clearProjectId()

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
DataplexSpec.Builder

This builder for chaining.

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.

getDataFormatBuilder()

public PhysicalSchema.Builder getDataFormatBuilder()

Format of the data.

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

Returns
Type Description
PhysicalSchema.Builder

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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.

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.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDataFormat(PhysicalSchema value)

public DataplexSpec.Builder mergeDataFormat(PhysicalSchema value)

Format of the data.

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

Parameter
Name Description
value PhysicalSchema
Returns
Type Description
DataplexSpec.Builder

mergeFrom(DataplexSpec other)

public DataplexSpec.Builder mergeFrom(DataplexSpec other)
Parameter
Name Description
other DataplexSpec
Returns
Type Description
DataplexSpec.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DataplexSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataplexSpec.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DataplexSpec.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DataplexSpec.Builder
Overrides

setAsset(String value)

public DataplexSpec.Builder setAsset(String value)

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;

Parameter
Name Description
value String

The asset to set.

Returns
Type Description
DataplexSpec.Builder

This builder for chaining.

setAssetBytes(ByteString value)

public DataplexSpec.Builder setAssetBytes(ByteString value)

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;

Parameter
Name Description
value ByteString

The bytes for asset to set.

Returns
Type Description
DataplexSpec.Builder

This builder for chaining.

setCompressionFormat(String value)

public DataplexSpec.Builder setCompressionFormat(String value)

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

string compression_format = 3;

Parameter
Name Description
value String

The compressionFormat to set.

Returns
Type Description
DataplexSpec.Builder

This builder for chaining.

setCompressionFormatBytes(ByteString value)

public DataplexSpec.Builder setCompressionFormatBytes(ByteString value)

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

string compression_format = 3;

Parameter
Name Description
value ByteString

The bytes for compressionFormat to set.

Returns
Type Description
DataplexSpec.Builder

This builder for chaining.

setDataFormat(PhysicalSchema value)

public DataplexSpec.Builder setDataFormat(PhysicalSchema value)

Format of the data.

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

Parameter
Name Description
value PhysicalSchema
Returns
Type Description
DataplexSpec.Builder

setDataFormat(PhysicalSchema.Builder builderForValue)

public DataplexSpec.Builder setDataFormat(PhysicalSchema.Builder builderForValue)

Format of the data.

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

Parameter
Name Description
builderForValue PhysicalSchema.Builder
Returns
Type Description
DataplexSpec.Builder

setProjectId(String value)

public DataplexSpec.Builder setProjectId(String value)

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;

Parameter
Name Description
value String

The projectId to set.

Returns
Type Description
DataplexSpec.Builder

This builder for chaining.

setProjectIdBytes(ByteString value)

public DataplexSpec.Builder setProjectIdBytes(ByteString value)

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;

Parameter
Name Description
value ByteString

The bytes for projectId to set.

Returns
Type Description
DataplexSpec.Builder

This builder for chaining.