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

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

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

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

/**
 * 
 * Projected metrics for a specific budget amount.
 * 
* * Protobuf type {@code google.ads.googleads.v17.common.BudgetSimulationPoint} */ public final class BudgetSimulationPoint extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.ads.googleads.v17.common.BudgetSimulationPoint) BudgetSimulationPointOrBuilder { private static final long serialVersionUID = 0L; // Use BudgetSimulationPoint.newBuilder() to construct. private BudgetSimulationPoint(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private BudgetSimulationPoint() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new BudgetSimulationPoint(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.ads.googleads.v17.common.SimulationProto.internal_static_google_ads_googleads_v17_common_BudgetSimulationPoint_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.ads.googleads.v17.common.SimulationProto.internal_static_google_ads_googleads_v17_common_BudgetSimulationPoint_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.ads.googleads.v17.common.BudgetSimulationPoint.class, com.google.ads.googleads.v17.common.BudgetSimulationPoint.Builder.class); } public static final int BUDGET_AMOUNT_MICROS_FIELD_NUMBER = 1; private long budgetAmountMicros_ = 0L; /** *
   * The simulated budget upon which projected metrics are based.
   * 
* * int64 budget_amount_micros = 1; * @return The budgetAmountMicros. */ @java.lang.Override public long getBudgetAmountMicros() { return budgetAmountMicros_; } public static final int REQUIRED_CPC_BID_CEILING_MICROS_FIELD_NUMBER = 2; private long requiredCpcBidCeilingMicros_ = 0L; /** *
   * Projected required daily cpc bid ceiling that the advertiser must set to
   * realize this simulation, in micros of the advertiser currency.
   * Only campaigns with the Target Spend bidding strategy support this field.
   * 
* * int64 required_cpc_bid_ceiling_micros = 2; * @return The requiredCpcBidCeilingMicros. */ @java.lang.Override public long getRequiredCpcBidCeilingMicros() { return requiredCpcBidCeilingMicros_; } public static final int BIDDABLE_CONVERSIONS_FIELD_NUMBER = 3; private double biddableConversions_ = 0D; /** *
   * Projected number of biddable conversions.
   * 
* * double biddable_conversions = 3; * @return The biddableConversions. */ @java.lang.Override public double getBiddableConversions() { return biddableConversions_; } public static final int BIDDABLE_CONVERSIONS_VALUE_FIELD_NUMBER = 4; private double biddableConversionsValue_ = 0D; /** *
   * Projected total value of biddable conversions.
   * 
* * double biddable_conversions_value = 4; * @return The biddableConversionsValue. */ @java.lang.Override public double getBiddableConversionsValue() { return biddableConversionsValue_; } public static final int CLICKS_FIELD_NUMBER = 5; private long clicks_ = 0L; /** *
   * Projected number of clicks.
   * 
* * int64 clicks = 5; * @return The clicks. */ @java.lang.Override public long getClicks() { return clicks_; } public static final int COST_MICROS_FIELD_NUMBER = 6; private long costMicros_ = 0L; /** *
   * Projected cost in micros.
   * 
* * int64 cost_micros = 6; * @return The costMicros. */ @java.lang.Override public long getCostMicros() { return costMicros_; } public static final int IMPRESSIONS_FIELD_NUMBER = 7; private long impressions_ = 0L; /** *
   * Projected number of impressions.
   * 
* * int64 impressions = 7; * @return The impressions. */ @java.lang.Override public long getImpressions() { return impressions_; } public static final int TOP_SLOT_IMPRESSIONS_FIELD_NUMBER = 8; private long topSlotImpressions_ = 0L; /** *
   * Projected number of top slot impressions.
   * Only search advertising channel type supports this field.
   * 
* * int64 top_slot_impressions = 8; * @return The topSlotImpressions. */ @java.lang.Override public long getTopSlotImpressions() { return topSlotImpressions_; } public static final int INTERACTIONS_FIELD_NUMBER = 9; private long interactions_ = 0L; /** *
   * Projected number of interactions.
   * Only discovery advertising channel type supports this field.
   * 
* * int64 interactions = 9; * @return The interactions. */ @java.lang.Override public long getInteractions() { return interactions_; } 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 (budgetAmountMicros_ != 0L) { output.writeInt64(1, budgetAmountMicros_); } if (requiredCpcBidCeilingMicros_ != 0L) { output.writeInt64(2, requiredCpcBidCeilingMicros_); } if (java.lang.Double.doubleToRawLongBits(biddableConversions_) != 0) { output.writeDouble(3, biddableConversions_); } if (java.lang.Double.doubleToRawLongBits(biddableConversionsValue_) != 0) { output.writeDouble(4, biddableConversionsValue_); } if (clicks_ != 0L) { output.writeInt64(5, clicks_); } if (costMicros_ != 0L) { output.writeInt64(6, costMicros_); } if (impressions_ != 0L) { output.writeInt64(7, impressions_); } if (topSlotImpressions_ != 0L) { output.writeInt64(8, topSlotImpressions_); } if (interactions_ != 0L) { output.writeInt64(9, interactions_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (budgetAmountMicros_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, budgetAmountMicros_); } if (requiredCpcBidCeilingMicros_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, requiredCpcBidCeilingMicros_); } if (java.lang.Double.doubleToRawLongBits(biddableConversions_) != 0) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(3, biddableConversions_); } if (java.lang.Double.doubleToRawLongBits(biddableConversionsValue_) != 0) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(4, biddableConversionsValue_); } if (clicks_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(5, clicks_); } if (costMicros_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(6, costMicros_); } if (impressions_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(7, impressions_); } if (topSlotImpressions_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(8, topSlotImpressions_); } if (interactions_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(9, 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.v17.common.BudgetSimulationPoint)) { return super.equals(obj); } com.google.ads.googleads.v17.common.BudgetSimulationPoint other = (com.google.ads.googleads.v17.common.BudgetSimulationPoint) obj; if (getBudgetAmountMicros() != other.getBudgetAmountMicros()) return false; if (getRequiredCpcBidCeilingMicros() != other.getRequiredCpcBidCeilingMicros()) return false; if (java.lang.Double.doubleToLongBits(getBiddableConversions()) != java.lang.Double.doubleToLongBits( other.getBiddableConversions())) return false; if (java.lang.Double.doubleToLongBits(getBiddableConversionsValue()) != java.lang.Double.doubleToLongBits( other.getBiddableConversionsValue())) return false; if (getClicks() != other.getClicks()) return false; if (getCostMicros() != other.getCostMicros()) return false; if (getImpressions() != other.getImpressions()) return false; if (getTopSlotImpressions() != other.getTopSlotImpressions()) return false; if (getInteractions() != other.getInteractions()) 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) + BUDGET_AMOUNT_MICROS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getBudgetAmountMicros()); hash = (37 * hash) + REQUIRED_CPC_BID_CEILING_MICROS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getRequiredCpcBidCeilingMicros()); hash = (37 * hash) + BIDDABLE_CONVERSIONS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getBiddableConversions())); hash = (37 * hash) + BIDDABLE_CONVERSIONS_VALUE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getBiddableConversionsValue())); hash = (37 * hash) + CLICKS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getClicks()); hash = (37 * hash) + COST_MICROS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getCostMicros()); hash = (37 * hash) + IMPRESSIONS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getImpressions()); hash = (37 * hash) + TOP_SLOT_IMPRESSIONS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getTopSlotImpressions()); hash = (37 * hash) + INTERACTIONS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getInteractions()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.ads.googleads.v17.common.BudgetSimulationPoint parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.ads.googleads.v17.common.BudgetSimulationPoint parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.ads.googleads.v17.common.BudgetSimulationPoint parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.ads.googleads.v17.common.BudgetSimulationPoint parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.ads.googleads.v17.common.BudgetSimulationPoint parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.ads.googleads.v17.common.BudgetSimulationPoint parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.ads.googleads.v17.common.BudgetSimulationPoint parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.ads.googleads.v17.common.BudgetSimulationPoint parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.ads.googleads.v17.common.BudgetSimulationPoint parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.ads.googleads.v17.common.BudgetSimulationPoint parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.google.ads.googleads.v17.common.BudgetSimulationPoint parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.ads.googleads.v17.common.BudgetSimulationPoint parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.ads.googleads.v17.common.BudgetSimulationPoint 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 budget amount.
   * 
