Class ReachForecast.Builder

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

public static final class ReachForecast.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ReachForecast.Builder> implements ReachForecastOrBuilder
 A point on reach curve.
 
Protobuf type google.ads.googleads.v18.services.ReachForecast
  • 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<ReachForecast.Builder>
    • clear

      public ReachForecast.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<ReachForecast.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<ReachForecast.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

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

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

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

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

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

      public ReachForecast.Builder mergeFrom(ReachForecast other)
    • isInitialized

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

      public ReachForecast.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<ReachForecast.Builder>
      Throws:
      IOException
    • getCostMicros

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

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

      public ReachForecast.Builder clearCostMicros()
       The cost in micros.
       
      int64 cost_micros = 5;
      Returns:
      This builder for chaining.
    • hasForecast

      public boolean hasForecast()
       Forecasted traffic metrics for this point.
       
      .google.ads.googleads.v18.services.Forecast forecast = 2;
      Specified by:
      hasForecast in interface ReachForecastOrBuilder
      Returns:
      Whether the forecast field is set.
    • getForecast

      public Forecast getForecast()
       Forecasted traffic metrics for this point.
       
      .google.ads.googleads.v18.services.Forecast forecast = 2;
      Specified by:
      getForecast in interface ReachForecastOrBuilder
      Returns:
      The forecast.
    • setForecast

      public ReachForecast.Builder setForecast(Forecast value)
       Forecasted traffic metrics for this point.
       
      .google.ads.googleads.v18.services.Forecast forecast = 2;
    • setForecast

      public ReachForecast.Builder setForecast(Forecast.Builder builderForValue)
       Forecasted traffic metrics for this point.
       
      .google.ads.googleads.v18.services.Forecast forecast = 2;
    • mergeForecast

      public ReachForecast.Builder mergeForecast(Forecast value)
       Forecasted traffic metrics for this point.
       
      .google.ads.googleads.v18.services.Forecast forecast = 2;
    • clearForecast

      public ReachForecast.Builder clearForecast()
       Forecasted traffic metrics for this point.
       
      .google.ads.googleads.v18.services.Forecast forecast = 2;
    • getForecastBuilder

      public Forecast.Builder getForecastBuilder()
       Forecasted traffic metrics for this point.
       
      .google.ads.googleads.v18.services.Forecast forecast = 2;
    • getForecastOrBuilder

      public ForecastOrBuilder getForecastOrBuilder()
       Forecasted traffic metrics for this point.
       
      .google.ads.googleads.v18.services.Forecast forecast = 2;
      Specified by:
      getForecastOrBuilder in interface ReachForecastOrBuilder
    • getPlannedProductReachForecastsList

      public List<PlannedProductReachForecast> getPlannedProductReachForecastsList()
       The forecasted allocation and traffic metrics for each planned product
       at this point on the reach curve.
       
      repeated .google.ads.googleads.v18.services.PlannedProductReachForecast planned_product_reach_forecasts = 4;
      Specified by:
      getPlannedProductReachForecastsList in interface ReachForecastOrBuilder
    • getPlannedProductReachForecastsCount

      public int getPlannedProductReachForecastsCount()
       The forecasted allocation and traffic metrics for each planned product
       at this point on the reach curve.
       
      repeated .google.ads.googleads.v18.services.PlannedProductReachForecast planned_product_reach_forecasts = 4;
      Specified by:
      getPlannedProductReachForecastsCount in interface ReachForecastOrBuilder
    • getPlannedProductReachForecasts

      public PlannedProductReachForecast getPlannedProductReachForecasts(int index)
       The forecasted allocation and traffic metrics for each planned product
       at this point on the reach curve.
       
      repeated .google.ads.googleads.v18.services.PlannedProductReachForecast planned_product_reach_forecasts = 4;
      Specified by:
      getPlannedProductReachForecasts in interface ReachForecastOrBuilder
    • setPlannedProductReachForecasts

      public ReachForecast.Builder setPlannedProductReachForecasts(int index, PlannedProductReachForecast value)
       The forecasted allocation and traffic metrics for each planned product
       at this point on the reach curve.
       
      repeated .google.ads.googleads.v18.services.PlannedProductReachForecast planned_product_reach_forecasts = 4;
    • setPlannedProductReachForecasts

      public ReachForecast.Builder setPlannedProductReachForecasts(int index, PlannedProductReachForecast.Builder builderForValue)
       The forecasted allocation and traffic metrics for each planned product
       at this point on the reach curve.
       
      repeated .google.ads.googleads.v18.services.PlannedProductReachForecast planned_product_reach_forecasts = 4;
    • addPlannedProductReachForecasts

      public ReachForecast.Builder addPlannedProductReachForecasts(PlannedProductReachForecast value)
       The forecasted allocation and traffic metrics for each planned product
       at this point on the reach curve.
       
      repeated .google.ads.googleads.v18.services.PlannedProductReachForecast planned_product_reach_forecasts = 4;
    • addPlannedProductReachForecasts

      public ReachForecast.Builder addPlannedProductReachForecasts(int index, PlannedProductReachForecast value)
       The forecasted allocation and traffic metrics for each planned product
       at this point on the reach curve.
       
      repeated .google.ads.googleads.v18.services.PlannedProductReachForecast planned_product_reach_forecasts = 4;
    • addPlannedProductReachForecasts

      public ReachForecast.Builder addPlannedProductReachForecasts(PlannedProductReachForecast.Builder builderForValue)
       The forecasted allocation and traffic metrics for each planned product
       at this point on the reach curve.
       
      repeated .google.ads.googleads.v18.services.PlannedProductReachForecast planned_product_reach_forecasts = 4;
    • addPlannedProductReachForecasts

      public ReachForecast.Builder addPlannedProductReachForecasts(int index, PlannedProductReachForecast.Builder builderForValue)
       The forecasted allocation and traffic metrics for each planned product
       at this point on the reach curve.
       
      repeated .google.ads.googleads.v18.services.PlannedProductReachForecast planned_product_reach_forecasts = 4;
    • addAllPlannedProductReachForecasts

      public ReachForecast.Builder addAllPlannedProductReachForecasts(Iterable<? extends PlannedProductReachForecast> values)
       The forecasted allocation and traffic metrics for each planned product
       at this point on the reach curve.
       
      repeated .google.ads.googleads.v18.services.PlannedProductReachForecast planned_product_reach_forecasts = 4;
    • clearPlannedProductReachForecasts

      public ReachForecast.Builder clearPlannedProductReachForecasts()
       The forecasted allocation and traffic metrics for each planned product
       at this point on the reach curve.
       
      repeated .google.ads.googleads.v18.services.PlannedProductReachForecast planned_product_reach_forecasts = 4;
    • removePlannedProductReachForecasts

      public ReachForecast.Builder removePlannedProductReachForecasts(int index)
       The forecasted allocation and traffic metrics for each planned product
       at this point on the reach curve.
       
      repeated .google.ads.googleads.v18.services.PlannedProductReachForecast planned_product_reach_forecasts = 4;
    • getPlannedProductReachForecastsBuilder

      public PlannedProductReachForecast.Builder getPlannedProductReachForecastsBuilder(int index)
       The forecasted allocation and traffic metrics for each planned product
       at this point on the reach curve.
       
      repeated .google.ads.googleads.v18.services.PlannedProductReachForecast planned_product_reach_forecasts = 4;
    • getPlannedProductReachForecastsOrBuilder

      public PlannedProductReachForecastOrBuilder getPlannedProductReachForecastsOrBuilder(int index)
       The forecasted allocation and traffic metrics for each planned product
       at this point on the reach curve.
       
      repeated .google.ads.googleads.v18.services.PlannedProductReachForecast planned_product_reach_forecasts = 4;
      Specified by:
      getPlannedProductReachForecastsOrBuilder in interface ReachForecastOrBuilder
    • getPlannedProductReachForecastsOrBuilderList

      public List<? extends PlannedProductReachForecastOrBuilder> getPlannedProductReachForecastsOrBuilderList()
       The forecasted allocation and traffic metrics for each planned product
       at this point on the reach curve.
       
      repeated .google.ads.googleads.v18.services.PlannedProductReachForecast planned_product_reach_forecasts = 4;
      Specified by:
      getPlannedProductReachForecastsOrBuilderList in interface ReachForecastOrBuilder
    • addPlannedProductReachForecastsBuilder

      public PlannedProductReachForecast.Builder addPlannedProductReachForecastsBuilder()
       The forecasted allocation and traffic metrics for each planned product
       at this point on the reach curve.
       
      repeated .google.ads.googleads.v18.services.PlannedProductReachForecast planned_product_reach_forecasts = 4;
    • addPlannedProductReachForecastsBuilder

      public PlannedProductReachForecast.Builder addPlannedProductReachForecastsBuilder(int index)
       The forecasted allocation and traffic metrics for each planned product
       at this point on the reach curve.
       
      repeated .google.ads.googleads.v18.services.PlannedProductReachForecast planned_product_reach_forecasts = 4;
    • getPlannedProductReachForecastsBuilderList

      public List<PlannedProductReachForecast.Builder> getPlannedProductReachForecastsBuilderList()
       The forecasted allocation and traffic metrics for each planned product
       at this point on the reach curve.
       
      repeated .google.ads.googleads.v18.services.PlannedProductReachForecast planned_product_reach_forecasts = 4;
    • setUnknownFields

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

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