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.v14.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.v14.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.v14.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.v14.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.v14.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.v14.enums.UserListPrepopulationStatusEnum.UserListPrepopulationStatus prepopulation_status = 1;
        Returns:
        This builder for chaining.
      • hasFlexibleRuleUserList

        public boolean hasFlexibleRuleUserList()
         Flexible rule representation of visitors with one or multiple actions. The
         flexible user list is defined by two lists of operands – inclusive_operands
         and exclusive_operands; each operand represents a set of users based on
         actions they took in a given timeframe. These lists of operands are
         combined with the AND_NOT operator, so that users represented by the
         inclusive operands are included in the user list, minus the users
         represented by the exclusive operands.
         
        .google.ads.googleads.v14.common.FlexibleRuleUserListInfo flexible_rule_user_list = 5;
        Specified by:
        hasFlexibleRuleUserList in interface RuleBasedUserListInfoOrBuilder
        Returns:
        Whether the flexibleRuleUserList field is set.
      • getFlexibleRuleUserList

        public FlexibleRuleUserListInfo getFlexibleRuleUserList()
         Flexible rule representation of visitors with one or multiple actions. The
         flexible user list is defined by two lists of operands – inclusive_operands
         and exclusive_operands; each operand represents a set of users based on
         actions they took in a given timeframe. These lists of operands are
         combined with the AND_NOT operator, so that users represented by the
         inclusive operands are included in the user list, minus the users
         represented by the exclusive operands.
         
        .google.ads.googleads.v14.common.FlexibleRuleUserListInfo flexible_rule_user_list = 5;
        Specified by:
        getFlexibleRuleUserList in interface RuleBasedUserListInfoOrBuilder
        Returns:
        The flexibleRuleUserList.
      • setFlexibleRuleUserList

        public RuleBasedUserListInfo.Builder setFlexibleRuleUserList​(FlexibleRuleUserListInfo value)
         Flexible rule representation of visitors with one or multiple actions. The
         flexible user list is defined by two lists of operands – inclusive_operands
         and exclusive_operands; each operand represents a set of users based on
         actions they took in a given timeframe. These lists of operands are
         combined with the AND_NOT operator, so that users represented by the
         inclusive operands are included in the user list, minus the users
         represented by the exclusive operands.
         
        .google.ads.googleads.v14.common.FlexibleRuleUserListInfo flexible_rule_user_list = 5;
      • setFlexibleRuleUserList

        public RuleBasedUserListInfo.Builder setFlexibleRuleUserList​(FlexibleRuleUserListInfo.Builder builderForValue)
         Flexible rule representation of visitors with one or multiple actions. The
         flexible user list is defined by two lists of operands – inclusive_operands
         and exclusive_operands; each operand represents a set of users based on
         actions they took in a given timeframe. These lists of operands are
         combined with the AND_NOT operator, so that users represented by the
         inclusive operands are included in the user list, minus the users
         represented by the exclusive operands.
         
        .google.ads.googleads.v14.common.FlexibleRuleUserListInfo flexible_rule_user_list = 5;
      • mergeFlexibleRuleUserList

        public RuleBasedUserListInfo.Builder mergeFlexibleRuleUserList​(FlexibleRuleUserListInfo value)
         Flexible rule representation of visitors with one or multiple actions. The
         flexible user list is defined by two lists of operands – inclusive_operands
         and exclusive_operands; each operand represents a set of users based on
         actions they took in a given timeframe. These lists of operands are
         combined with the AND_NOT operator, so that users represented by the
         inclusive operands are included in the user list, minus the users
         represented by the exclusive operands.
         
        .google.ads.googleads.v14.common.FlexibleRuleUserListInfo flexible_rule_user_list = 5;
      • clearFlexibleRuleUserList

        public RuleBasedUserListInfo.Builder clearFlexibleRuleUserList()
         Flexible rule representation of visitors with one or multiple actions. The
         flexible user list is defined by two lists of operands – inclusive_operands
         and exclusive_operands; each operand represents a set of users based on
         actions they took in a given timeframe. These lists of operands are
         combined with the AND_NOT operator, so that users represented by the
         inclusive operands are included in the user list, minus the users
         represented by the exclusive operands.
         
        .google.ads.googleads.v14.common.FlexibleRuleUserListInfo flexible_rule_user_list = 5;
      • getFlexibleRuleUserListBuilder

        public FlexibleRuleUserListInfo.Builder getFlexibleRuleUserListBuilder()
         Flexible rule representation of visitors with one or multiple actions. The
         flexible user list is defined by two lists of operands – inclusive_operands
         and exclusive_operands; each operand represents a set of users based on
         actions they took in a given timeframe. These lists of operands are
         combined with the AND_NOT operator, so that users represented by the
         inclusive operands are included in the user list, minus the users
         represented by the exclusive operands.
         
        .google.ads.googleads.v14.common.FlexibleRuleUserListInfo flexible_rule_user_list = 5;
      • getFlexibleRuleUserListOrBuilder

        public FlexibleRuleUserListInfoOrBuilder getFlexibleRuleUserListOrBuilder()
         Flexible rule representation of visitors with one or multiple actions. The
         flexible user list is defined by two lists of operands – inclusive_operands
         and exclusive_operands; each operand represents a set of users based on
         actions they took in a given timeframe. These lists of operands are
         combined with the AND_NOT operator, so that users represented by the
         inclusive operands are included in the user list, minus the users
         represented by the exclusive operands.
         
        .google.ads.googleads.v14.common.FlexibleRuleUserListInfo flexible_rule_user_list = 5;
        Specified by:
        getFlexibleRuleUserListOrBuilder in interface RuleBasedUserListInfoOrBuilder
      • 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>