Class QuestionNotification.Builder

    • Method Detail

      • getTitleBytes

        public com.google.protobuf.ByteString getTitleBytes()
        string title = 1 [json_name = "title"];
        Specified by:
        getTitleBytes in interface QuestionNotificationOrBuilder
        Returns:
        The bytes for title.
      • setTitle

        public QuestionNotification.Builder setTitle​(java.lang.String value)
        string title = 1 [json_name = "title"];
        Parameters:
        value - The title to set.
        Returns:
        This builder for chaining.
      • setTitleBytes

        public QuestionNotification.Builder setTitleBytes​(com.google.protobuf.ByteString value)
        string title = 1 [json_name = "title"];
        Parameters:
        value - The bytes for title to set.
        Returns:
        This builder for chaining.
      • getImageBytes

        public com.google.protobuf.ByteString getImageBytes()
        string image = 2 [json_name = "image"];
        Specified by:
        getImageBytes in interface QuestionNotificationOrBuilder
        Returns:
        The bytes for image.
      • setImage

        public QuestionNotification.Builder setImage​(java.lang.String value)
        string image = 2 [json_name = "image"];
        Parameters:
        value - The image to set.
        Returns:
        This builder for chaining.
      • setImageBytes

        public QuestionNotification.Builder setImageBytes​(com.google.protobuf.ByteString value)
        string image = 2 [json_name = "image"];
        Parameters:
        value - The bytes for image to set.
        Returns:
        This builder for chaining.
      • getIndicatorColor

        public java.lang.String getIndicatorColor()
        string indicator_color = 3 [json_name = "indicatorColor"];
        Specified by:
        getIndicatorColor in interface QuestionNotificationOrBuilder
        Returns:
        The indicatorColor.
      • getIndicatorColorBytes

        public com.google.protobuf.ByteString getIndicatorColorBytes()
        string indicator_color = 3 [json_name = "indicatorColor"];
        Specified by:
        getIndicatorColorBytes in interface QuestionNotificationOrBuilder
        Returns:
        The bytes for indicatorColor.
      • setIndicatorColor

        public QuestionNotification.Builder setIndicatorColor​(java.lang.String value)
        string indicator_color = 3 [json_name = "indicatorColor"];
        Parameters:
        value - The indicatorColor to set.
        Returns:
        This builder for chaining.
      • clearIndicatorColor

        public QuestionNotification.Builder clearIndicatorColor()
        string indicator_color = 3 [json_name = "indicatorColor"];
        Returns:
        This builder for chaining.
      • setIndicatorColorBytes

        public QuestionNotification.Builder setIndicatorColorBytes​(com.google.protobuf.ByteString value)
        string indicator_color = 3 [json_name = "indicatorColor"];
        Parameters:
        value - The bytes for indicatorColor to set.
        Returns:
        This builder for chaining.
      • getImagePositionValue

        public int getImagePositionValue()
        .streamlayer.interactive.ImagePosition image_position = 4 [json_name = "imagePosition"];
        Specified by:
        getImagePositionValue in interface QuestionNotificationOrBuilder
        Returns:
        The enum numeric value on the wire for imagePosition.
      • setImagePositionValue

        public QuestionNotification.Builder setImagePositionValue​(int value)
        .streamlayer.interactive.ImagePosition image_position = 4 [json_name = "imagePosition"];
        Parameters:
        value - The imagePosition to set.
        Returns:
        This builder for chaining.
      • setImagePosition

        public QuestionNotification.Builder setImagePosition​(ImagePosition value)
        .streamlayer.interactive.ImagePosition image_position = 4 [json_name = "imagePosition"];
        Parameters:
        value - The enum numeric value on the wire for imagePosition to set.
        Returns:
        This builder for chaining.
      • clearImagePosition

        public QuestionNotification.Builder clearImagePosition()
        .streamlayer.interactive.ImagePosition image_position = 4 [json_name = "imagePosition"];
        Returns:
        This builder for chaining.
      • getBodyBytes

        public com.google.protobuf.ByteString getBodyBytes()
        string body = 5 [json_name = "body"];
        Specified by:
        getBodyBytes in interface QuestionNotificationOrBuilder
        Returns:
        The bytes for body.
      • setBody

        public QuestionNotification.Builder setBody​(java.lang.String value)
        string body = 5 [json_name = "body"];
        Parameters:
        value - The body to set.
        Returns:
        This builder for chaining.
      • setBodyBytes

        public QuestionNotification.Builder setBodyBytes​(com.google.protobuf.ByteString value)
        string body = 5 [json_name = "body"];
        Parameters:
        value - The bytes for body to set.
        Returns:
        This builder for chaining.
      • getImageModeValue

        public int getImageModeValue()
        .streamlayer.interactive.QuestionImages image_mode = 6 [json_name = "imageMode"];
        Specified by:
        getImageModeValue in interface QuestionNotificationOrBuilder
        Returns:
        The enum numeric value on the wire for imageMode.
      • setImageModeValue

        public QuestionNotification.Builder setImageModeValue​(int value)
        .streamlayer.interactive.QuestionImages image_mode = 6 [json_name = "imageMode"];
        Parameters:
        value - The imageMode to set.
        Returns:
        This builder for chaining.
      • setImageMode

        public QuestionNotification.Builder setImageMode​(QuestionImages value)
        .streamlayer.interactive.QuestionImages image_mode = 6 [json_name = "imageMode"];
        Parameters:
        value - The enum numeric value on the wire for imageMode to set.
        Returns:
        This builder for chaining.
      • clearImageMode

        public QuestionNotification.Builder clearImageMode()
        .streamlayer.interactive.QuestionImages image_mode = 6 [json_name = "imageMode"];
        Returns:
        This builder for chaining.
      • hasPromotion

        public boolean hasPromotion()
        .streamlayer.interactive.PromotionNotification promotion = 7 [json_name = "promotion"];
        Specified by:
        hasPromotion in interface QuestionNotificationOrBuilder
        Returns:
        Whether the promotion field is set.
      • clearPromotion

        public QuestionNotification.Builder clearPromotion()
        .streamlayer.interactive.PromotionNotification promotion = 7 [json_name = "promotion"];
      • getEnabledValue

        public int getEnabledValue()
        .streamlayer.interactive.NotificationEnabled enabled = 8 [json_name = "enabled"];
        Specified by:
        getEnabledValue in interface QuestionNotificationOrBuilder
        Returns:
        The enum numeric value on the wire for enabled.
      • setEnabledValue

        public QuestionNotification.Builder setEnabledValue​(int value)
        .streamlayer.interactive.NotificationEnabled enabled = 8 [json_name = "enabled"];
        Parameters:
        value - The enabled to set.
        Returns:
        This builder for chaining.
      • setEnabled

        public QuestionNotification.Builder setEnabled​(NotificationEnabled value)
        .streamlayer.interactive.NotificationEnabled enabled = 8 [json_name = "enabled"];
        Parameters:
        value - The enum numeric value on the wire for enabled to set.
        Returns:
        This builder for chaining.
      • clearEnabled

        public QuestionNotification.Builder clearEnabled()
        .streamlayer.interactive.NotificationEnabled enabled = 8 [json_name = "enabled"];
        Returns:
        This builder for chaining.
      • getUseContentMediaValue

        public int getUseContentMediaValue()
        .streamlayer.interactive.NotificationUseContentMedia use_content_media = 9 [json_name = "useContentMedia"];
        Specified by:
        getUseContentMediaValue in interface QuestionNotificationOrBuilder
        Returns:
        The enum numeric value on the wire for useContentMedia.
      • setUseContentMediaValue

        public QuestionNotification.Builder setUseContentMediaValue​(int value)
        .streamlayer.interactive.NotificationUseContentMedia use_content_media = 9 [json_name = "useContentMedia"];
        Parameters:
        value - The useContentMedia to set.
        Returns:
        This builder for chaining.
      • setUseContentMedia

        public QuestionNotification.Builder setUseContentMedia​(NotificationUseContentMedia value)
        .streamlayer.interactive.NotificationUseContentMedia use_content_media = 9 [json_name = "useContentMedia"];
        Parameters:
        value - The enum numeric value on the wire for useContentMedia to set.
        Returns:
        This builder for chaining.
      • clearUseContentMedia

        public QuestionNotification.Builder clearUseContentMedia()
        .streamlayer.interactive.NotificationUseContentMedia use_content_media = 9 [json_name = "useContentMedia"];
        Returns:
        This builder for chaining.
      • getUseContentTextsValue

        public int getUseContentTextsValue()
        .streamlayer.interactive.NotificationUseContentTexts use_content_texts = 10 [json_name = "useContentTexts"];
        Specified by:
        getUseContentTextsValue in interface QuestionNotificationOrBuilder
        Returns:
        The enum numeric value on the wire for useContentTexts.
      • setUseContentTextsValue

        public QuestionNotification.Builder setUseContentTextsValue​(int value)
        .streamlayer.interactive.NotificationUseContentTexts use_content_texts = 10 [json_name = "useContentTexts"];
        Parameters:
        value - The useContentTexts to set.
        Returns:
        This builder for chaining.
      • setUseContentTexts

        public QuestionNotification.Builder setUseContentTexts​(NotificationUseContentTexts value)
        .streamlayer.interactive.NotificationUseContentTexts use_content_texts = 10 [json_name = "useContentTexts"];
        Parameters:
        value - The enum numeric value on the wire for useContentTexts to set.
        Returns:
        This builder for chaining.
      • clearUseContentTexts

        public QuestionNotification.Builder clearUseContentTexts()
        .streamlayer.interactive.NotificationUseContentTexts use_content_texts = 10 [json_name = "useContentTexts"];
        Returns:
        This builder for chaining.