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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<DataQualitySpec.PostScanActions.Recipients.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<DataQualitySpec.PostScanActions.Recipients.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<DataQualitySpec.PostScanActions.Recipients.Builder>
    • getDefaultInstanceForType

      public DataQualitySpec.PostScanActions.Recipients getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public DataQualitySpec.PostScanActions.Recipients.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<DataQualitySpec.PostScanActions.Recipients.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.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:
      getEmailsList in interface DataQualitySpec.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:
      getEmailsCount in interface DataQualitySpec.PostScanActions.RecipientsOrBuilder
      Returns:
      The count of emails.
    • getEmails

      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];
      Specified by:
      getEmails in interface DataQualitySpec.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:
      getEmailsBytes in interface DataQualitySpec.PostScanActions.RecipientsOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the emails at the given index.
    • setEmails

      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:
      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.