Class DataScanJob.Builder (1.47.0)

public static final class DataScanJob.Builder extends GeneratedMessageV3.Builder<DataScanJob.Builder> implements DataScanJobOrBuilder

A DataScanJob represents an instance of DataScan execution.

Protobuf type google.cloud.dataplex.v1.DataScanJob

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DataScanJob build()
Returns
Type Description
DataScanJob

buildPartial()

public DataScanJob buildPartial()
Returns
Type Description
DataScanJob

clear()

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

clearDataProfileResult()

public DataScanJob.Builder clearDataProfileResult()

Output only. The result of the data profile scan.

.google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DataScanJob.Builder

clearDataProfileSpec()

public DataScanJob.Builder clearDataProfileSpec()

Output only. DataProfileScan related setting.

.google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DataScanJob.Builder

clearDataQualityResult()

public DataScanJob.Builder clearDataQualityResult()

Output only. The result of the data quality scan.

.google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DataScanJob.Builder

clearDataQualitySpec()

public DataScanJob.Builder clearDataQualitySpec()

Output only. DataQualityScan related setting.

.google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DataScanJob.Builder

clearEndTime()

public DataScanJob.Builder clearEndTime()

Output only. The time when the DataScanJob ended.

.google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DataScanJob.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearMessage()

public DataScanJob.Builder clearMessage()

Output only. Additional information about the current state.

string message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DataScanJob.Builder

This builder for chaining.

clearName()

public DataScanJob.Builder clearName()

Output only. The relative resource name of the DataScanJob, of the form: projects/{project}/locations/{location_id}/dataScans/{datascan_id}/jobs/{job_id}, where project refers to a project_id or project_number and location_id refers to a GCP region.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DataScanJob.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearResult()

public DataScanJob.Builder clearResult()
Returns
Type Description
DataScanJob.Builder

clearSpec()

public DataScanJob.Builder clearSpec()
Returns
Type Description
DataScanJob.Builder

clearStartTime()

public DataScanJob.Builder clearStartTime()

Output only. The time when the DataScanJob was started.

.google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DataScanJob.Builder

clearState()

public DataScanJob.Builder clearState()

Output only. Execution state for the DataScanJob.

.google.cloud.dataplex.v1.DataScanJob.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DataScanJob.Builder

This builder for chaining.

clearType()

public DataScanJob.Builder clearType()

Output only. The type of the parent DataScan.

.google.cloud.dataplex.v1.DataScanType type = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DataScanJob.Builder

This builder for chaining.

clearUid()

public DataScanJob.Builder clearUid()

Output only. System generated globally unique ID for the DataScanJob.

string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DataScanJob.Builder

This builder for chaining.

clone()

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

getDataProfileResult()

public DataProfileResult getDataProfileResult()

Output only. The result of the data profile scan.

.google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DataProfileResult

The dataProfileResult.

getDataProfileResultBuilder()

public DataProfileResult.Builder getDataProfileResultBuilder()

Output only. The result of the data profile scan.

.google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DataProfileResult.Builder

getDataProfileResultOrBuilder()

public DataProfileResultOrBuilder getDataProfileResultOrBuilder()

Output only. The result of the data profile scan.

.google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DataProfileResultOrBuilder

getDataProfileSpec()

public DataProfileSpec getDataProfileSpec()

Output only. DataProfileScan related setting.

.google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DataProfileSpec

The dataProfileSpec.

getDataProfileSpecBuilder()

public DataProfileSpec.Builder getDataProfileSpecBuilder()

Output only. DataProfileScan related setting.

.google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DataProfileSpec.Builder

getDataProfileSpecOrBuilder()

public DataProfileSpecOrBuilder getDataProfileSpecOrBuilder()

Output only. DataProfileScan related setting.

.google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DataProfileSpecOrBuilder

getDataQualityResult()

public DataQualityResult getDataQualityResult()

Output only. The result of the data quality scan.

.google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DataQualityResult

The dataQualityResult.

getDataQualityResultBuilder()

public DataQualityResult.Builder getDataQualityResultBuilder()

Output only. The result of the data quality scan.

.google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DataQualityResult.Builder

getDataQualityResultOrBuilder()

public DataQualityResultOrBuilder getDataQualityResultOrBuilder()

Output only. The result of the data quality scan.

.google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DataQualityResultOrBuilder

getDataQualitySpec()

public DataQualitySpec getDataQualitySpec()

Output only. DataQualityScan related setting.

.google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DataQualitySpec

The dataQualitySpec.

getDataQualitySpecBuilder()

public DataQualitySpec.Builder getDataQualitySpecBuilder()

Output only. DataQualityScan related setting.

.google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DataQualitySpec.Builder

getDataQualitySpecOrBuilder()

public DataQualitySpecOrBuilder getDataQualitySpecOrBuilder()

Output only. DataQualityScan related setting.

.google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DataQualitySpecOrBuilder

getDefaultInstanceForType()

public DataScanJob getDefaultInstanceForType()
Returns
Type Description
DataScanJob

getDescriptorForType()

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

getEndTime()

public Timestamp getEndTime()

Output only. The time when the DataScanJob ended.

.google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The endTime.

getEndTimeBuilder()

public Timestamp.Builder getEndTimeBuilder()

Output only. The time when the DataScanJob ended.

.google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

Output only. The time when the DataScanJob ended.

.google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getMessage()

public String getMessage()

Output only. Additional information about the current state.

string message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The message.

getMessageBytes()

public ByteString getMessageBytes()

Output only. Additional information about the current state.

string message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for message.

getName()

public String getName()

Output only. The relative resource name of the DataScanJob, of the form: projects/{project}/locations/{location_id}/dataScans/{datascan_id}/jobs/{job_id}, where project refers to a project_id or project_number and location_id refers to a GCP region.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. The relative resource name of the DataScanJob, of the form: projects/{project}/locations/{location_id}/dataScans/{datascan_id}/jobs/{job_id}, where project refers to a project_id or project_number and location_id refers to a GCP region.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for name.

getResultCase()

public DataScanJob.ResultCase getResultCase()
Returns
Type Description
DataScanJob.ResultCase

getSpecCase()

public DataScanJob.SpecCase getSpecCase()
Returns
Type Description
DataScanJob.SpecCase

getStartTime()

public Timestamp getStartTime()

Output only. The time when the DataScanJob was started.

.google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The startTime.

getStartTimeBuilder()

public Timestamp.Builder getStartTimeBuilder()

Output only. The time when the DataScanJob was started.

.google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

Output only. The time when the DataScanJob was started.

.google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getState()

public DataScanJob.State getState()

Output only. Execution state for the DataScanJob.

.google.cloud.dataplex.v1.DataScanJob.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DataScanJob.State

The state.

getStateValue()

public int getStateValue()

Output only. Execution state for the DataScanJob.

.google.cloud.dataplex.v1.DataScanJob.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

getType()

public DataScanType getType()

Output only. The type of the parent DataScan.

.google.cloud.dataplex.v1.DataScanType type = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DataScanType

The type.

getTypeValue()

public int getTypeValue()

Output only. The type of the parent DataScan.

.google.cloud.dataplex.v1.DataScanType type = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for type.

getUid()

public String getUid()

Output only. System generated globally unique ID for the DataScanJob.

string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The uid.

getUidBytes()

public ByteString getUidBytes()

Output only. System generated globally unique ID for the DataScanJob.

string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for uid.

hasDataProfileResult()

public boolean hasDataProfileResult()

Output only. The result of the data profile scan.

.google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the dataProfileResult field is set.

hasDataProfileSpec()

public boolean hasDataProfileSpec()

Output only. DataProfileScan related setting.

