com.google.ads.googleads.v10.common.Operand Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/ads/googleads/v10/common/matching_function.proto
package com.google.ads.googleads.v10.common;
/**
*
* An operand in a matching function.
*
*
* Protobuf type {@code google.ads.googleads.v10.common.Operand}
*/
public final class Operand extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:google.ads.googleads.v10.common.Operand)
OperandOrBuilder {
private static final long serialVersionUID = 0L;
// Use Operand.newBuilder() to construct.
private Operand(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Operand() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Operand();
}
@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.MatchingFunctionProto.internal_static_google_ads_googleads_v10_common_Operand_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.ads.googleads.v10.common.MatchingFunctionProto.internal_static_google_ads_googleads_v10_common_Operand_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.ads.googleads.v10.common.Operand.class, com.google.ads.googleads.v10.common.Operand.Builder.class);
}
public interface ConstantOperandOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.ads.googleads.v10.common.Operand.ConstantOperand)
com.google.protobuf.MessageOrBuilder {
/**
*
* String value of the operand if it is a string type.
*
*
* string string_value = 5;
* @return Whether the stringValue field is set.
*/
boolean hasStringValue();
/**
*
* String value of the operand if it is a string type.
*
*
* string string_value = 5;
* @return The stringValue.
*/
java.lang.String getStringValue();
/**
*
* String value of the operand if it is a string type.
*
*
* string string_value = 5;
* @return The bytes for stringValue.
*/
com.google.protobuf.ByteString
getStringValueBytes();
/**
*
* Int64 value of the operand if it is a int64 type.
*
*
* int64 long_value = 6;
* @return Whether the longValue field is set.
*/
boolean hasLongValue();
/**
*
* Int64 value of the operand if it is a int64 type.
*
*
* int64 long_value = 6;
* @return The longValue.
*/
long getLongValue();
/**
*
* Boolean value of the operand if it is a boolean type.
*
*
* bool boolean_value = 7;
* @return Whether the booleanValue field is set.
*/
boolean hasBooleanValue();
/**
*
* Boolean value of the operand if it is a boolean type.
*
*
* bool boolean_value = 7;
* @return The booleanValue.
*/
boolean getBooleanValue();
/**
*
* Double value of the operand if it is a double type.
*
*
* double double_value = 8;
* @return Whether the doubleValue field is set.
*/
boolean hasDoubleValue();
/**
*
* Double value of the operand if it is a double type.
*
*
* double double_value = 8;
* @return The doubleValue.
*/
double getDoubleValue();
public com.google.ads.googleads.v10.common.Operand.ConstantOperand.ConstantOperandValueCase getConstantOperandValueCase();
}
/**
*
* A constant operand in a matching function.
*
*
* Protobuf type {@code google.ads.googleads.v10.common.Operand.ConstantOperand}
*/
public static final class ConstantOperand extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:google.ads.googleads.v10.common.Operand.ConstantOperand)
ConstantOperandOrBuilder {
private static final long serialVersionUID = 0L;
// Use ConstantOperand.newBuilder() to construct.
private ConstantOperand(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ConstantOperand() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ConstantOperand();
}
@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.MatchingFunctionProto.internal_static_google_ads_googleads_v10_common_Operand_ConstantOperand_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.ads.googleads.v10.common.MatchingFunctionProto.internal_static_google_ads_googleads_v10_common_Operand_ConstantOperand_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.ads.googleads.v10.common.Operand.ConstantOperand.class, com.google.ads.googleads.v10.common.Operand.ConstantOperand.Builder.class);
}
private int constantOperandValueCase_ = 0;
private java.lang.Object constantOperandValue_;
public enum ConstantOperandValueCase
implements com.google.protobuf.Internal.EnumLite,
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
STRING_VALUE(5),
LONG_VALUE(6),
BOOLEAN_VALUE(7),
DOUBLE_VALUE(8),
CONSTANTOPERANDVALUE_NOT_SET(0);
private final int value;
private ConstantOperandValueCase(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 ConstantOperandValueCase valueOf(int value) {
return forNumber(value);
}
public static ConstantOperandValueCase forNumber(int value) {
switch (value) {
case 5: return STRING_VALUE;
case 6: return LONG_VALUE;
case 7: return BOOLEAN_VALUE;
case 8: return DOUBLE_VALUE;
case 0: return CONSTANTOPERANDVALUE_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public ConstantOperandValueCase
getConstantOperandValueCase() {
return ConstantOperandValueCase.forNumber(
constantOperandValueCase_);
}
public static final int STRING_VALUE_FIELD_NUMBER = 5;
/**
*
* String value of the operand if it is a string type.
*
*
* string string_value = 5;
* @return Whether the stringValue field is set.
*/
public boolean hasStringValue() {
return constantOperandValueCase_ == 5;
}
/**
*
* String value of the operand if it is a string type.
*
*
* string string_value = 5;
* @return The stringValue.
*/
public java.lang.String getStringValue() {
java.lang.Object ref = "";
if (constantOperandValueCase_ == 5) {
ref = constantOperandValue_;
}
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();
if (constantOperandValueCase_ == 5) {
constantOperandValue_ = s;
}
return s;
}
}
/**
*
* String value of the operand if it is a string type.
*
*
* string string_value = 5;
* @return The bytes for stringValue.
*/
public com.google.protobuf.ByteString
getStringValueBytes() {
java.lang.Object ref = "";
if (constantOperandValueCase_ == 5) {
ref = constantOperandValue_;
}
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
if (constantOperandValueCase_ == 5) {
constantOperandValue_ = b;
}
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int LONG_VALUE_FIELD_NUMBER = 6;
/**
*
* Int64 value of the operand if it is a int64 type.
*
*
* int64 long_value = 6;
* @return Whether the longValue field is set.
*/
@java.lang.Override
public boolean hasLongValue() {
return constantOperandValueCase_ == 6;
}
/**
*
* Int64 value of the operand if it is a int64 type.
*
*
* int64 long_value = 6;
* @return The longValue.
*/
@java.lang.Override
public long getLongValue() {
if (constantOperandValueCase_ == 6) {
return (java.lang.Long) constantOperandValue_;
}
return 0L;
}
public static final int BOOLEAN_VALUE_FIELD_NUMBER = 7;
/**
*
* Boolean value of the operand if it is a boolean type.
*
*
* bool boolean_value = 7;
* @return Whether the booleanValue field is set.
*/
@java.lang.Override
public boolean hasBooleanValue() {
return constantOperandValueCase_ == 7;
}
/**
*
* Boolean value of the operand if it is a boolean type.
*
*
* bool boolean_value = 7;
* @return The booleanValue.
*/
@java.lang.Override
public boolean getBooleanValue() {
if (constantOperandValueCase_ == 7) {
return (java.lang.Boolean) constantOperandValue_;
}
return false;
}
public static final int DOUBLE_VALUE_FIELD_NUMBER = 8;
/**
*
* Double value of the operand if it is a double type.
*
*
* double double_value = 8;
* @return Whether the doubleValue field is set.
*/
@java.lang.Override
public boolean hasDoubleValue() {
return constantOperandValueCase_ == 8;
}
/**
*
* Double value of the operand if it is a double type.
*
*
* double double_value = 8;
* @return The doubleValue.
*/
@java.lang.Override
public double getDoubleValue() {
if (constantOperandValueCase_ == 8) {
return (java.lang.Double) constantOperandValue_;
}
return 0D;
}
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 (constantOperandValueCase_ == 5) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, constantOperandValue_);
}
if (constantOperandValueCase_ == 6) {
output.writeInt64(
6, (long)((java.lang.Long) constantOperandValue_));
}
if (constantOperandValueCase_ == 7) {
output.writeBool(
7, (boolean)((java.lang.Boolean) constantOperandValue_));
}
if (constantOperandValueCase_ == 8) {
output.writeDouble(
8, (double)((java.lang.Double) constantOperandValue_));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (constantOperandValueCase_ == 5) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, constantOperandValue_);
}
if (constantOperandValueCase_ == 6) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(
6, (long)((java.lang.Long) constantOperandValue_));
}
if (constantOperandValueCase_ == 7) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(
7, (boolean)((java.lang.Boolean) constantOperandValue_));
}
if (constantOperandValueCase_ == 8) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(
8, (double)((java.lang.Double) constantOperandValue_));
}
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.Operand.ConstantOperand)) {
return super.equals(obj);
}
com.google.ads.googleads.v10.common.Operand.ConstantOperand other = (com.google.ads.googleads.v10.common.Operand.ConstantOperand) obj;
if (!getConstantOperandValueCase().equals(other.getConstantOperandValueCase())) return false;
switch (constantOperandValueCase_) {
case 5:
if (!getStringValue()
.equals(other.getStringValue())) return false;
break;
case 6:
if (getLongValue()
!= other.getLongValue()) return false;
break;
case 7:
if (getBooleanValue()
!= other.getBooleanValue()) return false;
break;
case 8:
if (java.lang.Double.doubleToLongBits(getDoubleValue())
!= java.lang.Double.doubleToLongBits(
other.getDoubleValue())) 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();
switch (constantOperandValueCase_) {
case 5:
hash = (37 * hash) + STRING_VALUE_FIELD_NUMBER;
hash = (53 * hash) + getStringValue().hashCode();
break;
case 6:
hash = (37 * hash) + LONG_VALUE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getLongValue());
break;
case 7:
hash = (37 * hash) + BOOLEAN_VALUE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getBooleanValue());
break;
case 8:
hash = (37 * hash) + DOUBLE_VALUE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getDoubleValue()));
break;
case 0:
default:
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.google.ads.googleads.v10.common.Operand.ConstantOperand parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.ads.googleads.v10.common.Operand.ConstantOperand 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.Operand.ConstantOperand parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.ads.googleads.v10.common.Operand.ConstantOperand 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.Operand.ConstantOperand parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.ads.googleads.v10.common.Operand.ConstantOperand 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.Operand.ConstantOperand 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.Operand.ConstantOperand 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.Operand.ConstantOperand 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.Operand.ConstantOperand 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.Operand.ConstantOperand 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.Operand.ConstantOperand 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.Operand.ConstantOperand 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;
}
/**
*
* A constant operand in a matching function.
*
*
* Protobuf type {@code google.ads.googleads.v10.common.Operand.ConstantOperand}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:google.ads.googleads.v10.common.Operand.ConstantOperand)
com.google.ads.googleads.v10.common.Operand.ConstantOperandOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.ads.googleads.v10.common.MatchingFunctionProto.internal_static_google_ads_googleads_v10_common_Operand_ConstantOperand_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.ads.googleads.v10.common.MatchingFunctionProto.internal_static_google_ads_googleads_v10_common_Operand_ConstantOperand_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.ads.googleads.v10.common.Operand.ConstantOperand.class, com.google.ads.googleads.v10.common.Operand.ConstantOperand.Builder.class);
}
// Construct using com.google.ads.googleads.v10.common.Operand.ConstantOperand.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
constantOperandValueCase_ = 0;
constantOperandValue_ = null;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.google.ads.googleads.v10.common.MatchingFunctionProto.internal_static_google_ads_googleads_v10_common_Operand_ConstantOperand_descriptor;
}
@java.lang.Override
public com.google.ads.googleads.v10.common.Operand.ConstantOperand getDefaultInstanceForType() {
return com.google.ads.googleads.v10.common.Operand.ConstantOperand.getDefaultInstance();
}
@java.lang.Override
public com.google.ads.googleads.v10.common.Operand.ConstantOperand build() {
com.google.ads.googleads.v10.common.Operand.ConstantOperand result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.google.ads.googleads.v10.common.Operand.ConstantOperand buildPartial() {
com.google.ads.googleads.v10.common.Operand.ConstantOperand result = new com.google.ads.googleads.v10.common.Operand.ConstantOperand(this);
if (constantOperandValueCase_ == 5) {
result.constantOperandValue_ = constantOperandValue_;
}
if (constantOperandValueCase_ == 6) {
result.constantOperandValue_ = constantOperandValue_;
}
if (constantOperandValueCase_ == 7) {
result.constantOperandValue_ = constantOperandValue_;
}
if (constantOperandValueCase_ == 8) {
result.constantOperandValue_ = constantOperandValue_;
}
result.constantOperandValueCase_ = constantOperandValueCase_;
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.Operand.ConstantOperand) {
return mergeFrom((com.google.ads.googleads.v10.common.Operand.ConstantOperand)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.google.ads.googleads.v10.common.Operand.ConstantOperand other) {
if (other == com.google.ads.googleads.v10.common.Operand.ConstantOperand.getDefaultInstance()) return this;
switch (other.getConstantOperandValueCase()) {
case STRING_VALUE: {
constantOperandValueCase_ = 5;
constantOperandValue_ = other.constantOperandValue_;
onChanged();
break;
}
case LONG_VALUE: {
setLongValue(other.getLongValue());
break;
}
case BOOLEAN_VALUE: {
setBooleanValue(other.getBooleanValue());
break;
}
case DOUBLE_VALUE: {
setDoubleValue(other.getDoubleValue());
break;
}
case CONSTANTOPERANDVALUE_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 42: {
java.lang.String s = input.readStringRequireUtf8();
constantOperandValueCase_ = 5;
constantOperandValue_ = s;
break;
} // case 42
case 48: {
constantOperandValue_ = input.readInt64();
constantOperandValueCase_ = 6;
break;
} // case 48
case 56: {
constantOperandValue_ = input.readBool();
constantOperandValueCase_ = 7;
break;
} // case 56
case 65: {
constantOperandValue_ = input.readDouble();
constantOperandValueCase_ = 8;
break;
} // case 65
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 constantOperandValueCase_ = 0;
private java.lang.Object constantOperandValue_;
public ConstantOperandValueCase
getConstantOperandValueCase() {
return ConstantOperandValueCase.forNumber(
constantOperandValueCase_);
}
public Builder clearConstantOperandValue() {
constantOperandValueCase_ = 0;
constantOperandValue_ = null;
onChanged();
return this;
}
/**
*
* String value of the operand if it is a string type.
*
*
* string string_value = 5;
* @return Whether the stringValue field is set.
*/
@java.lang.Override
public boolean hasStringValue() {
return constantOperandValueCase_ == 5;
}
/**
*
* String value of the operand if it is a string type.
*
*
* string string_value = 5;
* @return The stringValue.
*/
@java.lang.Override
public java.lang.String getStringValue() {
java.lang.Object ref = "";
if (constantOperandValueCase_ == 5) {
ref = constantOperandValue_;
}
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (constantOperandValueCase_ == 5) {
constantOperandValue_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* String value of the operand if it is a string type.
*
*
* string string_value = 5;
* @return The bytes for stringValue.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getStringValueBytes() {
java.lang.Object ref = "";
if (constantOperandValueCase_ == 5) {
ref = constantOperandValue_;
}
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
if (constantOperandValueCase_ == 5) {
constantOperandValue_ = b;
}
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* String value of the operand if it is a string type.
*
*
* string string_value = 5;
* @param value The stringValue to set.
* @return This builder for chaining.
*/
public Builder setStringValue(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
constantOperandValueCase_ = 5;
constantOperandValue_ = value;
onChanged();
return this;
}
/**
*
* String value of the operand if it is a string type.
*
*
* string string_value = 5;
* @return This builder for chaining.
*/
public Builder clearStringValue() {
if (constantOperandValueCase_ == 5) {
constantOperandValueCase_ = 0;
constantOperandValue_ = null;
onChanged();
}
return this;
}
/**
*
* String value of the operand if it is a string type.
*
*
* string string_value = 5;
* @param value The bytes for stringValue to set.
* @return This builder for chaining.
*/
public Builder setStringValueBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
constantOperandValueCase_ = 5;
constantOperandValue_ = value;
onChanged();
return this;
}
/**
*
* Int64 value of the operand if it is a int64 type.
*
*
* int64 long_value = 6;
* @return Whether the longValue field is set.
*/
public boolean hasLongValue() {
return constantOperandValueCase_ == 6;
}
/**
*
* Int64 value of the operand if it is a int64 type.
*
*
* int64 long_value = 6;
* @return The longValue.
*/
public long getLongValue() {
if (constantOperandValueCase_ == 6) {
return (java.lang.Long) constantOperandValue_;
}
return 0L;
}
/**
*
* Int64 value of the operand if it is a int64 type.
*
*
* int64 long_value = 6;
* @param value The longValue to set.
* @return This builder for chaining.
*/
public Builder setLongValue(long value) {
constantOperandValueCase_ = 6;
constantOperandValue_ = value;
onChanged();
return this;
}
/**
*
* Int64 value of the operand if it is a int64 type.
*
*
* int64 long_value = 6;
* @return This builder for chaining.
*/
public Builder clearLongValue() {
if (constantOperandValueCase_ == 6) {
constantOperandValueCase_ = 0;
constantOperandValue_ = null;
onChanged();
}
return this;
}
/**
*
* Boolean value of the operand if it is a boolean type.
*
*
* bool boolean_value = 7;
* @return Whether the booleanValue field is set.
*/
public boolean hasBooleanValue() {
return constantOperandValueCase_ == 7;
}
/**
*
* Boolean value of the operand if it is a boolean type.
*
*
* bool boolean_value = 7;
* @return The booleanValue.
*/
public boolean getBooleanValue() {
if (constantOperandValueCase_ == 7) {
return (java.lang.Boolean) constantOperandValue_;
}
return false;
}
/**
*
* Boolean value of the operand if it is a boolean type.
*
*
* bool boolean_value = 7;
* @param value The booleanValue to set.
* @return This builder for chaining.
*/
public Builder setBooleanValue(boolean value) {
constantOperandValueCase_ = 7;
constantOperandValue_ = value;
onChanged();
return this;
}
/**
*
* Boolean value of the operand if it is a boolean type.
*
*
* bool boolean_value = 7;
* @return This builder for chaining.
*/
public Builder clearBooleanValue() {
if (constantOperandValueCase_ == 7) {
constantOperandValueCase_ = 0;
constantOperandValue_ = null;
onChanged();
}
return this;
}
/**
*
* Double value of the operand if it is a double type.
*
*
* double double_value = 8;
* @return Whether the doubleValue field is set.
*/
public boolean hasDoubleValue() {
return constantOperandValueCase_ == 8;
}
/**
*
* Double value of the operand if it is a double type.
*
*
* double double_value = 8;
* @return The doubleValue.
*/
public double getDoubleValue() {
if (constantOperandValueCase_ == 8) {
return (java.lang.Double) constantOperandValue_;
}
return 0D;
}
/**
*
* Double value of the operand if it is a double type.
*
*
* double double_value = 8;
* @param value The doubleValue to set.
* @return This builder for chaining.
*/
public Builder setDoubleValue(double value) {
constantOperandValueCase_ = 8;
constantOperandValue_ = value;
onChanged();
return this;
}
/**
*
* Double value of the operand if it is a double type.
*
*
* double double_value = 8;
* @return This builder for chaining.
*/
public Builder clearDoubleValue() {
if (constantOperandValueCase_ == 8) {
constantOperandValueCase_ = 0;
constantOperandValue_ = null;
onChanged();
}
return this;
}
@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.Operand.ConstantOperand)
}
// @@protoc_insertion_point(class_scope:google.ads.googleads.v10.common.Operand.ConstantOperand)
private static final com.google.ads.googleads.v10.common.Operand.ConstantOperand DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.google.ads.googleads.v10.common.Operand.ConstantOperand();
}
public static com.google.ads.googleads.v10.common.Operand.ConstantOperand getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ConstantOperand 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.Operand.ConstantOperand getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface FeedAttributeOperandOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.ads.googleads.v10.common.Operand.FeedAttributeOperand)
com.google.protobuf.MessageOrBuilder {
/**
*
* The associated feed. Required.
*
*
* optional int64 feed_id = 3;
* @return Whether the feedId field is set.
*/
boolean hasFeedId();
/**
*
* The associated feed. Required.
*
*
* optional int64 feed_id = 3;
* @return The feedId.
*/
long getFeedId();
/**
*
* Id of the referenced feed attribute. Required.
*
*
* optional int64 feed_attribute_id = 4;
* @return Whether the feedAttributeId field is set.
*/
boolean hasFeedAttributeId();
/**
*
* Id of the referenced feed attribute. Required.
*
*
* optional int64 feed_attribute_id = 4;
* @return The feedAttributeId.
*/
long getFeedAttributeId();
}
/**
*
* A feed attribute operand in a matching function.
* Used to represent a feed attribute in feed.
*
*
* Protobuf type {@code google.ads.googleads.v10.common.Operand.FeedAttributeOperand}
*/
public static final class FeedAttributeOperand extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:google.ads.googleads.v10.common.Operand.FeedAttributeOperand)
FeedAttributeOperandOrBuilder {
private static final long serialVersionUID = 0L;
// Use FeedAttributeOperand.newBuilder() to construct.
private FeedAttributeOperand(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private FeedAttributeOperand() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new FeedAttributeOperand();
}
@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.MatchingFunctionProto.internal_static_google_ads_googleads_v10_common_Operand_FeedAttributeOperand_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.ads.googleads.v10.common.MatchingFunctionProto.internal_static_google_ads_googleads_v10_common_Operand_FeedAttributeOperand_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.ads.googleads.v10.common.Operand.FeedAttributeOperand.class, com.google.ads.googleads.v10.common.Operand.FeedAttributeOperand.Builder.class);
}
private int bitField0_;
public static final int FEED_ID_FIELD_NUMBER = 3;
private long feedId_;
/**
*
* The associated feed. Required.
*
*
* optional int64 feed_id = 3;
* @return Whether the feedId field is set.
*/
@java.lang.Override
public boolean hasFeedId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* The associated feed. Required.
*
*
* optional int64 feed_id = 3;
* @return The feedId.
*/
@java.lang.Override
public long getFeedId() {
return feedId_;
}
public static final int FEED_ATTRIBUTE_ID_FIELD_NUMBER = 4;
private long feedAttributeId_;
/**
*
* Id of the referenced feed attribute. Required.
*
*
* optional int64 feed_attribute_id = 4;
* @return Whether the feedAttributeId field is set.
*/
@java.lang.Override
public boolean hasFeedAttributeId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
*
* Id of the referenced feed attribute. Required.
*
*
* optional int64 feed_attribute_id = 4;
* @return The feedAttributeId.
*/
@java.lang.Override
public long getFeedAttributeId() {
return feedAttributeId_;
}
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 (((bitField0_ & 0x00000001) != 0)) {
output.writeInt64(3, feedId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt64(4, feedAttributeId_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(3, feedId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(4, feedAttributeId_);
}
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.Operand.FeedAttributeOperand)) {
return super.equals(obj);
}
com.google.ads.googleads.v10.common.Operand.FeedAttributeOperand other = (com.google.ads.googleads.v10.common.Operand.FeedAttributeOperand) obj;
if (hasFeedId() != other.hasFeedId()) return false;
if (hasFeedId()) {
if (getFeedId()
!= other.getFeedId()) return false;
}
if (hasFeedAttributeId() != other.hasFeedAttributeId()) return false;
if (hasFeedAttributeId()) {
if (getFeedAttributeId()
!= other.getFeedAttributeId()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasFeedId()) {
hash = (37 * hash) + FEED_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getFeedId());
}
if (hasFeedAttributeId()) {
hash = (37 * hash) + FEED_ATTRIBUTE_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getFeedAttributeId());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.google.ads.googleads.v10.common.Operand.FeedAttributeOperand parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.ads.googleads.v10.common.Operand.FeedAttributeOperand 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.Operand.FeedAttributeOperand parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.ads.googleads.v10.common.Operand.FeedAttributeOperand 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.Operand.FeedAttributeOperand parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.ads.googleads.v10.common.Operand.FeedAttributeOperand 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.Operand.FeedAttributeOperand 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.Operand.FeedAttributeOperand 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.Operand.FeedAttributeOperand 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.Operand.FeedAttributeOperand 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.Operand.FeedAttributeOperand 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.Operand.FeedAttributeOperand 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.Operand.FeedAttributeOperand 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;
}
/**
*
* A feed attribute operand in a matching function.
* Used to represent a feed attribute in feed.
*
*
* Protobuf type {@code google.ads.googleads.v10.common.Operand.FeedAttributeOperand}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:google.ads.googleads.v10.common.Operand.FeedAttributeOperand)
com.google.ads.googleads.v10.common.Operand.FeedAttributeOperandOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.ads.googleads.v10.common.MatchingFunctionProto.internal_static_google_ads_googleads_v10_common_Operand_FeedAttributeOperand_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.ads.googleads.v10.common.MatchingFunctionProto.internal_static_google_ads_googleads_v10_common_Operand_FeedAttributeOperand_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.ads.googleads.v10.common.Operand.FeedAttributeOperand.class, com.google.ads.googleads.v10.common.Operand.FeedAttributeOperand.Builder.class);
}
// Construct using com.google.ads.googleads.v10.common.Operand.FeedAttributeOperand.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
feedId_ = 0L;
bitField0_ = (bitField0_ & ~0x00000001);
feedAttributeId_ = 0L;
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.google.ads.googleads.v10.common.MatchingFunctionProto.internal_static_google_ads_googleads_v10_common_Operand_FeedAttributeOperand_descriptor;
}
@java.lang.Override
public com.google.ads.googleads.v10.common.Operand.FeedAttributeOperand getDefaultInstanceForType() {
return com.google.ads.googleads.v10.common.Operand.FeedAttributeOperand.getDefaultInstance();
}
@java.lang.Override
public com.google.ads.googleads.v10.common.Operand.FeedAttributeOperand build() {
com.google.ads.googleads.v10.common.Operand.FeedAttributeOperand result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.google.ads.googleads.v10.common.Operand.FeedAttributeOperand buildPartial() {
com.google.ads.googleads.v10.common.Operand.FeedAttributeOperand result = new com.google.ads.googleads.v10.common.Operand.FeedAttributeOperand(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.feedId_ = feedId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.feedAttributeId_ = feedAttributeId_;
to_bitField0_ |= 0x00000002;
}
result.bitField0_ = to_bitField0_;
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.Operand.FeedAttributeOperand) {
return mergeFrom((com.google.ads.googleads.v10.common.Operand.FeedAttributeOperand)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.google.ads.googleads.v10.common.Operand.FeedAttributeOperand other) {
if (other == com.google.ads.googleads.v10.common.Operand.FeedAttributeOperand.getDefaultInstance()) return this;
if (other.hasFeedId()) {
setFeedId(other.getFeedId());
}
if (other.hasFeedAttributeId()) {
setFeedAttributeId(other.getFeedAttributeId());
}
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 24: {
feedId_ = input.readInt64();
bitField0_ |= 0x00000001;
break;
} // case 24
case 32: {
feedAttributeId_ = input.readInt64();
bitField0_ |= 0x00000002;
break;
} // case 32
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private long feedId_ ;
/**
*
* The associated feed. Required.
*
*
* optional int64 feed_id = 3;
* @return Whether the feedId field is set.
*/
@java.lang.Override
public boolean hasFeedId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* The associated feed. Required.
*
*
* optional int64 feed_id = 3;
* @return The feedId.
*/
@java.lang.Override
public long getFeedId() {
return feedId_;
}
/**
*
* The associated feed. Required.
*
*
* optional int64 feed_id = 3;
* @param value The feedId to set.
* @return This builder for chaining.
*/
public Builder setFeedId(long value) {
bitField0_ |= 0x00000001;
feedId_ = value;
onChanged();
return this;
}
/**
*
* The associated feed. Required.
*
*
* optional int64 feed_id = 3;
* @return This builder for chaining.
*/
public Builder clearFeedId() {
bitField0_ = (bitField0_ & ~0x00000001);
feedId_ = 0L;
onChanged();
return this;
}
private long feedAttributeId_ ;
/**
*
* Id of the referenced feed attribute. Required.
*
*
* optional int64 feed_attribute_id = 4;
* @return Whether the feedAttributeId field is set.
*/
@java.lang.Override
public boolean hasFeedAttributeId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
*
* Id of the referenced feed attribute. Required.
*
*
* optional int64 feed_attribute_id = 4;
* @return The feedAttributeId.
*/
@java.lang.Override
public long getFeedAttributeId() {
return feedAttributeId_;
}
/**
*
* Id of the referenced feed attribute. Required.
*
*
* optional int64 feed_attribute_id = 4;
* @param value The feedAttributeId to set.
* @return This builder for chaining.
*/
public Builder setFeedAttributeId(long value) {
bitField0_ |= 0x00000002;
feedAttributeId_ = value;
onChanged();
return this;
}
/**
*
* Id of the referenced feed attribute. Required.
*
*
* optional int64 feed_attribute_id = 4;
* @return This builder for chaining.
*/
public Builder clearFeedAttributeId() {
bitField0_ = (bitField0_ & ~0x00000002);
feedAttributeId_ = 0L;
onChanged();
return this;
}
@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.Operand.FeedAttributeOperand)
}
// @@protoc_insertion_point(class_scope:google.ads.googleads.v10.common.Operand.FeedAttributeOperand)
private static final com.google.ads.googleads.v10.common.Operand.FeedAttributeOperand DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.google.ads.googleads.v10.common.Operand.FeedAttributeOperand();
}
public static com.google.ads.googleads.v10.common.Operand.FeedAttributeOperand getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public FeedAttributeOperand 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.Operand.FeedAttributeOperand getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface FunctionOperandOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.ads.googleads.v10.common.Operand.FunctionOperand)
com.google.protobuf.MessageOrBuilder {
/**
*
* The matching function held in this operand.
*
*
* .google.ads.googleads.v10.common.MatchingFunction matching_function = 1;
* @return Whether the matchingFunction field is set.
*/
boolean hasMatchingFunction();
/**
*
* The matching function held in this operand.
*
*
* .google.ads.googleads.v10.common.MatchingFunction matching_function = 1;
* @return The matchingFunction.
*/
com.google.ads.googleads.v10.common.MatchingFunction getMatchingFunction();
/**
*
* The matching function held in this operand.
*
*
* .google.ads.googleads.v10.common.MatchingFunction matching_function = 1;
*/
com.google.ads.googleads.v10.common.MatchingFunctionOrBuilder getMatchingFunctionOrBuilder();
}
/**
*
* A function operand in a matching function.
* Used to represent nested functions.
*
*
* Protobuf type {@code google.ads.googleads.v10.common.Operand.FunctionOperand}
*/
public static final class FunctionOperand extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:google.ads.googleads.v10.common.Operand.FunctionOperand)
FunctionOperandOrBuilder {
private static final long serialVersionUID = 0L;
// Use FunctionOperand.newBuilder() to construct.
private FunctionOperand(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private FunctionOperand() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new FunctionOperand();
}
@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.MatchingFunctionProto.internal_static_google_ads_googleads_v10_common_Operand_FunctionOperand_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.ads.googleads.v10.common.MatchingFunctionProto.internal_static_google_ads_googleads_v10_common_Operand_FunctionOperand_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.ads.googleads.v10.common.Operand.FunctionOperand.class, com.google.ads.googleads.v10.common.Operand.FunctionOperand.Builder.class);
}
public static final int MATCHING_FUNCTION_FIELD_NUMBER = 1;
private com.google.ads.googleads.v10.common.MatchingFunction matchingFunction_;
/**
*
* The matching function held in this operand.
*
*
* .google.ads.googleads.v10.common.MatchingFunction matching_function = 1;
* @return Whether the matchingFunction field is set.
*/
@java.lang.Override
public boolean hasMatchingFunction() {
return matchingFunction_ != null;
}
/**
*
* The matching function held in this operand.
*
*
* .google.ads.googleads.v10.common.MatchingFunction matching_function = 1;
* @return The matchingFunction.
*/
@java.lang.Override
public com.google.ads.googleads.v10.common.MatchingFunction getMatchingFunction() {
return matchingFunction_ == null ? com.google.ads.googleads.v10.common.MatchingFunction.getDefaultInstance() : matchingFunction_;
}
/**
*
* The matching function held in this operand.
*
*
* .google.ads.googleads.v10.common.MatchingFunction matching_function = 1;
*/
@java.lang.Override
public com.google.ads.googleads.v10.common.MatchingFunctionOrBuilder getMatchingFunctionOrBuilder() {
return getMatchingFunction();
}
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 (matchingFunction_ != null) {
output.writeMessage(1, getMatchingFunction());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (matchingFunction_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getMatchingFunction());
}
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.Operand.FunctionOperand)) {
return super.equals(obj);
}
com.google.ads.googleads.v10.common.Operand.FunctionOperand other = (com.google.ads.googleads.v10.common.Operand.FunctionOperand) obj;
if (hasMatchingFunction() != other.hasMatchingFunction()) return false;
if (hasMatchingFunction()) {
if (!getMatchingFunction()
.equals(other.getMatchingFunction())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasMatchingFunction()) {
hash = (37 * hash) + MATCHING_FUNCTION_FIELD_NUMBER;
hash = (53 * hash) + getMatchingFunction().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.google.ads.googleads.v10.common.Operand.FunctionOperand parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.ads.googleads.v10.common.Operand.FunctionOperand 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.Operand.FunctionOperand parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.ads.googleads.v10.common.Operand.FunctionOperand 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.Operand.FunctionOperand parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.ads.googleads.v10.common.Operand.FunctionOperand 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.Operand.FunctionOperand 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.Operand.FunctionOperand 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.Operand.FunctionOperand 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.Operand.FunctionOperand 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.Operand.FunctionOperand 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.Operand.FunctionOperand 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.Operand.FunctionOperand 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;
}
/**
*
* A function operand in a matching function.
* Used to represent nested functions.
*
*
* Protobuf type {@code google.ads.googleads.v10.common.Operand.FunctionOperand}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:google.ads.googleads.v10.common.Operand.FunctionOperand)
com.google.ads.googleads.v10.common.Operand.FunctionOperandOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.ads.googleads.v10.common.MatchingFunctionProto.internal_static_google_ads_googleads_v10_common_Operand_FunctionOperand_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.ads.googleads.v10.common.MatchingFunctionProto.internal_static_google_ads_googleads_v10_common_Operand_FunctionOperand_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.ads.googleads.v10.common.Operand.FunctionOperand.class, com.google.ads.googleads.v10.common.Operand.FunctionOperand.Builder.class);
}
// Construct using com.google.ads.googleads.v10.common.Operand.FunctionOperand.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
if (matchingFunctionBuilder_ == null) {
matchingFunction_ = null;
} else {
matchingFunction_ = null;
matchingFunctionBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.google.ads.googleads.v10.common.MatchingFunctionProto.internal_static_google_ads_googleads_v10_common_Operand_FunctionOperand_descriptor;
}
@java.lang.Override
public com.google.ads.googleads.v10.common.Operand.FunctionOperand getDefaultInstanceForType() {
return com.google.ads.googleads.v10.common.Operand.FunctionOperand.getDefaultInstance();
}
@java.lang.Override
public com.google.ads.googleads.v10.common.Operand.FunctionOperand build() {
com.google.ads.googleads.v10.common.Operand.FunctionOperand result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.google.ads.googleads.v10.common.Operand.FunctionOperand buildPartial() {
com.google.ads.googleads.v10.common.Operand.FunctionOperand result = new com.google.ads.googleads.v10.common.Operand.FunctionOperand(this);
if (matchingFunctionBuilder_ == null) {
result.matchingFunction_ = matchingFunction_;
} else {
result.matchingFunction_ = matchingFunctionBuilder_.build();
}
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.Operand.FunctionOperand) {
return mergeFrom((com.google.ads.googleads.v10.common.Operand.FunctionOperand)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.google.ads.googleads.v10.common.Operand.FunctionOperand other) {
if (other == com.google.ads.googleads.v10.common.Operand.FunctionOperand.getDefaultInstance()) return this;
if (other.hasMatchingFunction()) {
mergeMatchingFunction(other.getMatchingFunction());
}
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 10: {
input.readMessage(
getMatchingFunctionFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 10
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 com.google.ads.googleads.v10.common.MatchingFunction matchingFunction_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.ads.googleads.v10.common.MatchingFunction, com.google.ads.googleads.v10.common.MatchingFunction.Builder, com.google.ads.googleads.v10.common.MatchingFunctionOrBuilder> matchingFunctionBuilder_;
/**
*
* The matching function held in this operand.
*
*
* .google.ads.googleads.v10.common.MatchingFunction matching_function = 1;
* @return Whether the matchingFunction field is set.
*/
public boolean hasMatchingFunction() {
return matchingFunctionBuilder_ != null || matchingFunction_ != null;
}
/**
*
* The matching function held in this operand.
*
*
* .google.ads.googleads.v10.common.MatchingFunction matching_function = 1;
* @return The matchingFunction.
*/
public com.google.ads.googleads.v10.common.MatchingFunction getMatchingFunction() {
if (matchingFunctionBuilder_ == null) {
return matchingFunction_ == null ? com.google.ads.googleads.v10.common.MatchingFunction.getDefaultInstance() : matchingFunction_;
} else {
return matchingFunctionBuilder_.getMessage();
}
}
/**
*
* The matching function held in this operand.
*
*
* .google.ads.googleads.v10.common.MatchingFunction matching_function = 1;
*/
public Builder setMatchingFunction(com.google.ads.googleads.v10.common.MatchingFunction value) {
if (matchingFunctionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
matchingFunction_ = value;
onChanged();
} else {
matchingFunctionBuilder_.setMessage(value);
}
return this;
}
/**
*
* The matching function held in this operand.
*
*
* .google.ads.googleads.v10.common.MatchingFunction matching_function = 1;
*/
public Builder setMatchingFunction(
com.google.ads.googleads.v10.common.MatchingFunction.Builder builderForValue) {
if (matchingFunctionBuilder_ == null) {
matchingFunction_ = builderForValue.build();
onChanged();
} else {
matchingFunctionBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* The matching function held in this operand.
*
*
* .google.ads.googleads.v10.common.MatchingFunction matching_function = 1;
*/
public Builder mergeMatchingFunction(com.google.ads.googleads.v10.common.MatchingFunction value) {
if (matchingFunctionBuilder_ == null) {
if (matchingFunction_ != null) {
matchingFunction_ =
com.google.ads.googleads.v10.common.MatchingFunction.newBuilder(matchingFunction_).mergeFrom(value).buildPartial();
} else {
matchingFunction_ = value;
}
onChanged();
} else {
matchingFunctionBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* The matching function held in this operand.
*
*
* .google.ads.googleads.v10.common.MatchingFunction matching_function = 1;
*/
public Builder clearMatchingFunction() {
if (matchingFunctionBuilder_ == null) {
matchingFunction_ = null;
onChanged();
} else {
matchingFunction_ = null;
matchingFunctionBuilder_ = null;
}
return this;
}
/**
*
* The matching function held in this operand.
*
*
* .google.ads.googleads.v10.common.MatchingFunction matching_function = 1;
*/
public com.google.ads.googleads.v10.common.MatchingFunction.Builder getMatchingFunctionBuilder() {
onChanged();
return getMatchingFunctionFieldBuilder().getBuilder();
}
/**
*
* The matching function held in this operand.
*
*
* .google.ads.googleads.v10.common.MatchingFunction matching_function = 1;
*/
public com.google.ads.googleads.v10.common.MatchingFunctionOrBuilder getMatchingFunctionOrBuilder() {
if (matchingFunctionBuilder_ != null) {
return matchingFunctionBuilder_.getMessageOrBuilder();
} else {
return matchingFunction_ == null ?
com.google.ads.googleads.v10.common.MatchingFunction.getDefaultInstance() : matchingFunction_;
}
}
/**
*
* The matching function held in this operand.
*
*
* .google.ads.googleads.v10.common.MatchingFunction matching_function = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.ads.googleads.v10.common.MatchingFunction, com.google.ads.googleads.v10.common.MatchingFunction.Builder, com.google.ads.googleads.v10.common.MatchingFunctionOrBuilder>
getMatchingFunctionFieldBuilder() {
if (matchingFunctionBuilder_ == null) {
matchingFunctionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.ads.googleads.v10.common.MatchingFunction, com.google.ads.googleads.v10.common.MatchingFunction.Builder, com.google.ads.googleads.v10.common.MatchingFunctionOrBuilder>(
getMatchingFunction(),
getParentForChildren(),
isClean());
matchingFunction_ = null;
}
return matchingFunctionBuilder_;
}
@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.Operand.FunctionOperand)
}
// @@protoc_insertion_point(class_scope:google.ads.googleads.v10.common.Operand.FunctionOperand)
private static final com.google.ads.googleads.v10.common.Operand.FunctionOperand DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.google.ads.googleads.v10.common.Operand.FunctionOperand();
}
public static com.google.ads.googleads.v10.common.Operand.FunctionOperand getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public FunctionOperand 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.Operand.FunctionOperand getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface RequestContextOperandOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.ads.googleads.v10.common.Operand.RequestContextOperand)
com.google.protobuf.MessageOrBuilder {
/**
*
* Type of value to be referred in the request context.
*
*
* .google.ads.googleads.v10.enums.MatchingFunctionContextTypeEnum.MatchingFunctionContextType context_type = 1;
* @return The enum numeric value on the wire for contextType.
*/
int getContextTypeValue();
/**
*
* Type of value to be referred in the request context.
*
*
* .google.ads.googleads.v10.enums.MatchingFunctionContextTypeEnum.MatchingFunctionContextType context_type = 1;
* @return The contextType.
*/
com.google.ads.googleads.v10.enums.MatchingFunctionContextTypeEnum.MatchingFunctionContextType getContextType();
}
/**
*
* An operand in a function referring to a value in the request context.
*
*
* Protobuf type {@code google.ads.googleads.v10.common.Operand.RequestContextOperand}
*/
public static final class RequestContextOperand extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:google.ads.googleads.v10.common.Operand.RequestContextOperand)
RequestContextOperandOrBuilder {
private static final long serialVersionUID = 0L;
// Use RequestContextOperand.newBuilder() to construct.
private RequestContextOperand(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private RequestContextOperand() {
contextType_ = 0;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new RequestContextOperand();
}
@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.MatchingFunctionProto.internal_static_google_ads_googleads_v10_common_Operand_RequestContextOperand_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.ads.googleads.v10.common.MatchingFunctionProto.internal_static_google_ads_googleads_v10_common_Operand_RequestContextOperand_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.ads.googleads.v10.common.Operand.RequestContextOperand.class, com.google.ads.googleads.v10.common.Operand.RequestContextOperand.Builder.class);
}
public static final int CONTEXT_TYPE_FIELD_NUMBER = 1;
private int contextType_;
/**
*
* Type of value to be referred in the request context.
*
*
* .google.ads.googleads.v10.enums.MatchingFunctionContextTypeEnum.MatchingFunctionContextType context_type = 1;
* @return The enum numeric value on the wire for contextType.
*/
@java.lang.Override public int getContextTypeValue() {
return contextType_;
}
/**
*
* Type of value to be referred in the request context.
*
*
* .google.ads.googleads.v10.enums.MatchingFunctionContextTypeEnum.MatchingFunctionContextType context_type = 1;
* @return The contextType.
*/
@java.lang.Override public com.google.ads.googleads.v10.enums.MatchingFunctionContextTypeEnum.MatchingFunctionContextType getContextType() {
@SuppressWarnings("deprecation")
com.google.ads.googleads.v10.enums.MatchingFunctionContextTypeEnum.MatchingFunctionContextType result = com.google.ads.googleads.v10.enums.MatchingFunctionContextTypeEnum.MatchingFunctionContextType.valueOf(contextType_);
return result == null ? com.google.ads.googleads.v10.enums.MatchingFunctionContextTypeEnum.MatchingFunctionContextType.UNRECOGNIZED : result;
}
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 (contextType_ != com.google.ads.googleads.v10.enums.MatchingFunctionContextTypeEnum.MatchingFunctionContextType.UNSPECIFIED.getNumber()) {
output.writeEnum(1, contextType_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (contextType_ != com.google.ads.googleads.v10.enums.MatchingFunctionContextTypeEnum.MatchingFunctionContextType.UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(1, contextType_);
}
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.Operand.RequestContextOperand)) {
return super.equals(obj);
}
com.google.ads.googleads.v10.common.Operand.RequestContextOperand other = (com.google.ads.googleads.v10.common.Operand.RequestContextOperand) obj;
if (contextType_ != other.contextType_) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + CONTEXT_TYPE_FIELD_NUMBER;
hash = (53 * hash) + contextType_;
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.google.ads.googleads.v10.common.Operand.RequestContextOperand parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.ads.googleads.v10.common.Operand.RequestContextOperand 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.Operand.RequestContextOperand parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.ads.googleads.v10.common.Operand.RequestContextOperand 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.Operand.RequestContextOperand parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.ads.googleads.v10.common.Operand.RequestContextOperand 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.Operand.RequestContextOperand 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.Operand.RequestContextOperand 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.Operand.RequestContextOperand 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.Operand.RequestContextOperand 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.Operand.RequestContextOperand 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.Operand.RequestContextOperand 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.Operand.RequestContextOperand 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 operand in a function referring to a value in the request context.
*
*
* Protobuf type {@code google.ads.googleads.v10.common.Operand.RequestContextOperand}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:google.ads.googleads.v10.common.Operand.RequestContextOperand)
com.google.ads.googleads.v10.common.Operand.RequestContextOperandOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.ads.googleads.v10.common.MatchingFunctionProto.internal_static_google_ads_googleads_v10_common_Operand_RequestContextOperand_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.ads.googleads.v10.common.MatchingFunctionProto.internal_static_google_ads_googleads_v10_common_Operand_RequestContextOperand_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.ads.googleads.v10.common.Operand.RequestContextOperand.class, com.google.ads.googleads.v10.common.Operand.RequestContextOperand.Builder.class);
}
// Construct using com.google.ads.googleads.v10.common.Operand.RequestContextOperand.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
contextType_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.google.ads.googleads.v10.common.MatchingFunctionProto.internal_static_google_ads_googleads_v10_common_Operand_RequestContextOperand_descriptor;
}
@java.lang.Override
public com.google.ads.googleads.v10.common.Operand.RequestContextOperand getDefaultInstanceForType() {
return com.google.ads.googleads.v10.common.Operand.RequestContextOperand.getDefaultInstance();
}
@java.lang.Override
public com.google.ads.googleads.v10.common.Operand.RequestContextOperand build() {
com.google.ads.googleads.v10.common.Operand.RequestContextOperand result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.google.ads.googleads.v10.common.Operand.RequestContextOperand buildPartial() {
com.google.ads.googleads.v10.common.Operand.RequestContextOperand result = new com.google.ads.googleads.v10.common.Operand.RequestContextOperand(this);
result.contextType_ = contextType_;
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.Operand.RequestContextOperand) {
return mergeFrom((com.google.ads.googleads.v10.common.Operand.RequestContextOperand)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.google.ads.googleads.v10.common.Operand.RequestContextOperand other) {
if (other == com.google.ads.googleads.v10.common.Operand.RequestContextOperand.getDefaultInstance()) return this;
if (other.contextType_ != 0) {
setContextTypeValue(other.getContextTypeValue());
}
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: {
contextType_ = input.readEnum();
break;
} // case 8
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 contextType_ = 0;
/**
*
* Type of value to be referred in the request context.
*
*
* .google.ads.googleads.v10.enums.MatchingFunctionContextTypeEnum.MatchingFunctionContextType context_type = 1;
* @return The enum numeric value on the wire for contextType.
*/
@java.lang.Override public int getContextTypeValue() {
return contextType_;
}
/**
*
* Type of value to be referred in the request context.
*
*
* .google.ads.googleads.v10.enums.MatchingFunctionContextTypeEnum.MatchingFunctionContextType context_type = 1;
* @param value The enum numeric value on the wire for contextType to set.
* @return This builder for chaining.
*/
public Builder setContextTypeValue(int value) {
contextType_ = value;
onChanged();
return this;
}
/**
*
* Type of value to be referred in the request context.
*
*
* .google.ads.googleads.v10.enums.MatchingFunctionContextTypeEnum.MatchingFunctionContextType context_type = 1;
* @return The contextType.
*/
@java.lang.Override
public com.google.ads.googleads.v10.enums.MatchingFunctionContextTypeEnum.MatchingFunctionContextType getContextType() {
@SuppressWarnings("deprecation")
com.google.ads.googleads.v10.enums.MatchingFunctionContextTypeEnum.MatchingFunctionContextType result = com.google.ads.googleads.v10.enums.MatchingFunctionContextTypeEnum.MatchingFunctionContextType.valueOf(contextType_);
return result == null ? com.google.ads.googleads.v10.enums.MatchingFunctionContextTypeEnum.MatchingFunctionContextType.UNRECOGNIZED : result;
}
/**
*
* Type of value to be referred in the request context.
*
*
* .google.ads.googleads.v10.enums.MatchingFunctionContextTypeEnum.MatchingFunctionContextType context_type = 1;
* @param value The contextType to set.
* @return This builder for chaining.
*/
public Builder setContextType(com.google.ads.googleads.v10.enums.MatchingFunctionContextTypeEnum.MatchingFunctionContextType value) {
if (value == null) {
throw new NullPointerException();
}
contextType_ = value.getNumber();
onChanged();
return this;
}
/**
*
* Type of value to be referred in the request context.
*
*
* .google.ads.googleads.v10.enums.MatchingFunctionContextTypeEnum.MatchingFunctionContextType context_type = 1;
* @return This builder for chaining.
*/
public Builder clearContextType() {
contextType_ = 0;
onChanged();
return this;
}
@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.Operand.RequestContextOperand)
}
// @@protoc_insertion_point(class_scope:google.ads.googleads.v10.common.Operand.RequestContextOperand)
private static final com.google.ads.googleads.v10.common.Operand.RequestContextOperand DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.google.ads.googleads.v10.common.Operand.RequestContextOperand();
}
public static com.google.ads.googleads.v10.common.Operand.RequestContextOperand getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public RequestContextOperand 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.Operand.RequestContextOperand getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private int functionArgumentOperandCase_ = 0;
private java.lang.Object functionArgumentOperand_;
public enum FunctionArgumentOperandCase
implements com.google.protobuf.Internal.EnumLite,
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
CONSTANT_OPERAND(1),
FEED_ATTRIBUTE_OPERAND(2),
FUNCTION_OPERAND(3),
REQUEST_CONTEXT_OPERAND(4),
FUNCTIONARGUMENTOPERAND_NOT_SET(0);
private final int value;
private FunctionArgumentOperandCase(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 FunctionArgumentOperandCase valueOf(int value) {
return forNumber(value);
}
public static FunctionArgumentOperandCase forNumber(int value) {
switch (value) {
case 1: return CONSTANT_OPERAND;
case 2: return FEED_ATTRIBUTE_OPERAND;
case 3: return FUNCTION_OPERAND;
case 4: return REQUEST_CONTEXT_OPERAND;
case 0: return FUNCTIONARGUMENTOPERAND_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public FunctionArgumentOperandCase
getFunctionArgumentOperandCase() {
return FunctionArgumentOperandCase.forNumber(
functionArgumentOperandCase_);
}
public static final int CONSTANT_OPERAND_FIELD_NUMBER = 1;
/**
*
* A constant operand in a matching function.
*
*
* .google.ads.googleads.v10.common.Operand.ConstantOperand constant_operand = 1;
* @return Whether the constantOperand field is set.
*/
@java.lang.Override
public boolean hasConstantOperand() {
return functionArgumentOperandCase_ == 1;
}
/**
*
* A constant operand in a matching function.
*
*
* .google.ads.googleads.v10.common.Operand.ConstantOperand constant_operand = 1;
* @return The constantOperand.
*/
@java.lang.Override
public com.google.ads.googleads.v10.common.Operand.ConstantOperand getConstantOperand() {
if (functionArgumentOperandCase_ == 1) {
return (com.google.ads.googleads.v10.common.Operand.ConstantOperand) functionArgumentOperand_;
}
return com.google.ads.googleads.v10.common.Operand.ConstantOperand.getDefaultInstance();
}
/**
*
* A constant operand in a matching function.
*
*
* .google.ads.googleads.v10.common.Operand.ConstantOperand constant_operand = 1;
*/
@java.lang.Override
public com.google.ads.googleads.v10.common.Operand.ConstantOperandOrBuilder getConstantOperandOrBuilder() {
if (functionArgumentOperandCase_ == 1) {
return (com.google.ads.googleads.v10.common.Operand.ConstantOperand) functionArgumentOperand_;
}
return com.google.ads.googleads.v10.common.Operand.ConstantOperand.getDefaultInstance();
}
public static final int FEED_ATTRIBUTE_OPERAND_FIELD_NUMBER = 2;
/**
*
* This operand specifies a feed attribute in feed.
*
*
* .google.ads.googleads.v10.common.Operand.FeedAttributeOperand feed_attribute_operand = 2;
* @return Whether the feedAttributeOperand field is set.
*/
@java.lang.Override
public boolean hasFeedAttributeOperand() {
return functionArgumentOperandCase_ == 2;
}
/**
*
* This operand specifies a feed attribute in feed.
*
*
* .google.ads.googleads.v10.common.Operand.FeedAttributeOperand feed_attribute_operand = 2;
* @return The feedAttributeOperand.
*/
@java.lang.Override
public com.google.ads.googleads.v10.common.Operand.FeedAttributeOperand getFeedAttributeOperand() {
if (functionArgumentOperandCase_ == 2) {
return (com.google.ads.googleads.v10.common.Operand.FeedAttributeOperand) functionArgumentOperand_;
}
return com.google.ads.googleads.v10.common.Operand.FeedAttributeOperand.getDefaultInstance();
}
/**
*
* This operand specifies a feed attribute in feed.
*
*
* .google.ads.googleads.v10.common.Operand.FeedAttributeOperand feed_attribute_operand = 2;
*/
@java.lang.Override
public com.google.ads.googleads.v10.common.Operand.FeedAttributeOperandOrBuilder getFeedAttributeOperandOrBuilder() {
if (functionArgumentOperandCase_ == 2) {
return (com.google.ads.googleads.v10.common.Operand.FeedAttributeOperand) functionArgumentOperand_;
}
return com.google.ads.googleads.v10.common.Operand.FeedAttributeOperand.getDefaultInstance();
}
public static final int FUNCTION_OPERAND_FIELD_NUMBER = 3;
/**
*
* A function operand in a matching function.
* Used to represent nested functions.
*
*
* .google.ads.googleads.v10.common.Operand.FunctionOperand function_operand = 3;
* @return Whether the functionOperand field is set.
*/
@java.lang.Override
public boolean hasFunctionOperand() {
return functionArgumentOperandCase_ == 3;
}
/**
*
* A function operand in a matching function.
* Used to represent nested functions.
*
*
* .google.ads.googleads.v10.common.Operand.FunctionOperand function_operand = 3;
* @return The functionOperand.
*/
@java.lang.Override
public com.google.ads.googleads.v10.common.Operand.FunctionOperand getFunctionOperand() {
if (functionArgumentOperandCase_ == 3) {
return (com.google.ads.googleads.v10.common.Operand.FunctionOperand) functionArgumentOperand_;
}
return com.google.ads.googleads.v10.common.Operand.FunctionOperand.getDefaultInstance();
}
/**
*
* A function operand in a matching function.
* Used to represent nested functions.
*
*
* .google.ads.googleads.v10.common.Operand.FunctionOperand function_operand = 3;
*/
@java.lang.Override
public com.google.ads.googleads.v10.common.Operand.FunctionOperandOrBuilder getFunctionOperandOrBuilder() {
if (functionArgumentOperandCase_ == 3) {
return (com.google.ads.googleads.v10.common.Operand.FunctionOperand) functionArgumentOperand_;
}
return com.google.ads.googleads.v10.common.Operand.FunctionOperand.getDefaultInstance();
}
public static final int REQUEST_CONTEXT_OPERAND_FIELD_NUMBER = 4;
/**
*
* An operand in a function referring to a value in the request context.
*
*
* .google.ads.googleads.v10.common.Operand.RequestContextOperand request_context_operand = 4;
* @return Whether the requestContextOperand field is set.
*/
@java.lang.Override
public boolean hasRequestContextOperand() {
return functionArgumentOperandCase_ == 4;
}
/**
*
* An operand in a function referring to a value in the request context.
*
*
* .google.ads.googleads.v10.common.Operand.RequestContextOperand request_context_operand = 4;
* @return The requestContextOperand.
*/
@java.lang.Override
public com.google.ads.googleads.v10.common.Operand.RequestContextOperand getRequestContextOperand() {
if (functionArgumentOperandCase_ == 4) {
return (com.google.ads.googleads.v10.common.Operand.RequestContextOperand) functionArgumentOperand_;
}
return com.google.ads.googleads.v10.common.Operand.RequestContextOperand.getDefaultInstance();
}
/**
*
* An operand in a function referring to a value in the request context.
*
*
* .google.ads.googleads.v10.common.Operand.RequestContextOperand request_context_operand = 4;
*/
@java.lang.Override
public com.google.ads.googleads.v10.common.Operand.RequestContextOperandOrBuilder getRequestContextOperandOrBuilder() {
if (functionArgumentOperandCase_ == 4) {
return (com.google.ads.googleads.v10.common.Operand.RequestContextOperand) functionArgumentOperand_;
}
return com.google.ads.googleads.v10.common.Operand.RequestContextOperand.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 (functionArgumentOperandCase_ == 1) {
output.writeMessage(1, (com.google.ads.googleads.v10.common.Operand.ConstantOperand) functionArgumentOperand_);
}
if (functionArgumentOperandCase_ == 2) {
output.writeMessage(2, (com.google.ads.googleads.v10.common.Operand.FeedAttributeOperand) functionArgumentOperand_);
}
if (functionArgumentOperandCase_ == 3) {
output.writeMessage(3, (com.google.ads.googleads.v10.common.Operand.FunctionOperand) functionArgumentOperand_);
}
if (functionArgumentOperandCase_ == 4) {
output.writeMessage(4, (com.google.ads.googleads.v10.common.Operand.RequestContextOperand) functionArgumentOperand_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (functionArgumentOperandCase_ == 1) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, (com.google.ads.googleads.v10.common.Operand.ConstantOperand) functionArgumentOperand_);
}
if (functionArgumentOperandCase_ == 2) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, (com.google.ads.googleads.v10.common.Operand.FeedAttributeOperand) functionArgumentOperand_);
}
if (functionArgumentOperandCase_ == 3) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, (com.google.ads.googleads.v10.common.Operand.FunctionOperand) functionArgumentOperand_);
}
if (functionArgumentOperandCase_ == 4) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, (com.google.ads.googleads.v10.common.Operand.RequestContextOperand) functionArgumentOperand_);
}
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.Operand)) {
return super.equals(obj);
}
com.google.ads.googleads.v10.common.Operand other = (com.google.ads.googleads.v10.common.Operand) obj;
if (!getFunctionArgumentOperandCase().equals(other.getFunctionArgumentOperandCase())) return false;
switch (functionArgumentOperandCase_) {
case 1:
if (!getConstantOperand()
.equals(other.getConstantOperand())) return false;
break;
case 2:
if (!getFeedAttributeOperand()
.equals(other.getFeedAttributeOperand())) return false;
break;
case 3:
if (!getFunctionOperand()
.equals(other.getFunctionOperand())) return false;
break;
case 4:
if (!getRequestContextOperand()
.equals(other.getRequestContextOperand())) 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();
switch (functionArgumentOperandCase_) {
case 1:
hash = (37 * hash) + CONSTANT_OPERAND_FIELD_NUMBER;
hash = (53 * hash) + getConstantOperand().hashCode();
break;
case 2:
hash = (37 * hash) + FEED_ATTRIBUTE_OPERAND_FIELD_NUMBER;
hash = (53 * hash) + getFeedAttributeOperand().hashCode();
break;
case 3:
hash = (37 * hash) + FUNCTION_OPERAND_FIELD_NUMBER;
hash = (53 * hash) + getFunctionOperand().hashCode();
break;
case 4:
hash = (37 * hash) + REQUEST_CONTEXT_OPERAND_FIELD_NUMBER;
hash = (53 * hash) + getRequestContextOperand().hashCode();
break;
case 0:
default:
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.google.ads.googleads.v10.common.Operand parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.ads.googleads.v10.common.Operand 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.Operand parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.ads.googleads.v10.common.Operand 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.Operand parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.ads.googleads.v10.common.Operand 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.Operand 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.Operand 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.Operand 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.Operand 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.Operand 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.Operand 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.Operand 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 operand in a matching function.
*
*
* Protobuf type {@code google.ads.googleads.v10.common.Operand}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:google.ads.googleads.v10.common.Operand)
com.google.ads.googleads.v10.common.OperandOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.ads.googleads.v10.common.MatchingFunctionProto.internal_static_google_ads_googleads_v10_common_Operand_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.ads.googleads.v10.common.MatchingFunctionProto.internal_static_google_ads_googleads_v10_common_Operand_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.ads.googleads.v10.common.Operand.class, com.google.ads.googleads.v10.common.Operand.Builder.class);
}
// Construct using com.google.ads.googleads.v10.common.Operand.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
if (constantOperandBuilder_ != null) {
constantOperandBuilder_.clear();
}
if (feedAttributeOperandBuilder_ != null) {
feedAttributeOperandBuilder_.clear();
}
if (functionOperandBuilder_ != null) {
functionOperandBuilder_.clear();
}
if (requestContextOperandBuilder_ != null) {
requestContextOperandBuilder_.clear();
}
functionArgumentOperandCase_ = 0;
functionArgumentOperand_ = null;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.google.ads.googleads.v10.common.MatchingFunctionProto.internal_static_google_ads_googleads_v10_common_Operand_descriptor;
}
@java.lang.Override
public com.google.ads.googleads.v10.common.Operand getDefaultInstanceForType() {
return com.google.ads.googleads.v10.common.Operand.getDefaultInstance();
}
@java.lang.Override
public com.google.ads.googleads.v10.common.Operand build() {
com.google.ads.googleads.v10.common.Operand result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.google.ads.googleads.v10.common.Operand buildPartial() {
com.google.ads.googleads.v10.common.Operand result = new com.google.ads.googleads.v10.common.Operand(this);
if (functionArgumentOperandCase_ == 1) {
if (constantOperandBuilder_ == null) {
result.functionArgumentOperand_ = functionArgumentOperand_;
} else {
result.functionArgumentOperand_ = constantOperandBuilder_.build();
}
}
if (functionArgumentOperandCase_ == 2) {
if (feedAttributeOperandBuilder_ == null) {
result.functionArgumentOperand_ = functionArgumentOperand_;
} else {
result.functionArgumentOperand_ = feedAttributeOperandBuilder_.build();
}
}
if (functionArgumentOperandCase_ == 3) {
if (functionOperandBuilder_ == null) {
result.functionArgumentOperand_ = functionArgumentOperand_;
} else {
result.functionArgumentOperand_ = functionOperandBuilder_.build();
}
}
if (functionArgumentOperandCase_ == 4) {
if (requestContextOperandBuilder_ == null) {
result.functionArgumentOperand_ = functionArgumentOperand_;
} else {
result.functionArgumentOperand_ = requestContextOperandBuilder_.build();
}
}
result.functionArgumentOperandCase_ = functionArgumentOperandCase_;
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.Operand) {
return mergeFrom((com.google.ads.googleads.v10.common.Operand)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.google.ads.googleads.v10.common.Operand other) {
if (other == com.google.ads.googleads.v10.common.Operand.getDefaultInstance()) return this;
switch (other.getFunctionArgumentOperandCase()) {
case CONSTANT_OPERAND: {
mergeConstantOperand(other.getConstantOperand());
break;
}
case FEED_ATTRIBUTE_OPERAND: {
mergeFeedAttributeOperand(other.getFeedAttributeOperand());
break;
}
case FUNCTION_OPERAND: {
mergeFunctionOperand(other.getFunctionOperand());
break;
}
case REQUEST_CONTEXT_OPERAND: {
mergeRequestContextOperand(other.getRequestContextOperand());
break;
}
case FUNCTIONARGUMENTOPERAND_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 10: {
input.readMessage(
getConstantOperandFieldBuilder().getBuilder(),
extensionRegistry);
functionArgumentOperandCase_ = 1;
break;
} // case 10
case 18: {
input.readMessage(
getFeedAttributeOperandFieldBuilder().getBuilder(),
extensionRegistry);
functionArgumentOperandCase_ = 2;
break;
} // case 18
case 26: {
input.readMessage(
getFunctionOperandFieldBuilder().getBuilder(),
extensionRegistry);
functionArgumentOperandCase_ = 3;
break;
} // case 26
case 34: {
input.readMessage(
getRequestContextOperandFieldBuilder().getBuilder(),
extensionRegistry);
functionArgumentOperandCase_ = 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 functionArgumentOperandCase_ = 0;
private java.lang.Object functionArgumentOperand_;
public FunctionArgumentOperandCase
getFunctionArgumentOperandCase() {
return FunctionArgumentOperandCase.forNumber(
functionArgumentOperandCase_);
}
public Builder clearFunctionArgumentOperand() {
functionArgumentOperandCase_ = 0;
functionArgumentOperand_ = null;
onChanged();
return this;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.google.ads.googleads.v10.common.Operand.ConstantOperand, com.google.ads.googleads.v10.common.Operand.ConstantOperand.Builder, com.google.ads.googleads.v10.common.Operand.ConstantOperandOrBuilder> constantOperandBuilder_;
/**
*
* A constant operand in a matching function.
*
*
* .google.ads.googleads.v10.common.Operand.ConstantOperand constant_operand = 1;
* @return Whether the constantOperand field is set.
*/
@java.lang.Override
public boolean hasConstantOperand() {
return functionArgumentOperandCase_ == 1;
}
/**
*
* A constant operand in a matching function.
*
*
* .google.ads.googleads.v10.common.Operand.ConstantOperand constant_operand = 1;
* @return The constantOperand.
*/
@java.lang.Override
public com.google.ads.googleads.v10.common.Operand.ConstantOperand getConstantOperand() {
if (constantOperandBuilder_ == null) {
if (functionArgumentOperandCase_ == 1) {
return (com.google.ads.googleads.v10.common.Operand.ConstantOperand) functionArgumentOperand_;
}
return com.google.ads.googleads.v10.common.Operand.ConstantOperand.getDefaultInstance();
} else {
if (functionArgumentOperandCase_ == 1) {
return constantOperandBuilder_.getMessage();
}
return com.google.ads.googleads.v10.common.Operand.ConstantOperand.getDefaultInstance();
}
}
/**
*
* A constant operand in a matching function.
*
*
* .google.ads.googleads.v10.common.Operand.ConstantOperand constant_operand = 1;
*/
public Builder setConstantOperand(com.google.ads.googleads.v10.common.Operand.ConstantOperand value) {
if (constantOperandBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
functionArgumentOperand_ = value;
onChanged();
} else {
constantOperandBuilder_.setMessage(value);
}
functionArgumentOperandCase_ = 1;
return this;
}
/**
*
* A constant operand in a matching function.
*
*
* .google.ads.googleads.v10.common.Operand.ConstantOperand constant_operand = 1;
*/
public Builder setConstantOperand(
com.google.ads.googleads.v10.common.Operand.ConstantOperand.Builder builderForValue) {
if (constantOperandBuilder_ == null) {
functionArgumentOperand_ = builderForValue.build();
onChanged();
} else {
constantOperandBuilder_.setMessage(builderForValue.build());
}
functionArgumentOperandCase_ = 1;
return this;
}
/**
*
* A constant operand in a matching function.
*
*
* .google.ads.googleads.v10.common.Operand.ConstantOperand constant_operand = 1;
*/
public Builder mergeConstantOperand(com.google.ads.googleads.v10.common.Operand.ConstantOperand value) {
if (constantOperandBuilder_ == null) {
if (functionArgumentOperandCase_ == 1 &&
functionArgumentOperand_ != com.google.ads.googleads.v10.common.Operand.ConstantOperand.getDefaultInstance()) {
functionArgumentOperand_ = com.google.ads.googleads.v10.common.Operand.ConstantOperand.newBuilder((com.google.ads.googleads.v10.common.Operand.ConstantOperand) functionArgumentOperand_)
.mergeFrom(value).buildPartial();
} else {
functionArgumentOperand_ = value;
}
onChanged();
} else {
if (functionArgumentOperandCase_ == 1) {
constantOperandBuilder_.mergeFrom(value);
} else {
constantOperandBuilder_.setMessage(value);
}
}
functionArgumentOperandCase_ = 1;
return this;
}
/**
*
* A constant operand in a matching function.
*
*
* .google.ads.googleads.v10.common.Operand.ConstantOperand constant_operand = 1;
*/
public Builder clearConstantOperand() {
if (constantOperandBuilder_ == null) {
if (functionArgumentOperandCase_ == 1) {
functionArgumentOperandCase_ = 0;
functionArgumentOperand_ = null;
onChanged();
}
} else {
if (functionArgumentOperandCase_ == 1) {
functionArgumentOperandCase_ = 0;
functionArgumentOperand_ = null;
}
constantOperandBuilder_.clear();
}
return this;
}
/**
*
* A constant operand in a matching function.
*
*
* .google.ads.googleads.v10.common.Operand.ConstantOperand constant_operand = 1;
*/
public com.google.ads.googleads.v10.common.Operand.ConstantOperand.Builder getConstantOperandBuilder() {
return getConstantOperandFieldBuilder().getBuilder();
}
/**
*
* A constant operand in a matching function.
*
*
* .google.ads.googleads.v10.common.Operand.ConstantOperand constant_operand = 1;
*/
@java.lang.Override
public com.google.ads.googleads.v10.common.Operand.ConstantOperandOrBuilder getConstantOperandOrBuilder() {
if ((functionArgumentOperandCase_ == 1) && (constantOperandBuilder_ != null)) {
return constantOperandBuilder_.getMessageOrBuilder();
} else {
if (functionArgumentOperandCase_ == 1) {
return (com.google.ads.googleads.v10.common.Operand.ConstantOperand) functionArgumentOperand_;
}
return com.google.ads.googleads.v10.common.Operand.ConstantOperand.getDefaultInstance();
}
}
/**
*
* A constant operand in a matching function.
*
*
* .google.ads.googleads.v10.common.Operand.ConstantOperand constant_operand = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.ads.googleads.v10.common.Operand.ConstantOperand, com.google.ads.googleads.v10.common.Operand.ConstantOperand.Builder, com.google.ads.googleads.v10.common.Operand.ConstantOperandOrBuilder>
getConstantOperandFieldBuilder() {
if (constantOperandBuilder_ == null) {
if (!(functionArgumentOperandCase_ == 1)) {
functionArgumentOperand_ = com.google.ads.googleads.v10.common.Operand.ConstantOperand.getDefaultInstance();
}
constantOperandBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.ads.googleads.v10.common.Operand.ConstantOperand, com.google.ads.googleads.v10.common.Operand.ConstantOperand.Builder, com.google.ads.googleads.v10.common.Operand.ConstantOperandOrBuilder>(
(com.google.ads.googleads.v10.common.Operand.ConstantOperand) functionArgumentOperand_,
getParentForChildren(),
isClean());
functionArgumentOperand_ = null;
}
functionArgumentOperandCase_ = 1;
onChanged();;
return constantOperandBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.google.ads.googleads.v10.common.Operand.FeedAttributeOperand, com.google.ads.googleads.v10.common.Operand.FeedAttributeOperand.Builder, com.google.ads.googleads.v10.common.Operand.FeedAttributeOperandOrBuilder> feedAttributeOperandBuilder_;
/**
*
* This operand specifies a feed attribute in feed.
*
*
* .google.ads.googleads.v10.common.Operand.FeedAttributeOperand feed_attribute_operand = 2;
* @return Whether the feedAttributeOperand field is set.
*/
@java.lang.Override
public boolean hasFeedAttributeOperand() {
return functionArgumentOperandCase_ == 2;
}
/**
*
* This operand specifies a feed attribute in feed.
*
*
* .google.ads.googleads.v10.common.Operand.FeedAttributeOperand feed_attribute_operand = 2;
* @return The feedAttributeOperand.
*/
@java.lang.Override
public com.google.ads.googleads.v10.common.Operand.FeedAttributeOperand getFeedAttributeOperand() {
if (feedAttributeOperandBuilder_ == null) {
if (functionArgumentOperandCase_ == 2) {
return (com.google.ads.googleads.v10.common.Operand.FeedAttributeOperand) functionArgumentOperand_;
}
return com.google.ads.googleads.v10.common.Operand.FeedAttributeOperand.getDefaultInstance();
} else {
if (functionArgumentOperandCase_ == 2) {
return feedAttributeOperandBuilder_.getMessage();
}
return com.google.ads.googleads.v10.common.Operand.FeedAttributeOperand.getDefaultInstance();
}
}
/**
*
* This operand specifies a feed attribute in feed.
*
*
* .google.ads.googleads.v10.common.Operand.FeedAttributeOperand feed_attribute_operand = 2;
*/
public Builder setFeedAttributeOperand(com.google.ads.googleads.v10.common.Operand.FeedAttributeOperand value) {
if (feedAttributeOperandBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
functionArgumentOperand_ = value;
onChanged();
} else {
feedAttributeOperandBuilder_.setMessage(value);
}
functionArgumentOperandCase_ = 2;
return this;
}
/**
*
* This operand specifies a feed attribute in feed.
*
*
* .google.ads.googleads.v10.common.Operand.FeedAttributeOperand feed_attribute_operand = 2;
*/
public Builder setFeedAttributeOperand(
com.google.ads.googleads.v10.common.Operand.FeedAttributeOperand.Builder builderForValue) {
if (feedAttributeOperandBuilder_ == null) {
functionArgumentOperand_ = builderForValue.build();
onChanged();
} else {
feedAttributeOperandBuilder_.setMessage(builderForValue.build());
}
functionArgumentOperandCase_ = 2;
return this;
}
/**
*
* This operand specifies a feed attribute in feed.
*
*
* .google.ads.googleads.v10.common.Operand.FeedAttributeOperand feed_attribute_operand = 2;
*/
public Builder mergeFeedAttributeOperand(com.google.ads.googleads.v10.common.Operand.FeedAttributeOperand value) {
if (feedAttributeOperandBuilder_ == null) {
if (functionArgumentOperandCase_ == 2 &&
functionArgumentOperand_ != com.google.ads.googleads.v10.common.Operand.FeedAttributeOperand.getDefaultInstance()) {
functionArgumentOperand_ = com.google.ads.googleads.v10.common.Operand.FeedAttributeOperand.newBuilder((com.google.ads.googleads.v10.common.Operand.FeedAttributeOperand) functionArgumentOperand_)
.mergeFrom(value).buildPartial();
} else {
functionArgumentOperand_ = value;
}
onChanged();
} else {
if (functionArgumentOperandCase_ == 2) {
feedAttributeOperandBuilder_.mergeFrom(value);
} else {
feedAttributeOperandBuilder_.setMessage(value);
}
}
functionArgumentOperandCase_ = 2;
return this;
}
/**
*
* This operand specifies a feed attribute in feed.
*
*
* .google.ads.googleads.v10.common.Operand.FeedAttributeOperand feed_attribute_operand = 2;
*/
public Builder clearFeedAttributeOperand() {
if (feedAttributeOperandBuilder_ == null) {
if (functionArgumentOperandCase_ == 2) {
functionArgumentOperandCase_ = 0;
functionArgumentOperand_ = null;
onChanged();
}
} else {
if (functionArgumentOperandCase_ == 2) {
functionArgumentOperandCase_ = 0;
functionArgumentOperand_ = null;
}
feedAttributeOperandBuilder_.clear();
}
return this;
}
/**
*
* This operand specifies a feed attribute in feed.
*
*
* .google.ads.googleads.v10.common.Operand.FeedAttributeOperand feed_attribute_operand = 2;
*/
public com.google.ads.googleads.v10.common.Operand.FeedAttributeOperand.Builder getFeedAttributeOperandBuilder() {
return getFeedAttributeOperandFieldBuilder().getBuilder();
}
/**
*
* This operand specifies a feed attribute in feed.
*
*
* .google.ads.googleads.v10.common.Operand.FeedAttributeOperand feed_attribute_operand = 2;
*/
@java.lang.Override
public com.google.ads.googleads.v10.common.Operand.FeedAttributeOperandOrBuilder getFeedAttributeOperandOrBuilder() {
if ((functionArgumentOperandCase_ == 2) && (feedAttributeOperandBuilder_ != null)) {
return feedAttributeOperandBuilder_.getMessageOrBuilder();
} else {
if (functionArgumentOperandCase_ == 2) {
return (com.google.ads.googleads.v10.common.Operand.FeedAttributeOperand) functionArgumentOperand_;
}
return com.google.ads.googleads.v10.common.Operand.FeedAttributeOperand.getDefaultInstance();
}
}
/**
*
* This operand specifies a feed attribute in feed.
*
*
* .google.ads.googleads.v10.common.Operand.FeedAttributeOperand feed_attribute_operand = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.ads.googleads.v10.common.Operand.FeedAttributeOperand, com.google.ads.googleads.v10.common.Operand.FeedAttributeOperand.Builder, com.google.ads.googleads.v10.common.Operand.FeedAttributeOperandOrBuilder>
getFeedAttributeOperandFieldBuilder() {
if (feedAttributeOperandBuilder_ == null) {
if (!(functionArgumentOperandCase_ == 2)) {
functionArgumentOperand_ = com.google.ads.googleads.v10.common.Operand.FeedAttributeOperand.getDefaultInstance();
}
feedAttributeOperandBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.ads.googleads.v10.common.Operand.FeedAttributeOperand, com.google.ads.googleads.v10.common.Operand.FeedAttributeOperand.Builder, com.google.ads.googleads.v10.common.Operand.FeedAttributeOperandOrBuilder>(
(com.google.ads.googleads.v10.common.Operand.FeedAttributeOperand) functionArgumentOperand_,
getParentForChildren(),
isClean());
functionArgumentOperand_ = null;
}
functionArgumentOperandCase_ = 2;
onChanged();;
return feedAttributeOperandBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.google.ads.googleads.v10.common.Operand.FunctionOperand, com.google.ads.googleads.v10.common.Operand.FunctionOperand.Builder, com.google.ads.googleads.v10.common.Operand.FunctionOperandOrBuilder> functionOperandBuilder_;
/**
*
* A function operand in a matching function.
* Used to represent nested functions.
*
*
* .google.ads.googleads.v10.common.Operand.FunctionOperand function_operand = 3;
* @return Whether the functionOperand field is set.
*/
@java.lang.Override
public boolean hasFunctionOperand() {
return functionArgumentOperandCase_ == 3;
}
/**
*
* A function operand in a matching function.
* Used to represent nested functions.
*
*
* .google.ads.googleads.v10.common.Operand.FunctionOperand function_operand = 3;
* @return The functionOperand.
*/
@java.lang.Override
public com.google.ads.googleads.v10.common.Operand.FunctionOperand getFunctionOperand() {
if (functionOperandBuilder_ == null) {
if (functionArgumentOperandCase_ == 3) {
return (com.google.ads.googleads.v10.common.Operand.FunctionOperand) functionArgumentOperand_;
}
return com.google.ads.googleads.v10.common.Operand.FunctionOperand.getDefaultInstance();
} else {
if (functionArgumentOperandCase_ == 3) {
return functionOperandBuilder_.getMessage();
}
return com.google.ads.googleads.v10.common.Operand.FunctionOperand.getDefaultInstance();
}
}
/**
*
* A function operand in a matching function.
* Used to represent nested functions.
*
*
* .google.ads.googleads.v10.common.Operand.FunctionOperand function_operand = 3;
*/
public Builder setFunctionOperand(com.google.ads.googleads.v10.common.Operand.FunctionOperand value) {
if (functionOperandBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
functionArgumentOperand_ = value;
onChanged();
} else {
functionOperandBuilder_.setMessage(value);
}
functionArgumentOperandCase_ = 3;
return this;
}
/**
*
* A function operand in a matching function.
* Used to represent nested functions.
*
*
* .google.ads.googleads.v10.common.Operand.FunctionOperand function_operand = 3;
*/
public Builder setFunctionOperand(
com.google.ads.googleads.v10.common.Operand.FunctionOperand.Builder builderForValue) {
if (functionOperandBuilder_ == null) {
functionArgumentOperand_ = builderForValue.build();
onChanged();
} else {
functionOperandBuilder_.setMessage(builderForValue.build());
}
functionArgumentOperandCase_ = 3;
return this;
}
/**
*
* A function operand in a matching function.
* Used to represent nested functions.
*
*
* .google.ads.googleads.v10.common.Operand.FunctionOperand function_operand = 3;
*/
public Builder mergeFunctionOperand(com.google.ads.googleads.v10.common.Operand.FunctionOperand value) {
if (functionOperandBuilder_ == null) {
if (functionArgumentOperandCase_ == 3 &&
functionArgumentOperand_ != com.google.ads.googleads.v10.common.Operand.FunctionOperand.getDefaultInstance()) {
functionArgumentOperand_ = com.google.ads.googleads.v10.common.Operand.FunctionOperand.newBuilder((com.google.ads.googleads.v10.common.Operand.FunctionOperand) functionArgumentOperand_)
.mergeFrom(value).buildPartial();
} else {
functionArgumentOperand_ = value;
}
onChanged();
} else {
if (functionArgumentOperandCase_ == 3) {
functionOperandBuilder_.mergeFrom(value);
} else {
functionOperandBuilder_.setMessage(value);
}
}
functionArgumentOperandCase_ = 3;
return this;
}
/**
*
* A function operand in a matching function.
* Used to represent nested functions.
*
*
* .google.ads.googleads.v10.common.Operand.FunctionOperand function_operand = 3;
*/
public Builder clearFunctionOperand() {
if (functionOperandBuilder_ == null) {
if (functionArgumentOperandCase_ == 3) {
functionArgumentOperandCase_ = 0;
functionArgumentOperand_ = null;
onChanged();
}
} else {
if (functionArgumentOperandCase_ == 3) {
functionArgumentOperandCase_ = 0;
functionArgumentOperand_ = null;
}
functionOperandBuilder_.clear();
}
return this;
}
/**
*
* A function operand in a matching function.
* Used to represent nested functions.
*
*
* .google.ads.googleads.v10.common.Operand.FunctionOperand function_operand = 3;
*/
public com.google.ads.googleads.v10.common.Operand.FunctionOperand.Builder getFunctionOperandBuilder() {
return getFunctionOperandFieldBuilder().getBuilder();
}
/**
*
* A function operand in a matching function.
* Used to represent nested functions.
*
*
* .google.ads.googleads.v10.common.Operand.FunctionOperand function_operand = 3;
*/
@java.lang.Override
public com.google.ads.googleads.v10.common.Operand.FunctionOperandOrBuilder getFunctionOperandOrBuilder() {
if ((functionArgumentOperandCase_ == 3) && (functionOperandBuilder_ != null)) {
return functionOperandBuilder_.getMessageOrBuilder();
} else {
if (functionArgumentOperandCase_ == 3) {
return (com.google.ads.googleads.v10.common.Operand.FunctionOperand) functionArgumentOperand_;
}
return com.google.ads.googleads.v10.common.Operand.FunctionOperand.getDefaultInstance();
}
}
/**
*
* A function operand in a matching function.
* Used to represent nested functions.
*
*
* .google.ads.googleads.v10.common.Operand.FunctionOperand function_operand = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.ads.googleads.v10.common.Operand.FunctionOperand, com.google.ads.googleads.v10.common.Operand.FunctionOperand.Builder, com.google.ads.googleads.v10.common.Operand.FunctionOperandOrBuilder>
getFunctionOperandFieldBuilder() {
if (functionOperandBuilder_ == null) {
if (!(functionArgumentOperandCase_ == 3)) {
functionArgumentOperand_ = com.google.ads.googleads.v10.common.Operand.FunctionOperand.getDefaultInstance();
}
functionOperandBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.ads.googleads.v10.common.Operand.FunctionOperand, com.google.ads.googleads.v10.common.Operand.FunctionOperand.Builder, com.google.ads.googleads.v10.common.Operand.FunctionOperandOrBuilder>(
(com.google.ads.googleads.v10.common.Operand.FunctionOperand) functionArgumentOperand_,
getParentForChildren(),
isClean());
functionArgumentOperand_ = null;
}
functionArgumentOperandCase_ = 3;
onChanged();;
return functionOperandBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.google.ads.googleads.v10.common.Operand.RequestContextOperand, com.google.ads.googleads.v10.common.Operand.RequestContextOperand.Builder, com.google.ads.googleads.v10.common.Operand.RequestContextOperandOrBuilder> requestContextOperandBuilder_;
/**
*
* An operand in a function referring to a value in the request context.
*
*
* .google.ads.googleads.v10.common.Operand.RequestContextOperand request_context_operand = 4;
* @return Whether the requestContextOperand field is set.
*/
@java.lang.Override
public boolean hasRequestContextOperand() {
return functionArgumentOperandCase_ == 4;
}
/**
*
* An operand in a function referring to a value in the request context.
*
*
* .google.ads.googleads.v10.common.Operand.RequestContextOperand request_context_operand = 4;
* @return The requestContextOperand.
*/
@java.lang.Override
public com.google.ads.googleads.v10.common.Operand.RequestContextOperand getRequestContextOperand() {
if (requestContextOperandBuilder_ == null) {
if (functionArgumentOperandCase_ == 4) {
return (com.google.ads.googleads.v10.common.Operand.RequestContextOperand) functionArgumentOperand_;
}
return com.google.ads.googleads.v10.common.Operand.RequestContextOperand.getDefaultInstance();
} else {
if (functionArgumentOperandCase_ == 4) {
return requestContextOperandBuilder_.getMessage();
}
return com.google.ads.googleads.v10.common.Operand.RequestContextOperand.getDefaultInstance();
}
}
/**
*
* An operand in a function referring to a value in the request context.
*
*
* .google.ads.googleads.v10.common.Operand.RequestContextOperand request_context_operand = 4;
*/
public Builder setRequestContextOperand(com.google.ads.googleads.v10.common.Operand.RequestContextOperand value) {
if (requestContextOperandBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
functionArgumentOperand_ = value;
onChanged();
} else {
requestContextOperandBuilder_.setMessage(value);
}
functionArgumentOperandCase_ = 4;
return this;
}
/**
*
* An operand in a function referring to a value in the request context.
*
*
* .google.ads.googleads.v10.common.Operand.RequestContextOperand request_context_operand = 4;
*/
public Builder setRequestContextOperand(
com.google.ads.googleads.v10.common.Operand.RequestContextOperand.Builder builderForValue) {
if (requestContextOperandBuilder_ == null) {
functionArgumentOperand_ = builderForValue.build();
onChanged();
} else {
requestContextOperandBuilder_.setMessage(builderForValue.build());
}
functionArgumentOperandCase_ = 4;
return this;
}
/**
*
* An operand in a function referring to a value in the request context.
*
*
* .google.ads.googleads.v10.common.Operand.RequestContextOperand request_context_operand = 4;
*/
public Builder mergeRequestContextOperand(com.google.ads.googleads.v10.common.Operand.RequestContextOperand value) {
if (requestContextOperandBuilder_ == null) {
if (functionArgumentOperandCase_ == 4 &&
functionArgumentOperand_ != com.google.ads.googleads.v10.common.Operand.RequestContextOperand.getDefaultInstance()) {
functionArgumentOperand_ = com.google.ads.googleads.v10.common.Operand.RequestContextOperand.newBuilder((com.google.ads.googleads.v10.common.Operand.RequestContextOperand) functionArgumentOperand_)
.mergeFrom(value).buildPartial();
} else {
functionArgumentOperand_ = value;
}
onChanged();
} else {
if (functionArgumentOperandCase_ == 4) {
requestContextOperandBuilder_.mergeFrom(value);
} else {
requestContextOperandBuilder_.setMessage(value);
}
}
functionArgumentOperandCase_ = 4;
return this;
}
/**
*
* An operand in a function referring to a value in the request context.
*
*
* .google.ads.googleads.v10.common.Operand.RequestContextOperand request_context_operand = 4;
*/
public Builder clearRequestContextOperand() {
if (requestContextOperandBuilder_ == null) {
if (functionArgumentOperandCase_ == 4) {
functionArgumentOperandCase_ = 0;
functionArgumentOperand_ = null;
onChanged();
}
} else {
if (functionArgumentOperandCase_ == 4) {
functionArgumentOperandCase_ = 0;
functionArgumentOperand_ = null;
}
requestContextOperandBuilder_.clear();
}
return this;
}
/**
*
* An operand in a function referring to a value in the request context.
*
*
* .google.ads.googleads.v10.common.Operand.RequestContextOperand request_context_operand = 4;
*/
public com.google.ads.googleads.v10.common.Operand.RequestContextOperand.Builder getRequestContextOperandBuilder() {
return getRequestContextOperandFieldBuilder().getBuilder();
}
/**
*
* An operand in a function referring to a value in the request context.
*
*
* .google.ads.googleads.v10.common.Operand.RequestContextOperand request_context_operand = 4;
*/
@java.lang.Override
public com.google.ads.googleads.v10.common.Operand.RequestContextOperandOrBuilder getRequestContextOperandOrBuilder() {
if ((functionArgumentOperandCase_ == 4) && (requestContextOperandBuilder_ != null)) {
return requestContextOperandBuilder_.getMessageOrBuilder();
} else {
if (functionArgumentOperandCase_ == 4) {
return (com.google.ads.googleads.v10.common.Operand.RequestContextOperand) functionArgumentOperand_;
}
return com.google.ads.googleads.v10.common.Operand.RequestContextOperand.getDefaultInstance();
}
}
/**
*
* An operand in a function referring to a value in the request context.
*
*
* .google.ads.googleads.v10.common.Operand.RequestContextOperand request_context_operand = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.ads.googleads.v10.common.Operand.RequestContextOperand, com.google.ads.googleads.v10.common.Operand.RequestContextOperand.Builder, com.google.ads.googleads.v10.common.Operand.RequestContextOperandOrBuilder>
getRequestContextOperandFieldBuilder() {
if (requestContextOperandBuilder_ == null) {
if (!(functionArgumentOperandCase_ == 4)) {
functionArgumentOperand_ = com.google.ads.googleads.v10.common.Operand.RequestContextOperand.getDefaultInstance();
}
requestContextOperandBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.ads.googleads.v10.common.Operand.RequestContextOperand, com.google.ads.googleads.v10.common.Operand.RequestContextOperand.Builder, com.google.ads.googleads.v10.common.Operand.RequestContextOperandOrBuilder>(
(com.google.ads.googleads.v10.common.Operand.RequestContextOperand) functionArgumentOperand_,
getParentForChildren(),
isClean());
functionArgumentOperand_ = null;
}
functionArgumentOperandCase_ = 4;
onChanged();;
return requestContextOperandBuilder_;
}
@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.Operand)
}
// @@protoc_insertion_point(class_scope:google.ads.googleads.v10.common.Operand)
private static final com.google.ads.googleads.v10.common.Operand DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.google.ads.googleads.v10.common.Operand();
}
public static com.google.ads.googleads.v10.common.Operand getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Operand 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.Operand getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy