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

com.google.ads.googleads.v17.common.TargetImpressionShareSimulationPoint 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 target impression share value.
 * 
* * Protobuf type {@code google.ads.googleads.v17.common.TargetImpressionShareSimulationPoint} */ public final class TargetImpressionShareSimulationPoint extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.ads.googleads.v17.common.TargetImpressionShareSimulationPoint) TargetImpressionShareSimulationPointOrBuilder { private static final long serialVersionUID = 0L; // Use TargetImpressionShareSimulationPoint.newBuilder() to construct. private TargetImpressionShareSimulationPoint(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TargetImpressionShareSimulationPoint() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TargetImpressionShareSimulationPoint(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.ads.googleads.v17.common.SimulationProto.internal_static_google_ads_googleads_v17_common_TargetImpressionShareSimulationPoint_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_TargetImpressionShareSimulationPoint_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.ads.googleads.v17.common.TargetImpressionShareSimulationPoint.class, com.google.ads.googleads.v17.common.TargetImpressionShareSimulationPoint.Builder.class); } public static final int TARGET_IMPRESSION_SHARE_MICROS_FIELD_NUMBER = 1; private long targetImpressionShareMicros_ = 0L; /** *
   * The simulated target impression share value (in micros) upon which
   * projected metrics are based.
   * For example, 10% impression share, which is equal to 0.1, is stored as
   * 100_000. This value is validated and will not exceed 1M (100%).
   * 
* * int64 target_impression_share_micros = 1; * @return The targetImpressionShareMicros. */ @java.lang.Override public long getTargetImpressionShareMicros() { return targetImpressionShareMicros_; } 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.
   * 
* * int64 required_cpc_bid_ceiling_micros = 2; * @return The requiredCpcBidCeilingMicros. */ @java.lang.Override public long getRequiredCpcBidCeilingMicros() { return requiredCpcBidCeilingMicros_; } public static final int REQUIRED_BUDGET_AMOUNT_MICROS_FIELD_NUMBER = 3; 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 = 3; * @return The requiredBudgetAmountMicros. */ @java.lang.Override public long getRequiredBudgetAmountMicros() { return requiredBudgetAmountMicros_; } public static final int BIDDABLE_CONVERSIONS_FIELD_NUMBER = 4; private double biddableConversions_ = 0D; /** *
   * Projected number of biddable conversions.
   * 
* * double biddable_conversions = 4; * @return The biddableConversions. */ @java.lang.Override public double getBiddableConversions() { return biddableConversions_; } public static final int BIDDABLE_CONVERSIONS_VALUE_FIELD_NUMBER = 5; private double biddableConversionsValue_ = 0D; /** *
   * Projected total value of biddable conversions.
   * 
* * double biddable_conversions_value = 5; * @return The biddableConversionsValue. */ @java.lang.Override public double getBiddableConversionsValue() { return biddableConversionsValue_; } public static final int CLICKS_FIELD_NUMBER = 6; private long clicks_ = 0L; /** *
   * Projected number of clicks.
   * 
* * int64 clicks = 6; * @return The clicks. */ @java.lang.Override public long getClicks() { return clicks_; } public static final int COST_MICROS_FIELD_NUMBER = 7; private long costMicros_ = 0L; /** *
   * Projected cost in micros.
   * 
* * int64 cost_micros = 7; * @return The costMicros. */ @java.lang.Override public long getCostMicros() { return costMicros_; } public static final int IMPRESSIONS_FIELD_NUMBER = 8; private long impressions_ = 0L; /** *
   * Projected number of impressions.
   * 
* * int64 impressions = 8; * @return The impressions. */ @java.lang.Override public long getImpressions() { return impressions_; } public static final int TOP_SLOT_IMPRESSIONS_FIELD_NUMBER = 9; private long topSlotImpressions_ = 0L; /** *
   * Projected number of top slot impressions.
   * Only search advertising channel type supports this field.
   * 
* * int64 top_slot_impressions = 9; * @return The topSlotImpressions. */ @java.lang.Override public long getTopSlotImpressions() { return topSlotImpressions_; } public static final int ABSOLUTE_TOP_IMPRESSIONS_FIELD_NUMBER = 10; private long absoluteTopImpressions_ = 0L; /** *
   * Projected number of absolute top impressions.
   * Only search advertising channel type supports this field.
   * 
* * int64 absolute_top_impressions = 10; * @return The absoluteTopImpressions. */ @java.lang.Override public long getAbsoluteTopImpressions() { return absoluteTopImpressions_; } 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 (targetImpressionShareMicros_ != 0L) { output.writeInt64(1, targetImpressionShareMicros_); } if (requiredCpcBidCeilingMicros_ != 0L) { output.writeInt64(2, requiredCpcBidCeilingMicros_); } if (requiredBudgetAmountMicros_ != 0L) { output.writeInt64(3, requiredBudgetAmountMicros_); } if (java.lang.Double.doubleToRawLongBits(biddableConversions_) != 0) { output.writeDouble(4, biddableConversions_); } if (java.lang.Double.doubleToRawLongBits(biddableConversionsValue_) != 0) { output.writeDouble(5, biddableConversionsValue_); } if (clicks_ != 0L) { output.writeInt64(6, clicks_); } if (costMicros_ != 0L) { output.writeInt64(7, costMicros_); } if (impressions_ != 0L) { output.writeInt64(8, impressions_); } if (topSlotImpressions_ != 0L) { output.writeInt64(9, topSlotImpressions_); } if (absoluteTopImpressions_ != 0L) { output.writeInt64(10, absoluteTopImpressions_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (targetImpressionShareMicros_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, targetImpressionShareMicros_); } if (requiredCpcBidCeilingMicros_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, requiredCpcBidCeilingMicros_); } if (requiredBudgetAmountMicros_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(3, requiredBudgetAmountMicros_); } if (java.lang.Double.doubleToRawLongBits(biddableConversions_) != 0) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(4, biddableConversions_); } if (java.lang.Double.doubleToRawLongBits(biddableConversionsValue_) != 0) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(5, biddableConversionsValue_); } if (clicks_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(6, clicks_); } if (costMicros_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(7, costMicros_); } if (impressions_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(8, impressions_); } if (topSlotImpressions_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(9, topSlotImpressions_); } if (absoluteTopImpressions_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(10, absoluteTopImpressions_); } 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.TargetImpressionShareSimulationPoint)) { return super.equals(obj); } com.google.ads.googleads.v17.common.TargetImpressionShareSimulationPoint other = (com.google.ads.googleads.v17.common.TargetImpressionShareSimulationPoint) obj; if (getTargetImpressionShareMicros() != other.getTargetImpressionShareMicros()) return false; if (getRequiredCpcBidCeilingMicros() != other.getRequiredCpcBidCeilingMicros()) return false; if (getRequiredBudgetAmountMicros() != other.getRequiredBudgetAmountMicros()) 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 (getAbsoluteTopImpressions() != other.getAbsoluteTopImpressions()) 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) + TARGET_IMPRESSION_SHARE_MICROS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getTargetImpressionShareMicros()); hash = (37 * hash) + REQUIRED_CPC_BID_CEILING_MICROS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getRequiredCpcBidCeilingMicros()); hash = (37 * hash) + REQUIRED_BUDGET_AMOUNT_MICROS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getRequiredBudgetAmountMicros()); 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) + ABSOLUTE_TOP_IMPRESSIONS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getAbsoluteTopImpressions()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.ads.googleads.v17.common.TargetImpressionShareSimulationPoint parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.ads.googleads.v17.common.TargetImpressionShareSimulationPoint 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.TargetImpressionShareSimulationPoint parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.ads.googleads.v17.common.TargetImpressionShareSimulationPoint 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.TargetImpressionShareSimulationPoint parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.ads.googleads.v17.common.TargetImpressionShareSimulationPoint 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.TargetImpressionShareSimulationPoint 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.TargetImpressionShareSimulationPoint 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.TargetImpressionShareSimulationPoint 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.TargetImpressionShareSimulationPoint 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.TargetImpressionShareSimulationPoint 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.TargetImpressionShareSimulationPoint 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.TargetImpressionShareSimulationPoint 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 impression share value.
   * 
