Class DataplexSpec.Builder (1.51.0)

public static final class DataplexSpec.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DataplexSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DataplexSpec.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public DataplexSpec.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DataplexSpec.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public DataplexSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DataplexSpec.Builder
Overrides

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.

clone()

public DataplexSpec.Builder clone()
Returns
Type Description
DataplexSpec.Builder
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.

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DataplexSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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

setField(Descriptors.FieldDescriptor field, Object value)

public DataplexSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DataplexSpec.Builder
Overrides

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.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DataplexSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DataplexSpec.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DataplexSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DataplexSpec.Builder
Overrides