com.google.ads.googleads.v17.common.UserListRuleItemInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of google-ads-stubs-v17 Show documentation
Show all versions of google-ads-stubs-v17 Show documentation
Stubs for GAAPI version google-ads-stubs-v17
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;
/**
*
* An atomic rule item.
*
*
* Protobuf type {@code google.ads.googleads.v17.common.UserListRuleItemInfo}
*/
public final class UserListRuleItemInfo extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:google.ads.googleads.v17.common.UserListRuleItemInfo)
UserListRuleItemInfoOrBuilder {
private static final long serialVersionUID = 0L;
// Use UserListRuleItemInfo.newBuilder() to construct.
private UserListRuleItemInfo(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private UserListRuleItemInfo() {
name_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new UserListRuleItemInfo();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.ads.googleads.v17.common.UserListsProto.internal_static_google_ads_googleads_v17_common_UserListRuleItemInfo_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_UserListRuleItemInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.ads.googleads.v17.common.UserListRuleItemInfo.class, com.google.ads.googleads.v17.common.UserListRuleItemInfo.Builder.class);
}
private int bitField0_;
private int ruleItemCase_ = 0;
@SuppressWarnings("serial")
private java.lang.Object ruleItem_;
public enum RuleItemCase
implements com.google.protobuf.Internal.EnumLite,
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
NUMBER_RULE_ITEM(2),
STRING_RULE_ITEM(3),
DATE_RULE_ITEM(4),
RULEITEM_NOT_SET(0);
private final int value;
private RuleItemCase(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 RuleItemCase valueOf(int value) {
return forNumber(value);
}
public static RuleItemCase forNumber(int value) {
switch (value) {
case 2: return NUMBER_RULE_ITEM;
case 3: return STRING_RULE_ITEM;
case 4: return DATE_RULE_ITEM;
case 0: return RULEITEM_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public RuleItemCase
getRuleItemCase() {
return RuleItemCase.forNumber(
ruleItemCase_);
}
public static final int NAME_FIELD_NUMBER = 5;
@SuppressWarnings("serial")
private volatile java.lang.Object name_ = "";
/**
*
* Rule variable name. It should match the corresponding key name fired
* by the pixel.
* A name must begin with US-ascii letters or underscore or UTF8 code that is
* greater than 127 and consist of US-ascii letters or digits or underscore or
* UTF8 code that is greater than 127.
* For websites, there are two built-in variable URL (name = 'url__') and
* referrer URL (name = 'ref_url__').
* This field must be populated when creating a new rule item.
*
*
* optional string name = 5;
* @return Whether the name field is set.
*/
@java.lang.Override
public boolean hasName() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* Rule variable name. It should match the corresponding key name fired
* by the pixel.
* A name must begin with US-ascii letters or underscore or UTF8 code that is
* greater than 127 and consist of US-ascii letters or digits or underscore or
* UTF8 code that is greater than 127.
* For websites, there are two built-in variable URL (name = 'url__') and
* referrer URL (name = 'ref_url__').
* This field must be populated when creating a new rule item.
*
*
* optional string name = 5;
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
}
}
/**
*
* Rule variable name. It should match the corresponding key name fired
* by the pixel.
* A name must begin with US-ascii letters or underscore or UTF8 code that is
* greater than 127 and consist of US-ascii letters or digits or underscore or
* UTF8 code that is greater than 127.
* For websites, there are two built-in variable URL (name = 'url__') and
* referrer URL (name = 'ref_url__').
* This field must be populated when creating a new rule item.
*
*
* optional string name = 5;
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int NUMBER_RULE_ITEM_FIELD_NUMBER = 2;
/**
*
* An atomic rule item composed of a number operation.
*
*
* .google.ads.googleads.v17.common.UserListNumberRuleItemInfo number_rule_item = 2;
* @return Whether the numberRuleItem field is set.
*/
@java.lang.Override
public boolean hasNumberRuleItem() {
return ruleItemCase_ == 2;
}
/**
*
* An atomic rule item composed of a number operation.
*
*
* .google.ads.googleads.v17.common.UserListNumberRuleItemInfo number_rule_item = 2;
* @return The numberRuleItem.
*/
@java.lang.Override
public com.google.ads.googleads.v17.common.UserListNumberRuleItemInfo getNumberRuleItem() {
if (ruleItemCase_ == 2) {
return (com.google.ads.googleads.v17.common.UserListNumberRuleItemInfo) ruleItem_;
}
return com.google.ads.googleads.v17.common.UserListNumberRuleItemInfo.getDefaultInstance();
}
/**
*
* An atomic rule item composed of a number operation.
*
*
* .google.ads.googleads.v17.common.UserListNumberRuleItemInfo number_rule_item = 2;
*/
@java.lang.Override
public com.google.ads.googleads.v17.common.UserListNumberRuleItemInfoOrBuilder getNumberRuleItemOrBuilder() {
if (ruleItemCase_ == 2) {
return (com.google.ads.googleads.v17.common.UserListNumberRuleItemInfo) ruleItem_;
}
return com.google.ads.googleads.v17.common.UserListNumberRuleItemInfo.getDefaultInstance();
}
public static final int STRING_RULE_ITEM_FIELD_NUMBER = 3;
/**
*
* An atomic rule item composed of a string operation.
*
*
* .google.ads.googleads.v17.common.UserListStringRuleItemInfo string_rule_item = 3;
* @return Whether the stringRuleItem field is set.
*/
@java.lang.Override
public boolean hasStringRuleItem() {
return ruleItemCase_ == 3;
}
/**
*
* An atomic rule item composed of a string operation.
*
*
* .google.ads.googleads.v17.common.UserListStringRuleItemInfo string_rule_item = 3;
* @return The stringRuleItem.
*/
@java.lang.Override
public com.google.ads.googleads.v17.common.UserListStringRuleItemInfo getStringRuleItem() {
if (ruleItemCase_ == 3) {
return (com.google.ads.googleads.v17.common.UserListStringRuleItemInfo) ruleItem_;
}
return com.google.ads.googleads.v17.common.UserListStringRuleItemInfo.getDefaultInstance();
}
/**
*
* An atomic rule item composed of a string operation.
*
*
* .google.ads.googleads.v17.common.UserListStringRuleItemInfo string_rule_item = 3;
*/
@java.lang.Override
public com.google.ads.googleads.v17.common.UserListStringRuleItemInfoOrBuilder getStringRuleItemOrBuilder() {
if (ruleItemCase_ == 3) {
return (com.google.ads.googleads.v17.common.UserListStringRuleItemInfo) ruleItem_;
}
return com.google.ads.googleads.v17.common.UserListStringRuleItemInfo.getDefaultInstance();
}
public static final int DATE_RULE_ITEM_FIELD_NUMBER = 4;
/**
*
* An atomic rule item composed of a date operation.
*
*
* .google.ads.googleads.v17.common.UserListDateRuleItemInfo date_rule_item = 4;
* @return Whether the dateRuleItem field is set.
*/
@java.lang.Override
public boolean hasDateRuleItem() {
return ruleItemCase_ == 4;
}
/**
*
* An atomic rule item composed of a date operation.
*
*
* .google.ads.googleads.v17.common.UserListDateRuleItemInfo date_rule_item = 4;
* @return The dateRuleItem.
*/
@java.lang.Override
public com.google.ads.googleads.v17.common.UserListDateRuleItemInfo getDateRuleItem() {
if (ruleItemCase_ == 4) {
return (com.google.ads.googleads.v17.common.UserListDateRuleItemInfo) ruleItem_;
}
return com.google.ads.googleads.v17.common.UserListDateRuleItemInfo.getDefaultInstance();
}
/**
*
* An atomic rule item composed of a date operation.
*
*
* .google.ads.googleads.v17.common.UserListDateRuleItemInfo date_rule_item = 4;
*/
@java.lang.Override
public com.google.ads.googleads.v17.common.UserListDateRuleItemInfoOrBuilder getDateRuleItemOrBuilder() {
if (ruleItemCase_ == 4) {
return (com.google.ads.googleads.v17.common.UserListDateRuleItemInfo) ruleItem_;
}
return com.google.ads.googleads.v17.common.UserListDateRuleItemInfo.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 (ruleItemCase_ == 2) {
output.writeMessage(2, (com.google.ads.googleads.v17.common.UserListNumberRuleItemInfo) ruleItem_);
}
if (ruleItemCase_ == 3) {
output.writeMessage(3, (com.google.ads.googleads.v17.common.UserListStringRuleItemInfo) ruleItem_);
}
if (ruleItemCase_ == 4) {
output.writeMessage(4, (com.google.ads.googleads.v17.common.UserListDateRuleItemInfo) ruleItem_);
}
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, name_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (ruleItemCase_ == 2) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, (com.google.ads.googleads.v17.common.UserListNumberRuleItemInfo) ruleItem_);
}
if (ruleItemCase_ == 3) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, (com.google.ads.googleads.v17.common.UserListStringRuleItemInfo) ruleItem_);
}
if (ruleItemCase_ == 4) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, (com.google.ads.googleads.v17.common.UserListDateRuleItemInfo) ruleItem_);
}
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, name_);
}
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.UserListRuleItemInfo)) {
return super.equals(obj);
}
com.google.ads.googleads.v17.common.UserListRuleItemInfo other = (com.google.ads.googleads.v17.common.UserListRuleItemInfo) obj;
if (hasName() != other.hasName()) return false;
if (hasName()) {
if (!getName()
.equals(other.getName())) return false;
}
if (!getRuleItemCase().equals(other.getRuleItemCase())) return false;
switch (ruleItemCase_) {
case 2:
if (!getNumberRuleItem()
.equals(other.getNumberRuleItem())) return false;
break;
case 3:
if (!getStringRuleItem()
.equals(other.getStringRuleItem())) return false;
break;
case 4:
if (!getDateRuleItem()
.equals(other.getDateRuleItem())) 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();
if (hasName()) {
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
}
switch (ruleItemCase_) {
case 2:
hash = (37 * hash) + NUMBER_RULE_ITEM_FIELD_NUMBER;
hash = (53 * hash) + getNumberRuleItem().hashCode();
break;
case 3:
hash = (37 * hash) + STRING_RULE_ITEM_FIELD_NUMBER;
hash = (53 * hash) + getStringRuleItem().hashCode();
break;
case 4:
hash = (37 * hash) + DATE_RULE_ITEM_FIELD_NUMBER;
hash = (53 * hash) + getDateRuleItem().hashCode();
break;
case 0:
default:
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.google.ads.googleads.v17.common.UserListRuleItemInfo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.ads.googleads.v17.common.UserListRuleItemInfo 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.UserListRuleItemInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.ads.googleads.v17.common.UserListRuleItemInfo 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.UserListRuleItemInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.ads.googleads.v17.common.UserListRuleItemInfo 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.UserListRuleItemInfo 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.UserListRuleItemInfo 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.UserListRuleItemInfo 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.UserListRuleItemInfo 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.UserListRuleItemInfo 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.UserListRuleItemInfo 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.UserListRuleItemInfo 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;
}
/**
*
* An atomic rule item.
*
*
* Protobuf type {@code google.ads.googleads.v17.common.UserListRuleItemInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:google.ads.googleads.v17.common.UserListRuleItemInfo)
com.google.ads.googleads.v17.common.UserListRuleItemInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.ads.googleads.v17.common.UserListsProto.internal_static_google_ads_googleads_v17_common_UserListRuleItemInfo_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_UserListRuleItemInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.ads.googleads.v17.common.UserListRuleItemInfo.class, com.google.ads.googleads.v17.common.UserListRuleItemInfo.Builder.class);
}
// Construct using com.google.ads.googleads.v17.common.UserListRuleItemInfo.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
name_ = "";
if (numberRuleItemBuilder_ != null) {
numberRuleItemBuilder_.clear();
}
if (stringRuleItemBuilder_ != null) {
stringRuleItemBuilder_.clear();
}
if (dateRuleItemBuilder_ != null) {
dateRuleItemBuilder_.clear();
}
ruleItemCase_ = 0;
ruleItem_ = 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_UserListRuleItemInfo_descriptor;
}
@java.lang.Override
public com.google.ads.googleads.v17.common.UserListRuleItemInfo getDefaultInstanceForType() {
return com.google.ads.googleads.v17.common.UserListRuleItemInfo.getDefaultInstance();
}
@java.lang.Override
public com.google.ads.googleads.v17.common.UserListRuleItemInfo build() {
com.google.ads.googleads.v17.common.UserListRuleItemInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.google.ads.googleads.v17.common.UserListRuleItemInfo buildPartial() {
com.google.ads.googleads.v17.common.UserListRuleItemInfo result = new com.google.ads.googleads.v17.common.UserListRuleItemInfo(this);
if (bitField0_ != 0) { buildPartial0(result); }
buildPartialOneofs(result);
onBuilt();
return result;
}
private void buildPartial0(com.google.ads.googleads.v17.common.UserListRuleItemInfo result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.name_ = name_;
to_bitField0_ |= 0x00000001;
}
result.bitField0_ |= to_bitField0_;
}
private void buildPartialOneofs(com.google.ads.googleads.v17.common.UserListRuleItemInfo result) {
result.ruleItemCase_ = ruleItemCase_;
result.ruleItem_ = this.ruleItem_;
if (ruleItemCase_ == 2 &&
numberRuleItemBuilder_ != null) {
result.ruleItem_ = numberRuleItemBuilder_.build();
}
if (ruleItemCase_ == 3 &&
stringRuleItemBuilder_ != null) {
result.ruleItem_ = stringRuleItemBuilder_.build();
}
if (ruleItemCase_ == 4 &&
dateRuleItemBuilder_ != null) {
result.ruleItem_ = dateRuleItemBuilder_.build();
}
}
@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.UserListRuleItemInfo) {
return mergeFrom((com.google.ads.googleads.v17.common.UserListRuleItemInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.google.ads.googleads.v17.common.UserListRuleItemInfo other) {
if (other == com.google.ads.googleads.v17.common.UserListRuleItemInfo.getDefaultInstance()) return this;
if (other.hasName()) {
name_ = other.name_;
bitField0_ |= 0x00000001;
onChanged();
}
switch (other.getRuleItemCase()) {
case NUMBER_RULE_ITEM: {
mergeNumberRuleItem(other.getNumberRuleItem());
break;
}
case STRING_RULE_ITEM: {
mergeStringRuleItem(other.getStringRuleItem());
break;
}
case DATE_RULE_ITEM: {
mergeDateRuleItem(other.getDateRuleItem());
break;
}
case RULEITEM_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 18: {
input.readMessage(
getNumberRuleItemFieldBuilder().getBuilder(),
extensionRegistry);
ruleItemCase_ = 2;
break;
} // case 18
case 26: {
input.readMessage(
getStringRuleItemFieldBuilder().getBuilder(),
extensionRegistry);
ruleItemCase_ = 3;
break;
} // case 26
case 34: {
input.readMessage(
getDateRuleItemFieldBuilder().getBuilder(),
extensionRegistry);
ruleItemCase_ = 4;
break;
} // case 34
case 42: {
name_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000001;
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 ruleItemCase_ = 0;
private java.lang.Object ruleItem_;
public RuleItemCase
getRuleItemCase() {
return RuleItemCase.forNumber(
ruleItemCase_);
}
public Builder clearRuleItem() {
ruleItemCase_ = 0;
ruleItem_ = null;
onChanged();
return this;
}
private int bitField0_;
private java.lang.Object name_ = "";
/**
*
* Rule variable name. It should match the corresponding key name fired
* by the pixel.
* A name must begin with US-ascii letters or underscore or UTF8 code that is
* greater than 127 and consist of US-ascii letters or digits or underscore or
* UTF8 code that is greater than 127.
* For websites, there are two built-in variable URL (name = 'url__') and
* referrer URL (name = 'ref_url__').
* This field must be populated when creating a new rule item.
*
*
* optional string name = 5;
* @return Whether the name field is set.
*/
public boolean hasName() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* Rule variable name. It should match the corresponding key name fired
* by the pixel.
* A name must begin with US-ascii letters or underscore or UTF8 code that is
* greater than 127 and consist of US-ascii letters or digits or underscore or
* UTF8 code that is greater than 127.
* For websites, there are two built-in variable URL (name = 'url__') and
* referrer URL (name = 'ref_url__').
* This field must be populated when creating a new rule item.
*
*
* optional string name = 5;
* @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Rule variable name. It should match the corresponding key name fired
* by the pixel.
* A name must begin with US-ascii letters or underscore or UTF8 code that is
* greater than 127 and consist of US-ascii letters or digits or underscore or
* UTF8 code that is greater than 127.
* For websites, there are two built-in variable URL (name = 'url__') and
* referrer URL (name = 'ref_url__').
* This field must be populated when creating a new rule item.
*
*
* optional string name = 5;
* @return The bytes for name.
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Rule variable name. It should match the corresponding key name fired
* by the pixel.
* A name must begin with US-ascii letters or underscore or UTF8 code that is
* greater than 127 and consist of US-ascii letters or digits or underscore or
* UTF8 code that is greater than 127.
* For websites, there are two built-in variable URL (name = 'url__') and
* referrer URL (name = 'ref_url__').
* This field must be populated when creating a new rule item.
*
*
* optional string name = 5;
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
name_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
*
* Rule variable name. It should match the corresponding key name fired
* by the pixel.
* A name must begin with US-ascii letters or underscore or UTF8 code that is
* greater than 127 and consist of US-ascii letters or digits or underscore or
* UTF8 code that is greater than 127.
* For websites, there are two built-in variable URL (name = 'url__') and
* referrer URL (name = 'ref_url__').
* This field must be populated when creating a new rule item.
*
*
* optional string name = 5;
* @return This builder for chaining.
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
*
* Rule variable name. It should match the corresponding key name fired
* by the pixel.
* A name must begin with US-ascii letters or underscore or UTF8 code that is
* greater than 127 and consist of US-ascii letters or digits or underscore or
* UTF8 code that is greater than 127.
* For websites, there are two built-in variable URL (name = 'url__') and
* referrer URL (name = 'ref_url__').
* This field must be populated when creating a new rule item.
*
*
* optional string name = 5;
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
name_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.google.ads.googleads.v17.common.UserListNumberRuleItemInfo, com.google.ads.googleads.v17.common.UserListNumberRuleItemInfo.Builder, com.google.ads.googleads.v17.common.UserListNumberRuleItemInfoOrBuilder> numberRuleItemBuilder_;
/**
*
* An atomic rule item composed of a number operation.
*
*
* .google.ads.googleads.v17.common.UserListNumberRuleItemInfo number_rule_item = 2;
* @return Whether the numberRuleItem field is set.
*/
@java.lang.Override
public boolean hasNumberRuleItem() {
return ruleItemCase_ == 2;
}
/**
*
* An atomic rule item composed of a number operation.
*
*
* .google.ads.googleads.v17.common.UserListNumberRuleItemInfo number_rule_item = 2;
* @return The numberRuleItem.
*/
@java.lang.Override
public com.google.ads.googleads.v17.common.UserListNumberRuleItemInfo getNumberRuleItem() {
if (numberRuleItemBuilder_ == null) {
if (ruleItemCase_ == 2) {
return (com.google.ads.googleads.v17.common.UserListNumberRuleItemInfo) ruleItem_;
}
return com.google.ads.googleads.v17.common.UserListNumberRuleItemInfo.getDefaultInstance();
} else {
if (ruleItemCase_ == 2) {
return numberRuleItemBuilder_.getMessage();
}
return com.google.ads.googleads.v17.common.UserListNumberRuleItemInfo.getDefaultInstance();
}
}
/**
*
* An atomic rule item composed of a number operation.
*
*
* .google.ads.googleads.v17.common.UserListNumberRuleItemInfo number_rule_item = 2;
*/
public Builder setNumberRuleItem(com.google.ads.googleads.v17.common.UserListNumberRuleItemInfo value) {
if (numberRuleItemBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ruleItem_ = value;
onChanged();
} else {
numberRuleItemBuilder_.setMessage(value);
}
ruleItemCase_ = 2;
return this;
}
/**
*
* An atomic rule item composed of a number operation.
*
*
* .google.ads.googleads.v17.common.UserListNumberRuleItemInfo number_rule_item = 2;
*/
public Builder setNumberRuleItem(
com.google.ads.googleads.v17.common.UserListNumberRuleItemInfo.Builder builderForValue) {
if (numberRuleItemBuilder_ == null) {
ruleItem_ = builderForValue.build();
onChanged();
} else {
numberRuleItemBuilder_.setMessage(builderForValue.build());
}
ruleItemCase_ = 2;
return this;
}
/**
*
* An atomic rule item composed of a number operation.
*
*
* .google.ads.googleads.v17.common.UserListNumberRuleItemInfo number_rule_item = 2;
*/
public Builder mergeNumberRuleItem(com.google.ads.googleads.v17.common.UserListNumberRuleItemInfo value) {
if (numberRuleItemBuilder_ == null) {
if (ruleItemCase_ == 2 &&
ruleItem_ != com.google.ads.googleads.v17.common.UserListNumberRuleItemInfo.getDefaultInstance()) {
ruleItem_ = com.google.ads.googleads.v17.common.UserListNumberRuleItemInfo.newBuilder((com.google.ads.googleads.v17.common.UserListNumberRuleItemInfo) ruleItem_)
.mergeFrom(value).buildPartial();
} else {
ruleItem_ = value;
}
onChanged();
} else {
if (ruleItemCase_ == 2) {
numberRuleItemBuilder_.mergeFrom(value);
} else {
numberRuleItemBuilder_.setMessage(value);
}
}
ruleItemCase_ = 2;
return this;
}
/**
*
* An atomic rule item composed of a number operation.
*
*
* .google.ads.googleads.v17.common.UserListNumberRuleItemInfo number_rule_item = 2;
*/
public Builder clearNumberRuleItem() {
if (numberRuleItemBuilder_ == null) {
if (ruleItemCase_ == 2) {
ruleItemCase_ = 0;
ruleItem_ = null;
onChanged();
}
} else {
if (ruleItemCase_ == 2) {
ruleItemCase_ = 0;
ruleItem_ = null;
}
numberRuleItemBuilder_.clear();
}
return this;
}
/**
*
* An atomic rule item composed of a number operation.
*
*
* .google.ads.googleads.v17.common.UserListNumberRuleItemInfo number_rule_item = 2;
*/
public com.google.ads.googleads.v17.common.UserListNumberRuleItemInfo.Builder getNumberRuleItemBuilder() {
return getNumberRuleItemFieldBuilder().getBuilder();
}
/**
*
* An atomic rule item composed of a number operation.
*
*
* .google.ads.googleads.v17.common.UserListNumberRuleItemInfo number_rule_item = 2;
*/
@java.lang.Override
public com.google.ads.googleads.v17.common.UserListNumberRuleItemInfoOrBuilder getNumberRuleItemOrBuilder() {
if ((ruleItemCase_ == 2) && (numberRuleItemBuilder_ != null)) {
return numberRuleItemBuilder_.getMessageOrBuilder();
} else {
if (ruleItemCase_ == 2) {
return (com.google.ads.googleads.v17.common.UserListNumberRuleItemInfo) ruleItem_;
}
return com.google.ads.googleads.v17.common.UserListNumberRuleItemInfo.getDefaultInstance();
}
}
/**
*
* An atomic rule item composed of a number operation.
*
*
* .google.ads.googleads.v17.common.UserListNumberRuleItemInfo number_rule_item = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.ads.googleads.v17.common.UserListNumberRuleItemInfo, com.google.ads.googleads.v17.common.UserListNumberRuleItemInfo.Builder, com.google.ads.googleads.v17.common.UserListNumberRuleItemInfoOrBuilder>
getNumberRuleItemFieldBuilder() {
if (numberRuleItemBuilder_ == null) {
if (!(ruleItemCase_ == 2)) {
ruleItem_ = com.google.ads.googleads.v17.common.UserListNumberRuleItemInfo.getDefaultInstance();
}
numberRuleItemBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.ads.googleads.v17.common.UserListNumberRuleItemInfo, com.google.ads.googleads.v17.common.UserListNumberRuleItemInfo.Builder, com.google.ads.googleads.v17.common.UserListNumberRuleItemInfoOrBuilder>(
(com.google.ads.googleads.v17.common.UserListNumberRuleItemInfo) ruleItem_,
getParentForChildren(),
isClean());
ruleItem_ = null;
}
ruleItemCase_ = 2;
onChanged();
return numberRuleItemBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.google.ads.googleads.v17.common.UserListStringRuleItemInfo, com.google.ads.googleads.v17.common.UserListStringRuleItemInfo.Builder, com.google.ads.googleads.v17.common.UserListStringRuleItemInfoOrBuilder> stringRuleItemBuilder_;
/**
*
* An atomic rule item composed of a string operation.
*
*
* .google.ads.googleads.v17.common.UserListStringRuleItemInfo string_rule_item = 3;
* @return Whether the stringRuleItem field is set.
*/
@java.lang.Override
public boolean hasStringRuleItem() {
return ruleItemCase_ == 3;
}
/**
*
* An atomic rule item composed of a string operation.
*
*
* .google.ads.googleads.v17.common.UserListStringRuleItemInfo string_rule_item = 3;
* @return The stringRuleItem.
*/
@java.lang.Override
public com.google.ads.googleads.v17.common.UserListStringRuleItemInfo getStringRuleItem() {
if (stringRuleItemBuilder_ == null) {
if (ruleItemCase_ == 3) {
return (com.google.ads.googleads.v17.common.UserListStringRuleItemInfo) ruleItem_;
}
return com.google.ads.googleads.v17.common.UserListStringRuleItemInfo.getDefaultInstance();
} else {
if (ruleItemCase_ == 3) {
return stringRuleItemBuilder_.getMessage();
}
return com.google.ads.googleads.v17.common.UserListStringRuleItemInfo.getDefaultInstance();
}
}
/**
*
* An atomic rule item composed of a string operation.
*
*
* .google.ads.googleads.v17.common.UserListStringRuleItemInfo string_rule_item = 3;
*/
public Builder setStringRuleItem(com.google.ads.googleads.v17.common.UserListStringRuleItemInfo value) {
if (stringRuleItemBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ruleItem_ = value;
onChanged();
} else {
stringRuleItemBuilder_.setMessage(value);
}
ruleItemCase_ = 3;
return this;
}
/**
*
* An atomic rule item composed of a string operation.
*
*
* .google.ads.googleads.v17.common.UserListStringRuleItemInfo string_rule_item = 3;
*/
public Builder setStringRuleItem(
com.google.ads.googleads.v17.common.UserListStringRuleItemInfo.Builder builderForValue) {
if (stringRuleItemBuilder_ == null) {
ruleItem_ = builderForValue.build();
onChanged();
} else {
stringRuleItemBuilder_.setMessage(builderForValue.build());
}
ruleItemCase_ = 3;
return this;
}
/**
*
* An atomic rule item composed of a string operation.
*
*
* .google.ads.googleads.v17.common.UserListStringRuleItemInfo string_rule_item = 3;
*/
public Builder mergeStringRuleItem(com.google.ads.googleads.v17.common.UserListStringRuleItemInfo value) {
if (stringRuleItemBuilder_ == null) {
if (ruleItemCase_ == 3 &&
ruleItem_ != com.google.ads.googleads.v17.common.UserListStringRuleItemInfo.getDefaultInstance()) {
ruleItem_ = com.google.ads.googleads.v17.common.UserListStringRuleItemInfo.newBuilder((com.google.ads.googleads.v17.common.UserListStringRuleItemInfo) ruleItem_)
.mergeFrom(value).buildPartial();
} else {
ruleItem_ = value;
}
onChanged();
} else {
if (ruleItemCase_ == 3) {
stringRuleItemBuilder_.mergeFrom(value);
} else {
stringRuleItemBuilder_.setMessage(value);
}
}
ruleItemCase_ = 3;
return this;
}
/**
*
* An atomic rule item composed of a string operation.
*
*
* .google.ads.googleads.v17.common.UserListStringRuleItemInfo string_rule_item = 3;
*/
public Builder clearStringRuleItem() {
if (stringRuleItemBuilder_ == null) {
if (ruleItemCase_ == 3) {
ruleItemCase_ = 0;
ruleItem_ = null;
onChanged();
}
} else {
if (ruleItemCase_ == 3) {
ruleItemCase_ = 0;
ruleItem_ = null;
}
stringRuleItemBuilder_.clear();
}
return this;
}
/**
*
* An atomic rule item composed of a string operation.
*
*
* .google.ads.googleads.v17.common.UserListStringRuleItemInfo string_rule_item = 3;
*/
public com.google.ads.googleads.v17.common.UserListStringRuleItemInfo.Builder getStringRuleItemBuilder() {
return getStringRuleItemFieldBuilder().getBuilder();
}
/**
*
* An atomic rule item composed of a string operation.
*
*
* .google.ads.googleads.v17.common.UserListStringRuleItemInfo string_rule_item = 3;
*/
@java.lang.Override
public com.google.ads.googleads.v17.common.UserListStringRuleItemInfoOrBuilder getStringRuleItemOrBuilder() {
if ((ruleItemCase_ == 3) && (stringRuleItemBuilder_ != null)) {
return stringRuleItemBuilder_.getMessageOrBuilder();
} else {
if (ruleItemCase_ == 3) {
return (com.google.ads.googleads.v17.common.UserListStringRuleItemInfo) ruleItem_;
}
return com.google.ads.googleads.v17.common.UserListStringRuleItemInfo.getDefaultInstance();
}
}
/**
*
* An atomic rule item composed of a string operation.
*
*
* .google.ads.googleads.v17.common.UserListStringRuleItemInfo string_rule_item = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.ads.googleads.v17.common.UserListStringRuleItemInfo, com.google.ads.googleads.v17.common.UserListStringRuleItemInfo.Builder, com.google.ads.googleads.v17.common.UserListStringRuleItemInfoOrBuilder>
getStringRuleItemFieldBuilder() {
if (stringRuleItemBuilder_ == null) {
if (!(ruleItemCase_ == 3)) {
ruleItem_ = com.google.ads.googleads.v17.common.UserListStringRuleItemInfo.getDefaultInstance();
}
stringRuleItemBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.ads.googleads.v17.common.UserListStringRuleItemInfo, com.google.ads.googleads.v17.common.UserListStringRuleItemInfo.Builder, com.google.ads.googleads.v17.common.UserListStringRuleItemInfoOrBuilder>(
(com.google.ads.googleads.v17.common.UserListStringRuleItemInfo) ruleItem_,
getParentForChildren(),
isClean());
ruleItem_ = null;
}
ruleItemCase_ = 3;
onChanged();
return stringRuleItemBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.google.ads.googleads.v17.common.UserListDateRuleItemInfo, com.google.ads.googleads.v17.common.UserListDateRuleItemInfo.Builder, com.google.ads.googleads.v17.common.UserListDateRuleItemInfoOrBuilder> dateRuleItemBuilder_;
/**
*
* An atomic rule item composed of a date operation.
*
*
* .google.ads.googleads.v17.common.UserListDateRuleItemInfo date_rule_item = 4;
* @return Whether the dateRuleItem field is set.
*/
@java.lang.Override
public boolean hasDateRuleItem() {
return ruleItemCase_ == 4;
}
/**
*
* An atomic rule item composed of a date operation.
*
*
* .google.ads.googleads.v17.common.UserListDateRuleItemInfo date_rule_item = 4;
* @return The dateRuleItem.
*/
@java.lang.Override
public com.google.ads.googleads.v17.common.UserListDateRuleItemInfo getDateRuleItem() {
if (dateRuleItemBuilder_ == null) {
if (ruleItemCase_ == 4) {
return (com.google.ads.googleads.v17.common.UserListDateRuleItemInfo) ruleItem_;
}
return com.google.ads.googleads.v17.common.UserListDateRuleItemInfo.getDefaultInstance();
} else {
if (ruleItemCase_ == 4) {
return dateRuleItemBuilder_.getMessage();
}
return com.google.ads.googleads.v17.common.UserListDateRuleItemInfo.getDefaultInstance();
}
}
/**
*
* An atomic rule item composed of a date operation.
*
*
* .google.ads.googleads.v17.common.UserListDateRuleItemInfo date_rule_item = 4;
*/
public Builder setDateRuleItem(com.google.ads.googleads.v17.common.UserListDateRuleItemInfo value) {
if (dateRuleItemBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ruleItem_ = value;
onChanged();
} else {
dateRuleItemBuilder_.setMessage(value);
}
ruleItemCase_ = 4;
return this;
}
/**
*
* An atomic rule item composed of a date operation.
*
*
* .google.ads.googleads.v17.common.UserListDateRuleItemInfo date_rule_item = 4;
*/
public Builder setDateRuleItem(
com.google.ads.googleads.v17.common.UserListDateRuleItemInfo.Builder builderForValue) {
if (dateRuleItemBuilder_ == null) {
ruleItem_ = builderForValue.build();
onChanged();
} else {
dateRuleItemBuilder_.setMessage(builderForValue.build());
}
ruleItemCase_ = 4;
return this;
}
/**
*
* An atomic rule item composed of a date operation.
*
*
* .google.ads.googleads.v17.common.UserListDateRuleItemInfo date_rule_item = 4;
*/
public Builder mergeDateRuleItem(com.google.ads.googleads.v17.common.UserListDateRuleItemInfo value) {
if (dateRuleItemBuilder_ == null) {
if (ruleItemCase_ == 4 &&
ruleItem_ != com.google.ads.googleads.v17.common.UserListDateRuleItemInfo.getDefaultInstance()) {
ruleItem_ = com.google.ads.googleads.v17.common.UserListDateRuleItemInfo.newBuilder((com.google.ads.googleads.v17.common.UserListDateRuleItemInfo) ruleItem_)
.mergeFrom(value).buildPartial();
} else {
ruleItem_ = value;
}
onChanged();
} else {
if (ruleItemCase_ == 4) {
dateRuleItemBuilder_.mergeFrom(value);
} else {
dateRuleItemBuilder_.setMessage(value);
}
}
ruleItemCase_ = 4;
return this;
}
/**
*
* An atomic rule item composed of a date operation.
*
*
* .google.ads.googleads.v17.common.UserListDateRuleItemInfo date_rule_item = 4;
*/
public Builder clearDateRuleItem() {
if (dateRuleItemBuilder_ == null) {
if (ruleItemCase_ == 4) {
ruleItemCase_ = 0;
ruleItem_ = null;
onChanged();
}
} else {
if (ruleItemCase_ == 4) {
ruleItemCase_ = 0;
ruleItem_ = null;
}
dateRuleItemBuilder_.clear();
}
return this;
}
/**
*
* An atomic rule item composed of a date operation.
*
*
* .google.ads.googleads.v17.common.UserListDateRuleItemInfo date_rule_item = 4;
*/
public com.google.ads.googleads.v17.common.UserListDateRuleItemInfo.Builder getDateRuleItemBuilder() {
return getDateRuleItemFieldBuilder().getBuilder();
}
/**
*
* An atomic rule item composed of a date operation.
*
*
* .google.ads.googleads.v17.common.UserListDateRuleItemInfo date_rule_item = 4;
*/
@java.lang.Override
public com.google.ads.googleads.v17.common.UserListDateRuleItemInfoOrBuilder getDateRuleItemOrBuilder() {
if ((ruleItemCase_ == 4) && (dateRuleItemBuilder_ != null)) {
return dateRuleItemBuilder_.getMessageOrBuilder();
} else {
if (ruleItemCase_ == 4) {
return (com.google.ads.googleads.v17.common.UserListDateRuleItemInfo) ruleItem_;
}
return com.google.ads.googleads.v17.common.UserListDateRuleItemInfo.getDefaultInstance();
}
}
/**
*
* An atomic rule item composed of a date operation.
*
*
* .google.ads.googleads.v17.common.UserListDateRuleItemInfo date_rule_item = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.ads.googleads.v17.common.UserListDateRuleItemInfo, com.google.ads.googleads.v17.common.UserListDateRuleItemInfo.Builder, com.google.ads.googleads.v17.common.UserListDateRuleItemInfoOrBuilder>
getDateRuleItemFieldBuilder() {
if (dateRuleItemBuilder_ == null) {
if (!(ruleItemCase_ == 4)) {
ruleItem_ = com.google.ads.googleads.v17.common.UserListDateRuleItemInfo.getDefaultInstance();
}
dateRuleItemBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.ads.googleads.v17.common.UserListDateRuleItemInfo, com.google.ads.googleads.v17.common.UserListDateRuleItemInfo.Builder, com.google.ads.googleads.v17.common.UserListDateRuleItemInfoOrBuilder>(
(com.google.ads.googleads.v17.common.UserListDateRuleItemInfo) ruleItem_,
getParentForChildren(),
isClean());
ruleItem_ = null;
}
ruleItemCase_ = 4;
onChanged();
return dateRuleItemBuilder_;
}
@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.UserListRuleItemInfo)
}
// @@protoc_insertion_point(class_scope:google.ads.googleads.v17.common.UserListRuleItemInfo)
private static final com.google.ads.googleads.v17.common.UserListRuleItemInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.google.ads.googleads.v17.common.UserListRuleItemInfo();
}
public static com.google.ads.googleads.v17.common.UserListRuleItemInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public UserListRuleItemInfo 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.UserListRuleItemInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy