Class DataQualitySpec.PostScanActions.NotificationReport.Builder (1.43.0)

public static final class DataQualitySpec.PostScanActions.NotificationReport.Builder extends GeneratedMessageV3.Builder<DataQualitySpec.PostScanActions.NotificationReport.Builder> implements DataQualitySpec.PostScanActions.NotificationReportOrBuilder

The configuration of notification report post scan action.

Protobuf type google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.NotificationReport

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DataQualitySpec.PostScanActions.NotificationReport.Builder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DataQualitySpec.PostScanActions.NotificationReport build()
Returns
Type Description
DataQualitySpec.PostScanActions.NotificationReport

buildPartial()

public DataQualitySpec.PostScanActions.NotificationReport buildPartial()
Returns
Type Description
DataQualitySpec.PostScanActions.NotificationReport

clear()

public DataQualitySpec.PostScanActions.NotificationReport.Builder clear()
Returns
Type Description
DataQualitySpec.PostScanActions.NotificationReport.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public DataQualitySpec.PostScanActions.NotificationReport.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DataQualitySpec.PostScanActions.NotificationReport.Builder
Overrides

clearJobEndTrigger()

public DataQualitySpec.PostScanActions.NotificationReport.Builder clearJobEndTrigger()

Optional. If set, report will be sent when a scan job ends.

.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.JobEndTrigger job_end_trigger = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataQualitySpec.PostScanActions.NotificationReport.Builder

clearJobFailureTrigger()

public DataQualitySpec.PostScanActions.NotificationReport.Builder clearJobFailureTrigger()

Optional. If set, report will be sent when a scan job fails.

.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.JobFailureTrigger job_failure_trigger = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataQualitySpec.PostScanActions.NotificationReport.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public DataQualitySpec.PostScanActions.NotificationReport.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DataQualitySpec.PostScanActions.NotificationReport.Builder
Overrides

clearRecipients()

public DataQualitySpec.PostScanActions.NotificationReport.Builder clearRecipients()

Required. The recipients who will receive the notification report.

.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.Recipients recipients = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DataQualitySpec.PostScanActions.NotificationReport.Builder

clearScoreThresholdTrigger()

public DataQualitySpec.PostScanActions.NotificationReport.Builder clearScoreThresholdTrigger()

Optional. If set, report will be sent when score threshold is met.

.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.ScoreThresholdTrigger score_threshold_trigger = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataQualitySpec.PostScanActions.NotificationReport.Builder

clone()

public DataQualitySpec.PostScanActions.NotificationReport.Builder clone()
Returns
Type Description
DataQualitySpec.PostScanActions.NotificationReport.Builder
Overrides

getDefaultInstanceForType()

public DataQualitySpec.PostScanActions.NotificationReport getDefaultInstanceForType()
Returns
Type Description
DataQualitySpec.PostScanActions.NotificationReport

getDescriptorForType()

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

getJobEndTrigger()

public DataQualitySpec.PostScanActions.JobEndTrigger getJobEndTrigger()

Optional. If set, report will be sent when a scan job ends.

.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.JobEndTrigger job_end_trigger = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataQualitySpec.PostScanActions.JobEndTrigger

The jobEndTrigger.

getJobEndTriggerBuilder()

public DataQualitySpec.PostScanActions.JobEndTrigger.Builder getJobEndTriggerBuilder()

Optional. If set, report will be sent when a scan job ends.

.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.JobEndTrigger job_end_trigger = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataQualitySpec.PostScanActions.JobEndTrigger.Builder

getJobEndTriggerOrBuilder()

public DataQualitySpec.PostScanActions.JobEndTriggerOrBuilder getJobEndTriggerOrBuilder()

Optional. If set, report will be sent when a scan job ends.

.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.JobEndTrigger job_end_trigger = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataQualitySpec.PostScanActions.JobEndTriggerOrBuilder

getJobFailureTrigger()

public DataQualitySpec.PostScanActions.JobFailureTrigger getJobFailureTrigger()

Optional. If set, report will be sent when a scan job fails.

.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.JobFailureTrigger job_failure_trigger = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataQualitySpec.PostScanActions.JobFailureTrigger

The jobFailureTrigger.

getJobFailureTriggerBuilder()

public DataQualitySpec.PostScanActions.JobFailureTrigger.Builder getJobFailureTriggerBuilder()

Optional. If set, report will be sent when a scan job fails.

.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.JobFailureTrigger job_failure_trigger = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataQualitySpec.PostScanActions.JobFailureTrigger.Builder

getJobFailureTriggerOrBuilder()

public DataQualitySpec.PostScanActions.JobFailureTriggerOrBuilder getJobFailureTriggerOrBuilder()

Optional. If set, report will be sent when a scan job fails.

.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.JobFailureTrigger job_failure_trigger = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataQualitySpec.PostScanActions.JobFailureTriggerOrBuilder

getRecipients()

