Class PercentCpcBidSimulationPoint.Builder

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

public static final class PercentCpcBidSimulationPoint.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PercentCpcBidSimulationPoint.Builder> implements PercentCpcBidSimulationPointOrBuilder
 Projected metrics for a specific percent CPC amount. Only Hotel advertising
 channel type supports this field.
 
Protobuf type google.ads.googleads.v18.common.PercentCpcBidSimulationPoint
  • 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<PercentCpcBidSimulationPoint.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<PercentCpcBidSimulationPoint.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<PercentCpcBidSimulationPoint.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

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

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

      public PercentCpcBidSimulationPoint.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<PercentCpcBidSimulationPoint.Builder>
      Throws:
      IOException
    • hasPercentCpcBidMicros

      public boolean hasPercentCpcBidMicros()
       The simulated percent CPC upon which projected metrics are based. Percent
       CPC expressed as fraction of the advertised price for some good or service.
       The value stored here is 1,000,000 * [fraction].
       
      optional int64 percent_cpc_bid_micros = 1;
      Specified by:
      hasPercentCpcBidMicros in interface PercentCpcBidSimulationPointOrBuilder
      Returns:
      Whether the percentCpcBidMicros field is set.
    • getPercentCpcBidMicros

      public long getPercentCpcBidMicros()
       The simulated percent CPC upon which projected metrics are based. Percent
       CPC expressed as fraction of the advertised price for some good or service.
       The value stored here is 1,000,000 * [fraction].
       
      optional int64 percent_cpc_bid_micros = 1;
      Specified by:
      getPercentCpcBidMicros in interface PercentCpcBidSimulationPointOrBuilder
      Returns:
      The percentCpcBidMicros.
    • setPercentCpcBidMicros

      public PercentCpcBidSimulationPoint.Builder setPercentCpcBidMicros(long value)
       The simulated percent CPC upon which projected metrics are based. Percent
       CPC expressed as fraction of the advertised price for some good or service.
       The value stored here is 1,000,000 * [fraction].
       
      optional int64 percent_cpc_bid_micros = 1;
      Parameters:
      value - The percentCpcBidMicros to set.
      Returns:
      This builder for chaining.
    • clearPercentCpcBidMicros

      public PercentCpcBidSimulationPoint.Builder clearPercentCpcBidMicros()
       The simulated percent CPC upon which projected metrics are based. Percent
       CPC expressed as fraction of the advertised price for some good or service.
       The value stored here is 1,000,000 * [fraction].
       
      optional int64 percent_cpc_bid_micros = 1;
      Returns:
      This builder for chaining.
    • hasBiddableConversions

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

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

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

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

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

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

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

      public PercentCpcBidSimulationPoint.Builder clearBiddableConversionsValue()
       Projected total value of biddable conversions in local currency.
       
      optional double biddable_conversions_value = 3;
      Returns:
      This builder for chaining.
    • hasClicks

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

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

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

       Projected number of clicks.
       
      optional int64 clicks = 4;
      Returns:
      This builder for chaining.
    • hasCostMicros

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

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

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

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

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

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

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

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

      public boolean hasTopSlotImpressions()
       Projected number of top slot impressions.
       
      optional int64 top_slot_impressions = 7;
      Specified by:
      hasTopSlotImpressions in interface PercentCpcBidSimulationPointOrBuilder
      Returns:
      Whether the topSlotImpressions field is set.
    • getTopSlotImpressions

      public long getTopSlotImpressions()
       Projected number of top slot impressions.
       
      optional int64 top_slot_impressions = 7;
      Specified by:
      getTopSlotImpressions in interface PercentCpcBidSimulationPointOrBuilder
      Returns:
      The topSlotImpressions.
    • setTopSlotImpressions

      public PercentCpcBidSimulationPoint.Builder setTopSlotImpressions(long value)
       Projected number of top slot impressions.
       
      optional int64 top_slot_impressions = 7;
      Parameters:
      value - The topSlotImpressions to set.
      Returns:
      This builder for chaining.
    • clearTopSlotImpressions

      public PercentCpcBidSimulationPoint.Builder clearTopSlotImpressions()
       Projected number of top slot impressions.
       
      optional int64 top_slot_impressions = 7;
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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