Class UpdateDataScanRequest.Builder (1.52.0)

public static final class UpdateDataScanRequest.Builder extends GeneratedMessageV3.Builder<UpdateDataScanRequest.Builder> implements UpdateDataScanRequestOrBuilder

Update dataScan request.

Protobuf type google.cloud.dataplex.v1.UpdateDataScanRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateDataScanRequest build()
Returns
Type Description
UpdateDataScanRequest

buildPartial()

public UpdateDataScanRequest buildPartial()
Returns
Type Description
UpdateDataScanRequest

clear()

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

clearDataScan()

public UpdateDataScanRequest.Builder clearDataScan()

Required. DataScan resource to be updated.

Only fields specified in update_mask are updated.

.google.cloud.dataplex.v1.DataScan data_scan = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateDataScanRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUpdateMask()

public UpdateDataScanRequest.Builder clearUpdateMask()

Required. Mask of fields to update.

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

Returns
Type Description
UpdateDataScanRequest.Builder

clearValidateOnly()

public UpdateDataScanRequest.Builder clearValidateOnly()

Optional. Only validate the request, but do not perform mutations. The default is false.

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

Returns
Type Description
UpdateDataScanRequest.Builder

This builder for chaining.

clone()

public UpdateDataScanRequest.Builder clone()
Returns
Type Description
UpdateDataScanRequest.Builder
Overrides

getDataScan()

public DataScan getDataScan()

Required. DataScan resource to be updated.

Only fields specified in update_mask are updated.

.google.cloud.dataplex.v1.DataScan data_scan = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DataScan

The dataScan.

getDataScanBuilder()

public DataScan.Builder getDataScanBuilder()

Required. DataScan resource to be updated.

Only fields specified in update_mask are updated.

.google.cloud.dataplex.v1.DataScan data_scan = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DataScan.Builder

getDataScanOrBuilder()

public DataScanOrBuilder getDataScanOrBuilder()

Required. DataScan resource to be updated.

Only fields specified in update_mask are updated.

.google.cloud.dataplex.v1.DataScan data_scan = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DataScanOrBuilder

getDefaultInstanceForType()

public UpdateDataScanRequest getDefaultInstanceForType()
Returns
Type Description
UpdateDataScanRequest

getDescriptorForType()

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

getUpdateMask()

public FieldMask getUpdateMask()

Required. Mask of fields to update.

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

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Required. Mask of fields to update.

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

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. Mask of fields to update.

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

Returns
Type Description
FieldMaskOrBuilder

getValidateOnly()

public boolean getValidateOnly()

Optional. Only validate the request, but do not perform mutations. The default is false.

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

Returns
Type Description
boolean

The validateOnly.

hasDataScan()

public boolean hasDataScan()

Required. DataScan resource to be updated.

Only fields specified in update_mask are updated.

.google.cloud.dataplex.v1.DataScan data_scan = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the dataScan field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Required. Mask of fields to update.

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

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDataScan(DataScan value)

public UpdateDataScanRequest.Builder mergeDataScan(DataScan value)

Required. DataScan resource to be updated.

Only fields specified in update_mask are updated.

.google.cloud.dataplex.v1.DataScan data_scan = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value DataScan
Returns
Type Description
UpdateDataScanRequest.Builder

mergeFrom(UpdateDataScanRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateDataScanRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateDataScanRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

public UpdateDataScanRequest.Builder mergeUpdateMask(FieldMask value)

Required. Mask of fields to update.

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

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateDataScanRequest.Builder

setDataScan(DataScan value)

public UpdateDataScanRequest.Builder setDataScan(DataScan value)

Required. DataScan resource to be updated.

Only fields specified in update_mask are updated.

.google.cloud.dataplex.v1.DataScan data_scan = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value DataScan
Returns
Type Description
UpdateDataScanRequest.Builder

setDataScan(DataScan.Builder builderForValue)

public UpdateDataScanRequest.Builder setDataScan(DataScan.Builder builderForValue)

Required. DataScan resource to be updated.

Only fields specified in update_mask are updated.

.google.cloud.dataplex.v1.DataScan data_scan = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue DataScan.Builder
Returns
Type Description
UpdateDataScanRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateDataScanRequest.Builder setUpdateMask(FieldMask value)

Required. Mask of fields to update.

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

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateDataScanRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateDataScanRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Required. Mask of fields to update.

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateDataScanRequest.Builder

setValidateOnly(boolean value)

public UpdateDataScanRequest.Builder setValidateOnly(boolean value)

Optional. Only validate the request, but do not perform mutations. The default is false.

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

Parameter
Name Description
value boolean

The validateOnly to set.

Returns
Type Description
UpdateDataScanRequest.Builder

This builder for chaining.