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

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

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

package com.google.ads.googleads.v10.common;

/**
 * 
 * Representation of a userlist that is generated by a rule.
 * 
* * Protobuf type {@code google.ads.googleads.v10.common.RuleBasedUserListInfo} */ public final class RuleBasedUserListInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.ads.googleads.v10.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(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.ads.googleads.v10.common.UserListsProto.internal_static_google_ads_googleads_v10_common_RuleBasedUserListInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.ads.googleads.v10.common.UserListsProto.internal_static_google_ads_googleads_v10_common_RuleBasedUserListInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.ads.googleads.v10.common.RuleBasedUserListInfo.class, com.google.ads.googleads.v10.common.RuleBasedUserListInfo.Builder.class); } private int ruleBasedUserListCase_ = 0; private java.lang.Object ruleBasedUserList_; public enum RuleBasedUserListCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { COMBINED_RULE_USER_LIST(2), DATE_SPECIFIC_RULE_USER_LIST(3), EXPRESSION_RULE_USER_LIST(4), RULEBASEDUSERLIST_NOT_SET(0); private final int value; private RuleBasedUserListCase(int value) { this.value = value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static RuleBasedUserListCase valueOf(int value) { return forNumber(value); } public static RuleBasedUserListCase forNumber(int value) { switch (value) { case 2: return COMBINED_RULE_USER_LIST; case 3: return DATE_SPECIFIC_RULE_USER_LIST; case 4: return EXPRESSION_RULE_USER_LIST; case 0: return RULEBASEDUSERLIST_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public RuleBasedUserListCase getRuleBasedUserListCase() { return RuleBasedUserListCase.forNumber( ruleBasedUserListCase_); } public static final int PREPOPULATION_STATUS_FIELD_NUMBER = 1; private int 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.v10.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.v10.enums.UserListPrepopulationStatusEnum.UserListPrepopulationStatus prepopulation_status = 1; * @return The prepopulationStatus. */ @java.lang.Override public com.google.ads.googleads.v10.enums.UserListPrepopulationStatusEnum.UserListPrepopulationStatus getPrepopulationStatus() { @SuppressWarnings("deprecation") com.google.ads.googleads.v10.enums.UserListPrepopulationStatusEnum.UserListPrepopulationStatus result = com.google.ads.googleads.v10.enums.UserListPrepopulationStatusEnum.UserListPrepopulationStatus.valueOf(prepopulationStatus_); return result == null ? com.google.ads.googleads.v10.enums.UserListPrepopulationStatusEnum.UserListPrepopulationStatus.UNRECOGNIZED : result; } public static final int COMBINED_RULE_USER_LIST_FIELD_NUMBER = 2; /** *
   * User lists defined by combining two rules.
   * There are two operators: AND, where the left and right operands have to
   * be true; AND_NOT where left operand is true but right operand is false.
   * 
* * .google.ads.googleads.v10.common.CombinedRuleUserListInfo combined_rule_user_list = 2; * @return Whether the combinedRuleUserList field is set. */ @java.lang.Override public boolean hasCombinedRuleUserList() { return ruleBasedUserListCase_ == 2; } /** *
   * User lists defined by combining two rules.
   * There are two operators: AND, where the left and right operands have to
   * be true; AND_NOT where left operand is true but right operand is false.
   * 
* * .google.ads.googleads.v10.common.CombinedRuleUserListInfo combined_rule_user_list = 2; * @return The combinedRuleUserList. */ @java.lang.Override public com.google.ads.googleads.v10.common.CombinedRuleUserListInfo getCombinedRuleUserList() { if (ruleBasedUserListCase_ == 2) { return (com.google.ads.googleads.v10.common.CombinedRuleUserListInfo) ruleBasedUserList_; } return com.google.ads.googleads.v10.common.CombinedRuleUserListInfo.getDefaultInstance(); } /** *
   * User lists defined by combining two rules.
   * There are two operators: AND, where the left and right operands have to
   * be true; AND_NOT where left operand is true but right operand is false.
   * 
* * .google.ads.googleads.v10.common.CombinedRuleUserListInfo combined_rule_user_list = 2; */ @java.lang.Override public com.google.ads.googleads.v10.common.CombinedRuleUserListInfoOrBuilder getCombinedRuleUserListOrBuilder() { if (ruleBasedUserListCase_ == 2) { return (com.google.ads.googleads.v10.common.CombinedRuleUserListInfo) ruleBasedUserList_; } return com.google.ads.googleads.v10.common.CombinedRuleUserListInfo.getDefaultInstance(); } public static final int DATE_SPECIFIC_RULE_USER_LIST_FIELD_NUMBER = 3; /** *
   * Visitors of a page during specific dates. The visiting periods are
   * defined as follows:
   * Between start_date (inclusive) and end_date (inclusive);
   * Before end_date (exclusive) with start_date = 2000-01-01;
   * After start_date (exclusive) with end_date = 2037-12-30.
   * 
* * .google.ads.googleads.v10.common.DateSpecificRuleUserListInfo date_specific_rule_user_list = 3; * @return Whether the dateSpecificRuleUserList field is set. */ @java.lang.Override public boolean hasDateSpecificRuleUserList() { return ruleBasedUserListCase_ == 3; } /** *
   * Visitors of a page during specific dates. The visiting periods are
   * defined as follows:
   * Between start_date (inclusive) and end_date (inclusive);
   * Before end_date (exclusive) with start_date = 2000-01-01;
   * After start_date (exclusive) with end_date = 2037-12-30.
   * 
* * .google.ads.googleads.v10.common.DateSpecificRuleUserListInfo date_specific_rule_user_list = 3; * @return The dateSpecificRuleUserList. */ @java.lang.Override public com.google.ads.googleads.v10.common.DateSpecificRuleUserListInfo getDateSpecificRuleUserList() { if (ruleBasedUserListCase_ == 3) { return (com.google.ads.googleads.v10.common.DateSpecificRuleUserListInfo) ruleBasedUserList_; } return com.google.ads.googleads.v10.common.DateSpecificRuleUserListInfo.getDefaultInstance(); } /** *
   * Visitors of a page during specific dates. The visiting periods are
   * defined as follows:
   * Between start_date (inclusive) and end_date (inclusive);
   * Before end_date (exclusive) with start_date = 2000-01-01;
   * After start_date (exclusive) with end_date = 2037-12-30.
   * 
* * .google.ads.googleads.v10.common.DateSpecificRuleUserListInfo date_specific_rule_user_list = 3; */ @java.lang.Override public com.google.ads.googleads.v10.common.DateSpecificRuleUserListInfoOrBuilder getDateSpecificRuleUserListOrBuilder() { if (ruleBasedUserListCase_ == 3) { return (com.google.ads.googleads.v10.common.DateSpecificRuleUserListInfo) ruleBasedUserList_; } return com.google.ads.googleads.v10.common.DateSpecificRuleUserListInfo.getDefaultInstance(); } public static final int EXPRESSION_RULE_USER_LIST_FIELD_NUMBER = 4; /** *
   * Visitors of a page. The page visit is defined by one boolean rule
   * expression.
   * 
* * .google.ads.googleads.v10.common.ExpressionRuleUserListInfo expression_rule_user_list = 4; * @return Whether the expressionRuleUserList field is set. */ @java.lang.Override public boolean hasExpressionRuleUserList() { return ruleBasedUserListCase_ == 4; } /** *
   * Visitors of a page. The page visit is defined by one boolean rule
   * expression.
   * 
* * .google.ads.googleads.v10.common.ExpressionRuleUserListInfo expression_rule_user_list = 4; * @return The expressionRuleUserList. */ @java.lang.Override public com.google.ads.googleads.v10.common.ExpressionRuleUserListInfo getExpressionRuleUserList() { if (ruleBasedUserListCase_ == 4) { return (com.google.ads.googleads.v10.common.ExpressionRuleUserListInfo) ruleBasedUserList_; } return com.google.ads.googleads.v10.common.ExpressionRuleUserListInfo.getDefaultInstance(); } /** *
   * Visitors of a page. The page visit is defined by one boolean rule
   * expression.
   * 
* * .google.ads.googleads.v10.common.ExpressionRuleUserListInfo expression_rule_user_list = 4; */ @java.lang.Override public com.google.ads.googleads.v10.common.ExpressionRuleUserListInfoOrBuilder getExpressionRuleUserListOrBuilder() { if (ruleBasedUserListCase_ == 4) { return (com.google.ads.googleads.v10.common.ExpressionRuleUserListInfo) ruleBasedUserList_; } return com.google.ads.googleads.v10.common.ExpressionRuleUserListInfo.getDefaultInstance(); } 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.v10.enums.UserListPrepopulationStatusEnum.UserListPrepopulationStatus.UNSPECIFIED.getNumber()) { output.writeEnum(1, prepopulationStatus_); } if (ruleBasedUserListCase_ == 2) { output.writeMessage(2, (com.google.ads.googleads.v10.common.CombinedRuleUserListInfo) ruleBasedUserList_); } if (ruleBasedUserListCase_ == 3) { output.writeMessage(3, (com.google.ads.googleads.v10.common.DateSpecificRuleUserListInfo) ruleBasedUserList_); } if (ruleBasedUserListCase_ == 4) { output.writeMessage(4, (com.google.ads.googleads.v10.common.ExpressionRuleUserListInfo) ruleBasedUserList_); } 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.v10.enums.UserListPrepopulationStatusEnum.UserListPrepopulationStatus.UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, prepopulationStatus_); } if (ruleBasedUserListCase_ == 2) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, (com.google.ads.googleads.v10.common.CombinedRuleUserListInfo) ruleBasedUserList_); } if (ruleBasedUserListCase_ == 3) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, (com.google.ads.googleads.v10.common.DateSpecificRuleUserListInfo) ruleBasedUserList_); } if (ruleBasedUserListCase_ == 4) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, (com.google.ads.googleads.v10.common.ExpressionRuleUserListInfo) ruleBasedUserList_); } 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.v10.common.RuleBasedUserListInfo)) { return super.equals(obj); } com.google.ads.googleads.v10.common.RuleBasedUserListInfo other = (com.google.ads.googleads.v10.common.RuleBasedUserListInfo) obj; if (prepopulationStatus_ != other.prepopulationStatus_) return false; if (!getRuleBasedUserListCase().equals(other.getRuleBasedUserListCase())) return false; switch (ruleBasedUserListCase_) { case 2: if (!getCombinedRuleUserList() .equals(other.getCombinedRuleUserList())) return false; break; case 3: if (!getDateSpecificRuleUserList() .equals(other.getDateSpecificRuleUserList())) return false; break; case 4: if (!getExpressionRuleUserList() .equals(other.getExpressionRuleUserList())) return false; break; case 0: default: } 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_; switch (ruleBasedUserListCase_) { case 2: hash = (37 * hash) + COMBINED_RULE_USER_LIST_FIELD_NUMBER; hash = (53 * hash) + getCombinedRuleUserList().hashCode(); break; case 3: hash = (37 * hash) + DATE_SPECIFIC_RULE_USER_LIST_FIELD_NUMBER; hash = (53 * hash) + getDateSpecificRuleUserList().hashCode(); break; case 4: hash = (37 * hash) + EXPRESSION_RULE_USER_LIST_FIELD_NUMBER; hash = (53 * hash) + getExpressionRuleUserList().hashCode(); break; case 0: default: } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.ads.googleads.v10.common.RuleBasedUserListInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.ads.googleads.v10.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.v10.common.RuleBasedUserListInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.ads.googleads.v10.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.v10.common.RuleBasedUserListInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.ads.googleads.v10.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.v10.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.v10.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.v10.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.v10.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.v10.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.v10.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.v10.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.v10.common.RuleBasedUserListInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.ads.googleads.v10.common.RuleBasedUserListInfo) com.google.ads.googleads.v10.common.RuleBasedUserListInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.ads.googleads.v10.common.UserListsProto.internal_static_google_ads_googleads_v10_common_RuleBasedUserListInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.ads.googleads.v10.common.UserListsProto.internal_static_google_ads_googleads_v10_common_RuleBasedUserListInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.ads.googleads.v10.common.RuleBasedUserListInfo.class, com.google.ads.googleads.v10.common.RuleBasedUserListInfo.Builder.class); } // Construct using com.google.ads.googleads.v10.common.RuleBasedUserListInfo.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); prepopulationStatus_ = 0; if (combinedRuleUserListBuilder_ != null) { combinedRuleUserListBuilder_.clear(); } if (dateSpecificRuleUserListBuilder_ != null) { dateSpecificRuleUserListBuilder_.clear(); } if (expressionRuleUserListBuilder_ != null) { expressionRuleUserListBuilder_.clear(); } ruleBasedUserListCase_ = 0; ruleBasedUserList_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.ads.googleads.v10.common.UserListsProto.internal_static_google_ads_googleads_v10_common_RuleBasedUserListInfo_descriptor; } @java.lang.Override public com.google.ads.googleads.v10.common.RuleBasedUserListInfo getDefaultInstanceForType() { return com.google.ads.googleads.v10.common.RuleBasedUserListInfo.getDefaultInstance(); } @java.lang.Override public com.google.ads.googleads.v10.common.RuleBasedUserListInfo build() { com.google.ads.googleads.v10.common.RuleBasedUserListInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.ads.googleads.v10.common.RuleBasedUserListInfo buildPartial() { com.google.ads.googleads.v10.common.RuleBasedUserListInfo result = new com.google.ads.googleads.v10.common.RuleBasedUserListInfo(this); result.prepopulationStatus_ = prepopulationStatus_; if (ruleBasedUserListCase_ == 2) { if (combinedRuleUserListBuilder_ == null) { result.ruleBasedUserList_ = ruleBasedUserList_; } else { result.ruleBasedUserList_ = combinedRuleUserListBuilder_.build(); } } if (ruleBasedUserListCase_ == 3) { if (dateSpecificRuleUserListBuilder_ == null) { result.ruleBasedUserList_ = ruleBasedUserList_; } else { result.ruleBasedUserList_ = dateSpecificRuleUserListBuilder_.build(); } } if (ruleBasedUserListCase_ == 4) { if (expressionRuleUserListBuilder_ == null) { result.ruleBasedUserList_ = ruleBasedUserList_; } else { result.ruleBasedUserList_ = expressionRuleUserListBuilder_.build(); } } result.ruleBasedUserListCase_ = ruleBasedUserListCase_; onBuilt(); return result; } @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.v10.common.RuleBasedUserListInfo) { return mergeFrom((com.google.ads.googleads.v10.common.RuleBasedUserListInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.ads.googleads.v10.common.RuleBasedUserListInfo other) { if (other == com.google.ads.googleads.v10.common.RuleBasedUserListInfo.getDefaultInstance()) return this; if (other.prepopulationStatus_ != 0) { setPrepopulationStatusValue(other.getPrepopulationStatusValue()); } switch (other.getRuleBasedUserListCase()) { case COMBINED_RULE_USER_LIST: { mergeCombinedRuleUserList(other.getCombinedRuleUserList()); break; } case DATE_SPECIFIC_RULE_USER_LIST: { mergeDateSpecificRuleUserList(other.getDateSpecificRuleUserList()); break; } case EXPRESSION_RULE_USER_LIST: { mergeExpressionRuleUserList(other.getExpressionRuleUserList()); break; } case RULEBASEDUSERLIST_NOT_SET: { break; } } 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(); break; } // case 8 case 18: { input.readMessage( getCombinedRuleUserListFieldBuilder().getBuilder(), extensionRegistry); ruleBasedUserListCase_ = 2; break; } // case 18 case 26: { input.readMessage( getDateSpecificRuleUserListFieldBuilder().getBuilder(), extensionRegistry); ruleBasedUserListCase_ = 3; break; } // case 26 case 34: { input.readMessage( getExpressionRuleUserListFieldBuilder().getBuilder(), extensionRegistry); ruleBasedUserListCase_ = 4; break; } // case 34 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 ruleBasedUserListCase_ = 0; private java.lang.Object ruleBasedUserList_; public RuleBasedUserListCase getRuleBasedUserListCase() { return RuleBasedUserListCase.forNumber( ruleBasedUserListCase_); } public Builder clearRuleBasedUserList() { ruleBasedUserListCase_ = 0; ruleBasedUserList_ = null; onChanged(); return this; } 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.v10.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.v10.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; 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.v10.enums.UserListPrepopulationStatusEnum.UserListPrepopulationStatus prepopulation_status = 1; * @return The prepopulationStatus. */ @java.lang.Override public com.google.ads.googleads.v10.enums.UserListPrepopulationStatusEnum.UserListPrepopulationStatus getPrepopulationStatus() { @SuppressWarnings("deprecation") com.google.ads.googleads.v10.enums.UserListPrepopulationStatusEnum.UserListPrepopulationStatus result = com.google.ads.googleads.v10.enums.UserListPrepopulationStatusEnum.UserListPrepopulationStatus.valueOf(prepopulationStatus_); return result == null ? com.google.ads.googleads.v10.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.v10.enums.UserListPrepopulationStatusEnum.UserListPrepopulationStatus prepopulation_status = 1; * @param value The prepopulationStatus to set. * @return This builder for chaining. */ public Builder setPrepopulationStatus(com.google.ads.googleads.v10.enums.UserListPrepopulationStatusEnum.UserListPrepopulationStatus value) { if (value == null) { throw new NullPointerException(); } 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.v10.enums.UserListPrepopulationStatusEnum.UserListPrepopulationStatus prepopulation_status = 1; * @return This builder for chaining. */ public Builder clearPrepopulationStatus() { prepopulationStatus_ = 0; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< com.google.ads.googleads.v10.common.CombinedRuleUserListInfo, com.google.ads.googleads.v10.common.CombinedRuleUserListInfo.Builder, com.google.ads.googleads.v10.common.CombinedRuleUserListInfoOrBuilder> combinedRuleUserListBuilder_; /** *
     * User lists defined by combining two rules.
     * There are two operators: AND, where the left and right operands have to
     * be true; AND_NOT where left operand is true but right operand is false.
     * 
