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 Summary
Modifier and TypeMethodDescriptionaddAllPlannedProductReachForecasts(Iterable<? extends PlannedProductReachForecast> values) The forecasted allocation and traffic metrics for each planned product at this point on the reach curve.addPlannedProductReachForecasts(int index, PlannedProductReachForecast value) The forecasted allocation and traffic metrics for each planned product at this point on the reach curve.addPlannedProductReachForecasts(int index, PlannedProductReachForecast.Builder builderForValue) The forecasted allocation and traffic metrics for each planned product at this point on the reach curve.The forecasted allocation and traffic metrics for each planned product at this point on the reach curve.addPlannedProductReachForecasts(PlannedProductReachForecast.Builder builderForValue) The forecasted allocation and traffic metrics for each planned product at this point on the reach curve.The forecasted allocation and traffic metrics for each planned product at this point on the reach curve.addPlannedProductReachForecastsBuilder(int index) The forecasted allocation and traffic metrics for each planned product at this point on the reach curve.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()The cost in micros.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Forecasted traffic metrics for this point.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The forecasted allocation and traffic metrics for each planned product at this point on the reach curve.clone()longThe cost in micros.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorForecasted traffic metrics for this point.Forecasted traffic metrics for this point.Forecasted traffic metrics for this point.getPlannedProductReachForecasts(int index) The forecasted allocation and traffic metrics for each planned product at this point on the reach curve.getPlannedProductReachForecastsBuilder(int index) The forecasted allocation and traffic metrics for each planned product at this point on the reach curve.The forecasted allocation and traffic metrics for each planned product at this point on the reach curve.intThe forecasted allocation and traffic metrics for each planned product at this point on the reach curve.The forecasted allocation and traffic metrics for each planned product at this point on the reach curve.getPlannedProductReachForecastsOrBuilder(int index) The forecasted allocation and traffic metrics for each planned product at this point on the reach curve.List<? extends PlannedProductReachForecastOrBuilder>The forecasted allocation and traffic metrics for each planned product at this point on the reach curve.booleanForecasted traffic metrics for this point.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeForecast(Forecast value) Forecasted traffic metrics for this point.mergeFrom(ReachForecast other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) final ReachForecast.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removePlannedProductReachForecasts(int index) The forecasted allocation and traffic metrics for each planned product at this point on the reach curve.setCostMicros(long value) The cost in micros.setForecast(Forecast value) Forecasted traffic metrics for this point.setForecast(Forecast.Builder builderForValue) Forecasted traffic metrics for this point.setPlannedProductReachForecasts(int index, PlannedProductReachForecast value) The forecasted allocation and traffic metrics for each planned product at this point on the reach curve.setPlannedProductReachForecasts(int index, PlannedProductReachForecast.Builder builderForValue) The forecasted allocation and traffic metrics for each planned product at this point on the reach curve.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) final ReachForecast.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ReachForecast.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ReachForecast.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<ReachForecast.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ReachForecast.Builder>
-
setField
public ReachForecast.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ReachForecast.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ReachForecast.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ReachForecast.Builder>
-
setRepeatedField
public ReachForecast.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ReachForecast.Builder>
-
addRepeatedField
public ReachForecast.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ReachForecast.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ReachForecast.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ReachForecast.Builder>- Throws:
IOException
-
getCostMicros
public long getCostMicros()The cost in micros.
int64 cost_micros = 5;- Specified by:
getCostMicrosin interfaceReachForecastOrBuilder- Returns:
- The costMicros.
-
setCostMicros
The cost in micros.
int64 cost_micros = 5;- Parameters:
value- The costMicros to set.- Returns:
- This builder for chaining.
-
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:
hasForecastin interfaceReachForecastOrBuilder- Returns:
- Whether the forecast field is set.
-
getForecast
Forecasted traffic metrics for this point.
.google.ads.googleads.v18.services.Forecast forecast = 2;- Specified by:
getForecastin interfaceReachForecastOrBuilder- Returns:
- The forecast.
-
setForecast
Forecasted traffic metrics for this point.
.google.ads.googleads.v18.services.Forecast forecast = 2; -
setForecast
Forecasted traffic metrics for this point.
.google.ads.googleads.v18.services.Forecast forecast = 2; -
mergeForecast
Forecasted traffic metrics for this point.
.google.ads.googleads.v18.services.Forecast forecast = 2; -
clearForecast
Forecasted traffic metrics for this point.
.google.ads.googleads.v18.services.Forecast forecast = 2; -
getForecastBuilder
Forecasted traffic metrics for this point.
.google.ads.googleads.v18.services.Forecast forecast = 2; -
getForecastOrBuilder
Forecasted traffic metrics for this point.
.google.ads.googleads.v18.services.Forecast forecast = 2;- Specified by:
getForecastOrBuilderin interfaceReachForecastOrBuilder
-
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:
getPlannedProductReachForecastsListin interfaceReachForecastOrBuilder
-
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:
getPlannedProductReachForecastsCountin interfaceReachForecastOrBuilder
-
getPlannedProductReachForecasts
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:
getPlannedProductReachForecastsin interfaceReachForecastOrBuilder
-
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
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
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
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
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
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:
getPlannedProductReachForecastsOrBuilderin interfaceReachForecastOrBuilder
-
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:
getPlannedProductReachForecastsOrBuilderListin interfaceReachForecastOrBuilder
-
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
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
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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ReachForecast.Builder>
-
mergeUnknownFields
public final ReachForecast.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ReachForecast.Builder>
-