Class UpdateDataScanRequest.Builder (1.22.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateDataScanRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateDataScanRequest.Builder
Overrides

build()

public UpdateDataScanRequest build()
Returns
TypeDescription
UpdateDataScanRequest

buildPartial()

public UpdateDataScanRequest buildPartial()
Returns
TypeDescription
UpdateDataScanRequest

clear()

public UpdateDataScanRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
UpdateDataScanRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public UpdateDataScanRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
UpdateDataScanRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateDataScanRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
UpdateDataScanRequest.Builder

This builder for chaining.

clone()

public UpdateDataScanRequest.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
DataScanOrBuilder

getDefaultInstanceForType()

public UpdateDataScanRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateDataScanRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getUpdateMask()

public FieldMask getUpdateMask()

Required. Mask of fields to update.

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

Returns
TypeDescription
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
TypeDescription
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. Mask of fields to update.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueDataScan
Returns
TypeDescription
UpdateDataScanRequest.Builder

mergeFrom(UpdateDataScanRequest other)

public UpdateDataScanRequest.Builder mergeFrom(UpdateDataScanRequest other)
Parameter
NameDescription
otherUpdateDataScanRequest
Returns
TypeDescription
UpdateDataScanRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateDataScanRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateDataScanRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public UpdateDataScanRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
UpdateDataScanRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateDataScanRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
valueDataScan
Returns
TypeDescription
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
NameDescription
builderForValueDataScan.Builder
Returns
TypeDescription
UpdateDataScanRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateDataScanRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateDataScanRequest.Builder
Overrides

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

public UpdateDataScanRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
UpdateDataScanRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateDataScanRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueboolean

The validateOnly to set.

Returns
TypeDescription
UpdateDataScanRequest.Builder

This builder for chaining.