Class FlexibleRuleUserListInfo.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<FlexibleRuleUserListInfo.Builder>
com.google.ads.googleads.v18.common.FlexibleRuleUserListInfo.Builder
All Implemented Interfaces:
FlexibleRuleUserListInfoOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, 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.v18.common.FlexibleRuleUserListInfo
  • 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<FlexibleRuleUserListInfo.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<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
    • 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<FlexibleRuleUserListInfo.Builder>
    • setField

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

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

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

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

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

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

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

      public int getInclusiveRuleOperatorValue()
       Operator that defines how the inclusive operands are combined.
       
      .google.ads.googleads.v18.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.v18.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.
    • getInclusiveRuleOperator

       Operator that defines how the inclusive operands are combined.
       
      .google.ads.googleads.v18.enums.UserListFlexibleRuleOperatorEnum.UserListFlexibleRuleOperator inclusive_rule_operator = 1;
      Specified by:
      getInclusiveRuleOperator in interface FlexibleRuleUserListInfoOrBuilder
      Returns:
      The inclusiveRuleOperator.
    • setInclusiveRuleOperator

       Operator that defines how the inclusive operands are combined.
       
      .google.ads.googleads.v18.enums.UserListFlexibleRuleOperatorEnum.UserListFlexibleRuleOperator inclusive_rule_operator = 1;
      Parameters:
      value - The 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.v18.enums.UserListFlexibleRuleOperatorEnum.UserListFlexibleRuleOperator inclusive_rule_operator = 1;
      Returns:
      This builder for chaining.
    • getInclusiveOperandsList

      public 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.v18.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.v18.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.v18.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.v18.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.v18.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.v18.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.v18.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.v18.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.v18.common.FlexibleRuleOperandInfo inclusive_operands = 2;
    • addAllInclusiveOperands

      public FlexibleRuleUserListInfo.Builder addAllInclusiveOperands(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.v18.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.v18.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.v18.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.v18.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.v18.common.FlexibleRuleOperandInfo inclusive_operands = 2;
      Specified by:
      getInclusiveOperandsOrBuilder in interface FlexibleRuleUserListInfoOrBuilder
    • getInclusiveOperandsOrBuilderList

      public 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.v18.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.v18.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.v18.common.FlexibleRuleOperandInfo inclusive_operands = 2;
    • getInclusiveOperandsBuilderList

      public 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.v18.common.FlexibleRuleOperandInfo inclusive_operands = 2;
    • getExclusiveOperandsList

      public 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.v18.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.v18.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.v18.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.v18.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.v18.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.v18.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.v18.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.v18.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.v18.common.FlexibleRuleOperandInfo exclusive_operands = 3;
    • addAllExclusiveOperands

      public FlexibleRuleUserListInfo.Builder addAllExclusiveOperands(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.v18.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.v18.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.v18.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.v18.common.FlexibleRuleOperandInfo exclusive_operands = 3;
    • getExclusiveOperandsOrBuilder

      public FlexibleRuleOperandInfoOrBuilder getExclusiveOperandsOrBuilder(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.v18.common.FlexibleRuleOperandInfo exclusive_operands = 3;
      Specified by:
      getExclusiveOperandsOrBuilder in interface FlexibleRuleUserListInfoOrBuilder
    • getExclusiveOperandsOrBuilderList

      public List<? extends FlexibleRuleOperandInfoOrBuilder> getExclusiveOperandsOrBuilderList()
       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.v18.common.FlexibleRuleOperandInfo exclusive_operands = 3;
      Specified by:
      getExclusiveOperandsOrBuilderList in interface FlexibleRuleUserListInfoOrBuilder
    • 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.v18.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.v18.common.FlexibleRuleOperandInfo exclusive_operands = 3;
    • getExclusiveOperandsBuilderList

      public 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.v18.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>