.google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the dataProfileSpec field is set.

hasDataQualityResult()

public boolean hasDataQualityResult()

Output only. The result of the data quality scan.

.google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the dataQualityResult field is set.

hasDataQualitySpec()

public boolean hasDataQualitySpec()

Output only. DataQualityScan related setting.

.google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the dataQualitySpec field is set.

hasEndTime()

public boolean hasEndTime()

Output only. The time when the DataScanJob ended.

.google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the endTime field is set.

hasStartTime()

public boolean hasStartTime()

Output only. The time when the DataScanJob was started.

.google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the startTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDataProfileResult(DataProfileResult value)

public DataScanJob.Builder mergeDataProfileResult(DataProfileResult value)

Output only. The result of the data profile scan.

.google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value DataProfileResult
Returns
Type Description
DataScanJob.Builder

mergeDataProfileSpec(DataProfileSpec value)

public DataScanJob.Builder mergeDataProfileSpec(DataProfileSpec value)

Output only. DataProfileScan related setting.

.google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value DataProfileSpec
Returns
Type Description
DataScanJob.Builder

mergeDataQualityResult(DataQualityResult value)

public DataScanJob.Builder mergeDataQualityResult(DataQualityResult value)

Output only. The result of the data quality scan.

.google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value DataQualityResult
Returns
Type Description
DataScanJob.Builder

mergeDataQualitySpec(DataQualitySpec value)

public DataScanJob.Builder mergeDataQualitySpec(DataQualitySpec value)

Output only. DataQualityScan related setting.

.google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value DataQualitySpec
Returns
Type Description
DataScanJob.Builder

mergeEndTime(Timestamp value)

public DataScanJob.Builder mergeEndTime(Timestamp value)

Output only. The time when the DataScanJob ended.

.google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
DataScanJob.Builder

mergeFrom(DataScanJob other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeStartTime(Timestamp value)

public DataScanJob.Builder mergeStartTime(Timestamp value)

Output only. The time when the DataScanJob was started.

.google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
DataScanJob.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDataProfileResult(DataProfileResult value)

public DataScanJob.Builder setDataProfileResult(DataProfileResult value)

Output only. The result of the data profile scan.

.google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value DataProfileResult
Returns
Type Description
DataScanJob.Builder

setDataProfileResult(DataProfileResult.Builder builderForValue)

public DataScanJob.Builder setDataProfileResult(DataProfileResult.Builder builderForValue)

Output only. The result of the data profile scan.

.google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue DataProfileResult.Builder
Returns
Type Description
DataScanJob.Builder

setDataProfileSpec(DataProfileSpec value)

public DataScanJob.Builder setDataProfileSpec(DataProfileSpec value)

Output only. DataProfileScan related setting.

.google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value DataProfileSpec
Returns
Type Description
DataScanJob.Builder

setDataProfileSpec(DataProfileSpec.Builder builderForValue)

public DataScanJob.Builder setDataProfileSpec(DataProfileSpec.Builder builderForValue)

Output only. DataProfileScan related setting.

.google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue DataProfileSpec.Builder
Returns
Type Description
DataScanJob.Builder

setDataQualityResult(DataQualityResult value)

public DataScanJob.Builder setDataQualityResult(DataQualityResult value)

Output only. The result of the data quality scan.

.google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value DataQualityResult
Returns
Type Description
DataScanJob.Builder

setDataQualityResult(DataQualityResult.Builder builderForValue)

public DataScanJob.Builder setDataQualityResult(DataQualityResult.Builder builderForValue)

Output only. The result of the data quality scan.

.google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue DataQualityResult.Builder
Returns
Type Description
DataScanJob.Builder

setDataQualitySpec(DataQualitySpec value)

public DataScanJob.Builder setDataQualitySpec(DataQualitySpec value)

Output only. DataQualityScan related setting.

.google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value DataQualitySpec
Returns
Type Description
DataScanJob.Builder

setDataQualitySpec(DataQualitySpec.Builder builderForValue)

public DataScanJob.Builder setDataQualitySpec(DataQualitySpec.Builder builderForValue)

Output only. DataQualityScan related setting.

.google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue DataQualitySpec.Builder
Returns
Type Description
DataScanJob.Builder

setEndTime(Timestamp value)

public DataScanJob.Builder setEndTime(Timestamp value)

Output only. The time when the DataScanJob ended.

.google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
DataScanJob.Builder

setEndTime(Timestamp.Builder builderForValue)

public DataScanJob.Builder setEndTime(Timestamp.Builder builderForValue)

Output only. The time when the DataScanJob ended.

.google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
DataScanJob.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setMessage(String value)

public DataScanJob.Builder setMessage(String value)

Output only. Additional information about the current state.

string message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The message to set.

Returns
Type Description
DataScanJob.Builder

This builder for chaining.

setMessageBytes(ByteString value)

public DataScanJob.Builder setMessageBytes(ByteString value)

Output only. Additional information about the current state.

string message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for message to set.

Returns
Type Description
DataScanJob.Builder

This builder for chaining.

setName(String value)

public DataScanJob.Builder setName(String value)

Output only. The relative resource name of the DataScanJob, of the form: projects/{project}/locations/{location_id}/dataScans/{datascan_id}/jobs/{job_id}, where project refers to a project_id or project_number and location_id refers to a GCP region.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
DataScanJob.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DataScanJob.Builder setNameBytes(ByteString value)

Output only. The relative resource name of the DataScanJob, of the form: projects/{project}/locations/{location_id}/dataScans/{datascan_id}/jobs/{job_id}, where project refers to a project_id or project_number and location_id refers to a GCP region.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
DataScanJob.Builder

This builder for chaining.

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

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

setStartTime(Timestamp value)

public DataScanJob.Builder setStartTime(Timestamp value)

Output only. The time when the DataScanJob was started.

.google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
DataScanJob.Builder

setStartTime(Timestamp.Builder builderForValue)

public DataScanJob.Builder setStartTime(Timestamp.Builder builderForValue)

Output only. The time when the DataScanJob was started.

.google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
DataScanJob.Builder

setState(DataScanJob.State value)

public DataScanJob.Builder setState(DataScanJob.State value)

Output only. Execution state for the DataScanJob.

.google.cloud.dataplex.v1.DataScanJob.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value DataScanJob.State

The state to set.

Returns
Type Description
DataScanJob.Builder

This builder for chaining.

setStateValue(int value)

public DataScanJob.Builder setStateValue(int value)

Output only. Execution state for the DataScanJob.

.google.cloud.dataplex.v1.DataScanJob.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The enum numeric value on the wire for state to set.

Returns
Type Description
DataScanJob.Builder

This builder for chaining.

setType(DataScanType value)

public DataScanJob.Builder setType(DataScanType value)

Output only. The type of the parent DataScan.

.google.cloud.dataplex.v1.DataScanType type = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value DataScanType

The type to set.

Returns
Type Description
DataScanJob.Builder

This builder for chaining.

setTypeValue(int value)

public DataScanJob.Builder setTypeValue(int value)

Output only. The type of the parent DataScan.

.google.cloud.dataplex.v1.DataScanType type = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The enum numeric value on the wire for type to set.

Returns
Type Description
DataScanJob.Builder

This builder for chaining.

setUid(String value)

public DataScanJob.Builder setUid(String value)

Output only. System generated globally unique ID for the DataScanJob.

string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The uid to set.

Returns
Type Description
DataScanJob.Builder

This builder for chaining.

setUidBytes(ByteString value)

public DataScanJob.Builder setUidBytes(ByteString value)

Output only. System generated globally unique ID for the DataScanJob.

string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for uid to set.

Returns
Type Description
DataScanJob.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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