Class DynamicAffiliateLocationSetFilter.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<DynamicAffiliateLocationSetFilter.Builder>
com.google.ads.googleads.v18.common.DynamicAffiliateLocationSetFilter.Builder
All Implemented Interfaces:
DynamicAffiliateLocationSetFilterOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
DynamicAffiliateLocationSetFilter

public static final class DynamicAffiliateLocationSetFilter.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DynamicAffiliateLocationSetFilter.Builder> implements DynamicAffiliateLocationSetFilterOrBuilder
 Represents a filter on affiliate locations in a FeedItemSet.
 Only applicable if the parent Feed of the FeedItemSet is an
 AFFILIATE_LOCATION feed.
 
Protobuf type google.ads.googleads.v18.common.DynamicAffiliateLocationSetFilter
  • Method Details

    • 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>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear 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

      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
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<DynamicAffiliateLocationSetFilter.Builder>
    • setField

      public DynamicAffiliateLocationSetFilter.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<DynamicAffiliateLocationSetFilter.Builder>
    • clearField

      public DynamicAffiliateLocationSetFilter.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<DynamicAffiliateLocationSetFilter.Builder>
    • clearOneof

      public DynamicAffiliateLocationSetFilter.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<DynamicAffiliateLocationSetFilter.Builder>
    • setRepeatedField

      public DynamicAffiliateLocationSetFilter.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DynamicAffiliateLocationSetFilter.Builder>
    • addRepeatedField

      public DynamicAffiliateLocationSetFilter.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DynamicAffiliateLocationSetFilter.Builder>
    • mergeFrom

      public DynamicAffiliateLocationSetFilter.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<DynamicAffiliateLocationSetFilter.Builder>
    • mergeFrom

    • 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 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:
      IOException
    • getChainIdsList

      public List<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(Iterable<? extends 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

       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.
    • setUnknownFields

      public final DynamicAffiliateLocationSetFilter.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DynamicAffiliateLocationSetFilter.Builder>
    • mergeUnknownFields

      public final DynamicAffiliateLocationSetFilter.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DynamicAffiliateLocationSetFilter.Builder>