Class PromotionNotification.Builder

    • Method Detail

      • getSponsorLogoBytes

        public com.google.protobuf.ByteString getSponsorLogoBytes()
        string sponsor_logo = 1 [json_name = "sponsorLogo"];
        Specified by:
        getSponsorLogoBytes in interface PromotionNotificationOrBuilder
        Returns:
        The bytes for sponsorLogo.
      • setSponsorLogo

        public PromotionNotification.Builder setSponsorLogo​(java.lang.String value)
        string sponsor_logo = 1 [json_name = "sponsorLogo"];
        Parameters:
        value - The sponsorLogo to set.
        Returns:
        This builder for chaining.
      • clearSponsorLogo

        public PromotionNotification.Builder clearSponsorLogo()
        string sponsor_logo = 1 [json_name = "sponsorLogo"];
        Returns:
        This builder for chaining.
      • setSponsorLogoBytes

        public PromotionNotification.Builder setSponsorLogoBytes​(com.google.protobuf.ByteString value)
        string sponsor_logo = 1 [json_name = "sponsorLogo"];
        Parameters:
        value - The bytes for sponsorLogo to set.
        Returns:
        This builder for chaining.
      • getSponsorLogoModeValue

        public int getSponsorLogoModeValue()
        .streamlayer.interactive.NotificationSponsorLogoMode sponsor_logo_mode = 2 [json_name = "sponsorLogoMode"];
        Specified by:
        getSponsorLogoModeValue in interface PromotionNotificationOrBuilder
        Returns:
        The enum numeric value on the wire for sponsorLogoMode.
      • setSponsorLogoModeValue

        public PromotionNotification.Builder setSponsorLogoModeValue​(int value)
        .streamlayer.interactive.NotificationSponsorLogoMode sponsor_logo_mode = 2 [json_name = "sponsorLogoMode"];
        Parameters:
        value - The sponsorLogoMode to set.
        Returns:
        This builder for chaining.
      • setSponsorLogoMode

        public PromotionNotification.Builder setSponsorLogoMode​(NotificationSponsorLogoMode value)
        .streamlayer.interactive.NotificationSponsorLogoMode sponsor_logo_mode = 2 [json_name = "sponsorLogoMode"];
        Parameters:
        value - The enum numeric value on the wire for sponsorLogoMode to set.
        Returns:
        This builder for chaining.
      • clearSponsorLogoMode

        public PromotionNotification.Builder clearSponsorLogoMode()
        .streamlayer.interactive.NotificationSponsorLogoMode sponsor_logo_mode = 2 [json_name = "sponsorLogoMode"];
        Returns:
        This builder for chaining.
      • hasCtaButton

        public boolean hasCtaButton()
        .streamlayer.interactive.CTAButton cta_button = 3 [json_name = "ctaButton"];
        Specified by:
        hasCtaButton in interface PromotionNotificationOrBuilder
        Returns:
        Whether the ctaButton field is set.
      • clearCtaButton

        public PromotionNotification.Builder clearCtaButton()
        .streamlayer.interactive.CTAButton cta_button = 3 [json_name = "ctaButton"];
      • getImagePositionValue

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

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

        public PromotionNotification.Builder setImagePosition​(NotificationPromotionImagePosition value)
        .streamlayer.interactive.NotificationPromotionImagePosition 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 PromotionNotification.Builder clearImagePosition()
        .streamlayer.interactive.NotificationPromotionImagePosition image_position = 4 [json_name = "imagePosition"];
        Returns:
        This builder for chaining.
      • getModeValue

        public int getModeValue()
        .streamlayer.interactive.NotificationPromotionMode mode = 5 [json_name = "mode"];
        Specified by:
        getModeValue in interface PromotionNotificationOrBuilder
        Returns:
        The enum numeric value on the wire for mode.
      • setModeValue

        public PromotionNotification.Builder setModeValue​(int value)
        .streamlayer.interactive.NotificationPromotionMode mode = 5 [json_name = "mode"];
        Parameters:
        value - The mode to set.
        Returns:
        This builder for chaining.
      • setMode

        public PromotionNotification.Builder setMode​(NotificationPromotionMode value)
        .streamlayer.interactive.NotificationPromotionMode mode = 5 [json_name = "mode"];
        Parameters:
        value - The enum numeric value on the wire for mode to set.
        Returns:
        This builder for chaining.
      • clearMode

        public PromotionNotification.Builder clearMode()
        .streamlayer.interactive.NotificationPromotionMode mode = 5 [json_name = "mode"];
        Returns:
        This builder for chaining.