Class DataQualitySpec.PostScanActions.NotificationReport (1.40.0)

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

The configuration of notification report post scan action.

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

Inheritance

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

Static Fields

JOB_END_TRIGGER_FIELD_NUMBER

public static final int JOB_END_TRIGGER_FIELD_NUMBER
Field Value
Type Description
int

JOB_FAILURE_TRIGGER_FIELD_NUMBER

public static final int JOB_FAILURE_TRIGGER_FIELD_NUMBER
Field Value
Type Description
int

RECIPIENTS_FIELD_NUMBER

public static final int RECIPIENTS_FIELD_NUMBER
Field Value
Type Description
int

SCORE_THRESHOLD_TRIGGER_FIELD_NUMBER

public static final int SCORE_THRESHOLD_TRIGGER_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DataQualitySpec.PostScanActions.NotificationReport getDefaultInstance()
Returns
Type Description
DataQualitySpec.PostScanActions.NotificationReport

getDescriptor()

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

newBuilder()

public static DataQualitySpec.PostScanActions.NotificationReport.Builder newBuilder()
Returns
Type Description
DataQualitySpec.PostScanActions.NotificationReport.Builder

newBuilder(DataQualitySpec.PostScanActions.NotificationReport prototype)

public static DataQualitySpec.PostScanActions.NotificationReport.Builder newBuilder(DataQualitySpec.PostScanActions.NotificationReport prototype)
Parameter
Name Description
prototype DataQualitySpec.PostScanActions.NotificationReport
Returns
Type Description
DataQualitySpec.PostScanActions.NotificationReport.Builder

parseDelimitedFrom(InputStream input)

public static DataQualitySpec.PostScanActions.NotificationReport parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DataQualitySpec.PostScanActions.NotificationReport
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DataQualitySpec.PostScanActions.NotificationReport parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataQualitySpec.PostScanActions.NotificationReport
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static DataQualitySpec.PostScanActions.NotificationReport parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
DataQualitySpec.PostScanActions.NotificationReport
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DataQualitySpec.PostScanActions.NotificationReport parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataQualitySpec.PostScanActions.NotificationReport
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DataQualitySpec.PostScanActions.NotificationReport parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
DataQualitySpec.PostScanActions.NotificationReport
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DataQualitySpec.PostScanActions.NotificationReport parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataQualitySpec.PostScanActions.NotificationReport
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DataQualitySpec.PostScanActions.NotificationReport parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DataQualitySpec.PostScanActions.NotificationReport
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DataQualitySpec.PostScanActions.NotificationReport parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataQualitySpec.PostScanActions.NotificationReport
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static DataQualitySpec.PostScanActions.NotificationReport parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DataQualitySpec.PostScanActions.NotificationReport
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DataQualitySpec.PostScanActions.NotificationReport parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataQualitySpec.PostScanActions.NotificationReport
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static DataQualitySpec.PostScanActions.NotificationReport parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DataQualitySpec.PostScanActions.NotificationReport
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DataQualitySpec.PostScanActions.NotificationReport parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataQualitySpec.PostScanActions.NotificationReport
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<DataQualitySpec.PostScanActions.NotificationReport> parser()
Returns
Type Description
Parser<NotificationReport>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

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

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.

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.

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

getParserForType()

public Parser<DataQualitySpec.PostScanActions.NotificationReport> getParserForType()
Returns
Type Description
Parser<NotificationReport>
Overrides

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.

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.

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public DataQualitySpec.PostScanActions.NotificationReport.Builder newBuilderForType()
Returns
Type Description
DataQualitySpec.PostScanActions.NotificationReport.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DataQualitySpec.PostScanActions.NotificationReport.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DataQualitySpec.PostScanActions.NotificationReport.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public DataQualitySpec.PostScanActions.NotificationReport.Builder toBuilder()
Returns
Type Description
DataQualitySpec.PostScanActions.NotificationReport.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException