Class Recommendation.CampaignBudgetRecommendation.CampaignBudgetRecommendationOption.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Recommendation.CampaignBudgetRecommendation.CampaignBudgetRecommendationOption.Builder>
com.google.ads.googleads.v23.resources.Recommendation.CampaignBudgetRecommendation.CampaignBudgetRecommendationOption.Builder
- All Implemented Interfaces:
Recommendation.CampaignBudgetRecommendation.CampaignBudgetRecommendationOptionOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
public static final class Recommendation.CampaignBudgetRecommendation.CampaignBudgetRecommendationOption.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Recommendation.CampaignBudgetRecommendation.CampaignBudgetRecommendationOption.Builder>
implements Recommendation.CampaignBudgetRecommendation.CampaignBudgetRecommendationOptionOrBuilder
The impact estimates for a given budget amount.Protobuf type
google.ads.googleads.v23.resources.Recommendation.CampaignBudgetRecommendation.CampaignBudgetRecommendationOption-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Output only.longOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOutput only.Output only.Output only.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Output only.setBudgetAmountMicros(long value) Output only.Output only.setImpact(Recommendation.RecommendationImpact.Builder builderForValue) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, 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.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Recommendation.CampaignBudgetRecommendation.CampaignBudgetRecommendationOption.Builder>
-
clear
public Recommendation.CampaignBudgetRecommendation.CampaignBudgetRecommendationOption.Builder clear()- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Recommendation.CampaignBudgetRecommendation.CampaignBudgetRecommendationOption.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.GeneratedMessage.Builder<Recommendation.CampaignBudgetRecommendation.CampaignBudgetRecommendationOption.Builder>
-
getDefaultInstanceForType
public Recommendation.CampaignBudgetRecommendation.CampaignBudgetRecommendationOption 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
public Recommendation.CampaignBudgetRecommendation.CampaignBudgetRecommendationOption buildPartial()- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public Recommendation.CampaignBudgetRecommendation.CampaignBudgetRecommendationOption.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Recommendation.CampaignBudgetRecommendation.CampaignBudgetRecommendationOption.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Recommendation.CampaignBudgetRecommendation.CampaignBudgetRecommendationOption.Builder>
-
mergeFrom
public Recommendation.CampaignBudgetRecommendation.CampaignBudgetRecommendationOption.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<Recommendation.CampaignBudgetRecommendation.CampaignBudgetRecommendationOption.Builder>- Throws:
IOException
-
hasBudgetAmountMicros
public boolean hasBudgetAmountMicros()Output only. The budget amount for this option.
optional int64 budget_amount_micros = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasBudgetAmountMicrosin interfaceRecommendation.CampaignBudgetRecommendation.CampaignBudgetRecommendationOptionOrBuilder- Returns:
- Whether the budgetAmountMicros field is set.
-
getBudgetAmountMicros
public long getBudgetAmountMicros()Output only. The budget amount for this option.
optional int64 budget_amount_micros = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getBudgetAmountMicrosin interfaceRecommendation.CampaignBudgetRecommendation.CampaignBudgetRecommendationOptionOrBuilder- Returns:
- The budgetAmountMicros.
-
setBudgetAmountMicros
public Recommendation.CampaignBudgetRecommendation.CampaignBudgetRecommendationOption.Builder setBudgetAmountMicros(long value) Output only. The budget amount for this option.
optional int64 budget_amount_micros = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The budgetAmountMicros to set.- Returns:
- This builder for chaining.
-
clearBudgetAmountMicros
public Recommendation.CampaignBudgetRecommendation.CampaignBudgetRecommendationOption.Builder clearBudgetAmountMicros()Output only. The budget amount for this option.
optional int64 budget_amount_micros = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
hasImpact
public boolean hasImpact()Output only. The impact estimate if budget is changed to amount specified in this option.
.google.ads.googleads.v23.resources.Recommendation.RecommendationImpact impact = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasImpactin interfaceRecommendation.CampaignBudgetRecommendation.CampaignBudgetRecommendationOptionOrBuilder- Returns:
- Whether the impact field is set.
-
getImpact
Output only. The impact estimate if budget is changed to amount specified in this option.
.google.ads.googleads.v23.resources.Recommendation.RecommendationImpact impact = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getImpactin interfaceRecommendation.CampaignBudgetRecommendation.CampaignBudgetRecommendationOptionOrBuilder- Returns:
- The impact.
-
setImpact
public Recommendation.CampaignBudgetRecommendation.CampaignBudgetRecommendationOption.Builder setImpact(Recommendation.RecommendationImpact value) Output only. The impact estimate if budget is changed to amount specified in this option.
.google.ads.googleads.v23.resources.Recommendation.RecommendationImpact impact = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setImpact
public Recommendation.CampaignBudgetRecommendation.CampaignBudgetRecommendationOption.Builder setImpact(Recommendation.RecommendationImpact.Builder builderForValue) Output only. The impact estimate if budget is changed to amount specified in this option.
.google.ads.googleads.v23.resources.Recommendation.RecommendationImpact impact = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeImpact
public Recommendation.CampaignBudgetRecommendation.CampaignBudgetRecommendationOption.Builder mergeImpact(Recommendation.RecommendationImpact value) Output only. The impact estimate if budget is changed to amount specified in this option.
.google.ads.googleads.v23.resources.Recommendation.RecommendationImpact impact = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearImpact
public Recommendation.CampaignBudgetRecommendation.CampaignBudgetRecommendationOption.Builder clearImpact()Output only. The impact estimate if budget is changed to amount specified in this option.
.google.ads.googleads.v23.resources.Recommendation.RecommendationImpact impact = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getImpactBuilder
Output only. The impact estimate if budget is changed to amount specified in this option.
.google.ads.googleads.v23.resources.Recommendation.RecommendationImpact impact = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getImpactOrBuilder
Output only. The impact estimate if budget is changed to amount specified in this option.
.google.ads.googleads.v23.resources.Recommendation.RecommendationImpact impact = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getImpactOrBuilderin interfaceRecommendation.CampaignBudgetRecommendation.CampaignBudgetRecommendationOptionOrBuilder
-