All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.ads.googleads.v17.common.RuleBasedUserListInfo Maven / Gradle / Ivy

The newest version!
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/ads/googleads/v17/common/user_lists.proto

// Protobuf Java Version: 3.25.3
package com.google.ads.googleads.v17.common;

/**
 * 
 * Representation of a userlist that is generated by a rule.
 * 
* * Protobuf type {@code google.ads.googleads.v17.common.RuleBasedUserListInfo} */ public final class RuleBasedUserListInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.ads.googleads.v17.common.RuleBasedUserListInfo) RuleBasedUserListInfoOrBuilder { private static final long serialVersionUID = 0L; // Use RuleBasedUserListInfo.newBuilder() to construct. private RuleBasedUserListInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private RuleBasedUserListInfo() { prepopulationStatus_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new RuleBasedUserListInfo(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.ads.googleads.v17.common.UserListsProto.internal_static_google_ads_googleads_v17_common_RuleBasedUserListInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.ads.googleads.v17.common.UserListsProto.internal_static_google_ads_googleads_v17_common_RuleBasedUserListInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.ads.googleads.v17.common.RuleBasedUserListInfo.class, com.google.ads.googleads.v17.common.RuleBasedUserListInfo.Builder.class); } private int bitField0_; public static final int PREPOPULATION_STATUS_FIELD_NUMBER = 1; private int prepopulationStatus_ = 0; /** *
   * 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.v17.enums.UserListPrepopulationStatusEnum.UserListPrepopulationStatus prepopulation_status = 1; * @return The enum numeric value on the wire for prepopulationStatus. */ @java.lang.Override public int getPrepopulationStatusValue() { return prepopulationStatus_; } /** *
   * 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.v17.enums.UserListPrepopulationStatusEnum.UserListPrepopulationStatus prepopulation_status = 1; * @return The prepopulationStatus. */ @java.lang.Override public com.google.ads.googleads.v17.enums.UserListPrepopulationStatusEnum.UserListPrepopulationStatus getPrepopulationStatus() { com.google.ads.googleads.v17.enums.UserListPrepopulationStatusEnum.UserListPrepopulationStatus result = com.google.ads.googleads.v17.enums.UserListPrepopulationStatusEnum.UserListPrepopulationStatus.forNumber(prepopulationStatus_); return result == null ? com.google.ads.googleads.v17.enums.UserListPrepopulationStatusEnum.UserListPrepopulationStatus.UNRECOGNIZED : result; } public static final int FLEXIBLE_RULE_USER_LIST_FIELD_NUMBER = 5; private com.google.ads.googleads.v17.common.FlexibleRuleUserListInfo flexibleRuleUserList_; /** *
   * 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.v17.common.FlexibleRuleUserListInfo flexible_rule_user_list = 5; * @return Whether the flexibleRuleUserList field is set. */ @java.lang.Override public boolean hasFlexibleRuleUserList() { return ((bitField0_ & 0x00000001) != 0); } /** *
   * 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.v17.common.FlexibleRuleUserListInfo flexible_rule_user_list = 5; * @return The flexibleRuleUserList. */ @java.lang.Override public com.google.ads.googleads.v17.common.FlexibleRuleUserListInfo getFlexibleRuleUserList() { return flexibleRuleUserList_ == null ? com.google.ads.googleads.v17.common.FlexibleRuleUserListInfo.getDefaultInstance() : flexibleRuleUserList_; } /** *
   * 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.v17.common.FlexibleRuleUserListInfo flexible_rule_user_list = 5; */ @java.lang.Override public com.google.ads.googleads.v17.common.FlexibleRuleUserListInfoOrBuilder getFlexibleRuleUserListOrBuilder() { return flexibleRuleUserList_ == null ? com.google.ads.googleads.v17.common.FlexibleRuleUserListInfo.getDefaultInstance() : flexibleRuleUserList_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (prepopulationStatus_ != com.google.ads.googleads.v17.enums.UserListPrepopulationStatusEnum.UserListPrepopulationStatus.UNSPECIFIED.getNumber()) { output.writeEnum(1, prepopulationStatus_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(5, getFlexibleRuleUserList()); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (prepopulationStatus_ != com.google.ads.googleads.v17.enums.UserListPrepopulationStatusEnum.UserListPrepopulationStatus.UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, prepopulationStatus_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, getFlexibleRuleUserList()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.ads.googleads.v17.common.RuleBasedUserListInfo)) { return super.equals(obj); } com.google.ads.googleads.v17.common.RuleBasedUserListInfo other = (com.google.ads.googleads.v17.common.RuleBasedUserListInfo) obj; if (prepopulationStatus_ != other.prepopulationStatus_) return false; if (hasFlexibleRuleUserList() != other.hasFlexibleRuleUserList()) return false; if (hasFlexibleRuleUserList()) { if (!getFlexibleRuleUserList() .equals(other.getFlexibleRuleUserList())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + PREPOPULATION_STATUS_FIELD_NUMBER; hash = (53 * hash) + prepopulationStatus_; if (hasFlexibleRuleUserList()) { hash = (37 * hash) + FLEXIBLE_RULE_USER_LIST_FIELD_NUMBER; hash = (53 * hash) + getFlexibleRuleUserList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.ads.googleads.v17.common.RuleBasedUserListInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.ads.googleads.v17.common.RuleBasedUserListInfo parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.ads.googleads.v17.common.RuleBasedUserListInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.ads.googleads.v17.common.RuleBasedUserListInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.ads.googleads.v17.common.RuleBasedUserListInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.ads.googleads.v17.common.RuleBasedUserListInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.ads.googleads.v17.common.RuleBasedUserListInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.ads.googleads.v17.common.RuleBasedUserListInfo parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.ads.googleads.v17.common.RuleBasedUserListInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.ads.googleads.v17.common.RuleBasedUserListInfo parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.google.ads.googleads.v17.common.RuleBasedUserListInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.ads.googleads.v17.common.RuleBasedUserListInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.ads.googleads.v17.common.RuleBasedUserListInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
   * Representation of a userlist that is generated by a rule.
   * 
* * Protobuf type {@code google.ads.googleads.v17.common.RuleBasedUserListInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.ads.googleads.v17.common.RuleBasedUserListInfo) com.google.ads.googleads.v17.common.RuleBasedUserListInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.ads.googleads.v17.common.UserListsProto.internal_static_google_ads_googleads_v17_common_RuleBasedUserListInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.ads.googleads.v17.common.UserListsProto.internal_static_google_ads_googleads_v17_common_RuleBasedUserListInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.ads.googleads.v17.common.RuleBasedUserListInfo.class, com.google.ads.googleads.v17.common.RuleBasedUserListInfo.Builder.class); } // Construct using com.google.ads.googleads.v17.common.RuleBasedUserListInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getFlexibleRuleUserListFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; prepopulationStatus_ = 0; flexibleRuleUserList_ = null; if (flexibleRuleUserListBuilder_ != null) { flexibleRuleUserListBuilder_.dispose(); flexibleRuleUserListBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.ads.googleads.v17.common.UserListsProto.internal_static_google_ads_googleads_v17_common_RuleBasedUserListInfo_descriptor; } @java.lang.Override public com.google.ads.googleads.v17.common.RuleBasedUserListInfo getDefaultInstanceForType() { return com.google.ads.googleads.v17.common.RuleBasedUserListInfo.getDefaultInstance(); } @java.lang.Override public com.google.ads.googleads.v17.common.RuleBasedUserListInfo build() { com.google.ads.googleads.v17.common.RuleBasedUserListInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.ads.googleads.v17.common.RuleBasedUserListInfo buildPartial() { com.google.ads.googleads.v17.common.RuleBasedUserListInfo result = new com.google.ads.googleads.v17.common.RuleBasedUserListInfo(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.google.ads.googleads.v17.common.RuleBasedUserListInfo result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.prepopulationStatus_ = prepopulationStatus_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { result.flexibleRuleUserList_ = flexibleRuleUserListBuilder_ == null ? flexibleRuleUserList_ : flexibleRuleUserListBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.ads.googleads.v17.common.RuleBasedUserListInfo) { return mergeFrom((com.google.ads.googleads.v17.common.RuleBasedUserListInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.ads.googleads.v17.common.RuleBasedUserListInfo other) { if (other == com.google.ads.googleads.v17.common.RuleBasedUserListInfo.getDefaultInstance()) return this; if (other.prepopulationStatus_ != 0) { setPrepopulationStatusValue(other.getPrepopulationStatusValue()); } if (other.hasFlexibleRuleUserList()) { mergeFlexibleRuleUserList(other.getFlexibleRuleUserList()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { prepopulationStatus_ = input.readEnum(); bitField0_ |= 0x00000001; break; } // case 8 case 42: { input.readMessage( getFlexibleRuleUserListFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000002; break; } // case 42 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private int prepopulationStatus_ = 0; /** *
     * 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.v17.enums.UserListPrepopulationStatusEnum.UserListPrepopulationStatus prepopulation_status = 1; * @return The enum numeric value on the wire for prepopulationStatus. */ @java.lang.Override public int getPrepopulationStatusValue() { return prepopulationStatus_; } /** *
     * 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.v17.enums.UserListPrepopulationStatusEnum.UserListPrepopulationStatus prepopulation_status = 1; * @param value The enum numeric value on the wire for prepopulationStatus to set. * @return This builder for chaining. */ public Builder setPrepopulationStatusValue(int value) { prepopulationStatus_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
     * 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.v17.enums.UserListPrepopulationStatusEnum.UserListPrepopulationStatus prepopulation_status = 1; * @return The prepopulationStatus. */ @java.lang.Override public com.google.ads.googleads.v17.enums.UserListPrepopulationStatusEnum.UserListPrepopulationStatus getPrepopulationStatus() { com.google.ads.googleads.v17.enums.UserListPrepopulationStatusEnum.UserListPrepopulationStatus result = com.google.ads.googleads.v17.enums.UserListPrepopulationStatusEnum.UserListPrepopulationStatus.forNumber(prepopulationStatus_); return result == null ? com.google.ads.googleads.v17.enums.UserListPrepopulationStatusEnum.UserListPrepopulationStatus.UNRECOGNIZED : result; } /** *
     * 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.v17.enums.UserListPrepopulationStatusEnum.UserListPrepopulationStatus prepopulation_status = 1; * @param value The prepopulationStatus to set. * @return This builder for chaining. */ public Builder setPrepopulationStatus(com.google.ads.googleads.v17.enums.UserListPrepopulationStatusEnum.UserListPrepopulationStatus value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; prepopulationStatus_ = value.getNumber(); onChanged(); return this; } /** *
     * 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.v17.enums.UserListPrepopulationStatusEnum.UserListPrepopulationStatus prepopulation_status = 1; * @return This builder for chaining. */ public Builder clearPrepopulationStatus() { bitField0_ = (bitField0_ & ~0x00000001); prepopulationStatus_ = 0; onChanged(); return this; } private com.google.ads.googleads.v17.common.FlexibleRuleUserListInfo flexibleRuleUserList_; private com.google.protobuf.SingleFieldBuilderV3< com.google.ads.googleads.v17.common.FlexibleRuleUserListInfo, com.google.ads.googleads.v17.common.FlexibleRuleUserListInfo.Builder, com.google.ads.googleads.v17.common.FlexibleRuleUserListInfoOrBuilder> flexibleRuleUserListBuilder_; /** *
     * 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.v17.common.FlexibleRuleUserListInfo flexible_rule_user_list = 5; * @return Whether the flexibleRuleUserList field is set. */ public boolean hasFlexibleRuleUserList() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * 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.v17.common.FlexibleRuleUserListInfo flexible_rule_user_list = 5; * @return The flexibleRuleUserList. */ public com.google.ads.googleads.v17.common.FlexibleRuleUserListInfo getFlexibleRuleUserList() { if (flexibleRuleUserListBuilder_ == null) { return flexibleRuleUserList_ == null ? com.google.ads.googleads.v17.common.FlexibleRuleUserListInfo.getDefaultInstance() : flexibleRuleUserList_; } else { return flexibleRuleUserListBuilder_.getMessage(); } } /** *
     * 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.v17.common.FlexibleRuleUserListInfo flexible_rule_user_list = 5; */ public Builder setFlexibleRuleUserList(com.google.ads.googleads.v17.common.FlexibleRuleUserListInfo value) { if (flexibleRuleUserListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } flexibleRuleUserList_ = value; } else { flexibleRuleUserListBuilder_.setMessage(value); } bitField0_ |= 0x00000002; onChanged(); return this; } /** *
     * 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.v17.common.FlexibleRuleUserListInfo flexible_rule_user_list = 5; */ public Builder setFlexibleRuleUserList( com.google.ads.googleads.v17.common.FlexibleRuleUserListInfo.Builder builderForValue) { if (flexibleRuleUserListBuilder_ == null) { flexibleRuleUserList_ = builderForValue.build(); } else { flexibleRuleUserListBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; onChanged(); return this; } /** *
     * 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.v17.common.FlexibleRuleUserListInfo flexible_rule_user_list = 5; */ public Builder mergeFlexibleRuleUserList(com.google.ads.googleads.v17.common.FlexibleRuleUserListInfo value) { if (flexibleRuleUserListBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && flexibleRuleUserList_ != null && flexibleRuleUserList_ != com.google.ads.googleads.v17.common.FlexibleRuleUserListInfo.getDefaultInstance()) { getFlexibleRuleUserListBuilder().mergeFrom(value); } else { flexibleRuleUserList_ = value; } } else { flexibleRuleUserListBuilder_.mergeFrom(value); } if (flexibleRuleUserList_ != null) { bitField0_ |= 0x00000002; onChanged(); } return this; } /** *
     * 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.v17.common.FlexibleRuleUserListInfo flexible_rule_user_list = 5; */ public Builder clearFlexibleRuleUserList() { bitField0_ = (bitField0_ & ~0x00000002); flexibleRuleUserList_ = null; if (flexibleRuleUserListBuilder_ != null) { flexibleRuleUserListBuilder_.dispose(); flexibleRuleUserListBuilder_ = null; } onChanged(); return this; } /** *
     * 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.v17.common.FlexibleRuleUserListInfo flexible_rule_user_list = 5; */ public com.google.ads.googleads.v17.common.FlexibleRuleUserListInfo.Builder getFlexibleRuleUserListBuilder() { bitField0_ |= 0x00000002; onChanged(); return getFlexibleRuleUserListFieldBuilder().getBuilder(); } /** *
     * 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.v17.common.FlexibleRuleUserListInfo flexible_rule_user_list = 5; */ public com.google.ads.googleads.v17.common.FlexibleRuleUserListInfoOrBuilder getFlexibleRuleUserListOrBuilder() { if (flexibleRuleUserListBuilder_ != null) { return flexibleRuleUserListBuilder_.getMessageOrBuilder(); } else { return flexibleRuleUserList_ == null ? com.google.ads.googleads.v17.common.FlexibleRuleUserListInfo.getDefaultInstance() : flexibleRuleUserList_; } } /** *
     * 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.v17.common.FlexibleRuleUserListInfo flexible_rule_user_list = 5; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.ads.googleads.v17.common.FlexibleRuleUserListInfo, com.google.ads.googleads.v17.common.FlexibleRuleUserListInfo.Builder, com.google.ads.googleads.v17.common.FlexibleRuleUserListInfoOrBuilder> getFlexibleRuleUserListFieldBuilder() { if (flexibleRuleUserListBuilder_ == null) { flexibleRuleUserListBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.ads.googleads.v17.common.FlexibleRuleUserListInfo, com.google.ads.googleads.v17.common.FlexibleRuleUserListInfo.Builder, com.google.ads.googleads.v17.common.FlexibleRuleUserListInfoOrBuilder>( getFlexibleRuleUserList(), getParentForChildren(), isClean()); flexibleRuleUserList_ = null; } return flexibleRuleUserListBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:google.ads.googleads.v17.common.RuleBasedUserListInfo) } // @@protoc_insertion_point(class_scope:google.ads.googleads.v17.common.RuleBasedUserListInfo) private static final com.google.ads.googleads.v17.common.RuleBasedUserListInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.ads.googleads.v17.common.RuleBasedUserListInfo(); } public static com.google.ads.googleads.v17.common.RuleBasedUserListInfo getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public RuleBasedUserListInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.google.ads.googleads.v17.common.RuleBasedUserListInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy