Class BudgetSimulationPoint.Builder

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

public static final class BudgetSimulationPoint.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BudgetSimulationPoint.Builder> implements BudgetSimulationPointOrBuilder
 Projected metrics for a specific budget amount.
 
Protobuf type google.ads.googleads.v18.common.BudgetSimulationPoint
  • 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<BudgetSimulationPoint.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<BudgetSimulationPoint.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<BudgetSimulationPoint.Builder>
    • getDefaultInstanceForType

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

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

      public BudgetSimulationPoint 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<BudgetSimulationPoint.Builder>
    • setField

      public BudgetSimulationPoint.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<BudgetSimulationPoint.Builder>
    • clearField

      public BudgetSimulationPoint.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<BudgetSimulationPoint.Builder>
    • clearOneof

      public BudgetSimulationPoint.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<BudgetSimulationPoint.Builder>
    • setRepeatedField

      public BudgetSimulationPoint.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<BudgetSimulationPoint.Builder>
    • addRepeatedField

      public BudgetSimulationPoint.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<BudgetSimulationPoint.Builder>
    • mergeFrom

      public BudgetSimulationPoint.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<BudgetSimulationPoint.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<BudgetSimulationPoint.Builder>
    • mergeFrom

      public BudgetSimulationPoint.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<BudgetSimulationPoint.Builder>
      Throws:
      IOException
    • getBudgetAmountMicros

      public long getBudgetAmountMicros()
       The simulated budget upon which projected metrics are based.
       
      int64 budget_amount_micros = 1;
      Specified by:
      getBudgetAmountMicros in interface BudgetSimulationPointOrBuilder
      Returns:
      The budgetAmountMicros.
    • setBudgetAmountMicros

      public BudgetSimulationPoint.Builder setBudgetAmountMicros(long value)
       The simulated budget upon which projected metrics are based.
       
      int64 budget_amount_micros = 1;
      Parameters:
      value - The budgetAmountMicros to set.
      Returns:
      This builder for chaining.
    • clearBudgetAmountMicros

      public BudgetSimulationPoint.Builder clearBudgetAmountMicros()
       The simulated budget upon which projected metrics are based.
       
      int64 budget_amount_micros = 1;
      Returns:
      This builder for chaining.
    • getRequiredCpcBidCeilingMicros

      public long getRequiredCpcBidCeilingMicros()
       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;
      Specified by:
      getRequiredCpcBidCeilingMicros in interface BudgetSimulationPointOrBuilder
      Returns:
      The requiredCpcBidCeilingMicros.
    • setRequiredCpcBidCeilingMicros

      public BudgetSimulationPoint.Builder setRequiredCpcBidCeilingMicros(long value)
       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;
      Parameters:
      value - The requiredCpcBidCeilingMicros to set.
      Returns:
      This builder for chaining.
    • clearRequiredCpcBidCeilingMicros

      public BudgetSimulationPoint.Builder clearRequiredCpcBidCeilingMicros()
       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;
      Returns:
      This builder for chaining.
    • getBiddableConversions

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

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

      public BudgetSimulationPoint.Builder clearBiddableConversions()
       Projected number of biddable conversions.
       
      double biddable_conversions = 3;
      Returns:
      This builder for chaining.
    • getBiddableConversionsValue

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

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

      public BudgetSimulationPoint.Builder clearBiddableConversionsValue()
       Projected total value of biddable conversions.
       
      double biddable_conversions_value = 4;
      Returns:
      This builder for chaining.
    • getClicks

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

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

      public BudgetSimulationPoint.Builder clearClicks()
       Projected number of clicks.
       
      int64 clicks = 5;
      Returns:
      This builder for chaining.
    • getCostMicros

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

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

      public BudgetSimulationPoint.Builder clearCostMicros()
       Projected cost in micros.
       
      int64 cost_micros = 6;
      Returns:
      This builder for chaining.
    • getImpressions

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

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

      public BudgetSimulationPoint.Builder clearImpressions()
       Projected number of impressions.
       
      int64 impressions = 7;
      Returns:
      This builder for chaining.
    • getTopSlotImpressions

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

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

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

      public long getInteractions()
       Projected number of interactions.
       Only discovery advertising channel type supports this field.
       
      int64 interactions = 9;
      Specified by:
      getInteractions in interface BudgetSimulationPointOrBuilder
      Returns:
      The interactions.
    • setInteractions

      public BudgetSimulationPoint.Builder setInteractions(long value)
       Projected number of interactions.
       Only discovery advertising channel type supports this field.
       
      int64 interactions = 9;
      Parameters:
      value - The interactions to set.
      Returns:
      This builder for chaining.
    • clearInteractions

      public BudgetSimulationPoint.Builder clearInteractions()
       Projected number of interactions.
       Only discovery advertising channel type supports this field.
       
      int64 interactions = 9;
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final BudgetSimulationPoint.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<BudgetSimulationPoint.Builder>
    • mergeUnknownFields

      public final BudgetSimulationPoint.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<BudgetSimulationPoint.Builder>