Package pbx

Class Model.SetQuery.Builder

    • Method Detail

      • hasDesc

        public boolean hasDesc()
         Topic metadata, new topic & new subscriptions only
         
        optional .pbx.SetDesc desc = 1 [json_name = "desc"];
        Specified by:
        hasDesc in interface Model.SetQueryOrBuilder
        Returns:
        Whether the desc field is set.
      • getDesc

        public Model.SetDesc getDesc()
         Topic metadata, new topic & new subscriptions only
         
        optional .pbx.SetDesc desc = 1 [json_name = "desc"];
        Specified by:
        getDesc in interface Model.SetQueryOrBuilder
        Returns:
        The desc.
      • setDesc

        public Model.SetQuery.Builder setDesc​(Model.SetDesc value)
         Topic metadata, new topic & new subscriptions only
         
        optional .pbx.SetDesc desc = 1 [json_name = "desc"];
      • mergeDesc

        public Model.SetQuery.Builder mergeDesc​(Model.SetDesc value)
         Topic metadata, new topic & new subscriptions only
         
        optional .pbx.SetDesc desc = 1 [json_name = "desc"];
      • clearDesc

        public Model.SetQuery.Builder clearDesc()
         Topic metadata, new topic & new subscriptions only
         
        optional .pbx.SetDesc desc = 1 [json_name = "desc"];
      • hasSub

        public boolean hasSub()
         Subscription parameters
         
        optional .pbx.SetSub sub = 2 [json_name = "sub"];
        Specified by:
        hasSub in interface Model.SetQueryOrBuilder
        Returns:
        Whether the sub field is set.
      • clearSub

        public Model.SetQuery.Builder clearSub()
         Subscription parameters
         
        optional .pbx.SetSub sub = 2 [json_name = "sub"];
      • getTagsList

        public java.util.List<java.lang.String> getTagsList()
         Indexable tags
         
        repeated string tags = 3 [json_name = "tags"];
        Specified by:
        getTagsList in interface Model.SetQueryOrBuilder
        Returns:
        A list containing the tags.
      • getTagsCount

        public int getTagsCount()
         Indexable tags
         
        repeated string tags = 3 [json_name = "tags"];
        Specified by:
        getTagsCount in interface Model.SetQueryOrBuilder
        Returns:
        The count of tags.
      • getTags

        public java.lang.String getTags​(int index)
         Indexable tags
         
        repeated string tags = 3 [json_name = "tags"];
        Specified by:
        getTags in interface Model.SetQueryOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The tags at the given index.
      • getTagsBytes

        public com.google.protobuf.ByteString getTagsBytes​(int index)
         Indexable tags
         
        repeated string tags = 3 [json_name = "tags"];
        Specified by:
        getTagsBytes in interface Model.SetQueryOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the tags at the given index.
      • setTags

        public Model.SetQuery.Builder setTags​(int index,
                                              java.lang.String value)
         Indexable tags
         
        repeated string tags = 3 [json_name = "tags"];
        Parameters:
        index - The index to set the value at.
        value - The tags to set.
        Returns:
        This builder for chaining.
      • addTags

        public Model.SetQuery.Builder addTags​(java.lang.String value)
         Indexable tags
         
        repeated string tags = 3 [json_name = "tags"];
        Parameters:
        value - The tags to add.
        Returns:
        This builder for chaining.
      • addAllTags

        public Model.SetQuery.Builder addAllTags​(java.lang.Iterable<java.lang.String> values)
         Indexable tags
         
        repeated string tags = 3 [json_name = "tags"];
        Parameters:
        values - The tags to add.
        Returns:
        This builder for chaining.
      • clearTags

        public Model.SetQuery.Builder clearTags()
         Indexable tags
         
        repeated string tags = 3 [json_name = "tags"];
        Returns:
        This builder for chaining.
      • addTagsBytes

        public Model.SetQuery.Builder addTagsBytes​(com.google.protobuf.ByteString value)
         Indexable tags
         
        repeated string tags = 3 [json_name = "tags"];
        Parameters:
        value - The bytes of the tags to add.
        Returns:
        This builder for chaining.
      • hasCred

        public boolean hasCred()
         Credential being updated.
         
        optional .pbx.ClientCred cred = 4 [json_name = "cred"];
        Specified by:
        hasCred in interface Model.SetQueryOrBuilder
        Returns:
        Whether the cred field is set.
      • clearCred

        public Model.SetQuery.Builder clearCred()
         Credential being updated.
         
        optional .pbx.ClientCred cred = 4 [json_name = "cred"];