Class ListAdvertisingRequest.Builder

    • Method Detail

      • setOffset

        public ListAdvertisingRequest.Builder setOffset​(int value)
        int32 offset = 1 [json_name = "offset"];
        Parameters:
        value - The offset to set.
        Returns:
        This builder for chaining.
      • setLimit

        public ListAdvertisingRequest.Builder setLimit​(int value)
        int32 limit = 2 [json_name = "limit"];
        Parameters:
        value - The limit to set.
        Returns:
        This builder for chaining.
      • setOrder

        public ListAdvertisingRequest.Builder setOrder​(java.lang.String value)
        string order = 3 [json_name = "order"];
        Parameters:
        value - The order to set.
        Returns:
        This builder for chaining.
      • setOrderBytes

        public ListAdvertisingRequest.Builder setOrderBytes​(com.google.protobuf.ByteString value)
        string order = 3 [json_name = "order"];
        Parameters:
        value - The bytes for order to set.
        Returns:
        This builder for chaining.
      • setCriteria

        public ListAdvertisingRequest.Builder setCriteria​(java.lang.String value)
        string criteria = 4 [json_name = "criteria"];
        Parameters:
        value - The criteria to set.
        Returns:
        This builder for chaining.
      • clearCriteria

        public ListAdvertisingRequest.Builder clearCriteria()
        string criteria = 4 [json_name = "criteria"];
        Returns:
        This builder for chaining.
      • setCriteriaBytes

        public ListAdvertisingRequest.Builder setCriteriaBytes​(com.google.protobuf.ByteString value)
        string criteria = 4 [json_name = "criteria"];
        Parameters:
        value - The bytes for criteria to set.
        Returns:
        This builder for chaining.
      • setOwner

        public ListAdvertisingRequest.Builder setOwner​(java.lang.String value)
        string owner = 5 [json_name = "owner"];
        Parameters:
        value - The owner to set.
        Returns:
        This builder for chaining.
      • setOwnerBytes

        public ListAdvertisingRequest.Builder setOwnerBytes​(com.google.protobuf.ByteString value)
        string owner = 5 [json_name = "owner"];
        Parameters:
        value - The bytes for owner to set.
        Returns:
        This builder for chaining.
      • setPublic

        public ListAdvertisingRequest.Builder setPublic​(boolean value)
        bool public = 6 [json_name = "public"];
        Parameters:
        value - The public to set.
        Returns:
        This builder for chaining.
      • setTemp

        public ListAdvertisingRequest.Builder setTemp​(boolean value)
        bool temp = 7 [json_name = "temp"];
        Parameters:
        value - The temp to set.
        Returns:
        This builder for chaining.
      • setExpiration

        public ListAdvertisingRequest.Builder setExpiration​(int value)
        int32 expiration = 8 [json_name = "expiration"];
        Parameters:
        value - The expiration to set.
        Returns:
        This builder for chaining.
      • clearExpiration

        public ListAdvertisingRequest.Builder clearExpiration()
        int32 expiration = 8 [json_name = "expiration"];
        Returns:
        This builder for chaining.
      • getWithoutList

        public java.util.List<java.lang.String> getWithoutList()
        repeated string without = 9 [json_name = "without"];
        Specified by:
        getWithoutList in interface ListAdvertisingRequestOrBuilder
        Returns:
        A list containing the without.
      • getWithout

        public java.lang.String getWithout​(int index)
        repeated string without = 9 [json_name = "without"];
        Specified by:
        getWithout in interface ListAdvertisingRequestOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The without at the given index.
      • getWithoutBytes

        public com.google.protobuf.ByteString getWithoutBytes​(int index)
        repeated string without = 9 [json_name = "without"];
        Specified by:
        getWithoutBytes in interface ListAdvertisingRequestOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the without at the given index.
      • setWithout

        public ListAdvertisingRequest.Builder setWithout​(int index,
                                                         java.lang.String value)
        repeated string without = 9 [json_name = "without"];
        Parameters:
        index - The index to set the value at.
        value - The without to set.
        Returns:
        This builder for chaining.
      • addWithout

        public ListAdvertisingRequest.Builder addWithout​(java.lang.String value)
        repeated string without = 9 [json_name = "without"];
        Parameters:
        value - The without to add.
        Returns:
        This builder for chaining.
      • addAllWithout

        public ListAdvertisingRequest.Builder addAllWithout​(java.lang.Iterable<java.lang.String> values)
        repeated string without = 9 [json_name = "without"];
        Parameters:
        values - The without to add.
        Returns:
        This builder for chaining.
      • clearWithout

        public ListAdvertisingRequest.Builder clearWithout()
        repeated string without = 9 [json_name = "without"];
        Returns:
        This builder for chaining.
      • addWithoutBytes

        public ListAdvertisingRequest.Builder addWithoutBytes​(com.google.protobuf.ByteString value)
        repeated string without = 9 [json_name = "without"];
        Parameters:
        value - The bytes of the without to add.
        Returns:
        This builder for chaining.
      • hasFilter

        public boolean hasFilter()
        .streamlayer.files.ListAdvertisingRequest.Filter filter = 10 [json_name = "filter"];
        Specified by:
        hasFilter in interface ListAdvertisingRequestOrBuilder
        Returns:
        Whether the filter field is set.
      • clearFilter

        public ListAdvertisingRequest.Builder clearFilter()
        .streamlayer.files.ListAdvertisingRequest.Filter filter = 10 [json_name = "filter"];
      • getTagsList

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

        public java.lang.String getTags​(int index)
        repeated string tags = 11 [json_name = "tags"];
        Specified by:
        getTags in interface ListAdvertisingRequestOrBuilder
        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)
        repeated string tags = 11 [json_name = "tags"];
        Specified by:
        getTagsBytes in interface ListAdvertisingRequestOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the tags at the given index.
      • setTags

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

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

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

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