* * Protobuf type {@code google.ads.googleads.v17.common.TargetImpressionShareSimulationPoint} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.ads.googleads.v17.common.TargetImpressionShareSimulationPoint) com.google.ads.googleads.v17.common.TargetImpressionShareSimulationPointOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.ads.googleads.v17.common.SimulationProto.internal_static_google_ads_googleads_v17_common_TargetImpressionShareSimulationPoint_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_TargetImpressionShareSimulationPoint_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.ads.googleads.v17.common.TargetImpressionShareSimulationPoint.class, com.google.ads.googleads.v17.common.TargetImpressionShareSimulationPoint.Builder.class); } // Construct using com.google.ads.googleads.v17.common.TargetImpressionShareSimulationPoint.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; targetImpressionShareMicros_ = 0L; requiredCpcBidCeilingMicros_ = 0L; requiredBudgetAmountMicros_ = 0L; biddableConversions_ = 0D; biddableConversionsValue_ = 0D; clicks_ = 0L; costMicros_ = 0L; impressions_ = 0L; topSlotImpressions_ = 0L; absoluteTopImpressions_ = 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_TargetImpressionShareSimulationPoint_descriptor; } @java.lang.Override public com.google.ads.googleads.v17.common.TargetImpressionShareSimulationPoint getDefaultInstanceForType() { return com.google.ads.googleads.v17.common.TargetImpressionShareSimulationPoint.getDefaultInstance(); } @java.lang.Override public com.google.ads.googleads.v17.common.TargetImpressionShareSimulationPoint build() { com.google.ads.googleads.v17.common.TargetImpressionShareSimulationPoint result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.ads.googleads.v17.common.TargetImpressionShareSimulationPoint buildPartial() { com.google.ads.googleads.v17.common.TargetImpressionShareSimulationPoint result = new com.google.ads.googleads.v17.common.TargetImpressionShareSimulationPoint(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.google.ads.googleads.v17.common.TargetImpressionShareSimulationPoint result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.targetImpressionShareMicros_ = targetImpressionShareMicros_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.requiredCpcBidCeilingMicros_ = requiredCpcBidCeilingMicros_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.requiredBudgetAmountMicros_ = requiredBudgetAmountMicros_; } if (((from_bitField0_ & 0x00000008) != 0)) { result.biddableConversions_ = biddableConversions_; } if (((from_bitField0_ & 0x00000010) != 0)) { result.biddableConversionsValue_ = biddableConversionsValue_; } if (((from_bitField0_ & 0x00000020) != 0)) { result.clicks_ = clicks_; } if (((from_bitField0_ & 0x00000040) != 0)) { result.costMicros_ = costMicros_; } if (((from_bitField0_ & 0x00000080) != 0)) { result.impressions_ = impressions_; } if (((from_bitField0_ & 0x00000100) != 0)) { result.topSlotImpressions_ = topSlotImpressions_; } if (((from_bitField0_ & 0x00000200) != 0)) { result.absoluteTopImpressions_ = absoluteTopImpressions_; } } @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.TargetImpressionShareSimulationPoint) { return mergeFrom((com.google.ads.googleads.v17.common.TargetImpressionShareSimulationPoint)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.ads.googleads.v17.common.TargetImpressionShareSimulationPoint other) { if (other == com.google.ads.googleads.v17.common.TargetImpressionShareSimulationPoint.getDefaultInstance()) return this; if (other.getTargetImpressionShareMicros() != 0L) { setTargetImpressionShareMicros(other.getTargetImpressionShareMicros()); } if (other.getRequiredCpcBidCeilingMicros() != 0L) { setRequiredCpcBidCeilingMicros(other.getRequiredCpcBidCeilingMicros()); } if (other.getRequiredBudgetAmountMicros() != 0L) { setRequiredBudgetAmountMicros(other.getRequiredBudgetAmountMicros()); } 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.getAbsoluteTopImpressions() != 0L) { setAbsoluteTopImpressions(other.getAbsoluteTopImpressions()); } 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: { targetImpressionShareMicros_ = input.readInt64(); bitField0_ |= 0x00000001; break; } // case 8 case 16: { requiredCpcBidCeilingMicros_ = input.readInt64(); bitField0_ |= 0x00000002; break; } // case 16 case 24: { requiredBudgetAmountMicros_ = input.readInt64(); bitField0_ |= 0x00000004; break; } // case 24 case 33: { biddableConversions_ = input.readDouble(); bitField0_ |= 0x00000008; break; } // case 33 case 41: { biddableConversionsValue_ = input.readDouble(); bitField0_ |= 0x00000010; break; } // case 41 case 48: { clicks_ = input.readInt64(); bitField0_ |= 0x00000020; break; } // case 48 case 56: { costMicros_ = input.readInt64(); bitField0_ |= 0x00000040; break; } // case 56 case 64: { impressions_ = input.readInt64(); bitField0_ |= 0x00000080; break; } // case 64 case 72: { topSlotImpressions_ = input.readInt64(); bitField0_ |= 0x00000100; break; } // case 72 case 80: { absoluteTopImpressions_ = input.readInt64(); bitField0_ |= 0x00000200; break; } // case 80 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 targetImpressionShareMicros_ ; /** *
     * The simulated target impression share value (in micros) upon which
     * projected metrics are based.
     * For example, 10% impression share, which is equal to 0.1, is stored as
     * 100_000. This value is validated and will not exceed 1M (100%).
     * 