* * .google.ads.googleads.v10.common.CombinedRuleUserListInfo combined_rule_user_list = 2; * @return Whether the combinedRuleUserList field is set. */ @java.lang.Override public boolean hasCombinedRuleUserList() { return ruleBasedUserListCase_ == 2; } /** *
     * User lists defined by combining two rules.
     * There are two operators: AND, where the left and right operands have to
     * be true; AND_NOT where left operand is true but right operand is false.
     * 
* * .google.ads.googleads.v10.common.CombinedRuleUserListInfo combined_rule_user_list = 2; * @return The combinedRuleUserList. */ @java.lang.Override public com.google.ads.googleads.v10.common.CombinedRuleUserListInfo getCombinedRuleUserList() { if (combinedRuleUserListBuilder_ == null) { if (ruleBasedUserListCase_ == 2) { return (com.google.ads.googleads.v10.common.CombinedRuleUserListInfo) ruleBasedUserList_; } return com.google.ads.googleads.v10.common.CombinedRuleUserListInfo.getDefaultInstance(); } else { if (ruleBasedUserListCase_ == 2) { return combinedRuleUserListBuilder_.getMessage(); } return com.google.ads.googleads.v10.common.CombinedRuleUserListInfo.getDefaultInstance(); } } /** *
     * User lists defined by combining two rules.
     * There are two operators: AND, where the left and right operands have to
     * be true; AND_NOT where left operand is true but right operand is false.
     * 
* * .google.ads.googleads.v10.common.CombinedRuleUserListInfo combined_rule_user_list = 2; */ public Builder setCombinedRuleUserList(com.google.ads.googleads.v10.common.CombinedRuleUserListInfo value) { if (combinedRuleUserListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ruleBasedUserList_ = value; onChanged(); } else { combinedRuleUserListBuilder_.setMessage(value); } ruleBasedUserListCase_ = 2; return this; } /** *
     * User lists defined by combining two rules.
     * There are two operators: AND, where the left and right operands have to
     * be true; AND_NOT where left operand is true but right operand is false.
     * 
* * .google.ads.googleads.v10.common.CombinedRuleUserListInfo combined_rule_user_list = 2; */ public Builder setCombinedRuleUserList( com.google.ads.googleads.v10.common.CombinedRuleUserListInfo.Builder builderForValue) { if (combinedRuleUserListBuilder_ == null) { ruleBasedUserList_ = builderForValue.build(); onChanged(); } else { combinedRuleUserListBuilder_.setMessage(builderForValue.build()); } ruleBasedUserListCase_ = 2; return this; } /** *
     * User lists defined by combining two rules.
     * There are two operators: AND, where the left and right operands have to
     * be true; AND_NOT where left operand is true but right operand is false.
     * 
* * .google.ads.googleads.v10.common.CombinedRuleUserListInfo combined_rule_user_list = 2; */ public Builder mergeCombinedRuleUserList(com.google.ads.googleads.v10.common.CombinedRuleUserListInfo value) { if (combinedRuleUserListBuilder_ == null) { if (ruleBasedUserListCase_ == 2 && ruleBasedUserList_ != com.google.ads.googleads.v10.common.CombinedRuleUserListInfo.getDefaultInstance()) { ruleBasedUserList_ = com.google.ads.googleads.v10.common.CombinedRuleUserListInfo.newBuilder((com.google.ads.googleads.v10.common.CombinedRuleUserListInfo) ruleBasedUserList_) .mergeFrom(value).buildPartial(); } else { ruleBasedUserList_ = value; } onChanged(); } else { if (ruleBasedUserListCase_ == 2) { combinedRuleUserListBuilder_.mergeFrom(value); } else { combinedRuleUserListBuilder_.setMessage(value); } } ruleBasedUserListCase_ = 2; return this; } /** *
     * User lists defined by combining two rules.
     * There are two operators: AND, where the left and right operands have to
     * be true; AND_NOT where left operand is true but right operand is false.
     * 
* * .google.ads.googleads.v10.common.CombinedRuleUserListInfo combined_rule_user_list = 2; */ public Builder clearCombinedRuleUserList() { if (combinedRuleUserListBuilder_ == null) { if (ruleBasedUserListCase_ == 2) { ruleBasedUserListCase_ = 0; ruleBasedUserList_ = null; onChanged(); } } else { if (ruleBasedUserListCase_ == 2) { ruleBasedUserListCase_ = 0; ruleBasedUserList_ = null; } combinedRuleUserListBuilder_.clear(); } return this; } /** *
     * User lists defined by combining two rules.
     * There are two operators: AND, where the left and right operands have to
     * be true; AND_NOT where left operand is true but right operand is false.
     * 
* * .google.ads.googleads.v10.common.CombinedRuleUserListInfo combined_rule_user_list = 2; */ public com.google.ads.googleads.v10.common.CombinedRuleUserListInfo.Builder getCombinedRuleUserListBuilder() { return getCombinedRuleUserListFieldBuilder().getBuilder(); } /** *
     * User lists defined by combining two rules.
     * There are two operators: AND, where the left and right operands have to
     * be true; AND_NOT where left operand is true but right operand is false.
     * 
* * .google.ads.googleads.v10.common.CombinedRuleUserListInfo combined_rule_user_list = 2; */ @java.lang.Override public com.google.ads.googleads.v10.common.CombinedRuleUserListInfoOrBuilder getCombinedRuleUserListOrBuilder() { if ((ruleBasedUserListCase_ == 2) && (combinedRuleUserListBuilder_ != null)) { return combinedRuleUserListBuilder_.getMessageOrBuilder(); } else { if (ruleBasedUserListCase_ == 2) { return (com.google.ads.googleads.v10.common.CombinedRuleUserListInfo) ruleBasedUserList_; } return com.google.ads.googleads.v10.common.CombinedRuleUserListInfo.getDefaultInstance(); } } /** *
     * User lists defined by combining two rules.
     * There are two operators: AND, where the left and right operands have to
     * be true; AND_NOT where left operand is true but right operand is false.
     * 
* * .google.ads.googleads.v10.common.CombinedRuleUserListInfo combined_rule_user_list = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.ads.googleads.v10.common.CombinedRuleUserListInfo, com.google.ads.googleads.v10.common.CombinedRuleUserListInfo.Builder, com.google.ads.googleads.v10.common.CombinedRuleUserListInfoOrBuilder> getCombinedRuleUserListFieldBuilder() { if (combinedRuleUserListBuilder_ == null) { if (!(ruleBasedUserListCase_ == 2)) { ruleBasedUserList_ = com.google.ads.googleads.v10.common.CombinedRuleUserListInfo.getDefaultInstance(); } combinedRuleUserListBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.ads.googleads.v10.common.CombinedRuleUserListInfo, com.google.ads.googleads.v10.common.CombinedRuleUserListInfo.Builder, com.google.ads.googleads.v10.common.CombinedRuleUserListInfoOrBuilder>( (com.google.ads.googleads.v10.common.CombinedRuleUserListInfo) ruleBasedUserList_, getParentForChildren(), isClean()); ruleBasedUserList_ = null; } ruleBasedUserListCase_ = 2; onChanged();; return combinedRuleUserListBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.google.ads.googleads.v10.common.DateSpecificRuleUserListInfo, com.google.ads.googleads.v10.common.DateSpecificRuleUserListInfo.Builder, com.google.ads.googleads.v10.common.DateSpecificRuleUserListInfoOrBuilder> dateSpecificRuleUserListBuilder_; /** *
     * Visitors of a page during specific dates. The visiting periods are
     * defined as follows:
     * Between start_date (inclusive) and end_date (inclusive);
     * Before end_date (exclusive) with start_date = 2000-01-01;
     * After start_date (exclusive) with end_date = 2037-12-30.
     * 
* * .google.ads.googleads.v10.common.DateSpecificRuleUserListInfo date_specific_rule_user_list = 3; * @return Whether the dateSpecificRuleUserList field is set. */ @java.lang.Override public boolean hasDateSpecificRuleUserList() { return ruleBasedUserListCase_ == 3; } /** *
     * Visitors of a page during specific dates. The visiting periods are
     * defined as follows:
     * Between start_date (inclusive) and end_date (inclusive);
     * Before end_date (exclusive) with start_date = 2000-01-01;
     * After start_date (exclusive) with end_date = 2037-12-30.
     * 
* * .google.ads.googleads.v10.common.DateSpecificRuleUserListInfo date_specific_rule_user_list = 3; * @return The dateSpecificRuleUserList. */ @java.lang.Override public com.google.ads.googleads.v10.common.DateSpecificRuleUserListInfo getDateSpecificRuleUserList() { if (dateSpecificRuleUserListBuilder_ == null) { if (ruleBasedUserListCase_ == 3) { return (com.google.ads.googleads.v10.common.DateSpecificRuleUserListInfo) ruleBasedUserList_; } return com.google.ads.googleads.v10.common.DateSpecificRuleUserListInfo.getDefaultInstance(); } else { if (ruleBasedUserListCase_ == 3) { return dateSpecificRuleUserListBuilder_.getMessage(); } return com.google.ads.googleads.v10.common.DateSpecificRuleUserListInfo.getDefaultInstance(); } } /** *
     * Visitors of a page during specific dates. The visiting periods are
     * defined as follows:
     * Between start_date (inclusive) and end_date (inclusive);
     * Before end_date (exclusive) with start_date = 2000-01-01;
     * After start_date (exclusive) with end_date = 2037-12-30.
     * 
* * .google.ads.googleads.v10.common.DateSpecificRuleUserListInfo date_specific_rule_user_list = 3; */ public Builder setDateSpecificRuleUserList(com.google.ads.googleads.v10.common.DateSpecificRuleUserListInfo value) { if (dateSpecificRuleUserListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ruleBasedUserList_ = value; onChanged(); } else { dateSpecificRuleUserListBuilder_.setMessage(value); } ruleBasedUserListCase_ = 3; return this; } /** *
     * Visitors of a page during specific dates. The visiting periods are
     * defined as follows:
     * Between start_date (inclusive) and end_date (inclusive);
     * Before end_date (exclusive) with start_date = 2000-01-01;
     * After start_date (exclusive) with end_date = 2037-12-30.
     * 
* * .google.ads.googleads.v10.common.DateSpecificRuleUserListInfo date_specific_rule_user_list = 3; */ public Builder setDateSpecificRuleUserList( com.google.ads.googleads.v10.common.DateSpecificRuleUserListInfo.Builder builderForValue) { if (dateSpecificRuleUserListBuilder_ == null) { ruleBasedUserList_ = builderForValue.build(); onChanged(); } else { dateSpecificRuleUserListBuilder_.setMessage(builderForValue.build()); } ruleBasedUserListCase_ = 3; return this; } /** *
     * Visitors of a page during specific dates. The visiting periods are
     * defined as follows:
     * Between start_date (inclusive) and end_date (inclusive);
     * Before end_date (exclusive) with start_date = 2000-01-01;
     * After start_date (exclusive) with end_date = 2037-12-30.
     * 
* * .google.ads.googleads.v10.common.DateSpecificRuleUserListInfo date_specific_rule_user_list = 3; */ public Builder mergeDateSpecificRuleUserList(com.google.ads.googleads.v10.common.DateSpecificRuleUserListInfo value) { if (dateSpecificRuleUserListBuilder_ == null) { if (ruleBasedUserListCase_ == 3 && ruleBasedUserList_ != com.google.ads.googleads.v10.common.DateSpecificRuleUserListInfo.getDefaultInstance()) { ruleBasedUserList_ = com.google.ads.googleads.v10.common.DateSpecificRuleUserListInfo.newBuilder((com.google.ads.googleads.v10.common.DateSpecificRuleUserListInfo) ruleBasedUserList_) .mergeFrom(value).buildPartial(); } else { ruleBasedUserList_ = value; } onChanged(); } else { if (ruleBasedUserListCase_ == 3) { dateSpecificRuleUserListBuilder_.mergeFrom(value); } else { dateSpecificRuleUserListBuilder_.setMessage(value); } } ruleBasedUserListCase_ = 3; return this; } /** *
     * Visitors of a page during specific dates. The visiting periods are
     * defined as follows:
     * Between start_date (inclusive) and end_date (inclusive);
     * Before end_date (exclusive) with start_date = 2000-01-01;
     * After start_date (exclusive) with end_date = 2037-12-30.
     * 
* * .google.ads.googleads.v10.common.DateSpecificRuleUserListInfo date_specific_rule_user_list = 3; */ public Builder clearDateSpecificRuleUserList() { if (dateSpecificRuleUserListBuilder_ == null) { if (ruleBasedUserListCase_ == 3) { ruleBasedUserListCase_ = 0; ruleBasedUserList_ = null; onChanged(); } } else { if (ruleBasedUserListCase_ == 3) { ruleBasedUserListCase_ = 0; ruleBasedUserList_ = null; } dateSpecificRuleUserListBuilder_.clear(); } return this; } /** *
     * Visitors of a page during specific dates. The visiting periods are
     * defined as follows:
     * Between start_date (inclusive) and end_date (inclusive);
     * Before end_date (exclusive) with start_date = 2000-01-01;
     * After start_date (exclusive) with end_date = 2037-12-30.
     * 
* * .google.ads.googleads.v10.common.DateSpecificRuleUserListInfo date_specific_rule_user_list = 3; */ public com.google.ads.googleads.v10.common.DateSpecificRuleUserListInfo.Builder getDateSpecificRuleUserListBuilder() { return getDateSpecificRuleUserListFieldBuilder().getBuilder(); } /** *
     * Visitors of a page during specific dates. The visiting periods are
     * defined as follows:
     * Between start_date (inclusive) and end_date (inclusive);
     * Before end_date (exclusive) with start_date = 2000-01-01;
     * After start_date (exclusive) with end_date = 2037-12-30.
     * 
* * .google.ads.googleads.v10.common.DateSpecificRuleUserListInfo date_specific_rule_user_list = 3; */ @java.lang.Override public com.google.ads.googleads.v10.common.DateSpecificRuleUserListInfoOrBuilder getDateSpecificRuleUserListOrBuilder() { if ((ruleBasedUserListCase_ == 3) && (dateSpecificRuleUserListBuilder_ != null)) { return dateSpecificRuleUserListBuilder_.getMessageOrBuilder(); } else { if (ruleBasedUserListCase_ == 3) { return (com.google.ads.googleads.v10.common.DateSpecificRuleUserListInfo) ruleBasedUserList_; } return com.google.ads.googleads.v10.common.DateSpecificRuleUserListInfo.getDefaultInstance(); } } /** *
     * Visitors of a page during specific dates. The visiting periods are
     * defined as follows:
     * Between start_date (inclusive) and end_date (inclusive);
     * Before end_date (exclusive) with start_date = 2000-01-01;
     * After start_date (exclusive) with end_date = 2037-12-30.
     * 
* * .google.ads.googleads.v10.common.DateSpecificRuleUserListInfo date_specific_rule_user_list = 3; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.ads.googleads.v10.common.DateSpecificRuleUserListInfo, com.google.ads.googleads.v10.common.DateSpecificRuleUserListInfo.Builder, com.google.ads.googleads.v10.common.DateSpecificRuleUserListInfoOrBuilder> getDateSpecificRuleUserListFieldBuilder() { if (dateSpecificRuleUserListBuilder_ == null) { if (!(ruleBasedUserListCase_ == 3)) { ruleBasedUserList_ = com.google.ads.googleads.v10.common.DateSpecificRuleUserListInfo.getDefaultInstance(); } dateSpecificRuleUserListBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.ads.googleads.v10.common.DateSpecificRuleUserListInfo, com.google.ads.googleads.v10.common.DateSpecificRuleUserListInfo.Builder, com.google.ads.googleads.v10.common.DateSpecificRuleUserListInfoOrBuilder>( (com.google.ads.googleads.v10.common.DateSpecificRuleUserListInfo) ruleBasedUserList_, getParentForChildren(), isClean()); ruleBasedUserList_ = null; } ruleBasedUserListCase_ = 3; onChanged();; return dateSpecificRuleUserListBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.google.ads.googleads.v10.common.ExpressionRuleUserListInfo, com.google.ads.googleads.v10.common.ExpressionRuleUserListInfo.Builder, com.google.ads.googleads.v10.common.ExpressionRuleUserListInfoOrBuilder> expressionRuleUserListBuilder_; /** *
     * Visitors of a page. The page visit is defined by one boolean rule
     * expression.
     * 
* * .google.ads.googleads.v10.common.ExpressionRuleUserListInfo expression_rule_user_list = 4; * @return Whether the expressionRuleUserList field is set. */ @java.lang.Override public boolean hasExpressionRuleUserList() { return ruleBasedUserListCase_ == 4; } /** *
     * Visitors of a page. The page visit is defined by one boolean rule
     * expression.
     * 
* * .google.ads.googleads.v10.common.ExpressionRuleUserListInfo expression_rule_user_list = 4; * @return The expressionRuleUserList. */ @java.lang.Override public com.google.ads.googleads.v10.common.ExpressionRuleUserListInfo getExpressionRuleUserList() { if (expressionRuleUserListBuilder_ == null) { if (ruleBasedUserListCase_ == 4) { return (com.google.ads.googleads.v10.common.ExpressionRuleUserListInfo) ruleBasedUserList_; } return com.google.ads.googleads.v10.common.ExpressionRuleUserListInfo.getDefaultInstance(); } else { if (ruleBasedUserListCase_ == 4) { return expressionRuleUserListBuilder_.getMessage(); } return com.google.ads.googleads.v10.common.ExpressionRuleUserListInfo.getDefaultInstance(); } } /** *
     * Visitors of a page. The page visit is defined by one boolean rule
     * expression.
     * 
* * .google.ads.googleads.v10.common.ExpressionRuleUserListInfo expression_rule_user_list = 4; */ public Builder setExpressionRuleUserList(com.google.ads.googleads.v10.common.ExpressionRuleUserListInfo value) { if (expressionRuleUserListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ruleBasedUserList_ = value; onChanged(); } else { expressionRuleUserListBuilder_.setMessage(value); } ruleBasedUserListCase_ = 4; return this; } /** *
     * Visitors of a page. The page visit is defined by one boolean rule
     * expression.
     * 
* * .google.ads.googleads.v10.common.ExpressionRuleUserListInfo expression_rule_user_list = 4; */ public Builder setExpressionRuleUserList( com.google.ads.googleads.v10.common.ExpressionRuleUserListInfo.Builder builderForValue) { if (expressionRuleUserListBuilder_ == null) { ruleBasedUserList_ = builderForValue.build(); onChanged(); } else { expressionRuleUserListBuilder_.setMessage(builderForValue.build()); } ruleBasedUserListCase_ = 4; return this; } /** *
     * Visitors of a page. The page visit is defined by one boolean rule
     * expression.
     * 
* * .google.ads.googleads.v10.common.ExpressionRuleUserListInfo expression_rule_user_list = 4; */ public Builder mergeExpressionRuleUserList(com.google.ads.googleads.v10.common.ExpressionRuleUserListInfo value) { if (expressionRuleUserListBuilder_ == null) { if (ruleBasedUserListCase_ == 4 && ruleBasedUserList_ != com.google.ads.googleads.v10.common.ExpressionRuleUserListInfo.getDefaultInstance()) { ruleBasedUserList_ = com.google.ads.googleads.v10.common.ExpressionRuleUserListInfo.newBuilder((com.google.ads.googleads.v10.common.ExpressionRuleUserListInfo) ruleBasedUserList_) .mergeFrom(value).buildPartial(); } else { ruleBasedUserList_ = value; } onChanged(); } else { if (ruleBasedUserListCase_ == 4) { expressionRuleUserListBuilder_.mergeFrom(value); } else { expressionRuleUserListBuilder_.setMessage(value); } } ruleBasedUserListCase_ = 4; return this; } /** *
     * Visitors of a page. The page visit is defined by one boolean rule
     * expression.
     * 
* * .google.ads.googleads.v10.common.ExpressionRuleUserListInfo expression_rule_user_list = 4; */ public Builder clearExpressionRuleUserList() { if (expressionRuleUserListBuilder_ == null) { if (ruleBasedUserListCase_ == 4) { ruleBasedUserListCase_ = 0; ruleBasedUserList_ = null; onChanged(); } } else { if (ruleBasedUserListCase_ == 4) { ruleBasedUserListCase_ = 0; ruleBasedUserList_ = null; } expressionRuleUserListBuilder_.clear(); } return this; } /** *
     * Visitors of a page. The page visit is defined by one boolean rule
     * expression.
     * 
* * .google.ads.googleads.v10.common.ExpressionRuleUserListInfo expression_rule_user_list = 4; */ public com.google.ads.googleads.v10.common.ExpressionRuleUserListInfo.Builder getExpressionRuleUserListBuilder() { return getExpressionRuleUserListFieldBuilder().getBuilder(); } /** *
     * Visitors of a page. The page visit is defined by one boolean rule
     * expression.
     * 
* * .google.ads.googleads.v10.common.ExpressionRuleUserListInfo expression_rule_user_list = 4; */ @java.lang.Override public com.google.ads.googleads.v10.common.ExpressionRuleUserListInfoOrBuilder getExpressionRuleUserListOrBuilder() { if ((ruleBasedUserListCase_ == 4) && (expressionRuleUserListBuilder_ != null)) { return expressionRuleUserListBuilder_.getMessageOrBuilder(); } else { if (ruleBasedUserListCase_ == 4) { return (com.google.ads.googleads.v10.common.ExpressionRuleUserListInfo) ruleBasedUserList_; } return com.google.ads.googleads.v10.common.ExpressionRuleUserListInfo.getDefaultInstance(); } } /** *
     * Visitors of a page. The page visit is defined by one boolean rule
     * expression.
     * 
* * .google.ads.googleads.v10.common.ExpressionRuleUserListInfo expression_rule_user_list = 4; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.ads.googleads.v10.common.ExpressionRuleUserListInfo, com.google.ads.googleads.v10.common.ExpressionRuleUserListInfo.Builder, com.google.ads.googleads.v10.common.ExpressionRuleUserListInfoOrBuilder> getExpressionRuleUserListFieldBuilder() { if (expressionRuleUserListBuilder_ == null) { if (!(ruleBasedUserListCase_ == 4)) { ruleBasedUserList_ = com.google.ads.googleads.v10.common.ExpressionRuleUserListInfo.getDefaultInstance(); } expressionRuleUserListBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.ads.googleads.v10.common.ExpressionRuleUserListInfo, com.google.ads.googleads.v10.common.ExpressionRuleUserListInfo.Builder, com.google.ads.googleads.v10.common.ExpressionRuleUserListInfoOrBuilder>( (com.google.ads.googleads.v10.common.ExpressionRuleUserListInfo) ruleBasedUserList_, getParentForChildren(), isClean()); ruleBasedUserList_ = null; } ruleBasedUserListCase_ = 4; onChanged();; return expressionRuleUserListBuilder_; } @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.v10.common.RuleBasedUserListInfo) } // @@protoc_insertion_point(class_scope:google.ads.googleads.v10.common.RuleBasedUserListInfo) private static final com.google.ads.googleads.v10.common.RuleBasedUserListInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.ads.googleads.v10.common.RuleBasedUserListInfo(); } public static com.google.ads.googleads.v10.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.v10.common.RuleBasedUserListInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy