Class DynamicAffiliateLocationSetFilter.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<DynamicAffiliateLocationSetFilter.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<DynamicAffiliateLocationSetFilter.Builder>
      • getDefaultInstanceForType

        public DynamicAffiliateLocationSetFilter getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public DynamicAffiliateLocationSetFilter build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public DynamicAffiliateLocationSetFilter buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<DynamicAffiliateLocationSetFilter.Builder>
      • mergeFrom

        public DynamicAffiliateLocationSetFilter.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                                   com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                            throws java.io.IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<DynamicAffiliateLocationSetFilter.Builder>
        Throws:
        java.io.IOException
      • getChainIdsList

        public java.util.List<java.lang.Long> getChainIdsList()
         Used to filter affiliate locations by chain ids. Only affiliate locations
         that belong to the specified chain(s) will be added to the FeedItemSet.
         
        repeated int64 chain_ids = 1;
        Specified by:
        getChainIdsList in interface DynamicAffiliateLocationSetFilterOrBuilder
        Returns:
        A list containing the chainIds.
      • getChainIdsCount

        public int getChainIdsCount()
         Used to filter affiliate locations by chain ids. Only affiliate locations
         that belong to the specified chain(s) will be added to the FeedItemSet.
         
        repeated int64 chain_ids = 1;
        Specified by:
        getChainIdsCount in interface DynamicAffiliateLocationSetFilterOrBuilder
        Returns:
        The count of chainIds.
      • getChainIds

        public long getChainIds​(int index)
         Used to filter affiliate locations by chain ids. Only affiliate locations
         that belong to the specified chain(s) will be added to the FeedItemSet.
         
        repeated int64 chain_ids = 1;
        Specified by:
        getChainIds in interface DynamicAffiliateLocationSetFilterOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The chainIds at the given index.
      • setChainIds

        public DynamicAffiliateLocationSetFilter.Builder setChainIds​(int index,
                                                                     long value)
         Used to filter affiliate locations by chain ids. Only affiliate locations
         that belong to the specified chain(s) will be added to the FeedItemSet.
         
        repeated int64 chain_ids = 1;
        Parameters:
        index - The index to set the value at.
        value - The chainIds to set.
        Returns:
        This builder for chaining.
      • addChainIds

        public DynamicAffiliateLocationSetFilter.Builder addChainIds​(long value)
         Used to filter affiliate locations by chain ids. Only affiliate locations
         that belong to the specified chain(s) will be added to the FeedItemSet.
         
        repeated int64 chain_ids = 1;
        Parameters:
        value - The chainIds to add.
        Returns:
        This builder for chaining.
      • addAllChainIds

        public DynamicAffiliateLocationSetFilter.Builder addAllChainIds​(java.lang.Iterable<? extends java.lang.Long> values)
         Used to filter affiliate locations by chain ids. Only affiliate locations
         that belong to the specified chain(s) will be added to the FeedItemSet.
         
        repeated int64 chain_ids = 1;
        Parameters:
        values - The chainIds to add.
        Returns:
        This builder for chaining.
      • clearChainIds

        public DynamicAffiliateLocationSetFilter.Builder clearChainIds()
         Used to filter affiliate locations by chain ids. Only affiliate locations
         that belong to the specified chain(s) will be added to the FeedItemSet.
         
        repeated int64 chain_ids = 1;
        Returns:
        This builder for chaining.