com.google.ads.googleads.v16.common.TargetCpaSimulationPoint Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of google-ads-stubs-v16 Show documentation
Show all versions of google-ads-stubs-v16 Show documentation
Stubs for GAAPI version google-ads-stubs-v16
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/ads/googleads/v16/common/simulation.proto
// Protobuf Java Version: 3.25.3
package com.google.ads.googleads.v16.common;
/**
*
* Projected metrics for a specific target CPA amount.
*
*
* Protobuf type {@code google.ads.googleads.v16.common.TargetCpaSimulationPoint}
*/
public final class TargetCpaSimulationPoint extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:google.ads.googleads.v16.common.TargetCpaSimulationPoint)
TargetCpaSimulationPointOrBuilder {
private static final long serialVersionUID = 0L;
// Use TargetCpaSimulationPoint.newBuilder() to construct.
private TargetCpaSimulationPoint(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private TargetCpaSimulationPoint() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new TargetCpaSimulationPoint();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.ads.googleads.v16.common.SimulationProto.internal_static_google_ads_googleads_v16_common_TargetCpaSimulationPoint_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.ads.googleads.v16.common.SimulationProto.internal_static_google_ads_googleads_v16_common_TargetCpaSimulationPoint_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.ads.googleads.v16.common.TargetCpaSimulationPoint.class, com.google.ads.googleads.v16.common.TargetCpaSimulationPoint.Builder.class);
}
private int bitField0_;
private int targetCpaSimulationKeyValueCase_ = 0;
@SuppressWarnings("serial")
private java.lang.Object targetCpaSimulationKeyValue_;
public enum TargetCpaSimulationKeyValueCase
implements com.google.protobuf.Internal.EnumLite,
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
TARGET_CPA_MICROS(17),
TARGET_CPA_SCALING_MODIFIER(18),
TARGETCPASIMULATIONKEYVALUE_NOT_SET(0);
private final int value;
private TargetCpaSimulationKeyValueCase(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 TargetCpaSimulationKeyValueCase valueOf(int value) {
return forNumber(value);
}
public static TargetCpaSimulationKeyValueCase forNumber(int value) {
switch (value) {
case 17: return TARGET_CPA_MICROS;
case 18: return TARGET_CPA_SCALING_MODIFIER;
case 0: return TARGETCPASIMULATIONKEYVALUE_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public TargetCpaSimulationKeyValueCase
getTargetCpaSimulationKeyValueCase() {
return TargetCpaSimulationKeyValueCase.forNumber(
targetCpaSimulationKeyValueCase_);
}
public static final int REQUIRED_BUDGET_AMOUNT_MICROS_FIELD_NUMBER = 19;
private long requiredBudgetAmountMicros_ = 0L;
/**
*
* Projected required daily budget that the advertiser must set in order to
* receive the estimated traffic, in micros of advertiser currency.
*
*
* int64 required_budget_amount_micros = 19;
* @return The requiredBudgetAmountMicros.
*/
@java.lang.Override
public long getRequiredBudgetAmountMicros() {
return requiredBudgetAmountMicros_;
}
public static final int BIDDABLE_CONVERSIONS_FIELD_NUMBER = 9;
private double biddableConversions_ = 0D;
/**
*
* Projected number of biddable conversions.
*
*
* optional double biddable_conversions = 9;
* @return Whether the biddableConversions field is set.
*/
@java.lang.Override
public boolean hasBiddableConversions() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* Projected number of biddable conversions.
*
*
* optional double biddable_conversions = 9;
* @return The biddableConversions.
*/
@java.lang.Override
public double getBiddableConversions() {
return biddableConversions_;
}
public static final int BIDDABLE_CONVERSIONS_VALUE_FIELD_NUMBER = 10;
private double biddableConversionsValue_ = 0D;
/**
*
* Projected total value of biddable conversions.
*
*
* optional double biddable_conversions_value = 10;
* @return Whether the biddableConversionsValue field is set.
*/
@java.lang.Override
public boolean hasBiddableConversionsValue() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
*
* Projected total value of biddable conversions.
*
*
* optional double biddable_conversions_value = 10;
* @return The biddableConversionsValue.
*/
@java.lang.Override
public double getBiddableConversionsValue() {
return biddableConversionsValue_;
}
public static final int APP_INSTALLS_FIELD_NUMBER = 15;
private double appInstalls_ = 0D;
/**
*
* Projected number of app installs.
*
*
* double app_installs = 15;
* @return The appInstalls.
*/
@java.lang.Override
public double getAppInstalls() {
return appInstalls_;
}
public static final int IN_APP_ACTIONS_FIELD_NUMBER = 16;
private double inAppActions_ = 0D;
/**
*
* Projected number of in-app actions.
*
*
* double in_app_actions = 16;
* @return The inAppActions.
*/
@java.lang.Override
public double getInAppActions() {
return inAppActions_;
}
public static final int CLICKS_FIELD_NUMBER = 11;
private long clicks_ = 0L;
/**
*
* Projected number of clicks.
*
*
* optional int64 clicks = 11;
* @return Whether the clicks field is set.
*/
@java.lang.Override
public boolean hasClicks() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
*
* Projected number of clicks.
*
*
* optional int64 clicks = 11;
* @return The clicks.
*/
@java.lang.Override
public long getClicks() {
return clicks_;
}
public static final int COST_MICROS_FIELD_NUMBER = 12;
private long costMicros_ = 0L;
/**
*
* Projected cost in micros.
*
*
* optional int64 cost_micros = 12;
* @return Whether the costMicros field is set.
*/
@java.lang.Override
public boolean hasCostMicros() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
*
* Projected cost in micros.
*
*
* optional int64 cost_micros = 12;
* @return The costMicros.
*/
@java.lang.Override
public long getCostMicros() {
return costMicros_;
}
public static final int IMPRESSIONS_FIELD_NUMBER = 13;
private long impressions_ = 0L;
/**
*
* Projected number of impressions.
*
*
* optional int64 impressions = 13;
* @return Whether the impressions field is set.
*/
@java.lang.Override
public boolean hasImpressions() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
*
* Projected number of impressions.
*
*
* optional int64 impressions = 13;
* @return The impressions.
*/
@java.lang.Override
public long getImpressions() {
return impressions_;
}
public static final int TOP_SLOT_IMPRESSIONS_FIELD_NUMBER = 14;
private long topSlotImpressions_ = 0L;
/**
*
* Projected number of top slot impressions.
* Only search advertising channel type supports this field.
*
*
* optional int64 top_slot_impressions = 14;
* @return Whether the topSlotImpressions field is set.
*/
@java.lang.Override
public boolean hasTopSlotImpressions() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
*
* Projected number of top slot impressions.
* Only search advertising channel type supports this field.
*
*
* optional int64 top_slot_impressions = 14;
* @return The topSlotImpressions.
*/
@java.lang.Override
public long getTopSlotImpressions() {
return topSlotImpressions_;
}
public static final int INTERACTIONS_FIELD_NUMBER = 20;
private long interactions_ = 0L;
/**
*
* Projected number of interactions.
* Only discovery advertising channel type supports this field.
*
*
* optional int64 interactions = 20;
* @return Whether the interactions field is set.
*/
@java.lang.Override
public boolean hasInteractions() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
*
* Projected number of interactions.
* Only discovery advertising channel type supports this field.
*
*
* optional int64 interactions = 20;
* @return The interactions.
*/
@java.lang.Override
public long getInteractions() {
return interactions_;
}
public static final int TARGET_CPA_MICROS_FIELD_NUMBER = 17;
/**
*
* The simulated target CPA upon which projected metrics are based.
*
*
* int64 target_cpa_micros = 17;
* @return Whether the targetCpaMicros field is set.
*/
@java.lang.Override
public boolean hasTargetCpaMicros() {
return targetCpaSimulationKeyValueCase_ == 17;
}
/**
*
* The simulated target CPA upon which projected metrics are based.
*
*
* int64 target_cpa_micros = 17;
* @return The targetCpaMicros.
*/
@java.lang.Override
public long getTargetCpaMicros() {
if (targetCpaSimulationKeyValueCase_ == 17) {
return (java.lang.Long) targetCpaSimulationKeyValue_;
}
return 0L;
}
public static final int TARGET_CPA_SCALING_MODIFIER_FIELD_NUMBER = 18;
/**
*
* The simulated scaling modifier upon which projected metrics are based.
* All CPA targets relevant to the simulated entity are scaled by this
* modifier.
*
*
* double target_cpa_scaling_modifier = 18;
* @return Whether the targetCpaScalingModifier field is set.
*/
@java.lang.Override
public boolean hasTargetCpaScalingModifier() {
return targetCpaSimulationKeyValueCase_ == 18;
}
/**
*
* The simulated scaling modifier upon which projected metrics are based.
* All CPA targets relevant to the simulated entity are scaled by this
* modifier.
*
*
* double target_cpa_scaling_modifier = 18;
* @return The targetCpaScalingModifier.
*/
@java.lang.Override
public double getTargetCpaScalingModifier() {
if (targetCpaSimulationKeyValueCase_ == 18) {
return (java.lang.Double) targetCpaSimulationKeyValue_;
}
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 (((bitField0_ & 0x00000001) != 0)) {
output.writeDouble(9, biddableConversions_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeDouble(10, biddableConversionsValue_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeInt64(11, clicks_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeInt64(12, costMicros_);
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeInt64(13, impressions_);
}
if (((bitField0_ & 0x00000020) != 0)) {
output.writeInt64(14, topSlotImpressions_);
}
if (java.lang.Double.doubleToRawLongBits(appInstalls_) != 0) {
output.writeDouble(15, appInstalls_);
}
if (java.lang.Double.doubleToRawLongBits(inAppActions_) != 0) {
output.writeDouble(16, inAppActions_);
}
if (targetCpaSimulationKeyValueCase_ == 17) {
output.writeInt64(
17, (long)((java.lang.Long) targetCpaSimulationKeyValue_));
}
if (targetCpaSimulationKeyValueCase_ == 18) {
output.writeDouble(
18, (double)((java.lang.Double) targetCpaSimulationKeyValue_));
}
if (requiredBudgetAmountMicros_ != 0L) {
output.writeInt64(19, requiredBudgetAmountMicros_);
}
if (((bitField0_ & 0x00000040) != 0)) {
output.writeInt64(20, interactions_);
}
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
.computeDoubleSize(9, biddableConversions_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(10, biddableConversionsValue_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(11, clicks_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(12, costMicros_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(13, impressions_);
}
if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(14, topSlotImpressions_);
}
if (java.lang.Double.doubleToRawLongBits(appInstalls_) != 0) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(15, appInstalls_);
}
if (java.lang.Double.doubleToRawLongBits(inAppActions_) != 0) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(16, inAppActions_);
}
if (targetCpaSimulationKeyValueCase_ == 17) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(
17, (long)((java.lang.Long) targetCpaSimulationKeyValue_));
}
if (targetCpaSimulationKeyValueCase_ == 18) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(
18, (double)((java.lang.Double) targetCpaSimulationKeyValue_));
}
if (requiredBudgetAmountMicros_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(19, requiredBudgetAmountMicros_);
}
if (((bitField0_ & 0x00000040) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(20, interactions_);
}
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.v16.common.TargetCpaSimulationPoint)) {
return super.equals(obj);
}
com.google.ads.googleads.v16.common.TargetCpaSimulationPoint other = (com.google.ads.googleads.v16.common.TargetCpaSimulationPoint) obj;
if (getRequiredBudgetAmountMicros()
!= other.getRequiredBudgetAmountMicros()) return false;
if (hasBiddableConversions() != other.hasBiddableConversions()) return false;
if (hasBiddableConversions()) {
if (java.lang.Double.doubleToLongBits(getBiddableConversions())
!= java.lang.Double.doubleToLongBits(
other.getBiddableConversions())) return false;
}
if (hasBiddableConversionsValue() != other.hasBiddableConversionsValue()) return false;
if (hasBiddableConversionsValue()) {
if (java.lang.Double.doubleToLongBits(getBiddableConversionsValue())
!= java.lang.Double.doubleToLongBits(
other.getBiddableConversionsValue())) return false;
}
if (java.lang.Double.doubleToLongBits(getAppInstalls())
!= java.lang.Double.doubleToLongBits(
other.getAppInstalls())) return false;
if (java.lang.Double.doubleToLongBits(getInAppActions())
!= java.lang.Double.doubleToLongBits(
other.getInAppActions())) return false;
if (hasClicks() != other.hasClicks()) return false;
if (hasClicks()) {
if (getClicks()
!= other.getClicks()) return false;
}
if (hasCostMicros() != other.hasCostMicros()) return false;
if (hasCostMicros()) {
if (getCostMicros()
!= other.getCostMicros()) return false;
}
if (hasImpressions() != other.hasImpressions()) return false;
if (hasImpressions()) {
if (getImpressions()
!= other.getImpressions()) return false;
}
if (hasTopSlotImpressions() != other.hasTopSlotImpressions()) return false;
if (hasTopSlotImpressions()) {
if (getTopSlotImpressions()
!= other.getTopSlotImpressions()) return false;
}
if (hasInteractions() != other.hasInteractions()) return false;
if (hasInteractions()) {
if (getInteractions()
!= other.getInteractions()) return false;
}
if (!getTargetCpaSimulationKeyValueCase().equals(other.getTargetCpaSimulationKeyValueCase())) return false;
switch (targetCpaSimulationKeyValueCase_) {
case 17:
if (getTargetCpaMicros()
!= other.getTargetCpaMicros()) return false;
break;
case 18:
if (java.lang.Double.doubleToLongBits(getTargetCpaScalingModifier())
!= java.lang.Double.doubleToLongBits(
other.getTargetCpaScalingModifier())) return false;
break;
case 0:
default:
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + REQUIRED_BUDGET_AMOUNT_MICROS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getRequiredBudgetAmountMicros());
if (hasBiddableConversions()) {
hash = (37 * hash) + BIDDABLE_CONVERSIONS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getBiddableConversions()));
}
if (hasBiddableConversionsValue()) {
hash = (37 * hash) + BIDDABLE_CONVERSIONS_VALUE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getBiddableConversionsValue()));
}
hash = (37 * hash) + APP_INSTALLS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getAppInstalls()));
hash = (37 * hash) + IN_APP_ACTIONS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getInAppActions()));
if (hasClicks()) {
hash = (37 * hash) + CLICKS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getClicks());
}
if (hasCostMicros()) {
hash = (37 * hash) + COST_MICROS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getCostMicros());
}
if (hasImpressions()) {
hash = (37 * hash) + IMPRESSIONS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getImpressions());
}
if (hasTopSlotImpressions()) {
hash = (37 * hash) + TOP_SLOT_IMPRESSIONS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTopSlotImpressions());
}
if (hasInteractions()) {
hash = (37 * hash) + INTERACTIONS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getInteractions());
}
switch (targetCpaSimulationKeyValueCase_) {
case 17:
hash = (37 * hash) + TARGET_CPA_MICROS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTargetCpaMicros());
break;
case 18:
hash = (37 * hash) + TARGET_CPA_SCALING_MODIFIER_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getTargetCpaScalingModifier()));
break;
case 0:
default:
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.google.ads.googleads.v16.common.TargetCpaSimulationPoint parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.ads.googleads.v16.common.TargetCpaSimulationPoint 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.v16.common.TargetCpaSimulationPoint parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.ads.googleads.v16.common.TargetCpaSimulationPoint 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.v16.common.TargetCpaSimulationPoint parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.ads.googleads.v16.common.TargetCpaSimulationPoint parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.ads.googleads.v16.common.TargetCpaSimulationPoint parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.ads.googleads.v16.common.TargetCpaSimulationPoint 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.v16.common.TargetCpaSimulationPoint parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.google.ads.googleads.v16.common.TargetCpaSimulationPoint 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.v16.common.TargetCpaSimulationPoint parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.ads.googleads.v16.common.TargetCpaSimulationPoint 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.v16.common.TargetCpaSimulationPoint 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;
}
/**
*
* Projected metrics for a specific target CPA amount.
*
*
* Protobuf type {@code google.ads.googleads.v16.common.TargetCpaSimulationPoint}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:google.ads.googleads.v16.common.TargetCpaSimulationPoint)
com.google.ads.googleads.v16.common.TargetCpaSimulationPointOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.ads.googleads.v16.common.SimulationProto.internal_static_google_ads_googleads_v16_common_TargetCpaSimulationPoint_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.ads.googleads.v16.common.SimulationProto.internal_static_google_ads_googleads_v16_common_TargetCpaSimulationPoint_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.ads.googleads.v16.common.TargetCpaSimulationPoint.class, com.google.ads.googleads.v16.common.TargetCpaSimulationPoint.Builder.class);
}
// Construct using com.google.ads.googleads.v16.common.TargetCpaSimulationPoint.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
requiredBudgetAmountMicros_ = 0L;
biddableConversions_ = 0D;
biddableConversionsValue_ = 0D;
appInstalls_ = 0D;
inAppActions_ = 0D;
clicks_ = 0L;
costMicros_ = 0L;
impressions_ = 0L;
topSlotImpressions_ = 0L;
interactions_ = 0L;
targetCpaSimulationKeyValueCase_ = 0;
targetCpaSimulationKeyValue_ = null;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.google.ads.googleads.v16.common.SimulationProto.internal_static_google_ads_googleads_v16_common_TargetCpaSimulationPoint_descriptor;
}
@java.lang.Override
public com.google.ads.googleads.v16.common.TargetCpaSimulationPoint getDefaultInstanceForType() {
return com.google.ads.googleads.v16.common.TargetCpaSimulationPoint.getDefaultInstance();
}
@java.lang.Override
public com.google.ads.googleads.v16.common.TargetCpaSimulationPoint build() {
com.google.ads.googleads.v16.common.TargetCpaSimulationPoint result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.google.ads.googleads.v16.common.TargetCpaSimulationPoint buildPartial() {
com.google.ads.googleads.v16.common.TargetCpaSimulationPoint result = new com.google.ads.googleads.v16.common.TargetCpaSimulationPoint(this);
if (bitField0_ != 0) { buildPartial0(result); }
buildPartialOneofs(result);
onBuilt();
return result;
}
private void buildPartial0(com.google.ads.googleads.v16.common.TargetCpaSimulationPoint result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.requiredBudgetAmountMicros_ = requiredBudgetAmountMicros_;
}
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000002) != 0)) {
result.biddableConversions_ = biddableConversions_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.biddableConversionsValue_ = biddableConversionsValue_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.appInstalls_ = appInstalls_;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.inAppActions_ = inAppActions_;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.clicks_ = clicks_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
result.costMicros_ = costMicros_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000080) != 0)) {
result.impressions_ = impressions_;
to_bitField0_ |= 0x00000010;
}
if (((from_bitField0_ & 0x00000100) != 0)) {
result.topSlotImpressions_ = topSlotImpressions_;
to_bitField0_ |= 0x00000020;
}
if (((from_bitField0_ & 0x00000200) != 0)) {
result.interactions_ = interactions_;
to_bitField0_ |= 0x00000040;
}
result.bitField0_ |= to_bitField0_;
}
private void buildPartialOneofs(com.google.ads.googleads.v16.common.TargetCpaSimulationPoint result) {
result.targetCpaSimulationKeyValueCase_ = targetCpaSimulationKeyValueCase_;
result.targetCpaSimulationKeyValue_ = this.targetCpaSimulationKeyValue_;
}
@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.v16.common.TargetCpaSimulationPoint) {
return mergeFrom((com.google.ads.googleads.v16.common.TargetCpaSimulationPoint)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.google.ads.googleads.v16.common.TargetCpaSimulationPoint other) {
if (other == com.google.ads.googleads.v16.common.TargetCpaSimulationPoint.getDefaultInstance()) return this;
if (other.getRequiredBudgetAmountMicros() != 0L) {
setRequiredBudgetAmountMicros(other.getRequiredBudgetAmountMicros());
}
if (other.hasBiddableConversions()) {
setBiddableConversions(other.getBiddableConversions());
}
if (other.hasBiddableConversionsValue()) {
setBiddableConversionsValue(other.getBiddableConversionsValue());
}
if (other.getAppInstalls() != 0D) {
setAppInstalls(other.getAppInstalls());
}
if (other.getInAppActions() != 0D) {
setInAppActions(other.getInAppActions());
}
if (other.hasClicks()) {
setClicks(other.getClicks());
}
if (other.hasCostMicros()) {
setCostMicros(other.getCostMicros());
}
if (other.hasImpressions()) {
setImpressions(other.getImpressions());
}
if (other.hasTopSlotImpressions()) {
setTopSlotImpressions(other.getTopSlotImpressions());
}
if (other.hasInteractions()) {
setInteractions(other.getInteractions());
}
switch (other.getTargetCpaSimulationKeyValueCase()) {
case TARGET_CPA_MICROS: {
setTargetCpaMicros(other.getTargetCpaMicros());
break;
}
case TARGET_CPA_SCALING_MODIFIER: {
setTargetCpaScalingModifier(other.getTargetCpaScalingModifier());
break;
}
case TARGETCPASIMULATIONKEYVALUE_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 73: {
biddableConversions_ = input.readDouble();
bitField0_ |= 0x00000002;
break;
} // case 73
case 81: {
biddableConversionsValue_ = input.readDouble();
bitField0_ |= 0x00000004;
break;
} // case 81
case 88: {
clicks_ = input.readInt64();
bitField0_ |= 0x00000020;
break;
} // case 88
case 96: {
costMicros_ = input.readInt64();
bitField0_ |= 0x00000040;
break;
} // case 96
case 104: {
impressions_ = input.readInt64();
bitField0_ |= 0x00000080;
break;
} // case 104
case 112: {
topSlotImpressions_ = input.readInt64();
bitField0_ |= 0x00000100;
break;
} // case 112
case 121: {
appInstalls_ = input.readDouble();
bitField0_ |= 0x00000008;
break;
} // case 121
case 129: {
inAppActions_ = input.readDouble();
bitField0_ |= 0x00000010;
break;
} // case 129
case 136: {
targetCpaSimulationKeyValue_ = input.readInt64();
targetCpaSimulationKeyValueCase_ = 17;
break;
} // case 136
case 145: {
targetCpaSimulationKeyValue_ = input.readDouble();
targetCpaSimulationKeyValueCase_ = 18;
break;
} // case 145
case 152: {
requiredBudgetAmountMicros_ = input.readInt64();
bitField0_ |= 0x00000001;
break;
} // case 152
case 160: {
interactions_ = input.readInt64();
bitField0_ |= 0x00000200;
break;
} // case 160
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 targetCpaSimulationKeyValueCase_ = 0;
private java.lang.Object targetCpaSimulationKeyValue_;
public TargetCpaSimulationKeyValueCase
getTargetCpaSimulationKeyValueCase() {
return TargetCpaSimulationKeyValueCase.forNumber(
targetCpaSimulationKeyValueCase_);
}
public Builder clearTargetCpaSimulationKeyValue() {
targetCpaSimulationKeyValueCase_ = 0;
targetCpaSimulationKeyValue_ = null;
onChanged();
return this;
}
private int bitField0_;
private long requiredBudgetAmountMicros_ ;
/**
*
* Projected required daily budget that the advertiser must set in order to
* receive the estimated traffic, in micros of advertiser currency.
*
*
* int64 required_budget_amount_micros = 19;
* @return The requiredBudgetAmountMicros.
*/
@java.lang.Override
public long getRequiredBudgetAmountMicros() {
return requiredBudgetAmountMicros_;
}
/**
*
* Projected required daily budget that the advertiser must set in order to
* receive the estimated traffic, in micros of advertiser currency.
*
*
* int64 required_budget_amount_micros = 19;
* @param value The requiredBudgetAmountMicros to set.
* @return This builder for chaining.
*/
public Builder setRequiredBudgetAmountMicros(long value) {
requiredBudgetAmountMicros_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
*
* Projected required daily budget that the advertiser must set in order to
* receive the estimated traffic, in micros of advertiser currency.
*
*
* int64 required_budget_amount_micros = 19;
* @return This builder for chaining.
*/
public Builder clearRequiredBudgetAmountMicros() {
bitField0_ = (bitField0_ & ~0x00000001);
requiredBudgetAmountMicros_ = 0L;
onChanged();
return this;
}
private double biddableConversions_ ;
/**
*
* Projected number of biddable conversions.
*
*
* optional double biddable_conversions = 9;
* @return Whether the biddableConversions field is set.
*/
@java.lang.Override
public boolean hasBiddableConversions() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
*
* Projected number of biddable conversions.
*
*
* optional double biddable_conversions = 9;
* @return The biddableConversions.
*/
@java.lang.Override
public double getBiddableConversions() {
return biddableConversions_;
}
/**
*
* Projected number of biddable conversions.
*
*
* optional double biddable_conversions = 9;
* @param value The biddableConversions to set.
* @return This builder for chaining.
*/
public Builder setBiddableConversions(double value) {
biddableConversions_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
*
* Projected number of biddable conversions.
*
*
* optional double biddable_conversions = 9;
* @return This builder for chaining.
*/
public Builder clearBiddableConversions() {
bitField0_ = (bitField0_ & ~0x00000002);
biddableConversions_ = 0D;
onChanged();
return this;
}
private double biddableConversionsValue_ ;
/**
*
* Projected total value of biddable conversions.
*
*
* optional double biddable_conversions_value = 10;
* @return Whether the biddableConversionsValue field is set.
*/
@java.lang.Override
public boolean hasBiddableConversionsValue() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
*
* Projected total value of biddable conversions.
*
*
* optional double biddable_conversions_value = 10;
* @return The biddableConversionsValue.
*/
@java.lang.Override
public double getBiddableConversionsValue() {
return biddableConversionsValue_;
}
/**
*
* Projected total value of biddable conversions.
*
*
* optional double biddable_conversions_value = 10;
* @param value The biddableConversionsValue to set.
* @return This builder for chaining.
*/
public Builder setBiddableConversionsValue(double value) {
biddableConversionsValue_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
*
* Projected total value of biddable conversions.
*
*
* optional double biddable_conversions_value = 10;
* @return This builder for chaining.
*/
public Builder clearBiddableConversionsValue() {
bitField0_ = (bitField0_ & ~0x00000004);
biddableConversionsValue_ = 0D;
onChanged();
return this;
}
private double appInstalls_ ;
/**
*
* Projected number of app installs.
*
*
* double app_installs = 15;
* @return The appInstalls.
*/
@java.lang.Override
public double getAppInstalls() {
return appInstalls_;
}
/**
*
* Projected number of app installs.
*
*
* double app_installs = 15;
* @param value The appInstalls to set.
* @return This builder for chaining.
*/
public Builder setAppInstalls(double value) {
appInstalls_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
*
* Projected number of app installs.
*
*
* double app_installs = 15;
* @return This builder for chaining.
*/
public Builder clearAppInstalls() {
bitField0_ = (bitField0_ & ~0x00000008);
appInstalls_ = 0D;
onChanged();
return this;
}
private double inAppActions_ ;
/**
*
* Projected number of in-app actions.
*
*
* double in_app_actions = 16;
* @return The inAppActions.
*/
@java.lang.Override
public double getInAppActions() {
return inAppActions_;
}
/**
*
* Projected number of in-app actions.
*
*
* double in_app_actions = 16;
* @param value The inAppActions to set.
* @return This builder for chaining.
*/
public Builder setInAppActions(double value) {
inAppActions_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
*
* Projected number of in-app actions.
*
*
* double in_app_actions = 16;
* @return This builder for chaining.
*/
public Builder clearInAppActions() {
bitField0_ = (bitField0_ & ~0x00000010);
inAppActions_ = 0D;
onChanged();
return this;
}
private long clicks_ ;
/**
*
* Projected number of clicks.
*
*
* optional int64 clicks = 11;
* @return Whether the clicks field is set.
*/
@java.lang.Override
public boolean hasClicks() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
*
* Projected number of clicks.
*
*
* optional int64 clicks = 11;
* @return The clicks.
*/
@java.lang.Override
public long getClicks() {
return clicks_;
}
/**
*
* Projected number of clicks.
*
*
* optional int64 clicks = 11;
* @param value The clicks to set.
* @return This builder for chaining.
*/
public Builder setClicks(long value) {
clicks_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
*
* Projected number of clicks.
*
*
* optional int64 clicks = 11;
* @return This builder for chaining.
*/
public Builder clearClicks() {
bitField0_ = (bitField0_ & ~0x00000020);
clicks_ = 0L;
onChanged();
return this;
}
private long costMicros_ ;
/**
*
* Projected cost in micros.
*
*
* optional int64 cost_micros = 12;
* @return Whether the costMicros field is set.
*/
@java.lang.Override
public boolean hasCostMicros() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
*
* Projected cost in micros.
*
*
* optional int64 cost_micros = 12;
* @return The costMicros.
*/
@java.lang.Override
public long getCostMicros() {
return costMicros_;
}
/**
*
* Projected cost in micros.
*
*
* optional int64 cost_micros = 12;
* @param value The costMicros to set.
* @return This builder for chaining.
*/
public Builder setCostMicros(long value) {
costMicros_ = value;
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
*
* Projected cost in micros.
*
*
* optional int64 cost_micros = 12;
* @return This builder for chaining.
*/
public Builder clearCostMicros() {
bitField0_ = (bitField0_ & ~0x00000040);
costMicros_ = 0L;
onChanged();
return this;
}
private long impressions_ ;
/**
*
* Projected number of impressions.
*
*
* optional int64 impressions = 13;
* @return Whether the impressions field is set.
*/
@java.lang.Override
public boolean hasImpressions() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
*
* Projected number of impressions.
*
*
* optional int64 impressions = 13;
* @return The impressions.
*/
@java.lang.Override
public long getImpressions() {
return impressions_;
}
/**
*
* Projected number of impressions.
*
*
* optional int64 impressions = 13;
* @param value The impressions to set.
* @return This builder for chaining.
*/
public Builder setImpressions(long value) {
impressions_ = value;
bitField0_ |= 0x00000080;
onChanged();
return this;
}
/**
*
* Projected number of impressions.
*
*
* optional int64 impressions = 13;
* @return This builder for chaining.
*/
public Builder clearImpressions() {
bitField0_ = (bitField0_ & ~0x00000080);
impressions_ = 0L;
onChanged();
return this;
}
private long topSlotImpressions_ ;
/**
*
* Projected number of top slot impressions.
* Only search advertising channel type supports this field.
*
*
* optional int64 top_slot_impressions = 14;
* @return Whether the topSlotImpressions field is set.
*/
@java.lang.Override
public boolean hasTopSlotImpressions() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
*
* Projected number of top slot impressions.
* Only search advertising channel type supports this field.
*
*
* optional int64 top_slot_impressions = 14;
* @return The topSlotImpressions.
*/
@java.lang.Override
public long getTopSlotImpressions() {
return topSlotImpressions_;
}
/**
*
* Projected number of top slot impressions.
* Only search advertising channel type supports this field.
*
*
* optional int64 top_slot_impressions = 14;
* @param value The topSlotImpressions to set.
* @return This builder for chaining.
*/
public Builder setTopSlotImpressions(long value) {
topSlotImpressions_ = value;
bitField0_ |= 0x00000100;
onChanged();
return this;
}
/**
*
* Projected number of top slot impressions.
* Only search advertising channel type supports this field.
*
*
* optional int64 top_slot_impressions = 14;
* @return This builder for chaining.
*/
public Builder clearTopSlotImpressions() {
bitField0_ = (bitField0_ & ~0x00000100);
topSlotImpressions_ = 0L;
onChanged();
return this;
}
private long interactions_ ;
/**
*
* Projected number of interactions.
* Only discovery advertising channel type supports this field.
*
*
* optional int64 interactions = 20;
* @return Whether the interactions field is set.
*/
@java.lang.Override
public boolean hasInteractions() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
*
* Projected number of interactions.
* Only discovery advertising channel type supports this field.
*
*
* optional int64 interactions = 20;
* @return The interactions.
*/
@java.lang.Override
public long getInteractions() {
return interactions_;
}
/**
*
* Projected number of interactions.
* Only discovery advertising channel type supports this field.
*
*
* optional int64 interactions = 20;
* @param value The interactions to set.
* @return This builder for chaining.
*/
public Builder setInteractions(long value) {
interactions_ = value;
bitField0_ |= 0x00000200;
onChanged();
return this;
}
/**
*
* Projected number of interactions.
* Only discovery advertising channel type supports this field.
*
*
* optional int64 interactions = 20;
* @return This builder for chaining.
*/
public Builder clearInteractions() {
bitField0_ = (bitField0_ & ~0x00000200);
interactions_ = 0L;
onChanged();
return this;
}
/**
*
* The simulated target CPA upon which projected metrics are based.
*
*
* int64 target_cpa_micros = 17;
* @return Whether the targetCpaMicros field is set.
*/
public boolean hasTargetCpaMicros() {
return targetCpaSimulationKeyValueCase_ == 17;
}
/**
*
* The simulated target CPA upon which projected metrics are based.
*
*
* int64 target_cpa_micros = 17;
* @return The targetCpaMicros.
*/
public long getTargetCpaMicros() {
if (targetCpaSimulationKeyValueCase_ == 17) {
return (java.lang.Long) targetCpaSimulationKeyValue_;
}
return 0L;
}
/**
*
* The simulated target CPA upon which projected metrics are based.
*
*
* int64 target_cpa_micros = 17;
* @param value The targetCpaMicros to set.
* @return This builder for chaining.
*/
public Builder setTargetCpaMicros(long value) {
targetCpaSimulationKeyValueCase_ = 17;
targetCpaSimulationKeyValue_ = value;
onChanged();
return this;
}
/**
*
* The simulated target CPA upon which projected metrics are based.
*
*
* int64 target_cpa_micros = 17;
* @return This builder for chaining.
*/
public Builder clearTargetCpaMicros() {
if (targetCpaSimulationKeyValueCase_ == 17) {
targetCpaSimulationKeyValueCase_ = 0;
targetCpaSimulationKeyValue_ = null;
onChanged();
}
return this;
}
/**
*
* The simulated scaling modifier upon which projected metrics are based.
* All CPA targets relevant to the simulated entity are scaled by this
* modifier.
*
*
* double target_cpa_scaling_modifier = 18;
* @return Whether the targetCpaScalingModifier field is set.
*/
public boolean hasTargetCpaScalingModifier() {
return targetCpaSimulationKeyValueCase_ == 18;
}
/**
*
* The simulated scaling modifier upon which projected metrics are based.
* All CPA targets relevant to the simulated entity are scaled by this
* modifier.
*
*
* double target_cpa_scaling_modifier = 18;
* @return The targetCpaScalingModifier.
*/
public double getTargetCpaScalingModifier() {
if (targetCpaSimulationKeyValueCase_ == 18) {
return (java.lang.Double) targetCpaSimulationKeyValue_;
}
return 0D;
}
/**
*
* The simulated scaling modifier upon which projected metrics are based.
* All CPA targets relevant to the simulated entity are scaled by this
* modifier.
*
*
* double target_cpa_scaling_modifier = 18;
* @param value The targetCpaScalingModifier to set.
* @return This builder for chaining.
*/
public Builder setTargetCpaScalingModifier(double value) {
targetCpaSimulationKeyValueCase_ = 18;
targetCpaSimulationKeyValue_ = value;
onChanged();
return this;
}
/**
*
* The simulated scaling modifier upon which projected metrics are based.
* All CPA targets relevant to the simulated entity are scaled by this
* modifier.
*
*
* double target_cpa_scaling_modifier = 18;
* @return This builder for chaining.
*/
public Builder clearTargetCpaScalingModifier() {
if (targetCpaSimulationKeyValueCase_ == 18) {
targetCpaSimulationKeyValueCase_ = 0;
targetCpaSimulationKeyValue_ = 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.v16.common.TargetCpaSimulationPoint)
}
// @@protoc_insertion_point(class_scope:google.ads.googleads.v16.common.TargetCpaSimulationPoint)
private static final com.google.ads.googleads.v16.common.TargetCpaSimulationPoint DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.google.ads.googleads.v16.common.TargetCpaSimulationPoint();
}
public static com.google.ads.googleads.v16.common.TargetCpaSimulationPoint getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public TargetCpaSimulationPoint 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.v16.common.TargetCpaSimulationPoint getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}