Class DataQualitySpec.PostScanActions.Recipients.Builder (1.41.0)

public static final class DataQualitySpec.PostScanActions.Recipients.Builder extends GeneratedMessageV3.Builder<DataQualitySpec.PostScanActions.Recipients.Builder> implements DataQualitySpec.PostScanActions.RecipientsOrBuilder

The individuals or groups who are designated to receive notifications upon triggers.

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

Static Methods

getDescriptor()

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

Methods

addAllEmails(Iterable<String> values)

public DataQualitySpec.PostScanActions.Recipients.Builder addAllEmails(Iterable<String> values)

Optional. The email recipients who will receive the DataQualityScan results report.

repeated string emails = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<String>

The emails to add.

Returns
Type Description
DataQualitySpec.PostScanActions.Recipients.Builder

This builder for chaining.

addEmails(String value)

public DataQualitySpec.PostScanActions.Recipients.Builder addEmails(String value)

Optional. The email recipients who will receive the DataQualityScan results report.

repeated string emails = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The emails to add.

Returns
Type Description
DataQualitySpec.PostScanActions.Recipients.Builder

This builder for chaining.

addEmailsBytes(ByteString value)

public DataQualitySpec.PostScanActions.Recipients.Builder addEmailsBytes(ByteString value)

Optional. The email recipients who will receive the DataQualityScan results report.

repeated string emails = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes of the emails to add.

Returns
Type Description
DataQualitySpec.PostScanActions.Recipients.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearEmails()

public DataQualitySpec.PostScanActions.Recipients.Builder clearEmails()

Optional. The email recipients who will receive the DataQualityScan results report.

repeated string emails = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataQualitySpec.PostScanActions.Recipients.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

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

getEmails(int index)

public String getEmails(int index)

Optional. The email recipients who will receive the DataQualityScan results report.

repeated string emails = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The emails at the given index.

getEmailsBytes(int index)

public ByteString getEmailsBytes(int index)

Optional. The email recipients who will receive the DataQualityScan results report.

repeated string emails = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the emails at the given index.

getEmailsCount()

public int getEmailsCount()

Optional. The email recipients who will receive the DataQualityScan results report.

repeated string emails = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of emails.

getEmailsList()

public ProtocolStringList getEmailsList()

Optional. The email recipients who will receive the DataQualityScan results report.

repeated string emails = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the emails.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DataQualitySpec.PostScanActions.Recipients other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setEmails(int index, String value)

public DataQualitySpec.PostScanActions.Recipients.Builder setEmails(int index, String value)

Optional. The email recipients who will receive the DataQualityScan results report.

repeated string emails = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int

The index to set the value at.

value String

The emails to set.

Returns
Type Description
DataQualitySpec.PostScanActions.Recipients.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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