Class PlannedProductReachForecast.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<PlannedProductReachForecast.Builder>
-
- com.google.ads.googleads.v13.services.PlannedProductReachForecast.Builder
-
- All Implemented Interfaces:
PlannedProductReachForecastOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- PlannedProductReachForecast
public static final class PlannedProductReachForecast.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PlannedProductReachForecast.Builder> implements PlannedProductReachForecastOrBuilder
The forecasted allocation and traffic metrics for a specific product at a point on the reach curve.
Protobuf typegoogle.ads.googleads.v13.services.PlannedProductReachForecast
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PlannedProductReachForecast.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
PlannedProductReachForecast
build()
PlannedProductReachForecast
buildPartial()
PlannedProductReachForecast.Builder
clear()
PlannedProductReachForecast.Builder
clearCostMicros()
The cost in micros.PlannedProductReachForecast.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
PlannedProductReachForecast.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
PlannedProductReachForecast.Builder
clearPlannableProductCode()
Selected product for planning.PlannedProductReachForecast.Builder
clearPlannedProductForecast()
Forecasted traffic metrics for this product.PlannedProductReachForecast.Builder
clone()
long
getCostMicros()
The cost in micros.PlannedProductReachForecast
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
java.lang.String
getPlannableProductCode()
Selected product for planning.com.google.protobuf.ByteString
getPlannableProductCodeBytes()
Selected product for planning.PlannedProductForecast
getPlannedProductForecast()
Forecasted traffic metrics for this product.PlannedProductForecast.Builder
getPlannedProductForecastBuilder()
Forecasted traffic metrics for this product.PlannedProductForecastOrBuilder
getPlannedProductForecastOrBuilder()
Forecasted traffic metrics for this product.boolean
hasPlannedProductForecast()
Forecasted traffic metrics for this product.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
PlannedProductReachForecast.Builder
mergeFrom(PlannedProductReachForecast other)
PlannedProductReachForecast.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
PlannedProductReachForecast.Builder
mergeFrom(com.google.protobuf.Message other)
PlannedProductReachForecast.Builder
mergePlannedProductForecast(PlannedProductForecast value)
Forecasted traffic metrics for this product.PlannedProductReachForecast.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
PlannedProductReachForecast.Builder
setCostMicros(long value)
The cost in micros.PlannedProductReachForecast.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
PlannedProductReachForecast.Builder
setPlannableProductCode(java.lang.String value)
Selected product for planning.PlannedProductReachForecast.Builder
setPlannableProductCodeBytes(com.google.protobuf.ByteString value)
Selected product for planning.PlannedProductReachForecast.Builder
setPlannedProductForecast(PlannedProductForecast value)
Forecasted traffic metrics for this product.PlannedProductReachForecast.Builder
setPlannedProductForecast(PlannedProductForecast.Builder builderForValue)
Forecasted traffic metrics for this product.PlannedProductReachForecast.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
PlannedProductReachForecast.Builder
setUnknownFields(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, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<PlannedProductReachForecast.Builder>
-
clear
public PlannedProductReachForecast.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<PlannedProductReachForecast.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<PlannedProductReachForecast.Builder>
-
getDefaultInstanceForType
public PlannedProductReachForecast getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public PlannedProductReachForecast build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public PlannedProductReachForecast buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public PlannedProductReachForecast.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<PlannedProductReachForecast.Builder>
-
setField
public PlannedProductReachForecast.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<PlannedProductReachForecast.Builder>
-
clearField
public PlannedProductReachForecast.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<PlannedProductReachForecast.Builder>
-
clearOneof
public PlannedProductReachForecast.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<PlannedProductReachForecast.Builder>
-
setRepeatedField
public PlannedProductReachForecast.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<PlannedProductReachForecast.Builder>
-
addRepeatedField
public PlannedProductReachForecast.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<PlannedProductReachForecast.Builder>
-
mergeFrom
public PlannedProductReachForecast.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<PlannedProductReachForecast.Builder>
-
mergeFrom
public PlannedProductReachForecast.Builder mergeFrom(PlannedProductReachForecast other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<PlannedProductReachForecast.Builder>
-
mergeFrom
public PlannedProductReachForecast.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<PlannedProductReachForecast.Builder>
- Throws:
java.io.IOException
-
getPlannableProductCode
public java.lang.String getPlannableProductCode()
Selected product for planning. The product codes returned are within the set of the ones returned by ListPlannableProducts when using the same location ID.
string plannable_product_code = 1;
- Specified by:
getPlannableProductCode
in interfacePlannedProductReachForecastOrBuilder
- Returns:
- The plannableProductCode.
-
getPlannableProductCodeBytes
public com.google.protobuf.ByteString getPlannableProductCodeBytes()
Selected product for planning. The product codes returned are within the set of the ones returned by ListPlannableProducts when using the same location ID.
string plannable_product_code = 1;
- Specified by:
getPlannableProductCodeBytes
in interfacePlannedProductReachForecastOrBuilder
- Returns:
- The bytes for plannableProductCode.
-
setPlannableProductCode
public PlannedProductReachForecast.Builder setPlannableProductCode(java.lang.String value)
Selected product for planning. The product codes returned are within the set of the ones returned by ListPlannableProducts when using the same location ID.
string plannable_product_code = 1;
- Parameters:
value
- The plannableProductCode to set.- Returns:
- This builder for chaining.
-
clearPlannableProductCode
public PlannedProductReachForecast.Builder clearPlannableProductCode()
Selected product for planning. The product codes returned are within the set of the ones returned by ListPlannableProducts when using the same location ID.
string plannable_product_code = 1;
- Returns:
- This builder for chaining.
-
setPlannableProductCodeBytes
public PlannedProductReachForecast.Builder setPlannableProductCodeBytes(com.google.protobuf.ByteString value)
Selected product for planning. The product codes returned are within the set of the ones returned by ListPlannableProducts when using the same location ID.
string plannable_product_code = 1;
- Parameters:
value
- The bytes for plannableProductCode to set.- Returns:
- This builder for chaining.
-
getCostMicros
public long getCostMicros()
The cost in micros. This may differ from the product's input allocation if one or more planned products cannot fulfill the budget because of limited inventory.
int64 cost_micros = 2;
- Specified by:
getCostMicros
in interfacePlannedProductReachForecastOrBuilder
- Returns:
- The costMicros.
-
setCostMicros
public PlannedProductReachForecast.Builder setCostMicros(long value)
The cost in micros. This may differ from the product's input allocation if one or more planned products cannot fulfill the budget because of limited inventory.
int64 cost_micros = 2;
- Parameters:
value
- The costMicros to set.- Returns:
- This builder for chaining.
-
clearCostMicros
public PlannedProductReachForecast.Builder clearCostMicros()
The cost in micros. This may differ from the product's input allocation if one or more planned products cannot fulfill the budget because of limited inventory.
int64 cost_micros = 2;
- Returns:
- This builder for chaining.
-
hasPlannedProductForecast
public boolean hasPlannedProductForecast()
Forecasted traffic metrics for this product.
.google.ads.googleads.v13.services.PlannedProductForecast planned_product_forecast = 3;
- Specified by:
hasPlannedProductForecast
in interfacePlannedProductReachForecastOrBuilder
- Returns:
- Whether the plannedProductForecast field is set.
-
getPlannedProductForecast
public PlannedProductForecast getPlannedProductForecast()
Forecasted traffic metrics for this product.
.google.ads.googleads.v13.services.PlannedProductForecast planned_product_forecast = 3;
- Specified by:
getPlannedProductForecast
in interfacePlannedProductReachForecastOrBuilder
- Returns:
- The plannedProductForecast.
-
setPlannedProductForecast
public PlannedProductReachForecast.Builder setPlannedProductForecast(PlannedProductForecast value)
Forecasted traffic metrics for this product.
.google.ads.googleads.v13.services.PlannedProductForecast planned_product_forecast = 3;
-
setPlannedProductForecast
public PlannedProductReachForecast.Builder setPlannedProductForecast(PlannedProductForecast.Builder builderForValue)
Forecasted traffic metrics for this product.
.google.ads.googleads.v13.services.PlannedProductForecast planned_product_forecast = 3;
-
mergePlannedProductForecast
public PlannedProductReachForecast.Builder mergePlannedProductForecast(PlannedProductForecast value)
Forecasted traffic metrics for this product.
.google.ads.googleads.v13.services.PlannedProductForecast planned_product_forecast = 3;
-
clearPlannedProductForecast
public PlannedProductReachForecast.Builder clearPlannedProductForecast()
Forecasted traffic metrics for this product.
.google.ads.googleads.v13.services.PlannedProductForecast planned_product_forecast = 3;
-
getPlannedProductForecastBuilder
public PlannedProductForecast.Builder getPlannedProductForecastBuilder()
Forecasted traffic metrics for this product.
.google.ads.googleads.v13.services.PlannedProductForecast planned_product_forecast = 3;
-
getPlannedProductForecastOrBuilder
public PlannedProductForecastOrBuilder getPlannedProductForecastOrBuilder()
Forecasted traffic metrics for this product.
.google.ads.googleads.v13.services.PlannedProductForecast planned_product_forecast = 3;
- Specified by:
getPlannedProductForecastOrBuilder
in interfacePlannedProductReachForecastOrBuilder
-
setUnknownFields
public final PlannedProductReachForecast.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<PlannedProductReachForecast.Builder>
-
mergeUnknownFields
public final PlannedProductReachForecast.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<PlannedProductReachForecast.Builder>
-
-