* * Protobuf type {@code google.ads.googleads.v17.common.BudgetSimulationPoint} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.ads.googleads.v17.common.BudgetSimulationPoint) com.google.ads.googleads.v17.common.BudgetSimulationPointOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.ads.googleads.v17.common.SimulationProto.internal_static_google_ads_googleads_v17_common_BudgetSimulationPoint_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.ads.googleads.v17.common.SimulationProto.internal_static_google_ads_googleads_v17_common_BudgetSimulationPoint_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.ads.googleads.v17.common.BudgetSimulationPoint.class, com.google.ads.googleads.v17.common.BudgetSimulationPoint.Builder.class); } // Construct using com.google.ads.googleads.v17.common.BudgetSimulationPoint.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; budgetAmountMicros_ = 0L; requiredCpcBidCeilingMicros_ = 0L; biddableConversions_ = 0D; biddableConversionsValue_ = 0D; clicks_ = 0L; costMicros_ = 0L; impressions_ = 0L; topSlotImpressions_ = 0L; interactions_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.ads.googleads.v17.common.SimulationProto.internal_static_google_ads_googleads_v17_common_BudgetSimulationPoint_descriptor; } @java.lang.Override public com.google.ads.googleads.v17.common.BudgetSimulationPoint getDefaultInstanceForType() { return com.google.ads.googleads.v17.common.BudgetSimulationPoint.getDefaultInstance(); } @java.lang.Override public com.google.ads.googleads.v17.common.BudgetSimulationPoint build() { com.google.ads.googleads.v17.common.BudgetSimulationPoint result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.ads.googleads.v17.common.BudgetSimulationPoint buildPartial() { com.google.ads.googleads.v17.common.BudgetSimulationPoint result = new com.google.ads.googleads.v17.common.BudgetSimulationPoint(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.google.ads.googleads.v17.common.BudgetSimulationPoint result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.budgetAmountMicros_ = budgetAmountMicros_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.requiredCpcBidCeilingMicros_ = requiredCpcBidCeilingMicros_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.biddableConversions_ = biddableConversions_; } if (((from_bitField0_ & 0x00000008) != 0)) { result.biddableConversionsValue_ = biddableConversionsValue_; } if (((from_bitField0_ & 0x00000010) != 0)) { result.clicks_ = clicks_; } if (((from_bitField0_ & 0x00000020) != 0)) { result.costMicros_ = costMicros_; } if (((from_bitField0_ & 0x00000040) != 0)) { result.impressions_ = impressions_; } if (((from_bitField0_ & 0x00000080) != 0)) { result.topSlotImpressions_ = topSlotImpressions_; } if (((from_bitField0_ & 0x00000100) != 0)) { result.interactions_ = interactions_; } } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.ads.googleads.v17.common.BudgetSimulationPoint) { return mergeFrom((com.google.ads.googleads.v17.common.BudgetSimulationPoint)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.ads.googleads.v17.common.BudgetSimulationPoint other) { if (other == com.google.ads.googleads.v17.common.BudgetSimulationPoint.getDefaultInstance()) return this; if (other.getBudgetAmountMicros() != 0L) { setBudgetAmountMicros(other.getBudgetAmountMicros()); } if (other.getRequiredCpcBidCeilingMicros() != 0L) { setRequiredCpcBidCeilingMicros(other.getRequiredCpcBidCeilingMicros()); } if (other.getBiddableConversions() != 0D) { setBiddableConversions(other.getBiddableConversions()); } if (other.getBiddableConversionsValue() != 0D) { setBiddableConversionsValue(other.getBiddableConversionsValue()); } if (other.getClicks() != 0L) { setClicks(other.getClicks()); } if (other.getCostMicros() != 0L) { setCostMicros(other.getCostMicros()); } if (other.getImpressions() != 0L) { setImpressions(other.getImpressions()); } if (other.getTopSlotImpressions() != 0L) { setTopSlotImpressions(other.getTopSlotImpressions()); } if (other.getInteractions() != 0L) { setInteractions(other.getInteractions()); } 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: { budgetAmountMicros_ = input.readInt64(); bitField0_ |= 0x00000001; break; } // case 8 case 16: { requiredCpcBidCeilingMicros_ = input.readInt64(); bitField0_ |= 0x00000002; break; } // case 16 case 25: { biddableConversions_ = input.readDouble(); bitField0_ |= 0x00000004; break; } // case 25 case 33: { biddableConversionsValue_ = input.readDouble(); bitField0_ |= 0x00000008; break; } // case 33 case 40: { clicks_ = input.readInt64(); bitField0_ |= 0x00000010; break; } // case 40 case 48: { costMicros_ = input.readInt64(); bitField0_ |= 0x00000020; break; } // case 48 case 56: { impressions_ = input.readInt64(); bitField0_ |= 0x00000040; break; } // case 56 case 64: { topSlotImpressions_ = input.readInt64(); bitField0_ |= 0x00000080; break; } // case 64 case 72: { interactions_ = input.readInt64(); bitField0_ |= 0x00000100; break; } // case 72 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 budgetAmountMicros_ ; /** *
     * The simulated budget upon which projected metrics are based.
     * 
