Class ProductCoreAttributes.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ProductCoreAttributes.Builder>
com.google.ads.googleads.v24.services.ProductCoreAttributes.Builder
- All Implemented Interfaces:
ProductCoreAttributesOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ProductCoreAttributes
public static final class ProductCoreAttributes.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ProductCoreAttributes.Builder>
implements ProductCoreAttributesOrBuilder
A collection of attributes that offer more information about a specific product.Protobuf type
google.ads.googleads.v24.services.ProductCoreAttributes-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The method of buying this product.How an advertiser pays for their ad campaign.A specific, measurable goal that a company wants to achieve through its marketing efforts.The method of buying this product.intThe method of buying this product.How an advertiser pays for their ad campaign.intHow an advertiser pays for their ad campaign.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorA specific, measurable goal that a company wants to achieve through its marketing efforts.intA specific, measurable goal that a company wants to achieve through its marketing efforts.booleanThe method of buying this product.booleanHow an advertiser pays for their ad campaign.booleanA specific, measurable goal that a company wants to achieve through its marketing efforts.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(ProductCoreAttributes other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) The method of buying this product.setBuyingMethodValue(int value) The method of buying this product.How an advertiser pays for their ad campaign.setCostModelValue(int value) How an advertiser pays for their ad campaign.A specific, measurable goal that a company wants to achieve through its marketing efforts.setMarketingObjectiveValue(int value) A specific, measurable goal that a company wants to achieve through its marketing efforts.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<ProductCoreAttributes.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<ProductCoreAttributes.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<ProductCoreAttributes.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
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ProductCoreAttributes.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ProductCoreAttributes.Builder>
-
mergeFrom
public ProductCoreAttributes.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<ProductCoreAttributes.Builder>- Throws:
IOException
-
hasMarketingObjective
public boolean hasMarketingObjective()A specific, measurable goal that a company wants to achieve through its marketing efforts.
optional .google.ads.googleads.v24.enums.ReachPlanMarketingObjectiveEnum.ReachPlanMarketingObjective marketing_objective = 1;- Specified by:
hasMarketingObjectivein interfaceProductCoreAttributesOrBuilder- Returns:
- Whether the marketingObjective field is set.
-
getMarketingObjectiveValue
public int getMarketingObjectiveValue()A specific, measurable goal that a company wants to achieve through its marketing efforts.
optional .google.ads.googleads.v24.enums.ReachPlanMarketingObjectiveEnum.ReachPlanMarketingObjective marketing_objective = 1;- Specified by:
getMarketingObjectiveValuein interfaceProductCoreAttributesOrBuilder- Returns:
- The enum numeric value on the wire for marketingObjective.
-
setMarketingObjectiveValue
A specific, measurable goal that a company wants to achieve through its marketing efforts.
optional .google.ads.googleads.v24.enums.ReachPlanMarketingObjectiveEnum.ReachPlanMarketingObjective marketing_objective = 1;- Parameters:
value- The enum numeric value on the wire for marketingObjective to set.- Returns:
- This builder for chaining.
-
getMarketingObjective
A specific, measurable goal that a company wants to achieve through its marketing efforts.
optional .google.ads.googleads.v24.enums.ReachPlanMarketingObjectiveEnum.ReachPlanMarketingObjective marketing_objective = 1;- Specified by:
getMarketingObjectivein interfaceProductCoreAttributesOrBuilder- Returns:
- The marketingObjective.
-
setMarketingObjective
public ProductCoreAttributes.Builder setMarketingObjective(ReachPlanMarketingObjectiveEnum.ReachPlanMarketingObjective value) A specific, measurable goal that a company wants to achieve through its marketing efforts.
optional .google.ads.googleads.v24.enums.ReachPlanMarketingObjectiveEnum.ReachPlanMarketingObjective marketing_objective = 1;- Parameters:
value- The marketingObjective to set.- Returns:
- This builder for chaining.
-
clearMarketingObjective
A specific, measurable goal that a company wants to achieve through its marketing efforts.
optional .google.ads.googleads.v24.enums.ReachPlanMarketingObjectiveEnum.ReachPlanMarketingObjective marketing_objective = 1;- Returns:
- This builder for chaining.
-
hasCostModel
public boolean hasCostModel()How an advertiser pays for their ad campaign.
optional .google.ads.googleads.v24.enums.ReachPlanCostModelEnum.ReachPlanCostModel cost_model = 2;- Specified by:
hasCostModelin interfaceProductCoreAttributesOrBuilder- Returns:
- Whether the costModel field is set.
-
getCostModelValue
public int getCostModelValue()How an advertiser pays for their ad campaign.
optional .google.ads.googleads.v24.enums.ReachPlanCostModelEnum.ReachPlanCostModel cost_model = 2;- Specified by:
getCostModelValuein interfaceProductCoreAttributesOrBuilder- Returns:
- The enum numeric value on the wire for costModel.
-
setCostModelValue
How an advertiser pays for their ad campaign.
optional .google.ads.googleads.v24.enums.ReachPlanCostModelEnum.ReachPlanCostModel cost_model = 2;- Parameters:
value- The enum numeric value on the wire for costModel to set.- Returns:
- This builder for chaining.
-
getCostModel
How an advertiser pays for their ad campaign.
optional .google.ads.googleads.v24.enums.ReachPlanCostModelEnum.ReachPlanCostModel cost_model = 2;- Specified by:
getCostModelin interfaceProductCoreAttributesOrBuilder- Returns:
- The costModel.
-
setCostModel
How an advertiser pays for their ad campaign.
optional .google.ads.googleads.v24.enums.ReachPlanCostModelEnum.ReachPlanCostModel cost_model = 2;- Parameters:
value- The costModel to set.- Returns:
- This builder for chaining.
-
clearCostModel
How an advertiser pays for their ad campaign.
optional .google.ads.googleads.v24.enums.ReachPlanCostModelEnum.ReachPlanCostModel cost_model = 2;- Returns:
- This builder for chaining.
-
hasBuyingMethod
public boolean hasBuyingMethod()The method of buying this product. For example, Auction pricing is dynamic and Reservation is booked at a fixed price.
optional .google.ads.googleads.v24.enums.ReachPlanBuyingMethodEnum.ReachPlanBuyingMethod buying_method = 3;- Specified by:
hasBuyingMethodin interfaceProductCoreAttributesOrBuilder- Returns:
- Whether the buyingMethod field is set.
-
getBuyingMethodValue
public int getBuyingMethodValue()The method of buying this product. For example, Auction pricing is dynamic and Reservation is booked at a fixed price.
optional .google.ads.googleads.v24.enums.ReachPlanBuyingMethodEnum.ReachPlanBuyingMethod buying_method = 3;- Specified by:
getBuyingMethodValuein interfaceProductCoreAttributesOrBuilder- Returns:
- The enum numeric value on the wire for buyingMethod.
-
setBuyingMethodValue
The method of buying this product. For example, Auction pricing is dynamic and Reservation is booked at a fixed price.
optional .google.ads.googleads.v24.enums.ReachPlanBuyingMethodEnum.ReachPlanBuyingMethod buying_method = 3;- Parameters:
value- The enum numeric value on the wire for buyingMethod to set.- Returns:
- This builder for chaining.
-
getBuyingMethod
The method of buying this product. For example, Auction pricing is dynamic and Reservation is booked at a fixed price.
optional .google.ads.googleads.v24.enums.ReachPlanBuyingMethodEnum.ReachPlanBuyingMethod buying_method = 3;- Specified by:
getBuyingMethodin interfaceProductCoreAttributesOrBuilder- Returns:
- The buyingMethod.
-
setBuyingMethod
public ProductCoreAttributes.Builder setBuyingMethod(ReachPlanBuyingMethodEnum.ReachPlanBuyingMethod value) The method of buying this product. For example, Auction pricing is dynamic and Reservation is booked at a fixed price.
optional .google.ads.googleads.v24.enums.ReachPlanBuyingMethodEnum.ReachPlanBuyingMethod buying_method = 3;- Parameters:
value- The buyingMethod to set.- Returns:
- This builder for chaining.
-
clearBuyingMethod
The method of buying this product. For example, Auction pricing is dynamic and Reservation is booked at a fixed price.
optional .google.ads.googleads.v24.enums.ReachPlanBuyingMethodEnum.ReachPlanBuyingMethod buying_method = 3;- Returns:
- This builder for chaining.
-