Class RuleBasedUserListInfo.Builder

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

    public static final class RuleBasedUserListInfo.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<RuleBasedUserListInfo.Builder>
    implements RuleBasedUserListInfoOrBuilder
     Representation of a userlist that is generated by a rule.
     
    Protobuf type google.ads.googleads.v10.common.RuleBasedUserListInfo
    • 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<RuleBasedUserListInfo.Builder>
      • clear

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

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

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

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

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

        public RuleBasedUserListInfo.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<RuleBasedUserListInfo.Builder>
      • clearField

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

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

        public RuleBasedUserListInfo.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<RuleBasedUserListInfo.Builder>
      • addRepeatedField

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

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

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

        public int getPrepopulationStatusValue()
         The status of pre-population. The field is default to NONE if not set which
         means the previous users will not be considered. If set to REQUESTED, past
         site visitors or app users who match the list definition will be included
         in the list (works on the Display Network only). This will only
         add past users from within the last 30 days, depending on the
         list's membership duration and the date when the remarketing tag is added.
         The status will be updated to FINISHED once request is processed, or FAILED
         if the request fails.
         
        .google.ads.googleads.v10.enums.UserListPrepopulationStatusEnum.UserListPrepopulationStatus prepopulation_status = 1;
        Specified by:
        getPrepopulationStatusValue in interface RuleBasedUserListInfoOrBuilder
        Returns:
        The enum numeric value on the wire for prepopulationStatus.
      • setPrepopulationStatusValue

        public RuleBasedUserListInfo.Builder setPrepopulationStatusValue​(int value)
         The status of pre-population. The field is default to NONE if not set which
         means the previous users will not be considered. If set to REQUESTED, past
         site visitors or app users who match the list definition will be included
         in the list (works on the Display Network only). This will only
         add past users from within the last 30 days, depending on the
         list's membership duration and the date when the remarketing tag is added.
         The status will be updated to FINISHED once request is processed, or FAILED
         if the request fails.
         
        .google.ads.googleads.v10.enums.UserListPrepopulationStatusEnum.UserListPrepopulationStatus prepopulation_status = 1;
        Parameters:
        value - The enum numeric value on the wire for prepopulationStatus to set.
        Returns:
        This builder for chaining.
      • getPrepopulationStatus

        public UserListPrepopulationStatusEnum.UserListPrepopulationStatus getPrepopulationStatus()
         The status of pre-population. The field is default to NONE if not set which
         means the previous users will not be considered. If set to REQUESTED, past
         site visitors or app users who match the list definition will be included
         in the list (works on the Display Network only). This will only
         add past users from within the last 30 days, depending on the
         list's membership duration and the date when the remarketing tag is added.
         The status will be updated to FINISHED once request is processed, or FAILED
         if the request fails.
         
        .google.ads.googleads.v10.enums.UserListPrepopulationStatusEnum.UserListPrepopulationStatus prepopulation_status = 1;
        Specified by:
        getPrepopulationStatus in interface RuleBasedUserListInfoOrBuilder
        Returns:
        The prepopulationStatus.
      • setPrepopulationStatus

        public RuleBasedUserListInfo.Builder setPrepopulationStatus​(UserListPrepopulationStatusEnum.UserListPrepopulationStatus value)
         The status of pre-population. The field is default to NONE if not set which
         means the previous users will not be considered. If set to REQUESTED, past
         site visitors or app users who match the list definition will be included
         in the list (works on the Display Network only). This will only
         add past users from within the last 30 days, depending on the
         list's membership duration and the date when the remarketing tag is added.
         The status will be updated to FINISHED once request is processed, or FAILED
         if the request fails.
         
        .google.ads.googleads.v10.enums.UserListPrepopulationStatusEnum.UserListPrepopulationStatus prepopulation_status = 1;
        Parameters:
        value - The prepopulationStatus to set.
        Returns:
        This builder for chaining.
      • clearPrepopulationStatus

        public RuleBasedUserListInfo.Builder clearPrepopulationStatus()
         The status of pre-population. The field is default to NONE if not set which
         means the previous users will not be considered. If set to REQUESTED, past
         site visitors or app users who match the list definition will be included
         in the list (works on the Display Network only). This will only
         add past users from within the last 30 days, depending on the
         list's membership duration and the date when the remarketing tag is added.
         The status will be updated to FINISHED once request is processed, or FAILED
         if the request fails.
         
        .google.ads.googleads.v10.enums.UserListPrepopulationStatusEnum.UserListPrepopulationStatus prepopulation_status = 1;
        Returns:
        This builder for chaining.
      • hasCombinedRuleUserList

        public boolean hasCombinedRuleUserList()
         User lists defined by combining two rules.
         There are two operators: AND, where the left and right operands have to
         be true; AND_NOT where left operand is true but right operand is false.
         
        .google.ads.googleads.v10.common.CombinedRuleUserListInfo combined_rule_user_list = 2;
        Specified by:
        hasCombinedRuleUserList in interface RuleBasedUserListInfoOrBuilder
        Returns:
        Whether the combinedRuleUserList field is set.
      • getCombinedRuleUserList

        public CombinedRuleUserListInfo getCombinedRuleUserList()
         User lists defined by combining two rules.
         There are two operators: AND, where the left and right operands have to
         be true; AND_NOT where left operand is true but right operand is false.
         
        .google.ads.googleads.v10.common.CombinedRuleUserListInfo combined_rule_user_list = 2;
        Specified by:
        getCombinedRuleUserList in interface RuleBasedUserListInfoOrBuilder
        Returns:
        The combinedRuleUserList.
      • setCombinedRuleUserList

        public RuleBasedUserListInfo.Builder setCombinedRuleUserList​(CombinedRuleUserListInfo value)
         User lists defined by combining two rules.
         There are two operators: AND, where the left and right operands have to
         be true; AND_NOT where left operand is true but right operand is false.
         
        .google.ads.googleads.v10.common.CombinedRuleUserListInfo combined_rule_user_list = 2;
      • setCombinedRuleUserList

        public RuleBasedUserListInfo.Builder setCombinedRuleUserList​(CombinedRuleUserListInfo.Builder builderForValue)
         User lists defined by combining two rules.
         There are two operators: AND, where the left and right operands have to
         be true; AND_NOT where left operand is true but right operand is false.
         
        .google.ads.googleads.v10.common.CombinedRuleUserListInfo combined_rule_user_list = 2;
      • mergeCombinedRuleUserList

        public RuleBasedUserListInfo.Builder mergeCombinedRuleUserList​(CombinedRuleUserListInfo value)
         User lists defined by combining two rules.
         There are two operators: AND, where the left and right operands have to
         be true; AND_NOT where left operand is true but right operand is false.
         
        .google.ads.googleads.v10.common.CombinedRuleUserListInfo combined_rule_user_list = 2;
      • clearCombinedRuleUserList

        public RuleBasedUserListInfo.Builder clearCombinedRuleUserList()
         User lists defined by combining two rules.
         There are two operators: AND, where the left and right operands have to
         be true; AND_NOT where left operand is true but right operand is false.
         
        .google.ads.googleads.v10.common.CombinedRuleUserListInfo combined_rule_user_list = 2;
      • getCombinedRuleUserListBuilder

        public CombinedRuleUserListInfo.Builder getCombinedRuleUserListBuilder()
         User lists defined by combining two rules.
         There are two operators: AND, where the left and right operands have to
         be true; AND_NOT where left operand is true but right operand is false.
         
        .google.ads.googleads.v10.common.CombinedRuleUserListInfo combined_rule_user_list = 2;
      • getCombinedRuleUserListOrBuilder

        public CombinedRuleUserListInfoOrBuilder getCombinedRuleUserListOrBuilder()
         User lists defined by combining two rules.
         There are two operators: AND, where the left and right operands have to
         be true; AND_NOT where left operand is true but right operand is false.
         
        .google.ads.googleads.v10.common.CombinedRuleUserListInfo combined_rule_user_list = 2;
        Specified by:
        getCombinedRuleUserListOrBuilder in interface RuleBasedUserListInfoOrBuilder
      • hasDateSpecificRuleUserList

        public boolean hasDateSpecificRuleUserList()
         Visitors of a page during specific dates. The visiting periods are
         defined as follows:
         Between start_date (inclusive) and end_date (inclusive);
         Before end_date (exclusive) with start_date = 2000-01-01;
         After start_date (exclusive) with end_date = 2037-12-30.
         
        .google.ads.googleads.v10.common.DateSpecificRuleUserListInfo date_specific_rule_user_list = 3;
        Specified by:
        hasDateSpecificRuleUserList in interface RuleBasedUserListInfoOrBuilder
        Returns:
        Whether the dateSpecificRuleUserList field is set.
      • getDateSpecificRuleUserList

        public DateSpecificRuleUserListInfo getDateSpecificRuleUserList()
         Visitors of a page during specific dates. The visiting periods are
         defined as follows:
         Between start_date (inclusive) and end_date (inclusive);
         Before end_date (exclusive) with start_date = 2000-01-01;
         After start_date (exclusive) with end_date = 2037-12-30.
         
        .google.ads.googleads.v10.common.DateSpecificRuleUserListInfo date_specific_rule_user_list = 3;
        Specified by:
        getDateSpecificRuleUserList in interface RuleBasedUserListInfoOrBuilder
        Returns:
        The dateSpecificRuleUserList.
      • setDateSpecificRuleUserList

        public RuleBasedUserListInfo.Builder setDateSpecificRuleUserList​(DateSpecificRuleUserListInfo value)
         Visitors of a page during specific dates. The visiting periods are
         defined as follows:
         Between start_date (inclusive) and end_date (inclusive);
         Before end_date (exclusive) with start_date = 2000-01-01;
         After start_date (exclusive) with end_date = 2037-12-30.
         
        .google.ads.googleads.v10.common.DateSpecificRuleUserListInfo date_specific_rule_user_list = 3;
      • setDateSpecificRuleUserList

        public RuleBasedUserListInfo.Builder setDateSpecificRuleUserList​(DateSpecificRuleUserListInfo.Builder builderForValue)
         Visitors of a page during specific dates. The visiting periods are
         defined as follows:
         Between start_date (inclusive) and end_date (inclusive);
         Before end_date (exclusive) with start_date = 2000-01-01;
         After start_date (exclusive) with end_date = 2037-12-30.
         
        .google.ads.googleads.v10.common.DateSpecificRuleUserListInfo date_specific_rule_user_list = 3;
      • mergeDateSpecificRuleUserList

        public RuleBasedUserListInfo.Builder mergeDateSpecificRuleUserList​(DateSpecificRuleUserListInfo value)
         Visitors of a page during specific dates. The visiting periods are
         defined as follows:
         Between start_date (inclusive) and end_date (inclusive);
         Before end_date (exclusive) with start_date = 2000-01-01;
         After start_date (exclusive) with end_date = 2037-12-30.
         
        .google.ads.googleads.v10.common.DateSpecificRuleUserListInfo date_specific_rule_user_list = 3;
      • clearDateSpecificRuleUserList

        public RuleBasedUserListInfo.Builder clearDateSpecificRuleUserList()
         Visitors of a page during specific dates. The visiting periods are
         defined as follows:
         Between start_date (inclusive) and end_date (inclusive);
         Before end_date (exclusive) with start_date = 2000-01-01;
         After start_date (exclusive) with end_date = 2037-12-30.
         
        .google.ads.googleads.v10.common.DateSpecificRuleUserListInfo date_specific_rule_user_list = 3;
      • getDateSpecificRuleUserListBuilder

        public DateSpecificRuleUserListInfo.Builder getDateSpecificRuleUserListBuilder()
         Visitors of a page during specific dates. The visiting periods are
         defined as follows:
         Between start_date (inclusive) and end_date (inclusive);
         Before end_date (exclusive) with start_date = 2000-01-01;
         After start_date (exclusive) with end_date = 2037-12-30.
         
        .google.ads.googleads.v10.common.DateSpecificRuleUserListInfo date_specific_rule_user_list = 3;
      • getDateSpecificRuleUserListOrBuilder

        public DateSpecificRuleUserListInfoOrBuilder getDateSpecificRuleUserListOrBuilder()
         Visitors of a page during specific dates. The visiting periods are
         defined as follows:
         Between start_date (inclusive) and end_date (inclusive);
         Before end_date (exclusive) with start_date = 2000-01-01;
         After start_date (exclusive) with end_date = 2037-12-30.
         
        .google.ads.googleads.v10.common.DateSpecificRuleUserListInfo date_specific_rule_user_list = 3;
        Specified by:
        getDateSpecificRuleUserListOrBuilder in interface RuleBasedUserListInfoOrBuilder
      • hasExpressionRuleUserList

        public boolean hasExpressionRuleUserList()
         Visitors of a page. The page visit is defined by one boolean rule
         expression.
         
        .google.ads.googleads.v10.common.ExpressionRuleUserListInfo expression_rule_user_list = 4;
        Specified by:
        hasExpressionRuleUserList in interface RuleBasedUserListInfoOrBuilder
        Returns:
        Whether the expressionRuleUserList field is set.
      • setExpressionRuleUserList

        public RuleBasedUserListInfo.Builder setExpressionRuleUserList​(ExpressionRuleUserListInfo value)
         Visitors of a page. The page visit is defined by one boolean rule
         expression.
         
        .google.ads.googleads.v10.common.ExpressionRuleUserListInfo expression_rule_user_list = 4;
      • setExpressionRuleUserList

        public RuleBasedUserListInfo.Builder setExpressionRuleUserList​(ExpressionRuleUserListInfo.Builder builderForValue)
         Visitors of a page. The page visit is defined by one boolean rule
         expression.
         
        .google.ads.googleads.v10.common.ExpressionRuleUserListInfo expression_rule_user_list = 4;
      • mergeExpressionRuleUserList

        public RuleBasedUserListInfo.Builder mergeExpressionRuleUserList​(ExpressionRuleUserListInfo value)
         Visitors of a page. The page visit is defined by one boolean rule
         expression.
         
        .google.ads.googleads.v10.common.ExpressionRuleUserListInfo expression_rule_user_list = 4;
      • clearExpressionRuleUserList

        public RuleBasedUserListInfo.Builder clearExpressionRuleUserList()
         Visitors of a page. The page visit is defined by one boolean rule
         expression.
         
        .google.ads.googleads.v10.common.ExpressionRuleUserListInfo expression_rule_user_list = 4;
      • getExpressionRuleUserListBuilder

        public ExpressionRuleUserListInfo.Builder getExpressionRuleUserListBuilder()
         Visitors of a page. The page visit is defined by one boolean rule
         expression.
         
        .google.ads.googleads.v10.common.ExpressionRuleUserListInfo expression_rule_user_list = 4;
      • setUnknownFields

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

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