Class DataQualitySpec.PostScanActions.NotificationReport.Builder (1.38.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DataQualitySpec.PostScanActions.NotificationReport build()
Returns
TypeDescription
DataQualitySpec.PostScanActions.NotificationReport

buildPartial()

public DataQualitySpec.PostScanActions.NotificationReport buildPartial()
Returns
TypeDescription
DataQualitySpec.PostScanActions.NotificationReport

clear()

public DataQualitySpec.PostScanActions.NotificationReport.Builder clear()
Returns
TypeDescription
DataQualitySpec.PostScanActions.NotificationReport.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public DataQualitySpec.PostScanActions.NotificationReport.Builder clone()
Returns
TypeDescription
DataQualitySpec.PostScanActions.NotificationReport.Builder
Overrides

getDefaultInstanceForType()

public DataQualitySpec.PostScanActions.NotificationReport getDefaultInstanceForType()
Returns
TypeDescription
DataQualitySpec.PostScanActions.NotificationReport

getDescriptorForType()

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

Whether the scoreThresholdTrigger field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DataQualitySpec.PostScanActions.NotificationReport other)

public DataQualitySpec.PostScanActions.NotificationReport.Builder mergeFrom(DataQualitySpec.PostScanActions.NotificationReport other)
Parameter
NameDescription
otherDataQualitySpec.PostScanActions.NotificationReport
Returns
TypeDescription
DataQualitySpec.PostScanActions.NotificationReport.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public DataQualitySpec.PostScanActions.NotificationReport.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueDataQualitySpec.PostScanActions.JobEndTrigger
Returns
TypeDescription
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
NameDescription
valueDataQualitySpec.PostScanActions.JobFailureTrigger
Returns
TypeDescription
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
NameDescription
valueDataQualitySpec.PostScanActions.Recipients
Returns
TypeDescription
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
NameDescription
valueDataQualitySpec.PostScanActions.ScoreThresholdTrigger
Returns
TypeDescription
DataQualitySpec.PostScanActions.NotificationReport.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DataQualitySpec.PostScanActions.NotificationReport.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DataQualitySpec.PostScanActions.NotificationReport.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public DataQualitySpec.PostScanActions.NotificationReport.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueDataQualitySpec.PostScanActions.JobEndTrigger
Returns
TypeDescription
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
NameDescription
builderForValueDataQualitySpec.PostScanActions.JobEndTrigger.Builder
Returns
TypeDescription
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
NameDescription
valueDataQualitySpec.PostScanActions.JobFailureTrigger
Returns
TypeDescription
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
NameDescription
builderForValueDataQualitySpec.PostScanActions.JobFailureTrigger.Builder
Returns
TypeDescription
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
NameDescription
valueDataQualitySpec.PostScanActions.Recipients
Returns
TypeDescription
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
NameDescription
builderForValueDataQualitySpec.PostScanActions.Recipients.Builder
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueDataQualitySpec.PostScanActions.ScoreThresholdTrigger
Returns
TypeDescription
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
NameDescription
builderForValueDataQualitySpec.PostScanActions.ScoreThresholdTrigger.Builder
Returns
TypeDescription
DataQualitySpec.PostScanActions.NotificationReport.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final DataQualitySpec.PostScanActions.NotificationReport.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DataQualitySpec.PostScanActions.NotificationReport.Builder
Overrides