Class Common.PagerDutyNotification.Builder

    • Field Detail

      • bitField0_

        private int bitField0_
      • recipientsEmail_

        private com.google.protobuf.LazyStringList recipientsEmail_
    • Constructor Detail

      • Builder

        private Builder()
      • Builder

        private Builder​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Common.PagerDutyNotification.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.GeneratedMessageV3.Builder<Common.PagerDutyNotification.Builder>
      • getDefaultInstanceForType

        public Common.PagerDutyNotification getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public Common.PagerDutyNotification build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public Common.PagerDutyNotification buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Common.PagerDutyNotification.Builder>
      • mergeFrom

        public Common.PagerDutyNotification.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<Common.PagerDutyNotification.Builder>
        Throws:
        IOException
      • ensureRecipientsEmailIsMutable

        private void ensureRecipientsEmailIsMutable()
      • getRecipientsEmailList

        public com.google.protobuf.ProtocolStringList getRecipientsEmailList()
         Currently, PagerDuty notifications leverage email to trigger a notification.
         +required
         
        repeated string recipients_email = 1;
        Specified by:
        getRecipientsEmailList in interface Common.PagerDutyNotificationOrBuilder
        Returns:
        A list containing the recipientsEmail.
      • getRecipientsEmailCount

        public int getRecipientsEmailCount()
         Currently, PagerDuty notifications leverage email to trigger a notification.
         +required
         
        repeated string recipients_email = 1;
        Specified by:
        getRecipientsEmailCount in interface Common.PagerDutyNotificationOrBuilder
        Returns:
        The count of recipientsEmail.
      • getRecipientsEmail

        public String getRecipientsEmail​(int index)
         Currently, PagerDuty notifications leverage email to trigger a notification.
         +required
         
        repeated string recipients_email = 1;
        Specified by:
        getRecipientsEmail in interface Common.PagerDutyNotificationOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The recipientsEmail at the given index.
      • getRecipientsEmailBytes

        public com.google.protobuf.ByteString getRecipientsEmailBytes​(int index)
         Currently, PagerDuty notifications leverage email to trigger a notification.
         +required
         
        repeated string recipients_email = 1;
        Specified by:
        getRecipientsEmailBytes in interface Common.PagerDutyNotificationOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the recipientsEmail at the given index.
      • setRecipientsEmail

        public Common.PagerDutyNotification.Builder setRecipientsEmail​(int index,
                                                                       String value)
         Currently, PagerDuty notifications leverage email to trigger a notification.
         +required
         
        repeated string recipients_email = 1;
        Parameters:
        index - The index to set the value at.
        value - The recipientsEmail to set.
        Returns:
        This builder for chaining.
      • addRecipientsEmail

        public Common.PagerDutyNotification.Builder addRecipientsEmail​(String value)
         Currently, PagerDuty notifications leverage email to trigger a notification.
         +required
         
        repeated string recipients_email = 1;
        Parameters:
        value - The recipientsEmail to add.
        Returns:
        This builder for chaining.
      • addAllRecipientsEmail

        public Common.PagerDutyNotification.Builder addAllRecipientsEmail​(Iterable<String> values)
         Currently, PagerDuty notifications leverage email to trigger a notification.
         +required
         
        repeated string recipients_email = 1;
        Parameters:
        values - The recipientsEmail to add.
        Returns:
        This builder for chaining.
      • clearRecipientsEmail

        public Common.PagerDutyNotification.Builder clearRecipientsEmail()
         Currently, PagerDuty notifications leverage email to trigger a notification.
         +required
         
        repeated string recipients_email = 1;
        Returns:
        This builder for chaining.
      • addRecipientsEmailBytes

        public Common.PagerDutyNotification.Builder addRecipientsEmailBytes​(com.google.protobuf.ByteString value)
         Currently, PagerDuty notifications leverage email to trigger a notification.
         +required
         
        repeated string recipients_email = 1;
        Parameters:
        value - The bytes of the recipientsEmail to add.
        Returns:
        This builder for chaining.