Class InsightHistory.Builder

    • Method Detail

      • getQuestionId

        public java.lang.String getQuestionId()
        string question_id = 1 [json_name = "questionId"];
        Specified by:
        getQuestionId in interface InsightHistoryOrBuilder
        Returns:
        The questionId.
      • getQuestionIdBytes

        public com.google.protobuf.ByteString getQuestionIdBytes()
        string question_id = 1 [json_name = "questionId"];
        Specified by:
        getQuestionIdBytes in interface InsightHistoryOrBuilder
        Returns:
        The bytes for questionId.
      • setQuestionId

        public InsightHistory.Builder setQuestionId​(java.lang.String value)
        string question_id = 1 [json_name = "questionId"];
        Parameters:
        value - The questionId to set.
        Returns:
        This builder for chaining.
      • clearQuestionId

        public InsightHistory.Builder clearQuestionId()
        string question_id = 1 [json_name = "questionId"];
        Returns:
        This builder for chaining.
      • setQuestionIdBytes

        public InsightHistory.Builder setQuestionIdBytes​(com.google.protobuf.ByteString value)
        string question_id = 1 [json_name = "questionId"];
        Parameters:
        value - The bytes for questionId to set.
        Returns:
        This builder for chaining.
      • getTitle

        public java.lang.String getTitle()
         notification.title
         
        string title = 2 [json_name = "title"];
        Specified by:
        getTitle in interface InsightHistoryOrBuilder
        Returns:
        The title.
      • getTitleBytes

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

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

        public InsightHistory.Builder clearTitle()
         notification.title
         
        string title = 2 [json_name = "title"];
        Returns:
        This builder for chaining.
      • setTitleBytes

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

        public java.lang.String getImage()
         notification.image
         
        string image = 3 [json_name = "image"];
        Specified by:
        getImage in interface InsightHistoryOrBuilder
        Returns:
        The image.
      • getImageBytes

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

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

        public InsightHistory.Builder clearImage()
         notification.image
         
        string image = 3 [json_name = "image"];
        Returns:
        This builder for chaining.
      • setImageBytes

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

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

        public InsightHistory.Builder setImageModeValue​(int value)
         combined with moderation defaults
         
        .streamlayer.interactive.QuestionImages image_mode = 4 [json_name = "imageMode"];
        Parameters:
        value - The imageMode to set.
        Returns:
        This builder for chaining.
      • getImageMode

        public QuestionImages getImageMode()
         combined with moderation defaults
         
        .streamlayer.interactive.QuestionImages image_mode = 4 [json_name = "imageMode"];
        Specified by:
        getImageMode in interface InsightHistoryOrBuilder
        Returns:
        The imageMode.
      • setImageMode

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

        public InsightHistory.Builder clearImageMode()
         combined with moderation defaults
         
        .streamlayer.interactive.QuestionImages image_mode = 4 [json_name = "imageMode"];
        Returns:
        This builder for chaining.
      • hasInstantView

        public boolean hasInstantView()
        optional .streamlayer.interactive.feed.InstantView instant_view = 5 [json_name = "instantView"];
        Specified by:
        hasInstantView in interface InsightHistoryOrBuilder
        Returns:
        Whether the instantView field is set.
      • getInstantView

        public InstantView getInstantView()
        optional .streamlayer.interactive.feed.InstantView instant_view = 5 [json_name = "instantView"];
        Specified by:
        getInstantView in interface InsightHistoryOrBuilder
        Returns:
        The instantView.
      • setInstantView

        public InsightHistory.Builder setInstantView​(InstantView value)
        optional .streamlayer.interactive.feed.InstantView instant_view = 5 [json_name = "instantView"];
      • mergeInstantView

        public InsightHistory.Builder mergeInstantView​(InstantView value)
        optional .streamlayer.interactive.feed.InstantView instant_view = 5 [json_name = "instantView"];
      • clearInstantView

        public InsightHistory.Builder clearInstantView()
        optional .streamlayer.interactive.feed.InstantView instant_view = 5 [json_name = "instantView"];
      • hasNotification

        public boolean hasNotification()
        optional .streamlayer.interactive.feed.InsightNotification notification = 6 [json_name = "notification"];
        Specified by:
        hasNotification in interface InsightHistoryOrBuilder
        Returns:
        Whether the notification field is set.
      • mergeNotification

        public InsightHistory.Builder mergeNotification​(InsightNotification value)
        optional .streamlayer.interactive.feed.InsightNotification notification = 6 [json_name = "notification"];
      • clearNotification

        public InsightHistory.Builder clearNotification()
        optional .streamlayer.interactive.feed.InsightNotification notification = 6 [json_name = "notification"];
      • getUseAsNotificationValue

        public int getUseAsNotificationValue()
        .streamlayer.interactive.UseAsNotification use_as_notification = 7 [json_name = "useAsNotification"];
        Specified by:
        getUseAsNotificationValue in interface InsightHistoryOrBuilder
        Returns:
        The enum numeric value on the wire for useAsNotification.
      • setUseAsNotificationValue

        public InsightHistory.Builder setUseAsNotificationValue​(int value)
        .streamlayer.interactive.UseAsNotification use_as_notification = 7 [json_name = "useAsNotification"];
        Parameters:
        value - The useAsNotification to set.
        Returns:
        This builder for chaining.
      • setUseAsNotification

        public InsightHistory.Builder setUseAsNotification​(UseAsNotification value)
        .streamlayer.interactive.UseAsNotification use_as_notification = 7 [json_name = "useAsNotification"];
        Parameters:
        value - The enum numeric value on the wire for useAsNotification to set.
        Returns:
        This builder for chaining.
      • clearUseAsNotification

        public InsightHistory.Builder clearUseAsNotification()
        .streamlayer.interactive.UseAsNotification use_as_notification = 7 [json_name = "useAsNotification"];
        Returns:
        This builder for chaining.