* * int64 budget_amount_micros = 1; * @return The budgetAmountMicros. */ @java.lang.Override public long getBudgetAmountMicros() { return budgetAmountMicros_; } /** *
     * The simulated budget upon which projected metrics are based.
     * 
* * int64 budget_amount_micros = 1; * @param value The budgetAmountMicros to set. * @return This builder for chaining. */ public Builder setBudgetAmountMicros(long value) { budgetAmountMicros_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
     * The simulated budget upon which projected metrics are based.
     * 
* * int64 budget_amount_micros = 1; * @return This builder for chaining. */ public Builder clearBudgetAmountMicros() { bitField0_ = (bitField0_ & ~0x00000001); budgetAmountMicros_ = 0L; onChanged(); return this; } private long requiredCpcBidCeilingMicros_ ; /** *
     * Projected required daily cpc bid ceiling that the advertiser must set to
     * realize this simulation, in micros of the advertiser currency.
     * Only campaigns with the Target Spend bidding strategy support this field.
     * 
* * int64 required_cpc_bid_ceiling_micros = 2; * @return The requiredCpcBidCeilingMicros. */ @java.lang.Override public long getRequiredCpcBidCeilingMicros() { return requiredCpcBidCeilingMicros_; } /** *
     * Projected required daily cpc bid ceiling that the advertiser must set to
     * realize this simulation, in micros of the advertiser currency.
     * Only campaigns with the Target Spend bidding strategy support this field.
     * 
* * int64 required_cpc_bid_ceiling_micros = 2; * @param value The requiredCpcBidCeilingMicros to set. * @return This builder for chaining. */ public Builder setRequiredCpcBidCeilingMicros(long value) { requiredCpcBidCeilingMicros_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
     * Projected required daily cpc bid ceiling that the advertiser must set to
     * realize this simulation, in micros of the advertiser currency.
     * Only campaigns with the Target Spend bidding strategy support this field.
     * 
* * int64 required_cpc_bid_ceiling_micros = 2; * @return This builder for chaining. */ public Builder clearRequiredCpcBidCeilingMicros() { bitField0_ = (bitField0_ & ~0x00000002); requiredCpcBidCeilingMicros_ = 0L; onChanged(); return this; } private double biddableConversions_ ; /** *
     * Projected number of biddable conversions.
     * 
* * double biddable_conversions = 3; * @return The biddableConversions. */ @java.lang.Override public double getBiddableConversions() { return biddableConversions_; } /** *
     * Projected number of biddable conversions.
     * 
* * double biddable_conversions = 3; * @param value The biddableConversions to set. * @return This builder for chaining. */ public Builder setBiddableConversions(double value) { biddableConversions_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** *
     * Projected number of biddable conversions.
     * 
* * double biddable_conversions = 3; * @return This builder for chaining. */ public Builder clearBiddableConversions() { bitField0_ = (bitField0_ & ~0x00000004); biddableConversions_ = 0D; onChanged(); return this; } private double biddableConversionsValue_ ; /** *
     * Projected total value of biddable conversions.
     * 
* * double biddable_conversions_value = 4; * @return The biddableConversionsValue. */ @java.lang.Override public double getBiddableConversionsValue() { return biddableConversionsValue_; } /** *
     * Projected total value of biddable conversions.
     * 
* * double biddable_conversions_value = 4; * @param value The biddableConversionsValue to set. * @return This builder for chaining. */ public Builder setBiddableConversionsValue(double value) { biddableConversionsValue_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** *
     * Projected total value of biddable conversions.
     * 
* * double biddable_conversions_value = 4; * @return This builder for chaining. */ public Builder clearBiddableConversionsValue() { bitField0_ = (bitField0_ & ~0x00000008); biddableConversionsValue_ = 0D; onChanged(); return this; } private long clicks_ ; /** *
     * Projected number of clicks.
     * 
* * int64 clicks = 5; * @return The clicks. */ @java.lang.Override public long getClicks() { return clicks_; } /** *
     * Projected number of clicks.
     * 
* * int64 clicks = 5; * @param value The clicks to set. * @return This builder for chaining. */ public Builder setClicks(long value) { clicks_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** *
     * Projected number of clicks.
     * 
* * int64 clicks = 5; * @return This builder for chaining. */ public Builder clearClicks() { bitField0_ = (bitField0_ & ~0x00000010); clicks_ = 0L; onChanged(); return this; } private long costMicros_ ; /** *
     * Projected cost in micros.
     * 
* * int64 cost_micros = 6; * @return The costMicros. */ @java.lang.Override public long getCostMicros() { return costMicros_; } /** *
     * Projected cost in micros.
     * 
* * int64 cost_micros = 6; * @param value The costMicros to set. * @return This builder for chaining. */ public Builder setCostMicros(long value) { costMicros_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** *
     * Projected cost in micros.
     * 
* * int64 cost_micros = 6; * @return This builder for chaining. */ public Builder clearCostMicros() { bitField0_ = (bitField0_ & ~0x00000020); costMicros_ = 0L; onChanged(); return this; } private long impressions_ ; /** *
     * Projected number of impressions.
     * 
* * int64 impressions = 7; * @return The impressions. */ @java.lang.Override public long getImpressions() { return impressions_; } /** *
     * Projected number of impressions.
     * 
* * int64 impressions = 7; * @param value The impressions to set. * @return This builder for chaining. */ public Builder setImpressions(long value) { impressions_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** *
     * Projected number of impressions.
     * 
* * int64 impressions = 7; * @return This builder for chaining. */ public Builder clearImpressions() { bitField0_ = (bitField0_ & ~0x00000040); impressions_ = 0L; onChanged(); return this; } private long topSlotImpressions_ ; /** *
     * Projected number of top slot impressions.
     * Only search advertising channel type supports this field.
     * 
* * int64 top_slot_impressions = 8; * @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.
     * 
* * int64 top_slot_impressions = 8; * @param value The topSlotImpressions to set. * @return This builder for chaining. */ public Builder setTopSlotImpressions(long value) { topSlotImpressions_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** *
     * Projected number of top slot impressions.
     * Only search advertising channel type supports this field.
     * 
* * int64 top_slot_impressions = 8; * @return This builder for chaining. */ public Builder clearTopSlotImpressions() { bitField0_ = (bitField0_ & ~0x00000080); topSlotImpressions_ = 0L; onChanged(); return this; } private long interactions_ ; /** *
     * Projected number of interactions.
     * Only discovery advertising channel type supports this field.
     * 
* * int64 interactions = 9; * @return The interactions. */ @java.lang.Override public long getInteractions() { return interactions_; } /** *
     * Projected number of interactions.
     * Only discovery advertising channel type supports this field.
     * 
* * int64 interactions = 9; * @param value The interactions to set. * @return This builder for chaining. */ public Builder setInteractions(long value) { interactions_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** *
     * Projected number of interactions.
     * Only discovery advertising channel type supports this field.
     * 
* * int64 interactions = 9; * @return This builder for chaining. */ public Builder clearInteractions() { bitField0_ = (bitField0_ & ~0x00000100); interactions_ = 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.v17.common.BudgetSimulationPoint) } // @@protoc_insertion_point(class_scope:google.ads.googleads.v17.common.BudgetSimulationPoint) private static final com.google.ads.googleads.v17.common.BudgetSimulationPoint DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.ads.googleads.v17.common.BudgetSimulationPoint(); } public static com.google.ads.googleads.v17.common.BudgetSimulationPoint getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public BudgetSimulationPoint parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.google.ads.googleads.v17.common.BudgetSimulationPoint getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy