Package com.google.cloud.dataplex.v1
Class DataQualitySpec.PostScanActions.Recipients.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DataQualitySpec.PostScanActions.Recipients.Builder>
com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions.Recipients.Builder
- All Implemented Interfaces:
DataQualitySpec.PostScanActions.RecipientsOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- DataQualitySpec.PostScanActions.Recipients
public static final class DataQualitySpec.PostScanActions.Recipients.Builder
extends com.google.protobuf.GeneratedMessage.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-
Method Summary
Modifier and TypeMethodDescriptionaddAllEmails(Iterable<String> values) Optional.Optional.addEmailsBytes(com.google.protobuf.ByteString value) Optional.build()clear()Optional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetEmails(int index) Optional.com.google.protobuf.ByteStringgetEmailsBytes(int index) Optional.intOptional.com.google.protobuf.ProtocolStringListOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Optional.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<DataQualitySpec.PostScanActions.Recipients.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<DataQualitySpec.PostScanActions.Recipients.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<DataQualitySpec.PostScanActions.Recipients.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public DataQualitySpec.PostScanActions.Recipients.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DataQualitySpec.PostScanActions.Recipients.Builder>
-
mergeFrom
public DataQualitySpec.PostScanActions.Recipients.Builder mergeFrom(DataQualitySpec.PostScanActions.Recipients other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<DataQualitySpec.PostScanActions.Recipients.Builder>
-
mergeFrom
public DataQualitySpec.PostScanActions.Recipients.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DataQualitySpec.PostScanActions.Recipients.Builder>- Throws:
IOException
-
getEmailsList
public com.google.protobuf.ProtocolStringList getEmailsList()Optional. The email recipients who will receive the DataQualityScan results report.
repeated string emails = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEmailsListin interfaceDataQualitySpec.PostScanActions.RecipientsOrBuilder- Returns:
- A list containing the emails.
-
getEmailsCount
public int getEmailsCount()Optional. The email recipients who will receive the DataQualityScan results report.
repeated string emails = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEmailsCountin interfaceDataQualitySpec.PostScanActions.RecipientsOrBuilder- Returns:
- The count of emails.
-
getEmails
Optional. The email recipients who will receive the DataQualityScan results report.
repeated string emails = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEmailsin interfaceDataQualitySpec.PostScanActions.RecipientsOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The emails at the given index.
-
getEmailsBytes
public com.google.protobuf.ByteString getEmailsBytes(int index) Optional. The email recipients who will receive the DataQualityScan results report.
repeated string emails = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEmailsBytesin interfaceDataQualitySpec.PostScanActions.RecipientsOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the emails at the given index.
-
setEmails
Optional. The email recipients who will receive the DataQualityScan results report.
repeated string emails = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index to set the value at.value- The emails to set.- Returns:
- This builder for chaining.
-
addEmails
Optional. The email recipients who will receive the DataQualityScan results report.
repeated string emails = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The emails to add.- Returns:
- This builder for chaining.
-
addAllEmails
Optional. The email recipients who will receive the DataQualityScan results report.
repeated string emails = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
values- The emails to add.- Returns:
- This builder for chaining.
-
clearEmails
Optional. The email recipients who will receive the DataQualityScan results report.
repeated string emails = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
addEmailsBytes
public DataQualitySpec.PostScanActions.Recipients.Builder addEmailsBytes(com.google.protobuf.ByteString value) Optional. The email recipients who will receive the DataQualityScan results report.
repeated string emails = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes of the emails to add.- Returns:
- This builder for chaining.
-