Class FlexibleRuleUserListInfo

  • All Implemented Interfaces:
    FlexibleRuleUserListInfoOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, java.io.Serializable

    public final class FlexibleRuleUserListInfo
    extends com.google.protobuf.GeneratedMessageV3
    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.v14.common.FlexibleRuleUserListInfo
    See Also:
    Serialized Form
    • Field Detail

      • INCLUSIVE_RULE_OPERATOR_FIELD_NUMBER

        public static final int INCLUSIVE_RULE_OPERATOR_FIELD_NUMBER
        See Also:
        Constant Field Values
      • INCLUSIVE_OPERANDS_FIELD_NUMBER

        public static final int INCLUSIVE_OPERANDS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • EXCLUSIVE_OPERANDS_FIELD_NUMBER

        public static final int EXCLUSIVE_OPERANDS_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected java.lang.Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • 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
      • getInclusiveRuleOperatorValue

        public int getInclusiveRuleOperatorValue()
         Operator that defines how the inclusive operands are combined.
         
        .google.ads.googleads.v14.enums.UserListFlexibleRuleOperatorEnum.UserListFlexibleRuleOperator inclusive_rule_operator = 1;
        Specified by:
        getInclusiveRuleOperatorValue in interface FlexibleRuleUserListInfoOrBuilder
        Returns:
        The enum numeric value on the wire for inclusiveRuleOperator.
      • 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.v14.common.FlexibleRuleOperandInfo inclusive_operands = 2;
        Specified by:
        getInclusiveOperandsList 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.v14.common.FlexibleRuleOperandInfo inclusive_operands = 2;
        Specified by:
        getInclusiveOperandsOrBuilderList 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.v14.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.v14.common.FlexibleRuleOperandInfo inclusive_operands = 2;
        Specified by:
        getInclusiveOperands in interface FlexibleRuleUserListInfoOrBuilder
      • 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.v14.common.FlexibleRuleOperandInfo inclusive_operands = 2;
        Specified by:
        getInclusiveOperandsOrBuilder in interface FlexibleRuleUserListInfoOrBuilder
      • 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.v14.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.v14.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.v14.common.FlexibleRuleOperandInfo exclusive_operands = 3;
        Specified by:
        getExclusiveOperands in interface FlexibleRuleUserListInfoOrBuilder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws java.io.IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        java.io.IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(java.lang.Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static FlexibleRuleUserListInfo parseFrom​(java.nio.ByteBuffer data)
                                                  throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static FlexibleRuleUserListInfo parseFrom​(java.nio.ByteBuffer data,
                                                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                  throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static FlexibleRuleUserListInfo parseFrom​(com.google.protobuf.ByteString data)
                                                  throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static FlexibleRuleUserListInfo parseFrom​(com.google.protobuf.ByteString data,
                                                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                  throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static FlexibleRuleUserListInfo parseFrom​(byte[] data)
                                                  throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static FlexibleRuleUserListInfo parseFrom​(byte[] data,
                                                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                  throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static FlexibleRuleUserListInfo parseFrom​(java.io.InputStream input)
                                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static FlexibleRuleUserListInfo parseFrom​(java.io.InputStream input,
                                                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static FlexibleRuleUserListInfo parseDelimitedFrom​(java.io.InputStream input)
                                                           throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static FlexibleRuleUserListInfo parseDelimitedFrom​(java.io.InputStream input,
                                                                  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                           throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static FlexibleRuleUserListInfo parseFrom​(com.google.protobuf.CodedInputStream input)
                                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static FlexibleRuleUserListInfo parseFrom​(com.google.protobuf.CodedInputStream input,
                                                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • newBuilderForType

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

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

        protected FlexibleRuleUserListInfo.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<FlexibleRuleUserListInfo> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

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