Package pbx

Class Model.ClientSub.Builder

    • Method Detail

      • hasId

        public boolean hasId()
        optional string id = 1 [json_name = "id"];
        Specified by:
        hasId in interface Model.ClientSubOrBuilder
        Returns:
        Whether the id field is set.
      • getId

        public java.lang.String getId()
        optional string id = 1 [json_name = "id"];
        Specified by:
        getId in interface Model.ClientSubOrBuilder
        Returns:
        The id.
      • getIdBytes

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

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

        public Model.ClientSub.Builder clearId()
        optional string id = 1 [json_name = "id"];
        Returns:
        This builder for chaining.
      • setIdBytes

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

        public java.lang.String getTopic()
        string topic = 2 [json_name = "topic"];
        Specified by:
        getTopic in interface Model.ClientSubOrBuilder
        Returns:
        The topic.
      • getTopicBytes

        public com.google.protobuf.ByteString getTopicBytes()
        string topic = 2 [json_name = "topic"];
        Specified by:
        getTopicBytes in interface Model.ClientSubOrBuilder
        Returns:
        The bytes for topic.
      • setTopic

        public Model.ClientSub.Builder setTopic​(java.lang.String value)
        string topic = 2 [json_name = "topic"];
        Parameters:
        value - The topic to set.
        Returns:
        This builder for chaining.
      • clearTopic

        public Model.ClientSub.Builder clearTopic()
        string topic = 2 [json_name = "topic"];
        Returns:
        This builder for chaining.
      • setTopicBytes

        public Model.ClientSub.Builder setTopicBytes​(com.google.protobuf.ByteString value)
        string topic = 2 [json_name = "topic"];
        Parameters:
        value - The bytes for topic to set.
        Returns:
        This builder for chaining.
      • hasSetQuery

        public boolean hasSetQuery()
         mirrors {set}
         
        optional .pbx.SetQuery set_query = 3 [json_name = "setQuery"];
        Specified by:
        hasSetQuery in interface Model.ClientSubOrBuilder
        Returns:
        Whether the setQuery field is set.
      • clearSetQuery

        public Model.ClientSub.Builder clearSetQuery()
         mirrors {set}
         
        optional .pbx.SetQuery set_query = 3 [json_name = "setQuery"];
      • hasGetQuery

        public boolean hasGetQuery()
         mirrors {get}
         
        optional .pbx.GetQuery get_query = 4 [json_name = "getQuery"];
        Specified by:
        hasGetQuery in interface Model.ClientSubOrBuilder
        Returns:
        Whether the getQuery field is set.
      • clearGetQuery

        public Model.ClientSub.Builder clearGetQuery()
         mirrors {get}
         
        optional .pbx.GetQuery get_query = 4 [json_name = "getQuery"];