public DataQualitySpec.PostScanActions.Recipients getRecipients()

Required. The recipients who will receive the notification report.

.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.Recipients recipients = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DataQualitySpec.PostScanActions.Recipients

The recipients.

getRecipientsBuilder()

public DataQualitySpec.PostScanActions.Recipients.Builder getRecipientsBuilder()

Required. The recipients who will receive the notification report.

.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.Recipients recipients = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DataQualitySpec.PostScanActions.Recipients.Builder

getRecipientsOrBuilder()

public DataQualitySpec.PostScanActions.RecipientsOrBuilder getRecipientsOrBuilder()

Required. The recipients who will receive the notification report.

.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.Recipients recipients = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DataQualitySpec.PostScanActions.RecipientsOrBuilder

getScoreThresholdTrigger()

public DataQualitySpec.PostScanActions.ScoreThresholdTrigger getScoreThresholdTrigger()

Optional. If set, report will be sent when score threshold is met.

.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.ScoreThresholdTrigger score_threshold_trigger = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataQualitySpec.PostScanActions.ScoreThresholdTrigger

The scoreThresholdTrigger.

getScoreThresholdTriggerBuilder()

public DataQualitySpec.PostScanActions.ScoreThresholdTrigger.Builder getScoreThresholdTriggerBuilder()

Optional. If set, report will be sent when score threshold is met.

.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.ScoreThresholdTrigger score_threshold_trigger = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataQualitySpec.PostScanActions.ScoreThresholdTrigger.Builder

getScoreThresholdTriggerOrBuilder()

public DataQualitySpec.PostScanActions.ScoreThresholdTriggerOrBuilder getScoreThresholdTriggerOrBuilder()

Optional. If set, report will be sent when score threshold is met.

.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.ScoreThresholdTrigger score_threshold_trigger = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataQualitySpec.PostScanActions.ScoreThresholdTriggerOrBuilder

hasJobEndTrigger()

public boolean hasJobEndTrigger()

Optional. If set, report will be sent when a scan job ends.

.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.JobEndTrigger job_end_trigger = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the jobEndTrigger field is set.

hasJobFailureTrigger()

public boolean hasJobFailureTrigger()

Optional. If set, report will be sent when a scan job fails.

.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.JobFailureTrigger job_failure_trigger = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the jobFailureTrigger field is set.

hasRecipients()

public boolean hasRecipients()

Required. The recipients who will receive the notification report.

.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.Recipients recipients = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the recipients field is set.

hasScoreThresholdTrigger()

public boolean hasScoreThresholdTrigger()

Optional. If set, report will be sent when score threshold is met.

.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.ScoreThresholdTrigger score_threshold_trigger = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the scoreThresholdTrigger field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DataQualitySpec.PostScanActions.NotificationReport other)

public DataQualitySpec.PostScanActions.NotificationReport.Builder mergeFrom(DataQualitySpec.PostScanActions.NotificationReport other)
Parameter
Name Description
other DataQualitySpec.PostScanActions.NotificationReport
Returns
Type Description
DataQualitySpec.PostScanActions.NotificationReport.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public DataQualitySpec.PostScanActions.NotificationReport.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DataQualitySpec.PostScanActions.NotificationReport.Builder
Overrides

mergeJobEndTrigger(DataQualitySpec.PostScanActions.JobEndTrigger value)

public DataQualitySpec.PostScanActions.NotificationReport.Builder mergeJobEndTrigger(DataQualitySpec.PostScanActions.JobEndTrigger value)

Optional. If set, report will be sent when a scan job ends.

.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.JobEndTrigger job_end_trigger = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value DataQualitySpec.PostScanActions.JobEndTrigger
Returns
Type Description
DataQualitySpec.PostScanActions.NotificationReport.Builder

mergeJobFailureTrigger(DataQualitySpec.PostScanActions.JobFailureTrigger value)

public DataQualitySpec.PostScanActions.NotificationReport.Builder mergeJobFailureTrigger(DataQualitySpec.PostScanActions.JobFailureTrigger value)

Optional. If set, report will be sent when a scan job fails.

.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.JobFailureTrigger job_failure_trigger = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value DataQualitySpec.PostScanActions.JobFailureTrigger
Returns
Type Description
DataQualitySpec.PostScanActions.NotificationReport.Builder

mergeRecipients(DataQualitySpec.PostScanActions.Recipients value)

public DataQualitySpec.PostScanActions.NotificationReport.Builder mergeRecipients(DataQualitySpec.PostScanActions.Recipients value)

Required. The recipients who will receive the notification report.

.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.Recipients recipients = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value DataQualitySpec.PostScanActions.Recipients
Returns
Type Description
DataQualitySpec.PostScanActions.NotificationReport.Builder

mergeScoreThresholdTrigger(DataQualitySpec.PostScanActions.ScoreThresholdTrigger value)

public DataQualitySpec.PostScanActions.NotificationReport.Builder mergeScoreThresholdTrigger(DataQualitySpec.PostScanActions.ScoreThresholdTrigger value)

