Class DataQualitySpec.PostScanActions.Recipients.Builder (1.38.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
TypeDescription
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
NameDescription
valuesIterable<String>

The emails to add.

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

The emails to add.

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

The bytes of the emails to add.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DataQualitySpec.PostScanActions.Recipients.Builder
Overrides

build()

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

buildPartial()

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

clear()

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public DataQualitySpec.PostScanActions.Recipients.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
DataQualitySpec.PostScanActions.Recipients.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public DataQualitySpec.PostScanActions.Recipients.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
DataQualitySpec.PostScanActions.Recipients.Builder
Overrides

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

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

The index of the element to return.

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

The index of the value to return.

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

A list containing the emails.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DataQualitySpec.PostScanActions.Recipients other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public DataQualitySpec.PostScanActions.Recipients.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
DataQualitySpec.PostScanActions.Recipients.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DataQualitySpec.PostScanActions.Recipients.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The emails to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DataQualitySpec.PostScanActions.Recipients.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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