Class InsightNotification.Builder

    • Field Summary

      • Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder

        instance
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      InsightNotification.Builder clearBody()
      optional string body = 2 [json_name = "body"];
      InsightNotification.Builder clearImagePosition()
      optional int32 image_position = 3 [json_name = "imagePosition"];
      InsightNotification.Builder clearTitle()
      optional string title = 1 [json_name = "title"];
      java.lang.String getBody()
      optional string body = 2 [json_name = "body"];
      com.google.protobuf.ByteString getBodyBytes()
      optional string body = 2 [json_name = "body"];
      int getImagePosition()
      optional int32 image_position = 3 [json_name = "imagePosition"];
      java.lang.String getTitle()
      optional string title = 1 [json_name = "title"];
      com.google.protobuf.ByteString getTitleBytes()
      optional string title = 1 [json_name = "title"];
      boolean hasBody()
      optional string body = 2 [json_name = "body"];
      boolean hasImagePosition()
      optional int32 image_position = 3 [json_name = "imagePosition"];
      boolean hasTitle()
      optional string title = 1 [json_name = "title"];
      InsightNotification.Builder setBody​(java.lang.String value)
      optional string body = 2 [json_name = "body"];
      InsightNotification.Builder setBodyBytes​(com.google.protobuf.ByteString value)
      optional string body = 2 [json_name = "body"];
      InsightNotification.Builder setImagePosition​(int value)
      optional int32 image_position = 3 [json_name = "imagePosition"];
      InsightNotification.Builder setTitle​(java.lang.String value)
      optional string title = 1 [json_name = "title"];
      InsightNotification.Builder setTitleBytes​(com.google.protobuf.ByteString value)
      optional string title = 1 [json_name = "title"];
      • Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder

        build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
      • Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

        addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        getDefaultInstanceForType, isInitialized
    • Method Detail

      • hasTitle

        public boolean hasTitle()
        optional string title = 1 [json_name = "title"];
        Specified by:
        hasTitle in interface InsightNotificationOrBuilder
        Returns:
        Whether the title field is set.
      • getTitle

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

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

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

        public InsightNotification.Builder clearTitle()
        optional string title = 1 [json_name = "title"];
        Returns:
        This builder for chaining.
      • setTitleBytes

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

        public boolean hasBody()
        optional string body = 2 [json_name = "body"];
        Specified by:
        hasBody in interface InsightNotificationOrBuilder
        Returns:
        Whether the body field is set.
      • getBody

        public java.lang.String getBody()
        optional string body = 2 [json_name = "body"];
        Specified by:
        getBody in interface InsightNotificationOrBuilder
        Returns:
        The body.
      • getBodyBytes

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

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

        public InsightNotification.Builder clearBody()
        optional string body = 2 [json_name = "body"];
        Returns:
        This builder for chaining.
      • setBodyBytes

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

        public boolean hasImagePosition()
        optional int32 image_position = 3 [json_name = "imagePosition"];
        Specified by:
        hasImagePosition in interface InsightNotificationOrBuilder
        Returns:
        Whether the imagePosition field is set.
      • setImagePosition

        public InsightNotification.Builder setImagePosition​(int value)
        optional int32 image_position = 3 [json_name = "imagePosition"];
        Parameters:
        value - The imagePosition to set.
        Returns:
        This builder for chaining.
      • clearImagePosition

        public InsightNotification.Builder clearImagePosition()
        optional int32 image_position = 3 [json_name = "imagePosition"];
        Returns:
        This builder for chaining.