Class ProductBiddingCategoryInfo.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ProductBiddingCategoryInfo.Builder>
-
- com.google.ads.googleads.v10.common.ProductBiddingCategoryInfo.Builder
-
- All Implemented Interfaces:
ProductBiddingCategoryInfoOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable
- Enclosing class:
- ProductBiddingCategoryInfo
public static final class ProductBiddingCategoryInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ProductBiddingCategoryInfo.Builder> implements ProductBiddingCategoryInfoOrBuilder
Bidding category of a product offer.
Protobuf typegoogle.ads.googleads.v10.common.ProductBiddingCategoryInfo
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ProductBiddingCategoryInfo.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)ProductBiddingCategoryInfobuild()ProductBiddingCategoryInfobuildPartial()ProductBiddingCategoryInfo.Builderclear()ProductBiddingCategoryInfo.BuilderclearCountryCode()Two-letter upper-case country code of the product bidding category.ProductBiddingCategoryInfo.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ProductBiddingCategoryInfo.BuilderclearId()ID of the product bidding category.ProductBiddingCategoryInfo.BuilderclearLevel()Level of the product bidding category.ProductBiddingCategoryInfo.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ProductBiddingCategoryInfo.Builderclone()java.lang.StringgetCountryCode()Two-letter upper-case country code of the product bidding category.com.google.protobuf.ByteStringgetCountryCodeBytes()Two-letter upper-case country code of the product bidding category.ProductBiddingCategoryInfogetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()longgetId()ID of the product bidding category.ProductBiddingCategoryLevelEnum.ProductBiddingCategoryLevelgetLevel()Level of the product bidding category.intgetLevelValue()Level of the product bidding category.booleanhasCountryCode()Two-letter upper-case country code of the product bidding category.booleanhasId()ID of the product bidding category.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ProductBiddingCategoryInfo.BuildermergeFrom(ProductBiddingCategoryInfo other)ProductBiddingCategoryInfo.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ProductBiddingCategoryInfo.BuildermergeFrom(com.google.protobuf.Message other)ProductBiddingCategoryInfo.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ProductBiddingCategoryInfo.BuildersetCountryCode(java.lang.String value)Two-letter upper-case country code of the product bidding category.ProductBiddingCategoryInfo.BuildersetCountryCodeBytes(com.google.protobuf.ByteString value)Two-letter upper-case country code of the product bidding category.ProductBiddingCategoryInfo.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)ProductBiddingCategoryInfo.BuildersetId(long value)ID of the product bidding category.ProductBiddingCategoryInfo.BuildersetLevel(ProductBiddingCategoryLevelEnum.ProductBiddingCategoryLevel value)Level of the product bidding category.ProductBiddingCategoryInfo.BuildersetLevelValue(int value)Level of the product bidding category.ProductBiddingCategoryInfo.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)ProductBiddingCategoryInfo.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
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<ProductBiddingCategoryInfo.Builder>
-
clear
public ProductBiddingCategoryInfo.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<ProductBiddingCategoryInfo.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<ProductBiddingCategoryInfo.Builder>
-
getDefaultInstanceForType
public ProductBiddingCategoryInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ProductBiddingCategoryInfo build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ProductBiddingCategoryInfo buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ProductBiddingCategoryInfo.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<ProductBiddingCategoryInfo.Builder>
-
setField
public ProductBiddingCategoryInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ProductBiddingCategoryInfo.Builder>
-
clearField
public ProductBiddingCategoryInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ProductBiddingCategoryInfo.Builder>
-
clearOneof
public ProductBiddingCategoryInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ProductBiddingCategoryInfo.Builder>
-
setRepeatedField
public ProductBiddingCategoryInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ProductBiddingCategoryInfo.Builder>
-
addRepeatedField
public ProductBiddingCategoryInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ProductBiddingCategoryInfo.Builder>
-
mergeFrom
public ProductBiddingCategoryInfo.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ProductBiddingCategoryInfo.Builder>
-
mergeFrom
public ProductBiddingCategoryInfo.Builder mergeFrom(ProductBiddingCategoryInfo other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ProductBiddingCategoryInfo.Builder>
-
mergeFrom
public ProductBiddingCategoryInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ProductBiddingCategoryInfo.Builder>- Throws:
java.io.IOException
-
hasId
public boolean hasId()
ID of the product bidding category. This ID is equivalent to the google_product_category ID as described in this article: https://support.google.com/merchants/answer/6324436
optional int64 id = 4;- Specified by:
hasIdin interfaceProductBiddingCategoryInfoOrBuilder- Returns:
- Whether the id field is set.
-
getId
public long getId()
ID of the product bidding category. This ID is equivalent to the google_product_category ID as described in this article: https://support.google.com/merchants/answer/6324436
optional int64 id = 4;- Specified by:
getIdin interfaceProductBiddingCategoryInfoOrBuilder- Returns:
- The id.
-
setId
public ProductBiddingCategoryInfo.Builder setId(long value)
ID of the product bidding category. This ID is equivalent to the google_product_category ID as described in this article: https://support.google.com/merchants/answer/6324436
optional int64 id = 4;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
public ProductBiddingCategoryInfo.Builder clearId()
ID of the product bidding category. This ID is equivalent to the google_product_category ID as described in this article: https://support.google.com/merchants/answer/6324436
optional int64 id = 4;- Returns:
- This builder for chaining.
-
hasCountryCode
public boolean hasCountryCode()
Two-letter upper-case country code of the product bidding category. It must match the campaign.shopping_setting.sales_country field.
optional string country_code = 5;- Specified by:
hasCountryCodein interfaceProductBiddingCategoryInfoOrBuilder- Returns:
- Whether the countryCode field is set.
-
getCountryCode
public java.lang.String getCountryCode()
Two-letter upper-case country code of the product bidding category. It must match the campaign.shopping_setting.sales_country field.
optional string country_code = 5;- Specified by:
getCountryCodein interfaceProductBiddingCategoryInfoOrBuilder- Returns:
- The countryCode.
-
getCountryCodeBytes
public com.google.protobuf.ByteString getCountryCodeBytes()
Two-letter upper-case country code of the product bidding category. It must match the campaign.shopping_setting.sales_country field.
optional string country_code = 5;- Specified by:
getCountryCodeBytesin interfaceProductBiddingCategoryInfoOrBuilder- Returns:
- The bytes for countryCode.
-
setCountryCode
public ProductBiddingCategoryInfo.Builder setCountryCode(java.lang.String value)
Two-letter upper-case country code of the product bidding category. It must match the campaign.shopping_setting.sales_country field.
optional string country_code = 5;- Parameters:
value- The countryCode to set.- Returns:
- This builder for chaining.
-
clearCountryCode
public ProductBiddingCategoryInfo.Builder clearCountryCode()
Two-letter upper-case country code of the product bidding category. It must match the campaign.shopping_setting.sales_country field.
optional string country_code = 5;- Returns:
- This builder for chaining.
-
setCountryCodeBytes
public ProductBiddingCategoryInfo.Builder setCountryCodeBytes(com.google.protobuf.ByteString value)
Two-letter upper-case country code of the product bidding category. It must match the campaign.shopping_setting.sales_country field.
optional string country_code = 5;- Parameters:
value- The bytes for countryCode to set.- Returns:
- This builder for chaining.
-
getLevelValue
public int getLevelValue()
Level of the product bidding category.
.google.ads.googleads.v10.enums.ProductBiddingCategoryLevelEnum.ProductBiddingCategoryLevel level = 3;- Specified by:
getLevelValuein interfaceProductBiddingCategoryInfoOrBuilder- Returns:
- The enum numeric value on the wire for level.
-
setLevelValue
public ProductBiddingCategoryInfo.Builder setLevelValue(int value)
Level of the product bidding category.
.google.ads.googleads.v10.enums.ProductBiddingCategoryLevelEnum.ProductBiddingCategoryLevel level = 3;- Parameters:
value- The enum numeric value on the wire for level to set.- Returns:
- This builder for chaining.
-
getLevel
public ProductBiddingCategoryLevelEnum.ProductBiddingCategoryLevel getLevel()
Level of the product bidding category.
.google.ads.googleads.v10.enums.ProductBiddingCategoryLevelEnum.ProductBiddingCategoryLevel level = 3;- Specified by:
getLevelin interfaceProductBiddingCategoryInfoOrBuilder- Returns:
- The level.
-
setLevel
public ProductBiddingCategoryInfo.Builder setLevel(ProductBiddingCategoryLevelEnum.ProductBiddingCategoryLevel value)
Level of the product bidding category.
.google.ads.googleads.v10.enums.ProductBiddingCategoryLevelEnum.ProductBiddingCategoryLevel level = 3;- Parameters:
value- The level to set.- Returns:
- This builder for chaining.
-
clearLevel
public ProductBiddingCategoryInfo.Builder clearLevel()
Level of the product bidding category.
.google.ads.googleads.v10.enums.ProductBiddingCategoryLevelEnum.ProductBiddingCategoryLevel level = 3;- Returns:
- This builder for chaining.
-
setUnknownFields
public final ProductBiddingCategoryInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ProductBiddingCategoryInfo.Builder>
-
mergeUnknownFields
public final ProductBiddingCategoryInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ProductBiddingCategoryInfo.Builder>
-
-