Class FlexibleRuleUserListInfo.Builder

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

    public static final class FlexibleRuleUserListInfo.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<FlexibleRuleUserListInfo.Builder>
    implements FlexibleRuleUserListInfoOrBuilder
     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.
     
    Protobuf type google.ads.googleads.v15.common.FlexibleRuleUserListInfo
    • 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<FlexibleRuleUserListInfo.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<FlexibleRuleUserListInfo.Builder>
      • getDefaultInstanceForType

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

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

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

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

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

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

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

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

        public int getInclusiveRuleOperatorValue()
         Operator that defines how the inclusive operands are combined.
         
        .google.ads.googleads.v15.enums.UserListFlexibleRuleOperatorEnum.UserListFlexibleRuleOperator inclusive_rule_operator = 1;
        Specified by:
        getInclusiveRuleOperatorValue in interface FlexibleRuleUserListInfoOrBuilder
        Returns:
        The enum numeric value on the wire for inclusiveRuleOperator.
      • setInclusiveRuleOperatorValue

        public FlexibleRuleUserListInfo.Builder setInclusiveRuleOperatorValue​(int value)
         Operator that defines how the inclusive operands are combined.
         
        .google.ads.googleads.v15.enums.UserListFlexibleRuleOperatorEnum.UserListFlexibleRuleOperator inclusive_rule_operator = 1;
        Parameters:
        value - The enum numeric value on the wire for inclusiveRuleOperator to set.
        Returns:
        This builder for chaining.
      • clearInclusiveRuleOperator

        public FlexibleRuleUserListInfo.Builder clearInclusiveRuleOperator()
         Operator that defines how the inclusive operands are combined.
         
        .google.ads.googleads.v15.enums.UserListFlexibleRuleOperatorEnum.UserListFlexibleRuleOperator inclusive_rule_operator = 1;
        Returns:
        This builder for chaining.
      • getInclusiveOperandsList

        public java.util.List<FlexibleRuleOperandInfo> getInclusiveOperandsList()
         Rules representing users that should be included in the user list. These
         are located on the left side of the AND_NOT operator, and joined together
         by either AND/OR as specified by the inclusive_rule_operator.
         
        repeated .google.ads.googleads.v15.common.FlexibleRuleOperandInfo inclusive_operands = 2;
        Specified by:
        getInclusiveOperandsList in interface FlexibleRuleUserListInfoOrBuilder
      • getInclusiveOperandsCount

        public int getInclusiveOperandsCount()
         Rules representing users that should be included in the user list. These
         are located on the left side of the AND_NOT operator, and joined together
         by either AND/OR as specified by the inclusive_rule_operator.
         
        repeated .google.ads.googleads.v15.common.FlexibleRuleOperandInfo inclusive_operands = 2;
        Specified by:
        getInclusiveOperandsCount in interface FlexibleRuleUserListInfoOrBuilder
      • getInclusiveOperands

        public FlexibleRuleOperandInfo getInclusiveOperands​(int index)
         Rules representing users that should be included in the user list. These
         are located on the left side of the AND_NOT operator, and joined together
         by either AND/OR as specified by the inclusive_rule_operator.
         
        repeated .google.ads.googleads.v15.common.FlexibleRuleOperandInfo inclusive_operands = 2;
        Specified by:
        getInclusiveOperands in interface FlexibleRuleUserListInfoOrBuilder
      • setInclusiveOperands

        public FlexibleRuleUserListInfo.Builder setInclusiveOperands​(int index,
                                                                     FlexibleRuleOperandInfo value)
         Rules representing users that should be included in the user list. These
         are located on the left side of the AND_NOT operator, and joined together
         by either AND/OR as specified by the inclusive_rule_operator.
         
        repeated .google.ads.googleads.v15.common.FlexibleRuleOperandInfo inclusive_operands = 2;
      • setInclusiveOperands

        public FlexibleRuleUserListInfo.Builder setInclusiveOperands​(int index,
                                                                     FlexibleRuleOperandInfo.Builder builderForValue)
         Rules representing users that should be included in the user list. These
         are located on the left side of the AND_NOT operator, and joined together
         by either AND/OR as specified by the inclusive_rule_operator.
         
        repeated .google.ads.googleads.v15.common.FlexibleRuleOperandInfo inclusive_operands = 2;
      • addInclusiveOperands

        public FlexibleRuleUserListInfo.Builder addInclusiveOperands​(FlexibleRuleOperandInfo value)
         Rules representing users that should be included in the user list. These
         are located on the left side of the AND_NOT operator, and joined together
         by either AND/OR as specified by the inclusive_rule_operator.
         
        repeated .google.ads.googleads.v15.common.FlexibleRuleOperandInfo inclusive_operands = 2;
      • addInclusiveOperands

        public FlexibleRuleUserListInfo.Builder addInclusiveOperands​(int index,
                                                                     FlexibleRuleOperandInfo value)
         Rules representing users that should be included in the user list. These
         are located on the left side of the AND_NOT operator, and joined together
         by either AND/OR as specified by the inclusive_rule_operator.
         
        repeated .google.ads.googleads.v15.common.FlexibleRuleOperandInfo inclusive_operands = 2;
      • addInclusiveOperands

        public FlexibleRuleUserListInfo.Builder addInclusiveOperands​(FlexibleRuleOperandInfo.Builder builderForValue)
         Rules representing users that should be included in the user list. These
         are located on the left side of the AND_NOT operator, and joined together
         by either AND/OR as specified by the inclusive_rule_operator.
         
        repeated .google.ads.googleads.v15.common.FlexibleRuleOperandInfo inclusive_operands = 2;
      • addInclusiveOperands

        public FlexibleRuleUserListInfo.Builder addInclusiveOperands​(int index,
                                                                     FlexibleRuleOperandInfo.Builder builderForValue)
         Rules representing users that should be included in the user list. These
         are located on the left side of the AND_NOT operator, and joined together
         by either AND/OR as specified by the inclusive_rule_operator.
         
        repeated .google.ads.googleads.v15.common.FlexibleRuleOperandInfo inclusive_operands = 2;
      • addAllInclusiveOperands

        public FlexibleRuleUserListInfo.Builder addAllInclusiveOperands​(java.lang.Iterable<? extends FlexibleRuleOperandInfo> values)
         Rules representing users that should be included in the user list. These
         are located on the left side of the AND_NOT operator, and joined together
         by either AND/OR as specified by the inclusive_rule_operator.
         
        repeated .google.ads.googleads.v15.common.FlexibleRuleOperandInfo inclusive_operands = 2;
      • clearInclusiveOperands

        public FlexibleRuleUserListInfo.Builder clearInclusiveOperands()
         Rules representing users that should be included in the user list. These
         are located on the left side of the AND_NOT operator, and joined together
         by either AND/OR as specified by the inclusive_rule_operator.
         
        repeated .google.ads.googleads.v15.common.FlexibleRuleOperandInfo inclusive_operands = 2;
      • removeInclusiveOperands

        public FlexibleRuleUserListInfo.Builder removeInclusiveOperands​(int index)
         Rules representing users that should be included in the user list. These
         are located on the left side of the AND_NOT operator, and joined together
         by either AND/OR as specified by the inclusive_rule_operator.
         
        repeated .google.ads.googleads.v15.common.FlexibleRuleOperandInfo inclusive_operands = 2;
      • getInclusiveOperandsBuilder

        public FlexibleRuleOperandInfo.Builder getInclusiveOperandsBuilder​(int index)
         Rules representing users that should be included in the user list. These
         are located on the left side of the AND_NOT operator, and joined together
         by either AND/OR as specified by the inclusive_rule_operator.
         
        repeated .google.ads.googleads.v15.common.FlexibleRuleOperandInfo inclusive_operands = 2;
      • getInclusiveOperandsOrBuilder

        public FlexibleRuleOperandInfoOrBuilder getInclusiveOperandsOrBuilder​(int index)
         Rules representing users that should be included in the user list. These
         are located on the left side of the AND_NOT operator, and joined together
         by either AND/OR as specified by the inclusive_rule_operator.
         
        repeated .google.ads.googleads.v15.common.FlexibleRuleOperandInfo inclusive_operands = 2;
        Specified by:
        getInclusiveOperandsOrBuilder in interface FlexibleRuleUserListInfoOrBuilder
      • getInclusiveOperandsOrBuilderList

        public java.util.List<? extends FlexibleRuleOperandInfoOrBuilder> getInclusiveOperandsOrBuilderList()
         Rules representing users that should be included in the user list. These
         are located on the left side of the AND_NOT operator, and joined together
         by either AND/OR as specified by the inclusive_rule_operator.
         
        repeated .google.ads.googleads.v15.common.FlexibleRuleOperandInfo inclusive_operands = 2;
        Specified by:
        getInclusiveOperandsOrBuilderList in interface FlexibleRuleUserListInfoOrBuilder
      • addInclusiveOperandsBuilder

        public FlexibleRuleOperandInfo.Builder addInclusiveOperandsBuilder()
         Rules representing users that should be included in the user list. These
         are located on the left side of the AND_NOT operator, and joined together
         by either AND/OR as specified by the inclusive_rule_operator.
         
        repeated .google.ads.googleads.v15.common.FlexibleRuleOperandInfo inclusive_operands = 2;
      • addInclusiveOperandsBuilder

        public FlexibleRuleOperandInfo.Builder addInclusiveOperandsBuilder​(int index)
         Rules representing users that should be included in the user list. These
         are located on the left side of the AND_NOT operator, and joined together
         by either AND/OR as specified by the inclusive_rule_operator.
         
        repeated .google.ads.googleads.v15.common.FlexibleRuleOperandInfo inclusive_operands = 2;
      • getInclusiveOperandsBuilderList

        public java.util.List<FlexibleRuleOperandInfo.Builder> getInclusiveOperandsBuilderList()
         Rules representing users that should be included in the user list. These
         are located on the left side of the AND_NOT operator, and joined together
         by either AND/OR as specified by the inclusive_rule_operator.
         
        repeated .google.ads.googleads.v15.common.FlexibleRuleOperandInfo inclusive_operands = 2;
      • getExclusiveOperandsList

        public java.util.List<FlexibleRuleOperandInfo> getExclusiveOperandsList()
         Rules representing users that should be excluded from the user list. These
         are located on the right side of the AND_NOT operator, and joined together
         by OR.
         
        repeated .google.ads.googleads.v15.common.FlexibleRuleOperandInfo exclusive_operands = 3;
        Specified by:
        getExclusiveOperandsList in interface FlexibleRuleUserListInfoOrBuilder
      • getExclusiveOperandsCount

        public int getExclusiveOperandsCount()
         Rules representing users that should be excluded from the user list. These
         are located on the right side of the AND_NOT operator, and joined together
         by OR.
         
        repeated .google.ads.googleads.v15.common.FlexibleRuleOperandInfo exclusive_operands = 3;
        Specified by:
        getExclusiveOperandsCount in interface FlexibleRuleUserListInfoOrBuilder
      • getExclusiveOperands

        public FlexibleRuleOperandInfo getExclusiveOperands​(int index)
         Rules representing users that should be excluded from the user list. These
         are located on the right side of the AND_NOT operator, and joined together
         by OR.
         
        repeated .google.ads.googleads.v15.common.FlexibleRuleOperandInfo exclusive_operands = 3;
        Specified by:
        getExclusiveOperands in interface FlexibleRuleUserListInfoOrBuilder
      • setExclusiveOperands

        public FlexibleRuleUserListInfo.Builder setExclusiveOperands​(int index,
                                                                     FlexibleRuleOperandInfo value)
         Rules representing users that should be excluded from the user list. These
         are located on the right side of the AND_NOT operator, and joined together
         by OR.
         
        repeated .google.ads.googleads.v15.common.FlexibleRuleOperandInfo exclusive_operands = 3;
      • setExclusiveOperands

        public FlexibleRuleUserListInfo.Builder setExclusiveOperands​(int index,
                                                                     FlexibleRuleOperandInfo.Builder builderForValue)
         Rules representing users that should be excluded from the user list. These
         are located on the right side of the AND_NOT operator, and joined together
         by OR.
         
        repeated .google.ads.googleads.v15.common.FlexibleRuleOperandInfo exclusive_operands = 3;
      • addExclusiveOperands

        public FlexibleRuleUserListInfo.Builder addExclusiveOperands​(FlexibleRuleOperandInfo value)
         Rules representing users that should be excluded from the user list. These
         are located on the right side of the AND_NOT operator, and joined together
         by OR.
         
        repeated .google.ads.googleads.v15.common.FlexibleRuleOperandInfo exclusive_operands = 3;
      • addExclusiveOperands

        public FlexibleRuleUserListInfo.Builder addExclusiveOperands​(int index,
                                                                     FlexibleRuleOperandInfo value)
         Rules representing users that should be excluded from the user list. These
         are located on the right side of the AND_NOT operator, and joined together
         by OR.
         
        repeated .google.ads.googleads.v15.common.FlexibleRuleOperandInfo exclusive_operands = 3;
      • addExclusiveOperands

        public FlexibleRuleUserListInfo.Builder addExclusiveOperands​(FlexibleRuleOperandInfo.Builder builderForValue)
         Rules representing users that should be excluded from the user list. These
         are located on the right side of the AND_NOT operator, and joined together
         by OR.
         
        repeated .google.ads.googleads.v15.common.FlexibleRuleOperandInfo exclusive_operands = 3;
      • addExclusiveOperands

        public FlexibleRuleUserListInfo.Builder addExclusiveOperands​(int index,
                                                                     FlexibleRuleOperandInfo.Builder builderForValue)
         Rules representing users that should be excluded from the user list. These
         are located on the right side of the AND_NOT operator, and joined together
         by OR.
         
        repeated .google.ads.googleads.v15.common.FlexibleRuleOperandInfo exclusive_operands = 3;
      • addAllExclusiveOperands

        public FlexibleRuleUserListInfo.Builder addAllExclusiveOperands​(java.lang.Iterable<? extends FlexibleRuleOperandInfo> values)
         Rules representing users that should be excluded from the user list. These
         are located on the right side of the AND_NOT operator, and joined together
         by OR.
         
        repeated .google.ads.googleads.v15.common.FlexibleRuleOperandInfo exclusive_operands = 3;
      • clearExclusiveOperands

        public FlexibleRuleUserListInfo.Builder clearExclusiveOperands()
         Rules representing users that should be excluded from the user list. These
         are located on the right side of the AND_NOT operator, and joined together
         by OR.
         
        repeated .google.ads.googleads.v15.common.FlexibleRuleOperandInfo exclusive_operands = 3;
      • removeExclusiveOperands

        public FlexibleRuleUserListInfo.Builder removeExclusiveOperands​(int index)
         Rules representing users that should be excluded from the user list. These
         are located on the right side of the AND_NOT operator, and joined together
         by OR.
         
        repeated .google.ads.googleads.v15.common.FlexibleRuleOperandInfo exclusive_operands = 3;
      • getExclusiveOperandsBuilder

        public FlexibleRuleOperandInfo.Builder getExclusiveOperandsBuilder​(int index)
         Rules representing users that should be excluded from the user list. These
         are located on the right side of the AND_NOT operator, and joined together
         by OR.
         
        repeated .google.ads.googleads.v15.common.FlexibleRuleOperandInfo exclusive_operands = 3;
      • addExclusiveOperandsBuilder

        public FlexibleRuleOperandInfo.Builder addExclusiveOperandsBuilder()
         Rules representing users that should be excluded from the user list. These
         are located on the right side of the AND_NOT operator, and joined together
         by OR.
         
        repeated .google.ads.googleads.v15.common.FlexibleRuleOperandInfo exclusive_operands = 3;
      • addExclusiveOperandsBuilder

        public FlexibleRuleOperandInfo.Builder addExclusiveOperandsBuilder​(int index)
         Rules representing users that should be excluded from the user list. These
         are located on the right side of the AND_NOT operator, and joined together
         by OR.
         
        repeated .google.ads.googleads.v15.common.FlexibleRuleOperandInfo exclusive_operands = 3;
      • getExclusiveOperandsBuilderList

        public java.util.List<FlexibleRuleOperandInfo.Builder> getExclusiveOperandsBuilderList()
         Rules representing users that should be excluded from the user list. These
         are located on the right side of the AND_NOT operator, and joined together
         by OR.
         
        repeated .google.ads.googleads.v15.common.FlexibleRuleOperandInfo exclusive_operands = 3;
      • setUnknownFields

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

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