Class TargetCpaSimulationPoint.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<TargetCpaSimulationPoint.Builder>
com.google.ads.googleads.v18.common.TargetCpaSimulationPoint.Builder
- All Implemented Interfaces:
TargetCpaSimulationPointOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- TargetCpaSimulationPoint
public static final class TargetCpaSimulationPoint.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<TargetCpaSimulationPoint.Builder>
implements TargetCpaSimulationPointOrBuilder
Projected metrics for a specific target CPA amount.Protobuf type
google.ads.googleads.v18.common.TargetCpaSimulationPoint-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Projected number of app installs.Projected number of biddable conversions.Projected total value of biddable conversions.Projected number of clicks.Projected cost in micros.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Projected number of impressions.Projected number of in-app actions.Projected number of interactions.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Projected required daily budget that the advertiser must set in order to receive the estimated traffic, in micros of advertiser currency.The simulated target CPA upon which projected metrics are based.The simulated scaling modifier upon which projected metrics are based.Projected number of top slot impressions.clone()doubleProjected number of app installs.doubleProjected number of biddable conversions.doubleProjected total value of biddable conversions.longProjected number of clicks.longProjected cost in micros.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorlongProjected number of impressions.doubleProjected number of in-app actions.longProjected number of interactions.longProjected required daily budget that the advertiser must set in order to receive the estimated traffic, in micros of advertiser currency.longThe simulated target CPA upon which projected metrics are based.doubleThe simulated scaling modifier upon which projected metrics are based.longProjected number of top slot impressions.booleanProjected number of biddable conversions.booleanProjected total value of biddable conversions.booleanProjected number of clicks.booleanProjected cost in micros.booleanProjected number of impressions.booleanProjected number of interactions.booleanThe simulated target CPA upon which projected metrics are based.booleanThe simulated scaling modifier upon which projected metrics are based.booleanProjected number of top slot impressions.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setAppInstalls(double value) Projected number of app installs.setBiddableConversions(double value) Projected number of biddable conversions.setBiddableConversionsValue(double value) Projected total value of biddable conversions.setClicks(long value) Projected number of clicks.setCostMicros(long value) Projected cost in micros.setImpressions(long value) Projected number of impressions.setInAppActions(double value) Projected number of in-app actions.setInteractions(long value) Projected number of interactions.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRequiredBudgetAmountMicros(long value) Projected required daily budget that the advertiser must set in order to receive the estimated traffic, in micros of advertiser currency.setTargetCpaMicros(long value) The simulated target CPA upon which projected metrics are based.setTargetCpaScalingModifier(double value) The simulated scaling modifier upon which projected metrics are based.setTopSlotImpressions(long value) Projected number of top slot impressions.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, 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<TargetCpaSimulationPoint.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<TargetCpaSimulationPoint.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<TargetCpaSimulationPoint.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<TargetCpaSimulationPoint.Builder>
-
setField
public TargetCpaSimulationPoint.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<TargetCpaSimulationPoint.Builder>
-
clearField
public TargetCpaSimulationPoint.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TargetCpaSimulationPoint.Builder>
-
clearOneof
public TargetCpaSimulationPoint.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<TargetCpaSimulationPoint.Builder>
-
setRepeatedField
public TargetCpaSimulationPoint.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<TargetCpaSimulationPoint.Builder>
-
addRepeatedField
public TargetCpaSimulationPoint.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<TargetCpaSimulationPoint.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TargetCpaSimulationPoint.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<TargetCpaSimulationPoint.Builder>
-
mergeFrom
public TargetCpaSimulationPoint.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<TargetCpaSimulationPoint.Builder>- Throws:
IOException
-
getTargetCpaSimulationKeyValueCase
public TargetCpaSimulationPoint.TargetCpaSimulationKeyValueCase getTargetCpaSimulationKeyValueCase()- Specified by:
getTargetCpaSimulationKeyValueCasein interfaceTargetCpaSimulationPointOrBuilder
-
clearTargetCpaSimulationKeyValue
-
getRequiredBudgetAmountMicros
public long getRequiredBudgetAmountMicros()Projected required daily budget that the advertiser must set in order to receive the estimated traffic, in micros of advertiser currency.
int64 required_budget_amount_micros = 19;- Specified by:
getRequiredBudgetAmountMicrosin interfaceTargetCpaSimulationPointOrBuilder- Returns:
- The requiredBudgetAmountMicros.
-
setRequiredBudgetAmountMicros
Projected required daily budget that the advertiser must set in order to receive the estimated traffic, in micros of advertiser currency.
int64 required_budget_amount_micros = 19;- Parameters:
value- The requiredBudgetAmountMicros to set.- Returns:
- This builder for chaining.
-
clearRequiredBudgetAmountMicros
Projected required daily budget that the advertiser must set in order to receive the estimated traffic, in micros of advertiser currency.
int64 required_budget_amount_micros = 19;- Returns:
- This builder for chaining.
-
hasBiddableConversions
public boolean hasBiddableConversions()Projected number of biddable conversions.
optional double biddable_conversions = 9;- Specified by:
hasBiddableConversionsin interfaceTargetCpaSimulationPointOrBuilder- Returns:
- Whether the biddableConversions field is set.
-
getBiddableConversions
public double getBiddableConversions()Projected number of biddable conversions.
optional double biddable_conversions = 9;- Specified by:
getBiddableConversionsin interfaceTargetCpaSimulationPointOrBuilder- Returns:
- The biddableConversions.
-
setBiddableConversions
Projected number of biddable conversions.
optional double biddable_conversions = 9;- Parameters:
value- The biddableConversions to set.- Returns:
- This builder for chaining.
-
clearBiddableConversions
Projected number of biddable conversions.
optional double biddable_conversions = 9;- Returns:
- This builder for chaining.
-
hasBiddableConversionsValue
public boolean hasBiddableConversionsValue()Projected total value of biddable conversions.
optional double biddable_conversions_value = 10;- Specified by:
hasBiddableConversionsValuein interfaceTargetCpaSimulationPointOrBuilder- Returns:
- Whether the biddableConversionsValue field is set.
-
getBiddableConversionsValue
public double getBiddableConversionsValue()Projected total value of biddable conversions.
optional double biddable_conversions_value = 10;- Specified by:
getBiddableConversionsValuein interfaceTargetCpaSimulationPointOrBuilder- Returns:
- The biddableConversionsValue.
-
setBiddableConversionsValue
Projected total value of biddable conversions.
optional double biddable_conversions_value = 10;- Parameters:
value- The biddableConversionsValue to set.- Returns:
- This builder for chaining.
-
clearBiddableConversionsValue
Projected total value of biddable conversions.
optional double biddable_conversions_value = 10;- Returns:
- This builder for chaining.
-
getAppInstalls
public double getAppInstalls()Projected number of app installs.
double app_installs = 15;- Specified by:
getAppInstallsin interfaceTargetCpaSimulationPointOrBuilder- Returns:
- The appInstalls.
-
setAppInstalls
Projected number of app installs.
double app_installs = 15;- Parameters:
value- The appInstalls to set.- Returns:
- This builder for chaining.
-
clearAppInstalls
Projected number of app installs.
double app_installs = 15;- Returns:
- This builder for chaining.
-
getInAppActions
public double getInAppActions()Projected number of in-app actions.
double in_app_actions = 16;- Specified by:
getInAppActionsin interfaceTargetCpaSimulationPointOrBuilder- Returns:
- The inAppActions.
-
setInAppActions
Projected number of in-app actions.
double in_app_actions = 16;- Parameters:
value- The inAppActions to set.- Returns:
- This builder for chaining.
-
clearInAppActions
Projected number of in-app actions.
double in_app_actions = 16;- Returns:
- This builder for chaining.
-
hasClicks
public boolean hasClicks()Projected number of clicks.
optional int64 clicks = 11;- Specified by:
hasClicksin interfaceTargetCpaSimulationPointOrBuilder- Returns:
- Whether the clicks field is set.
-
getClicks
public long getClicks()Projected number of clicks.
optional int64 clicks = 11;- Specified by:
getClicksin interfaceTargetCpaSimulationPointOrBuilder- Returns:
- The clicks.
-
setClicks
Projected number of clicks.
optional int64 clicks = 11;- Parameters:
value- The clicks to set.- Returns:
- This builder for chaining.
-
clearClicks
Projected number of clicks.
optional int64 clicks = 11;- Returns:
- This builder for chaining.
-
hasCostMicros
public boolean hasCostMicros()Projected cost in micros.
optional int64 cost_micros = 12;- Specified by:
hasCostMicrosin interfaceTargetCpaSimulationPointOrBuilder- Returns:
- Whether the costMicros field is set.
-
getCostMicros
public long getCostMicros()Projected cost in micros.
optional int64 cost_micros = 12;- Specified by:
getCostMicrosin interfaceTargetCpaSimulationPointOrBuilder- Returns:
- The costMicros.
-
setCostMicros
Projected cost in micros.
optional int64 cost_micros = 12;- Parameters:
value- The costMicros to set.- Returns:
- This builder for chaining.
-
clearCostMicros
Projected cost in micros.
optional int64 cost_micros = 12;- Returns:
- This builder for chaining.
-
hasImpressions
public boolean hasImpressions()Projected number of impressions.
optional int64 impressions = 13;- Specified by:
hasImpressionsin interfaceTargetCpaSimulationPointOrBuilder- Returns:
- Whether the impressions field is set.
-
getImpressions
public long getImpressions()Projected number of impressions.
optional int64 impressions = 13;- Specified by:
getImpressionsin interfaceTargetCpaSimulationPointOrBuilder- Returns:
- The impressions.
-
setImpressions
Projected number of impressions.
optional int64 impressions = 13;- Parameters:
value- The impressions to set.- Returns:
- This builder for chaining.
-
clearImpressions
Projected number of impressions.
optional int64 impressions = 13;- Returns:
- This builder for chaining.
-
hasTopSlotImpressions
public boolean hasTopSlotImpressions()Projected number of top slot impressions. Only search advertising channel type supports this field.
optional int64 top_slot_impressions = 14;- Specified by:
hasTopSlotImpressionsin interfaceTargetCpaSimulationPointOrBuilder- Returns:
- Whether the topSlotImpressions field is set.
-
getTopSlotImpressions
public long getTopSlotImpressions()Projected number of top slot impressions. Only search advertising channel type supports this field.
optional int64 top_slot_impressions = 14;- Specified by:
getTopSlotImpressionsin interfaceTargetCpaSimulationPointOrBuilder- Returns:
- The topSlotImpressions.
-
setTopSlotImpressions
Projected number of top slot impressions. Only search advertising channel type supports this field.
optional int64 top_slot_impressions = 14;- Parameters:
value- The topSlotImpressions to set.- Returns:
- This builder for chaining.
-
clearTopSlotImpressions
Projected number of top slot impressions. Only search advertising channel type supports this field.
optional int64 top_slot_impressions = 14;- Returns:
- This builder for chaining.
-
hasInteractions
public boolean hasInteractions()Projected number of interactions. Only discovery advertising channel type supports this field.
optional int64 interactions = 20;- Specified by:
hasInteractionsin interfaceTargetCpaSimulationPointOrBuilder- Returns:
- Whether the interactions field is set.
-
getInteractions
public long getInteractions()Projected number of interactions. Only discovery advertising channel type supports this field.
optional int64 interactions = 20;- Specified by:
getInteractionsin interfaceTargetCpaSimulationPointOrBuilder- Returns:
- The interactions.
-
setInteractions
Projected number of interactions. Only discovery advertising channel type supports this field.
optional int64 interactions = 20;- Parameters:
value- The interactions to set.- Returns:
- This builder for chaining.
-
clearInteractions
Projected number of interactions. Only discovery advertising channel type supports this field.
optional int64 interactions = 20;- Returns:
- This builder for chaining.
-
hasTargetCpaMicros
public boolean hasTargetCpaMicros()The simulated target CPA upon which projected metrics are based.
int64 target_cpa_micros = 17;- Specified by:
hasTargetCpaMicrosin interfaceTargetCpaSimulationPointOrBuilder- Returns:
- Whether the targetCpaMicros field is set.
-
getTargetCpaMicros
public long getTargetCpaMicros()The simulated target CPA upon which projected metrics are based.
int64 target_cpa_micros = 17;- Specified by:
getTargetCpaMicrosin interfaceTargetCpaSimulationPointOrBuilder- Returns:
- The targetCpaMicros.
-
setTargetCpaMicros
The simulated target CPA upon which projected metrics are based.
int64 target_cpa_micros = 17;- Parameters:
value- The targetCpaMicros to set.- Returns:
- This builder for chaining.
-
clearTargetCpaMicros
The simulated target CPA upon which projected metrics are based.
int64 target_cpa_micros = 17;- Returns:
- This builder for chaining.
-
hasTargetCpaScalingModifier
public boolean hasTargetCpaScalingModifier()The simulated scaling modifier upon which projected metrics are based. All CPA targets relevant to the simulated entity are scaled by this modifier.
double target_cpa_scaling_modifier = 18;- Specified by:
hasTargetCpaScalingModifierin interfaceTargetCpaSimulationPointOrBuilder- Returns:
- Whether the targetCpaScalingModifier field is set.
-
getTargetCpaScalingModifier
public double getTargetCpaScalingModifier()The simulated scaling modifier upon which projected metrics are based. All CPA targets relevant to the simulated entity are scaled by this modifier.
double target_cpa_scaling_modifier = 18;- Specified by:
getTargetCpaScalingModifierin interfaceTargetCpaSimulationPointOrBuilder- Returns:
- The targetCpaScalingModifier.
-
setTargetCpaScalingModifier
The simulated scaling modifier upon which projected metrics are based. All CPA targets relevant to the simulated entity are scaled by this modifier.
double target_cpa_scaling_modifier = 18;- Parameters:
value- The targetCpaScalingModifier to set.- Returns:
- This builder for chaining.
-
clearTargetCpaScalingModifier
The simulated scaling modifier upon which projected metrics are based. All CPA targets relevant to the simulated entity are scaled by this modifier.
double target_cpa_scaling_modifier = 18;- Returns:
- This builder for chaining.
-
setUnknownFields
public final TargetCpaSimulationPoint.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TargetCpaSimulationPoint.Builder>
-
mergeUnknownFields
public final TargetCpaSimulationPoint.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TargetCpaSimulationPoint.Builder>
-