Optional. If set, report will be sent when score threshold is met.

.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.ScoreThresholdTrigger score_threshold_trigger = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value DataQualitySpec.PostScanActions.ScoreThresholdTrigger
Returns
Type Description
DataQualitySpec.PostScanActions.NotificationReport.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DataQualitySpec.PostScanActions.NotificationReport.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DataQualitySpec.PostScanActions.NotificationReport.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

setJobEndTrigger(DataQualitySpec.PostScanActions.JobEndTrigger value)

public DataQualitySpec.PostScanActions.NotificationReport.Builder setJobEndTrigger(DataQualitySpec.PostScanActions.JobEndTrigger value)

Optional. If set, report will be sent when a scan job ends.

.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.JobEndTrigger job_end_trigger = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value DataQualitySpec.PostScanActions.JobEndTrigger
Returns
Type Description
DataQualitySpec.PostScanActions.NotificationReport.Builder

setJobEndTrigger(DataQualitySpec.PostScanActions.JobEndTrigger.Builder builderForValue)

public DataQualitySpec.PostScanActions.NotificationReport.Builder setJobEndTrigger(DataQualitySpec.PostScanActions.JobEndTrigger.Builder builderForValue)

Optional. If set, report will be sent when a scan job ends.

.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.JobEndTrigger job_end_trigger = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue DataQualitySpec.PostScanActions.JobEndTrigger.Builder
Returns
Type Description
DataQualitySpec.PostScanActions.NotificationReport.Builder

setJobFailureTrigger(DataQualitySpec.PostScanActions.JobFailureTrigger value)

public DataQualitySpec.PostScanActions.NotificationReport.Builder setJobFailureTrigger(DataQualitySpec.PostScanActions.JobFailureTrigger value)

Optional. If set, report will be sent when a scan job fails.

.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.JobFailureTrigger job_failure_trigger = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value DataQualitySpec.PostScanActions.JobFailureTrigger
Returns
Type Description
DataQualitySpec.PostScanActions.NotificationReport.Builder

setJobFailureTrigger(DataQualitySpec.PostScanActions.JobFailureTrigger.Builder builderForValue)

public DataQualitySpec.PostScanActions.NotificationReport.Builder setJobFailureTrigger(DataQualitySpec.PostScanActions.JobFailureTrigger.Builder builderForValue)

Optional. If set, report will be sent when a scan job fails.

.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.JobFailureTrigger job_failure_trigger = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue DataQualitySpec.PostScanActions.JobFailureTrigger.Builder
Returns
Type Description
DataQualitySpec.PostScanActions.NotificationReport.Builder

setRecipients(DataQualitySpec.PostScanActions.Recipients value)

public DataQualitySpec.PostScanActions.NotificationReport.Builder setRecipients(DataQualitySpec.PostScanActions.Recipients value)

Required. The recipients who will receive the notification report.

.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.Recipients recipients = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value DataQualitySpec.PostScanActions.Recipients
Returns
Type Description
DataQualitySpec.PostScanActions.NotificationReport.Builder

setRecipients(DataQualitySpec.PostScanActions.Recipients.Builder builderForValue)

public DataQualitySpec.PostScanActions.NotificationReport.Builder setRecipients(DataQualitySpec.PostScanActions.Recipients.Builder builderForValue)

Required. The recipients who will receive the notification report.

.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.Recipients recipients = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue DataQualitySpec.PostScanActions.Recipients.Builder
Returns
Type Description
DataQualitySpec.PostScanActions.NotificationReport.Builder

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

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

setScoreThresholdTrigger(DataQualitySpec.PostScanActions.ScoreThresholdTrigger value)

public DataQualitySpec.PostScanActions.NotificationReport.Builder setScoreThresholdTrigger(DataQualitySpec.PostScanActions.ScoreThresholdTrigger value)

Optional. If set, report will be sent when score threshold is met.

.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.ScoreThresholdTrigger score_threshold_trigger = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value DataQualitySpec.PostScanActions.ScoreThresholdTrigger
Returns
Type Description
DataQualitySpec.PostScanActions.NotificationReport.Builder

setScoreThresholdTrigger(DataQualitySpec.PostScanActions.ScoreThresholdTrigger.Builder builderForValue)

public DataQualitySpec.PostScanActions.NotificationReport.Builder setScoreThresholdTrigger(DataQualitySpec.PostScanActions.ScoreThresholdTrigger.Builder builderForValue)

Optional. If set, report will be sent when score threshold is met.

.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.ScoreThresholdTrigger score_threshold_trigger = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue DataQualitySpec.PostScanActions.ScoreThresholdTrigger.Builder
Returns
Type Description
DataQualitySpec.PostScanActions.NotificationReport.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final DataQualitySpec.PostScanActions.NotificationReport.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DataQualitySpec.PostScanActions.NotificationReport.Builder
Overrides