Class ChainLocationGroup.Builder

  • All Implemented Interfaces:
    ChainLocationGroupOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, java.lang.Cloneable
    Enclosing class:
    ChainLocationGroup

    public static final class ChainLocationGroup.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<ChainLocationGroup.Builder>
    implements ChainLocationGroupOrBuilder
     Represents information about a Chain dynamic location group.
     Only applicable if the sync level AssetSet's type is LOCATION_SYNC and
     sync source is chain.
     
    Protobuf type google.ads.googleads.v15.common.ChainLocationGroup
    • 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<ChainLocationGroup.Builder>
      • clear

        public ChainLocationGroup.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<ChainLocationGroup.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<ChainLocationGroup.Builder>
      • getDefaultInstanceForType

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

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

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

        public ChainLocationGroup.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<ChainLocationGroup.Builder>
      • setField

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

        public ChainLocationGroup.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<ChainLocationGroup.Builder>
      • clearOneof

        public ChainLocationGroup.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<ChainLocationGroup.Builder>
      • setRepeatedField

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

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

        public ChainLocationGroup.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<ChainLocationGroup.Builder>
      • isInitialized

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

        public ChainLocationGroup.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<ChainLocationGroup.Builder>
        Throws:
        java.io.IOException
      • getDynamicChainLocationGroupFiltersList

        public java.util.List<ChainFilter> getDynamicChainLocationGroupFiltersList()
         Used to filter chain locations by chain ids.
         Only Locations that belong to the specified chain(s) will be in the asset
         set.
         
        repeated .google.ads.googleads.v15.common.ChainFilter dynamic_chain_location_group_filters = 1;
        Specified by:
        getDynamicChainLocationGroupFiltersList in interface ChainLocationGroupOrBuilder
      • getDynamicChainLocationGroupFiltersCount

        public int getDynamicChainLocationGroupFiltersCount()
         Used to filter chain locations by chain ids.
         Only Locations that belong to the specified chain(s) will be in the asset
         set.
         
        repeated .google.ads.googleads.v15.common.ChainFilter dynamic_chain_location_group_filters = 1;
        Specified by:
        getDynamicChainLocationGroupFiltersCount in interface ChainLocationGroupOrBuilder
      • getDynamicChainLocationGroupFilters

        public ChainFilter getDynamicChainLocationGroupFilters​(int index)
         Used to filter chain locations by chain ids.
         Only Locations that belong to the specified chain(s) will be in the asset
         set.
         
        repeated .google.ads.googleads.v15.common.ChainFilter dynamic_chain_location_group_filters = 1;
        Specified by:
        getDynamicChainLocationGroupFilters in interface ChainLocationGroupOrBuilder
      • setDynamicChainLocationGroupFilters

        public ChainLocationGroup.Builder setDynamicChainLocationGroupFilters​(int index,
                                                                              ChainFilter value)
         Used to filter chain locations by chain ids.
         Only Locations that belong to the specified chain(s) will be in the asset
         set.
         
        repeated .google.ads.googleads.v15.common.ChainFilter dynamic_chain_location_group_filters = 1;
      • setDynamicChainLocationGroupFilters

        public ChainLocationGroup.Builder setDynamicChainLocationGroupFilters​(int index,
                                                                              ChainFilter.Builder builderForValue)
         Used to filter chain locations by chain ids.
         Only Locations that belong to the specified chain(s) will be in the asset
         set.
         
        repeated .google.ads.googleads.v15.common.ChainFilter dynamic_chain_location_group_filters = 1;
      • addDynamicChainLocationGroupFilters

        public ChainLocationGroup.Builder addDynamicChainLocationGroupFilters​(ChainFilter value)
         Used to filter chain locations by chain ids.
         Only Locations that belong to the specified chain(s) will be in the asset
         set.
         
        repeated .google.ads.googleads.v15.common.ChainFilter dynamic_chain_location_group_filters = 1;
      • addDynamicChainLocationGroupFilters

        public ChainLocationGroup.Builder addDynamicChainLocationGroupFilters​(int index,
                                                                              ChainFilter value)
         Used to filter chain locations by chain ids.
         Only Locations that belong to the specified chain(s) will be in the asset
         set.
         
        repeated .google.ads.googleads.v15.common.ChainFilter dynamic_chain_location_group_filters = 1;
      • addDynamicChainLocationGroupFilters

        public ChainLocationGroup.Builder addDynamicChainLocationGroupFilters​(ChainFilter.Builder builderForValue)
         Used to filter chain locations by chain ids.
         Only Locations that belong to the specified chain(s) will be in the asset
         set.
         
        repeated .google.ads.googleads.v15.common.ChainFilter dynamic_chain_location_group_filters = 1;
      • addDynamicChainLocationGroupFilters

        public ChainLocationGroup.Builder addDynamicChainLocationGroupFilters​(int index,
                                                                              ChainFilter.Builder builderForValue)
         Used to filter chain locations by chain ids.
         Only Locations that belong to the specified chain(s) will be in the asset
         set.
         
        repeated .google.ads.googleads.v15.common.ChainFilter dynamic_chain_location_group_filters = 1;
      • addAllDynamicChainLocationGroupFilters

        public ChainLocationGroup.Builder addAllDynamicChainLocationGroupFilters​(java.lang.Iterable<? extends ChainFilter> values)
         Used to filter chain locations by chain ids.
         Only Locations that belong to the specified chain(s) will be in the asset
         set.
         
        repeated .google.ads.googleads.v15.common.ChainFilter dynamic_chain_location_group_filters = 1;
      • clearDynamicChainLocationGroupFilters

        public ChainLocationGroup.Builder clearDynamicChainLocationGroupFilters()
         Used to filter chain locations by chain ids.
         Only Locations that belong to the specified chain(s) will be in the asset
         set.
         
        repeated .google.ads.googleads.v15.common.ChainFilter dynamic_chain_location_group_filters = 1;
      • removeDynamicChainLocationGroupFilters

        public ChainLocationGroup.Builder removeDynamicChainLocationGroupFilters​(int index)
         Used to filter chain locations by chain ids.
         Only Locations that belong to the specified chain(s) will be in the asset
         set.
         
        repeated .google.ads.googleads.v15.common.ChainFilter dynamic_chain_location_group_filters = 1;
      • getDynamicChainLocationGroupFiltersBuilder

        public ChainFilter.Builder getDynamicChainLocationGroupFiltersBuilder​(int index)
         Used to filter chain locations by chain ids.
         Only Locations that belong to the specified chain(s) will be in the asset
         set.
         
        repeated .google.ads.googleads.v15.common.ChainFilter dynamic_chain_location_group_filters = 1;
      • getDynamicChainLocationGroupFiltersOrBuilder

        public ChainFilterOrBuilder getDynamicChainLocationGroupFiltersOrBuilder​(int index)
         Used to filter chain locations by chain ids.
         Only Locations that belong to the specified chain(s) will be in the asset
         set.
         
        repeated .google.ads.googleads.v15.common.ChainFilter dynamic_chain_location_group_filters = 1;
        Specified by:
        getDynamicChainLocationGroupFiltersOrBuilder in interface ChainLocationGroupOrBuilder
      • getDynamicChainLocationGroupFiltersOrBuilderList

        public java.util.List<? extends ChainFilterOrBuilder> getDynamicChainLocationGroupFiltersOrBuilderList()
         Used to filter chain locations by chain ids.
         Only Locations that belong to the specified chain(s) will be in the asset
         set.
         
        repeated .google.ads.googleads.v15.common.ChainFilter dynamic_chain_location_group_filters = 1;
        Specified by:
        getDynamicChainLocationGroupFiltersOrBuilderList in interface ChainLocationGroupOrBuilder
      • addDynamicChainLocationGroupFiltersBuilder

        public ChainFilter.Builder addDynamicChainLocationGroupFiltersBuilder()
         Used to filter chain locations by chain ids.
         Only Locations that belong to the specified chain(s) will be in the asset
         set.
         
        repeated .google.ads.googleads.v15.common.ChainFilter dynamic_chain_location_group_filters = 1;
      • addDynamicChainLocationGroupFiltersBuilder

        public ChainFilter.Builder addDynamicChainLocationGroupFiltersBuilder​(int index)
         Used to filter chain locations by chain ids.
         Only Locations that belong to the specified chain(s) will be in the asset
         set.
         
        repeated .google.ads.googleads.v15.common.ChainFilter dynamic_chain_location_group_filters = 1;
      • getDynamicChainLocationGroupFiltersBuilderList

        public java.util.List<ChainFilter.Builder> getDynamicChainLocationGroupFiltersBuilderList()
         Used to filter chain locations by chain ids.
         Only Locations that belong to the specified chain(s) will be in the asset
         set.
         
        repeated .google.ads.googleads.v15.common.ChainFilter dynamic_chain_location_group_filters = 1;
      • setUnknownFields

        public final ChainLocationGroup.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<ChainLocationGroup.Builder>
      • mergeUnknownFields

        public final ChainLocationGroup.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<ChainLocationGroup.Builder>