Class CpvBidSimulationPoint.Builder

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

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

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

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

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

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

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

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

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

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

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

      public CpvBidSimulationPoint.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<CpvBidSimulationPoint.Builder>
      Throws:
      IOException
    • hasCpvBidMicros

      public boolean hasCpvBidMicros()
       The simulated CPV bid upon which projected metrics are based.
       
      optional int64 cpv_bid_micros = 5;
      Specified by:
      hasCpvBidMicros in interface CpvBidSimulationPointOrBuilder
      Returns:
      Whether the cpvBidMicros field is set.
    • getCpvBidMicros

      public long getCpvBidMicros()
       The simulated CPV bid upon which projected metrics are based.
       
      optional int64 cpv_bid_micros = 5;
      Specified by:
      getCpvBidMicros in interface CpvBidSimulationPointOrBuilder
      Returns:
      The cpvBidMicros.
    • setCpvBidMicros

      public CpvBidSimulationPoint.Builder setCpvBidMicros(long value)
       The simulated CPV bid upon which projected metrics are based.
       
      optional int64 cpv_bid_micros = 5;
      Parameters:
      value - The cpvBidMicros to set.
      Returns:
      This builder for chaining.
    • clearCpvBidMicros

      public CpvBidSimulationPoint.Builder clearCpvBidMicros()
       The simulated CPV bid upon which projected metrics are based.
       
      optional int64 cpv_bid_micros = 5;
      Returns:
      This builder for chaining.
    • hasCostMicros

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

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

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

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

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

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

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

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

      public boolean hasViews()
       Projected number of views.
       
      optional int64 views = 8;
      Specified by:
      hasViews in interface CpvBidSimulationPointOrBuilder
      Returns:
      Whether the views field is set.
    • getViews

      public long getViews()
       Projected number of views.
       
      optional int64 views = 8;
      Specified by:
      getViews in interface CpvBidSimulationPointOrBuilder
      Returns:
      The views.
    • setViews

      public CpvBidSimulationPoint.Builder setViews(long value)
       Projected number of views.
       
      optional int64 views = 8;
      Parameters:
      value - The views to set.
      Returns:
      This builder for chaining.
    • clearViews

      public CpvBidSimulationPoint.Builder clearViews()
       Projected number of views.
       
      optional int64 views = 8;
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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