Class CpcBidSimulationPoint.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<CpcBidSimulationPoint.Builder>
com.google.ads.googleads.v18.common.CpcBidSimulationPoint.Builder
All Implemented Interfaces:
CpcBidSimulationPointOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
CpcBidSimulationPoint

public static final class CpcBidSimulationPoint.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CpcBidSimulationPoint.Builder> implements CpcBidSimulationPointOrBuilder
 Projected metrics for a specific CPC bid amount.
 
Protobuf type google.ads.googleads.v18.common.CpcBidSimulationPoint
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CpcBidSimulationPoint.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<CpcBidSimulationPoint.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<CpcBidSimulationPoint.Builder>
    • getDefaultInstanceForType

      public CpcBidSimulationPoint getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public CpcBidSimulationPoint build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public CpcBidSimulationPoint buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<CpcBidSimulationPoint.Builder>
    • setField

      public CpcBidSimulationPoint.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<CpcBidSimulationPoint.Builder>
    • clearField

      public CpcBidSimulationPoint.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<CpcBidSimulationPoint.Builder>
    • clearOneof

      public CpcBidSimulationPoint.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CpcBidSimulationPoint.Builder>
    • setRepeatedField

      public CpcBidSimulationPoint.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CpcBidSimulationPoint.Builder>
    • addRepeatedField

      public CpcBidSimulationPoint.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CpcBidSimulationPoint.Builder>
    • mergeFrom

      public CpcBidSimulationPoint.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<CpcBidSimulationPoint.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CpcBidSimulationPoint.Builder>
    • mergeFrom

      public CpcBidSimulationPoint.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<CpcBidSimulationPoint.Builder>
      Throws:
      IOException
    • getCpcSimulationKeyValueCase

      public CpcBidSimulationPoint.CpcSimulationKeyValueCase getCpcSimulationKeyValueCase()
      Specified by:
      getCpcSimulationKeyValueCase in interface CpcBidSimulationPointOrBuilder
    • clearCpcSimulationKeyValue

      public CpcBidSimulationPoint.Builder clearCpcSimulationKeyValue()
    • getRequiredBudgetAmountMicros

      public long getRequiredBudgetAmountMicros()
       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 = 17;
      Specified by:
      getRequiredBudgetAmountMicros in interface CpcBidSimulationPointOrBuilder
      Returns:
      The requiredBudgetAmountMicros.
    • setRequiredBudgetAmountMicros

      public CpcBidSimulationPoint.Builder setRequiredBudgetAmountMicros(long value)
       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 = 17;
      Parameters:
      value - The requiredBudgetAmountMicros to set.
      Returns:
      This builder for chaining.
    • clearRequiredBudgetAmountMicros

      public CpcBidSimulationPoint.Builder clearRequiredBudgetAmountMicros()
       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 = 17;
      Returns:
      This builder for chaining.
    • hasBiddableConversions

      public boolean hasBiddableConversions()
       Projected number of biddable conversions.
       
      optional double biddable_conversions = 9;
      Specified by:
      hasBiddableConversions in interface CpcBidSimulationPointOrBuilder
      Returns:
      Whether the biddableConversions field is set.
    • getBiddableConversions

      public double getBiddableConversions()
       Projected number of biddable conversions.
       
      optional double biddable_conversions = 9;
      Specified by:
      getBiddableConversions in interface CpcBidSimulationPointOrBuilder
      Returns:
      The biddableConversions.
    • setBiddableConversions

      public CpcBidSimulationPoint.Builder setBiddableConversions(double value)
       Projected number of biddable conversions.
       
      optional double biddable_conversions = 9;
      Parameters:
      value - The biddableConversions to set.
      Returns:
      This builder for chaining.
    • clearBiddableConversions

      public CpcBidSimulationPoint.Builder clearBiddableConversions()
       Projected number of biddable conversions.
       
      optional double biddable_conversions = 9;
      Returns:
      This builder for chaining.
    • hasBiddableConversionsValue

      public boolean hasBiddableConversionsValue()
       Projected total value of biddable conversions.
       
      optional double biddable_conversions_value = 10;
      Specified by:
      hasBiddableConversionsValue in interface CpcBidSimulationPointOrBuilder
      Returns:
      Whether the biddableConversionsValue field is set.
    • getBiddableConversionsValue

      public double getBiddableConversionsValue()
       Projected total value of biddable conversions.
       
      optional double biddable_conversions_value = 10;
      Specified by:
      getBiddableConversionsValue in interface CpcBidSimulationPointOrBuilder
      Returns:
      The biddableConversionsValue.
    • setBiddableConversionsValue

      public CpcBidSimulationPoint.Builder setBiddableConversionsValue(double value)
       Projected total value of biddable conversions.
       
      optional double biddable_conversions_value = 10;
      Parameters:
      value - The biddableConversionsValue to set.
      Returns:
      This builder for chaining.
    • clearBiddableConversionsValue

      public CpcBidSimulationPoint.Builder clearBiddableConversionsValue()
       Projected total value of biddable conversions.
       
      optional double biddable_conversions_value = 10;
      Returns:
      This builder for chaining.
    • hasClicks

      public boolean hasClicks()
       Projected number of clicks.
       
      optional int64 clicks = 11;
      Specified by:
      hasClicks in interface CpcBidSimulationPointOrBuilder
      Returns:
      Whether the clicks field is set.
    • getClicks

      public long getClicks()
       Projected number of clicks.
       
      optional int64 clicks = 11;
      Specified by:
      getClicks in interface CpcBidSimulationPointOrBuilder
      Returns:
      The clicks.
    • setClicks

      public CpcBidSimulationPoint.Builder setClicks(long value)
       Projected number of clicks.
       
      optional int64 clicks = 11;
      Parameters:
      value - The clicks to set.
      Returns:
      This builder for chaining.
    • clearClicks

      public CpcBidSimulationPoint.Builder clearClicks()
       Projected number of clicks.
       
      optional int64 clicks = 11;
      Returns:
      This builder for chaining.
    • hasCostMicros

      public boolean hasCostMicros()
       Projected cost in micros.
       
      optional int64 cost_micros = 12;
      Specified by:
      hasCostMicros in interface CpcBidSimulationPointOrBuilder
      Returns:
      Whether the costMicros field is set.
    • getCostMicros

      public long getCostMicros()
       Projected cost in micros.
       
      optional int64 cost_micros = 12;
      Specified by:
      getCostMicros in interface CpcBidSimulationPointOrBuilder
      Returns:
      The costMicros.
    • setCostMicros

      public CpcBidSimulationPoint.Builder setCostMicros(long value)
       Projected cost in micros.
       
      optional int64 cost_micros = 12;
      Parameters:
      value - The costMicros to set.
      Returns:
      This builder for chaining.
    • clearCostMicros

      public CpcBidSimulationPoint.Builder clearCostMicros()
       Projected cost in micros.
       
      optional int64 cost_micros = 12;
      Returns:
      This builder for chaining.
    • hasImpressions

      public boolean hasImpressions()
       Projected number of impressions.
       
      optional int64 impressions = 13;
      Specified by:
      hasImpressions in interface CpcBidSimulationPointOrBuilder
      Returns:
      Whether the impressions field is set.
    • getImpressions

      public long getImpressions()
       Projected number of impressions.
       
      optional int64 impressions = 13;
      Specified by:
      getImpressions in interface CpcBidSimulationPointOrBuilder
      Returns:
      The impressions.
    • setImpressions

      public CpcBidSimulationPoint.Builder setImpressions(long value)
       Projected number of impressions.
       
      optional int64 impressions = 13;
      Parameters:
      value - The impressions to set.
      Returns:
      This builder for chaining.
    • clearImpressions

      public CpcBidSimulationPoint.Builder clearImpressions()
       Projected number of impressions.
       
      optional int64 impressions = 13;
      Returns:
      This builder for chaining.
    • hasTopSlotImpressions

      public boolean hasTopSlotImpressions()
       Projected number of top slot impressions.
       Only search advertising channel type supports this field.
       
      optional int64 top_slot_impressions = 14;
      Specified by:
      hasTopSlotImpressions in interface CpcBidSimulationPointOrBuilder
      Returns:
      Whether the topSlotImpressions field is set.
    • getTopSlotImpressions

      public long getTopSlotImpressions()
       Projected number of top slot impressions.
       Only search advertising channel type supports this field.
       
      optional int64 top_slot_impressions = 14;
      Specified by:
      getTopSlotImpressions in interface CpcBidSimulationPointOrBuilder
      Returns:
      The topSlotImpressions.
    • setTopSlotImpressions

      public CpcBidSimulationPoint.Builder setTopSlotImpressions(long value)
       Projected number of top slot impressions.
       Only search advertising channel type supports this field.
       
      optional int64 top_slot_impressions = 14;
      Parameters:
      value - The topSlotImpressions to set.
      Returns:
      This builder for chaining.
    • clearTopSlotImpressions

      public CpcBidSimulationPoint.Builder clearTopSlotImpressions()
       Projected number of top slot impressions.
       Only search advertising channel type supports this field.
       
      optional int64 top_slot_impressions = 14;
      Returns:
      This builder for chaining.
    • hasCpcBidMicros

      public boolean hasCpcBidMicros()
       The simulated CPC bid upon which projected metrics are based.
       
      int64 cpc_bid_micros = 15;
      Specified by:
      hasCpcBidMicros in interface CpcBidSimulationPointOrBuilder
      Returns:
      Whether the cpcBidMicros field is set.
    • getCpcBidMicros

      public long getCpcBidMicros()
       The simulated CPC bid upon which projected metrics are based.
       
      int64 cpc_bid_micros = 15;
      Specified by:
      getCpcBidMicros in interface CpcBidSimulationPointOrBuilder
      Returns:
      The cpcBidMicros.
    • setCpcBidMicros

      public CpcBidSimulationPoint.Builder setCpcBidMicros(long value)
       The simulated CPC bid upon which projected metrics are based.
       
      int64 cpc_bid_micros = 15;
      Parameters:
      value - The cpcBidMicros to set.
      Returns:
      This builder for chaining.
    • clearCpcBidMicros

      public CpcBidSimulationPoint.Builder clearCpcBidMicros()
       The simulated CPC bid upon which projected metrics are based.
       
      int64 cpc_bid_micros = 15;
      Returns:
      This builder for chaining.
    • hasCpcBidScalingModifier

      public boolean hasCpcBidScalingModifier()
       The simulated scaling modifier upon which projected metrics are based.
       All CPC bids relevant to the simulated entity are scaled by this
       modifier.
       
      double cpc_bid_scaling_modifier = 16;
      Specified by:
      hasCpcBidScalingModifier in interface CpcBidSimulationPointOrBuilder
      Returns:
      Whether the cpcBidScalingModifier field is set.
    • getCpcBidScalingModifier

      public double getCpcBidScalingModifier()
       The simulated scaling modifier upon which projected metrics are based.
       All CPC bids relevant to the simulated entity are scaled by this
       modifier.
       
      double cpc_bid_scaling_modifier = 16;
      Specified by:
      getCpcBidScalingModifier in interface CpcBidSimulationPointOrBuilder
      Returns:
      The cpcBidScalingModifier.
    • setCpcBidScalingModifier

      public CpcBidSimulationPoint.Builder setCpcBidScalingModifier(double value)
       The simulated scaling modifier upon which projected metrics are based.
       All CPC bids relevant to the simulated entity are scaled by this
       modifier.
       
      double cpc_bid_scaling_modifier = 16;
      Parameters:
      value - The cpcBidScalingModifier to set.
      Returns:
      This builder for chaining.
    • clearCpcBidScalingModifier

      public CpcBidSimulationPoint.Builder clearCpcBidScalingModifier()
       The simulated scaling modifier upon which projected metrics are based.
       All CPC bids relevant to the simulated entity are scaled by this
       modifier.
       
      double cpc_bid_scaling_modifier = 16;
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final CpcBidSimulationPoint.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CpcBidSimulationPoint.Builder>
    • mergeUnknownFields

      public final CpcBidSimulationPoint.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CpcBidSimulationPoint.Builder>