Class DataScanJob.Builder (1.39.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DataScanJob build()
Returns
TypeDescription
DataScanJob

buildPartial()

public DataScanJob buildPartial()
Returns
TypeDescription
DataScanJob

clear()

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

clearField(Descriptors.FieldDescriptor field)

public DataScanJob.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
DataScanJob.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DataScanJob.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
DataScanJob.Builder
Overrides

clearResult()

public DataScanJob.Builder clearResult()
Returns
TypeDescription
DataScanJob.Builder

clearSpec()

public DataScanJob.Builder clearSpec()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
DataScanJob.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public DataScanJob getDefaultInstanceForType()
Returns
TypeDescription
DataScanJob

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
TimestampOrBuilder

getMessage()

public String getMessage()

Output only. Additional information about the current state.

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

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

The bytes for name.

getResultCase()

public DataScanJob.ResultCase getResultCase()
Returns
TypeDescription
DataScanJob.ResultCase

getSpecCase()

public DataScanJob.SpecCase getSpecCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the startTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueDataProfileResult
Returns
TypeDescription
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
NameDescription
valueDataProfileSpec
Returns
TypeDescription
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
NameDescription
valueDataQualityResult
Returns
TypeDescription
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
NameDescription
valueDataQualitySpec
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
DataScanJob.Builder

mergeFrom(DataScanJob other)

public DataScanJob.Builder mergeFrom(DataScanJob other)
Parameter
NameDescription
otherDataScanJob
Returns
TypeDescription
DataScanJob.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public DataScanJob.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
DataScanJob.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DataScanJob.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueDataProfileResult
Returns
TypeDescription
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
NameDescription
builderForValueDataProfileResult.Builder
Returns
TypeDescription
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
NameDescription
valueDataProfileSpec
Returns
TypeDescription
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
NameDescription
builderForValueDataProfileSpec.Builder
Returns
TypeDescription
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
NameDescription
valueDataQualityResult
Returns
TypeDescription
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
NameDescription
builderForValueDataQualityResult.Builder
Returns
TypeDescription
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
NameDescription
valueDataQualitySpec
Returns
TypeDescription
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
NameDescription
builderForValueDataQualitySpec.Builder
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
DataScanJob.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public DataScanJob.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The message to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for message to set.

Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueDataScanJob.State

The state to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
valueDataScanType

The type to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
valueString

The uid to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for uid to set.

Returns
TypeDescription
DataScanJob.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final DataScanJob.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DataScanJob.Builder
Overrides