Class UpdateDataProductRequest.Builder (1.86.0)

public static final class UpdateDataProductRequest.Builder extends GeneratedMessage.Builder<UpdateDataProductRequest.Builder> implements UpdateDataProductRequestOrBuilder

Request message for updating a data product.

Protobuf type google.cloud.dataplex.v1.UpdateDataProductRequest

Static Methods

getDescriptor()

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

Methods

build()

public UpdateDataProductRequest build()
Returns
Type Description
UpdateDataProductRequest

buildPartial()

public UpdateDataProductRequest buildPartial()
Returns
Type Description
UpdateDataProductRequest

clear()

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

clearDataProduct()

public UpdateDataProductRequest.Builder clearDataProduct()

Required. The data product to update. The data product's name field is used to identify the data product to update.

.google.cloud.dataplex.v1.DataProduct data_product = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateDataProductRequest.Builder

clearUpdateMask()

public UpdateDataProductRequest.Builder clearUpdateMask()

Optional. The list of fields to update. If this is empty or not set, then all the fields will be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
UpdateDataProductRequest.Builder

clearValidateOnly()

public UpdateDataProductRequest.Builder clearValidateOnly()

Optional. Validates the request without actually updating the data product. Default: false.

bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
UpdateDataProductRequest.Builder

This builder for chaining.

getDataProduct()

public DataProduct getDataProduct()

Required. The data product to update. The data product's name field is used to identify the data product to update.

.google.cloud.dataplex.v1.DataProduct data_product = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DataProduct

The dataProduct.

getDataProductBuilder()

public DataProduct.Builder getDataProductBuilder()

Required. The data product to update. The data product's name field is used to identify the data product to update.

.google.cloud.dataplex.v1.DataProduct data_product = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DataProduct.Builder

getDataProductOrBuilder()

public DataProductOrBuilder getDataProductOrBuilder()

Required. The data product to update. The data product's name field is used to identify the data product to update.

.google.cloud.dataplex.v1.DataProduct data_product = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DataProductOrBuilder

getDefaultInstanceForType()

public UpdateDataProductRequest getDefaultInstanceForType()
Returns
Type Description
UpdateDataProductRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getUpdateMask()

public FieldMask getUpdateMask()

Optional. The list of fields to update. If this is empty or not set, then all the fields will be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Optional. The list of fields to update. If this is empty or not set, then all the fields will be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Optional. The list of fields to update. If this is empty or not set, then all the fields will be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FieldMaskOrBuilder

getValidateOnly()

public boolean getValidateOnly()

Optional. Validates the request without actually updating the data product. Default: false.

bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The validateOnly.

hasDataProduct()

public boolean hasDataProduct()

Required. The data product to update. The data product's name field is used to identify the data product to update.

.google.cloud.dataplex.v1.DataProduct data_product = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the dataProduct field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Optional. The list of fields to update. If this is empty or not set, then all the fields will be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDataProduct(DataProduct value)

public UpdateDataProductRequest.Builder mergeDataProduct(DataProduct value)

Required. The data product to update. The data product's name field is used to identify the data product to update.

.google.cloud.dataplex.v1.DataProduct data_product = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value DataProduct
Returns
Type Description
UpdateDataProductRequest.Builder

mergeFrom(UpdateDataProductRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUpdateMask(FieldMask value)

public UpdateDataProductRequest.Builder mergeUpdateMask(FieldMask value)

Optional. The list of fields to update. If this is empty or not set, then all the fields will be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateDataProductRequest.Builder

setDataProduct(DataProduct value)

public UpdateDataProductRequest.Builder setDataProduct(DataProduct value)

Required. The data product to update. The data product's name field is used to identify the data product to update.

.google.cloud.dataplex.v1.DataProduct data_product = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value DataProduct
Returns
Type Description
UpdateDataProductRequest.Builder

setDataProduct(DataProduct.Builder builderForValue)

public UpdateDataProductRequest.Builder setDataProduct(DataProduct.Builder builderForValue)

Required. The data product to update. The data product's name field is used to identify the data product to update.

.google.cloud.dataplex.v1.DataProduct data_product = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue DataProduct.Builder
Returns
Type Description
UpdateDataProductRequest.Builder

setUpdateMask(FieldMask value)

public UpdateDataProductRequest.Builder setUpdateMask(FieldMask value)

Optional. The list of fields to update. If this is empty or not set, then all the fields will be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateDataProductRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateDataProductRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Optional. The list of fields to update. If this is empty or not set, then all the fields will be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateDataProductRequest.Builder

setValidateOnly(boolean value)

public UpdateDataProductRequest.Builder setValidateOnly(boolean value)

Optional. Validates the request without actually updating the data product. Default: false.

bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The validateOnly to set.

Returns
Type Description
UpdateDataProductRequest.Builder

This builder for chaining.