* * int64 target_impression_share_micros = 1; * @return The targetImpressionShareMicros. */ @java.lang.Override public long getTargetImpressionShareMicros() { return targetImpressionShareMicros_; } /** *
     * The simulated target impression share value (in micros) upon which
     * projected metrics are based.
     * For example, 10% impression share, which is equal to 0.1, is stored as
     * 100_000. This value is validated and will not exceed 1M (100%).
     * 
* * int64 target_impression_share_micros = 1; * @param value The targetImpressionShareMicros to set. * @return This builder for chaining. */ public Builder setTargetImpressionShareMicros(long value) { targetImpressionShareMicros_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
     * The simulated target impression share value (in micros) upon which
     * projected metrics are based.
     * For example, 10% impression share, which is equal to 0.1, is stored as
     * 100_000. This value is validated and will not exceed 1M (100%).
     * 
* * int64 target_impression_share_micros = 1; * @return This builder for chaining. */ public Builder clearTargetImpressionShareMicros() { bitField0_ = (bitField0_ & ~0x00000001); targetImpressionShareMicros_ = 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.
     * 
* * 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.
     * 
* * 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.
     * 
* * int64 required_cpc_bid_ceiling_micros = 2; * @return This builder for chaining. */ public Builder clearRequiredCpcBidCeilingMicros() { bitField0_ = (bitField0_ & ~0x00000002); requiredCpcBidCeilingMicros_ = 0L; onChanged(); return this; } 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 = 3; * @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 = 3; * @param value The requiredBudgetAmountMicros to set. * @return This builder for chaining. */ public Builder setRequiredBudgetAmountMicros(long value) { requiredBudgetAmountMicros_ = value; bitField0_ |= 0x00000004; 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 = 3; * @return This builder for chaining. */ public Builder clearRequiredBudgetAmountMicros() { bitField0_ = (bitField0_ & ~0x00000004); requiredBudgetAmountMicros_ = 0L; onChanged(); return this; } private double biddableConversions_ ; /** *
     * Projected number of biddable conversions.
     * 
* * double biddable_conversions = 4; * @return The biddableConversions. */ @java.lang.Override public double getBiddableConversions() { return biddableConversions_; } /** *
     * Projected number of biddable conversions.
     * 
* * double biddable_conversions = 4; * @param value The biddableConversions to set. * @return This builder for chaining. */ public Builder setBiddableConversions(double value) { biddableConversions_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** *
     * Projected number of biddable conversions.
     * 
* * double biddable_conversions = 4; * @return This builder for chaining. */ public Builder clearBiddableConversions() { bitField0_ = (bitField0_ & ~0x00000008); biddableConversions_ = 0D; onChanged(); return this; } private double biddableConversionsValue_ ; /** *
     * Projected total value of biddable conversions.
     * 
* * double biddable_conversions_value = 5; * @return The biddableConversionsValue. */ @java.lang.Override public double getBiddableConversionsValue() { return biddableConversionsValue_; } /** *
     * Projected total value of biddable conversions.
     * 
* * double biddable_conversions_value = 5; * @param value The biddableConversionsValue to set. * @return This builder for chaining. */ public Builder setBiddableConversionsValue(double value) { biddableConversionsValue_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** *
     * Projected total value of biddable conversions.
     * 
* * double biddable_conversions_value = 5; * @return This builder for chaining. */ public Builder clearBiddableConversionsValue() { bitField0_ = (bitField0_ & ~0x00000010); biddableConversionsValue_ = 0D; onChanged(); return this; } private long clicks_ ; /** *
     * Projected number of clicks.
     * 
* * int64 clicks = 6; * @return The clicks. */ @java.lang.Override public long getClicks() { return clicks_; } /** *
     * Projected number of clicks.
     * 
* * int64 clicks = 6; * @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.
     * 
* * int64 clicks = 6; * @return This builder for chaining. */ public Builder clearClicks() { bitField0_ = (bitField0_ & ~0x00000020); clicks_ = 0L; onChanged(); return this; } private long costMicros_ ; /** *
     * Projected cost in micros.
     * 
* * int64 cost_micros = 7; * @return The costMicros. */ @java.lang.Override public long getCostMicros() { return costMicros_; } /** *
     * Projected cost in micros.
     * 
* * int64 cost_micros = 7; * @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.
     * 
* * int64 cost_micros = 7; * @return This builder for chaining. */ public Builder clearCostMicros() { bitField0_ = (bitField0_ & ~0x00000040); costMicros_ = 0L; onChanged(); return this; } private long impressions_ ; /** *
     * Projected number of impressions.
     * 
* * int64 impressions = 8; * @return The impressions. */ @java.lang.Override public long getImpressions() { return impressions_; } /** *
     * Projected number of impressions.
     * 
* * int64 impressions = 8; * @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.
     * 
* * int64 impressions = 8; * @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.
     * 
* * int64 top_slot_impressions = 9; * @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 = 9; * @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.
     * 
* * int64 top_slot_impressions = 9; * @return This builder for chaining. */ public Builder clearTopSlotImpressions() { bitField0_ = (bitField0_ & ~0x00000100); topSlotImpressions_ = 0L; onChanged(); return this; } private long absoluteTopImpressions_ ; /** *
     * Projected number of absolute top impressions.
     * Only search advertising channel type supports this field.
     * 
* * int64 absolute_top_impressions = 10; * @return The absoluteTopImpressions. */ @java.lang.Override public long getAbsoluteTopImpressions() { return absoluteTopImpressions_; } /** *
     * Projected number of absolute top impressions.
     * Only search advertising channel type supports this field.
     * 
* * int64 absolute_top_impressions = 10; * @param value The absoluteTopImpressions to set. * @return This builder for chaining. */ public Builder setAbsoluteTopImpressions(long value) { absoluteTopImpressions_ = value; bitField0_ |= 0x00000200; onChanged(); return this; } /** *
     * Projected number of absolute top impressions.
     * Only search advertising channel type supports this field.
     * 
* * int64 absolute_top_impressions = 10; * @return This builder for chaining. */ public Builder clearAbsoluteTopImpressions() { bitField0_ = (bitField0_ & ~0x00000200); absoluteTopImpressions_ = 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.TargetImpressionShareSimulationPoint) } // @@protoc_insertion_point(class_scope:google.ads.googleads.v17.common.TargetImpressionShareSimulationPoint) private static final com.google.ads.googleads.v17.common.TargetImpressionShareSimulationPoint DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.ads.googleads.v17.common.TargetImpressionShareSimulationPoint(); } public static com.google.ads.googleads.v17.common.TargetImpressionShareSimulationPoint getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TargetImpressionShareSimulationPoint 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.TargetImpressionShareSimulationPoint getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy