Class TargetImpressionShareSimulationPoint.Builder

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

public static final class TargetImpressionShareSimulationPoint.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TargetImpressionShareSimulationPoint.Builder> implements TargetImpressionShareSimulationPointOrBuilder
 Projected metrics for a specific target impression share value.
 
Protobuf type google.ads.googleads.v18.common.TargetImpressionShareSimulationPoint
  • 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<TargetImpressionShareSimulationPoint.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<TargetImpressionShareSimulationPoint.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<TargetImpressionShareSimulationPoint.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

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

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

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

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

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

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

      public TargetImpressionShareSimulationPoint.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<TargetImpressionShareSimulationPoint.Builder>
      Throws:
      IOException
    • getTargetImpressionShareMicros

      public long getTargetImpressionShareMicros()
       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;
      Specified by:
      getTargetImpressionShareMicros in interface TargetImpressionShareSimulationPointOrBuilder
      Returns:
      The targetImpressionShareMicros.
    • setTargetImpressionShareMicros

      public TargetImpressionShareSimulationPoint.Builder setTargetImpressionShareMicros(long value)
       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;
      Parameters:
      value - The targetImpressionShareMicros to set.
      Returns:
      This builder for chaining.
    • clearTargetImpressionShareMicros

      public TargetImpressionShareSimulationPoint.Builder clearTargetImpressionShareMicros()
       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;
      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.
       
      int64 required_cpc_bid_ceiling_micros = 2;
      Specified by:
      getRequiredCpcBidCeilingMicros in interface TargetImpressionShareSimulationPointOrBuilder
      Returns:
      The requiredCpcBidCeilingMicros.
    • setRequiredCpcBidCeilingMicros

      public TargetImpressionShareSimulationPoint.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.
       
      int64 required_cpc_bid_ceiling_micros = 2;
      Parameters:
      value - The requiredCpcBidCeilingMicros to set.
      Returns:
      This builder for chaining.
    • clearRequiredCpcBidCeilingMicros

      public TargetImpressionShareSimulationPoint.Builder clearRequiredCpcBidCeilingMicros()
       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;
      Returns:
      This builder for chaining.
    • 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 = 3;
      Specified by:
      getRequiredBudgetAmountMicros in interface TargetImpressionShareSimulationPointOrBuilder
      Returns:
      The requiredBudgetAmountMicros.
    • setRequiredBudgetAmountMicros

      public TargetImpressionShareSimulationPoint.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 = 3;
      Parameters:
      value - The requiredBudgetAmountMicros to set.
      Returns:
      This builder for chaining.
    • clearRequiredBudgetAmountMicros

      public TargetImpressionShareSimulationPoint.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 = 3;
      Returns:
      This builder for chaining.
    • getBiddableConversions

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

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

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

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

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

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

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

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

       Projected number of clicks.
       
      int64 clicks = 6;
      Returns:
      This builder for chaining.
    • getCostMicros

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

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

       Projected cost in micros.
       
      int64 cost_micros = 7;
      Returns:
      This builder for chaining.
    • getImpressions

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

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

       Projected number of impressions.
       
      int64 impressions = 8;
      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 = 9;
      Specified by:
      getTopSlotImpressions in interface TargetImpressionShareSimulationPointOrBuilder
      Returns:
      The topSlotImpressions.
    • setTopSlotImpressions

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

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

      public long getAbsoluteTopImpressions()
       Projected number of absolute top impressions.
       Only search advertising channel type supports this field.
       
      int64 absolute_top_impressions = 10;
      Specified by:
      getAbsoluteTopImpressions in interface TargetImpressionShareSimulationPointOrBuilder
      Returns:
      The absoluteTopImpressions.
    • setAbsoluteTopImpressions

      public TargetImpressionShareSimulationPoint.Builder setAbsoluteTopImpressions(long value)
       Projected number of absolute top impressions.
       Only search advertising channel type supports this field.
       
      int64 absolute_top_impressions = 10;
      Parameters:
      value - The absoluteTopImpressions to set.
      Returns:
      This builder for chaining.
    • clearAbsoluteTopImpressions

      public TargetImpressionShareSimulationPoint.Builder clearAbsoluteTopImpressions()
       Projected number of absolute top impressions.
       Only search advertising channel type supports this field.
       
      int64 absolute_top_impressions = 10;
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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