Class SubscriptionResponse.Builder

    • Method Detail

      • getIdBytes

        public com.google.protobuf.ByteString getIdBytes()
         tweet id
         
        string id = 1 [json_name = "id"];
        Specified by:
        getIdBytes in interface SubscriptionResponseOrBuilder
        Returns:
        The bytes for id.
      • setId

        public SubscriptionResponse.Builder setId​(java.lang.String value)
         tweet id
         
        string id = 1 [json_name = "id"];
        Parameters:
        value - The id to set.
        Returns:
        This builder for chaining.
      • setIdBytes

        public SubscriptionResponse.Builder setIdBytes​(com.google.protobuf.ByteString value)
         tweet id
         
        string id = 1 [json_name = "id"];
        Parameters:
        value - The bytes for id to set.
        Returns:
        This builder for chaining.
      • getType

        public java.lang.String getType()
         type is always "tweet"
         
        string type = 2 [json_name = "type"];
        Specified by:
        getType in interface SubscriptionResponseOrBuilder
        Returns:
        The type.
      • getTypeBytes

        public com.google.protobuf.ByteString getTypeBytes()
         type is always "tweet"
         
        string type = 2 [json_name = "type"];
        Specified by:
        getTypeBytes in interface SubscriptionResponseOrBuilder
        Returns:
        The bytes for type.
      • setType

        public SubscriptionResponse.Builder setType​(java.lang.String value)
         type is always "tweet"
         
        string type = 2 [json_name = "type"];
        Parameters:
        value - The type to set.
        Returns:
        This builder for chaining.
      • clearType

        public SubscriptionResponse.Builder clearType()
         type is always "tweet"
         
        string type = 2 [json_name = "type"];
        Returns:
        This builder for chaining.
      • setTypeBytes

        public SubscriptionResponse.Builder setTypeBytes​(com.google.protobuf.ByteString value)
         type is always "tweet"
         
        string type = 2 [json_name = "type"];
        Parameters:
        value - The bytes for type to set.
        Returns:
        This builder for chaining.
      • hasAttributes

        public boolean hasAttributes()
         tweet properties
         
        .streamlayer.social.Tweet attributes = 3 [json_name = "attributes"];
        Specified by:
        hasAttributes in interface SubscriptionResponseOrBuilder
        Returns:
        Whether the attributes field is set.
      • setAttributes

        public SubscriptionResponse.Builder setAttributes​(Tweet value)
         tweet properties
         
        .streamlayer.social.Tweet attributes = 3 [json_name = "attributes"];
      • mergeAttributes

        public SubscriptionResponse.Builder mergeAttributes​(Tweet value)
         tweet properties
         
        .streamlayer.social.Tweet attributes = 3 [json_name = "attributes"];
      • clearAttributes

        public SubscriptionResponse.Builder clearAttributes()
         tweet properties
         
        .streamlayer.social.Tweet attributes = 3 [json_name = "attributes"];