Class ProductMetadata.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ProductMetadata.Builder>
com.google.ads.googleads.v24.services.ProductMetadata.Builder
- All Implemented Interfaces:
ProductMetadataOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ProductMetadata
public static final class ProductMetadata.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ProductMetadata.Builder>
implements ProductMetadataOrBuilder
The metadata associated with an available plannable product.Protobuf type
google.ads.googleads.v24.services.ProductMetadata-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The code associated with the ad product.Descriptive attributes of the ad product to further describe its capabilities.The plain-text description of the ad product.The name associated with the ad product.The allowed plannable targeting for this product.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe code associated with the ad product.com.google.protobuf.ByteStringThe code associated with the ad product.Descriptive attributes of the ad product to further describe its capabilities.Descriptive attributes of the ad product to further describe its capabilities.Descriptive attributes of the ad product to further describe its capabilities.The plain-text description of the ad product.com.google.protobuf.ByteStringThe plain-text description of the ad product.The name associated with the ad product.com.google.protobuf.ByteStringThe name associated with the ad product.The allowed plannable targeting for this product.The allowed plannable targeting for this product.The allowed plannable targeting for this product.booleanThe code associated with the ad product.booleanDescriptive attributes of the ad product to further describe its capabilities.booleanThe plain-text description of the ad product.booleanThe allowed plannable targeting for this product.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(ProductMetadata other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Descriptive attributes of the ad product to further describe its capabilities.The allowed plannable targeting for this product.setPlannableProductCode(String value) The code associated with the ad product.setPlannableProductCodeBytes(com.google.protobuf.ByteString value) The code associated with the ad product.Descriptive attributes of the ad product to further describe its capabilities.setPlannableProductCoreAttributes(ProductCoreAttributes.Builder builderForValue) Descriptive attributes of the ad product to further describe its capabilities.The plain-text description of the ad product.setPlannableProductDescriptionBytes(com.google.protobuf.ByteString value) The plain-text description of the ad product.setPlannableProductName(String value) The name associated with the ad product.setPlannableProductNameBytes(com.google.protobuf.ByteString value) The name associated with the ad product.The allowed plannable targeting for this product.setPlannableTargeting(PlannableTargeting.Builder builderForValue) The allowed plannable targeting for this product.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<ProductMetadata.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<ProductMetadata.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<ProductMetadata.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<ProductMetadata.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ProductMetadata.Builder>
-
mergeFrom
public ProductMetadata.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<ProductMetadata.Builder>- Throws:
IOException
-
hasPlannableProductCode
public boolean hasPlannableProductCode()The code associated with the ad product. For example: "VIDEO_VIEW_CAMPAIGN". To list the available plannable product codes use [ReachPlanService.ListPlannableProducts][google.ads.googleads.v24.services.ReachPlanService.ListPlannableProducts].
optional string plannable_product_code = 4;- Specified by:
hasPlannableProductCodein interfaceProductMetadataOrBuilder- Returns:
- Whether the plannableProductCode field is set.
-
getPlannableProductCode
The code associated with the ad product. For example: "VIDEO_VIEW_CAMPAIGN". To list the available plannable product codes use [ReachPlanService.ListPlannableProducts][google.ads.googleads.v24.services.ReachPlanService.ListPlannableProducts].
optional string plannable_product_code = 4;- Specified by:
getPlannableProductCodein interfaceProductMetadataOrBuilder- Returns:
- The plannableProductCode.
-
getPlannableProductCodeBytes
public com.google.protobuf.ByteString getPlannableProductCodeBytes()The code associated with the ad product. For example: "VIDEO_VIEW_CAMPAIGN". To list the available plannable product codes use [ReachPlanService.ListPlannableProducts][google.ads.googleads.v24.services.ReachPlanService.ListPlannableProducts].
optional string plannable_product_code = 4;- Specified by:
getPlannableProductCodeBytesin interfaceProductMetadataOrBuilder- Returns:
- The bytes for plannableProductCode.
-
setPlannableProductCode
The code associated with the ad product. For example: "VIDEO_VIEW_CAMPAIGN". To list the available plannable product codes use [ReachPlanService.ListPlannableProducts][google.ads.googleads.v24.services.ReachPlanService.ListPlannableProducts].
optional string plannable_product_code = 4;- Parameters:
value- The plannableProductCode to set.- Returns:
- This builder for chaining.
-
clearPlannableProductCode
The code associated with the ad product. For example: "VIDEO_VIEW_CAMPAIGN". To list the available plannable product codes use [ReachPlanService.ListPlannableProducts][google.ads.googleads.v24.services.ReachPlanService.ListPlannableProducts].
optional string plannable_product_code = 4;- Returns:
- This builder for chaining.
-
setPlannableProductCodeBytes
The code associated with the ad product. For example: "VIDEO_VIEW_CAMPAIGN". To list the available plannable product codes use [ReachPlanService.ListPlannableProducts][google.ads.googleads.v24.services.ReachPlanService.ListPlannableProducts].
optional string plannable_product_code = 4;- Parameters:
value- The bytes for plannableProductCode to set.- Returns:
- This builder for chaining.
-
getPlannableProductName
The name associated with the ad product. For example: "Video View Campaign".
string plannable_product_name = 3;- Specified by:
getPlannableProductNamein interfaceProductMetadataOrBuilder- Returns:
- The plannableProductName.
-
getPlannableProductNameBytes
public com.google.protobuf.ByteString getPlannableProductNameBytes()The name associated with the ad product. For example: "Video View Campaign".
string plannable_product_name = 3;- Specified by:
getPlannableProductNameBytesin interfaceProductMetadataOrBuilder- Returns:
- The bytes for plannableProductName.
-
setPlannableProductName
The name associated with the ad product. For example: "Video View Campaign".
string plannable_product_name = 3;- Parameters:
value- The plannableProductName to set.- Returns:
- This builder for chaining.
-
clearPlannableProductName
The name associated with the ad product. For example: "Video View Campaign".
string plannable_product_name = 3;- Returns:
- This builder for chaining.
-
setPlannableProductNameBytes
The name associated with the ad product. For example: "Video View Campaign".
string plannable_product_name = 3;- Parameters:
value- The bytes for plannableProductName to set.- Returns:
- This builder for chaining.
-
hasPlannableProductDescription
public boolean hasPlannableProductDescription()The plain-text description of the ad product. For example: "Video view campaign allows you to plan for a configurable mix of skippable in-stream, in-feed, and Shorts video ads in a single campaign designed to drive more views."
optional string plannable_product_description = 5;- Specified by:
hasPlannableProductDescriptionin interfaceProductMetadataOrBuilder- Returns:
- Whether the plannableProductDescription field is set.
-
getPlannableProductDescription
The plain-text description of the ad product. For example: "Video view campaign allows you to plan for a configurable mix of skippable in-stream, in-feed, and Shorts video ads in a single campaign designed to drive more views."
optional string plannable_product_description = 5;- Specified by:
getPlannableProductDescriptionin interfaceProductMetadataOrBuilder- Returns:
- The plannableProductDescription.
-
getPlannableProductDescriptionBytes
public com.google.protobuf.ByteString getPlannableProductDescriptionBytes()The plain-text description of the ad product. For example: "Video view campaign allows you to plan for a configurable mix of skippable in-stream, in-feed, and Shorts video ads in a single campaign designed to drive more views."
optional string plannable_product_description = 5;- Specified by:
getPlannableProductDescriptionBytesin interfaceProductMetadataOrBuilder- Returns:
- The bytes for plannableProductDescription.
-
setPlannableProductDescription
The plain-text description of the ad product. For example: "Video view campaign allows you to plan for a configurable mix of skippable in-stream, in-feed, and Shorts video ads in a single campaign designed to drive more views."
optional string plannable_product_description = 5;- Parameters:
value- The plannableProductDescription to set.- Returns:
- This builder for chaining.
-
clearPlannableProductDescription
The plain-text description of the ad product. For example: "Video view campaign allows you to plan for a configurable mix of skippable in-stream, in-feed, and Shorts video ads in a single campaign designed to drive more views."
optional string plannable_product_description = 5;- Returns:
- This builder for chaining.
-
setPlannableProductDescriptionBytes
public ProductMetadata.Builder setPlannableProductDescriptionBytes(com.google.protobuf.ByteString value) The plain-text description of the ad product. For example: "Video view campaign allows you to plan for a configurable mix of skippable in-stream, in-feed, and Shorts video ads in a single campaign designed to drive more views."
optional string plannable_product_description = 5;- Parameters:
value- The bytes for plannableProductDescription to set.- Returns:
- This builder for chaining.
-
hasPlannableProductCoreAttributes
public boolean hasPlannableProductCoreAttributes()Descriptive attributes of the ad product to further describe its capabilities.
optional .google.ads.googleads.v24.services.ProductCoreAttributes plannable_product_core_attributes = 6;- Specified by:
hasPlannableProductCoreAttributesin interfaceProductMetadataOrBuilder- Returns:
- Whether the plannableProductCoreAttributes field is set.
-
getPlannableProductCoreAttributes
Descriptive attributes of the ad product to further describe its capabilities.
optional .google.ads.googleads.v24.services.ProductCoreAttributes plannable_product_core_attributes = 6;- Specified by:
getPlannableProductCoreAttributesin interfaceProductMetadataOrBuilder- Returns:
- The plannableProductCoreAttributes.
-
setPlannableProductCoreAttributes
Descriptive attributes of the ad product to further describe its capabilities.
optional .google.ads.googleads.v24.services.ProductCoreAttributes plannable_product_core_attributes = 6; -
setPlannableProductCoreAttributes
public ProductMetadata.Builder setPlannableProductCoreAttributes(ProductCoreAttributes.Builder builderForValue) Descriptive attributes of the ad product to further describe its capabilities.
optional .google.ads.googleads.v24.services.ProductCoreAttributes plannable_product_core_attributes = 6; -
mergePlannableProductCoreAttributes
Descriptive attributes of the ad product to further describe its capabilities.
optional .google.ads.googleads.v24.services.ProductCoreAttributes plannable_product_core_attributes = 6; -
clearPlannableProductCoreAttributes
Descriptive attributes of the ad product to further describe its capabilities.
optional .google.ads.googleads.v24.services.ProductCoreAttributes plannable_product_core_attributes = 6; -
getPlannableProductCoreAttributesBuilder
Descriptive attributes of the ad product to further describe its capabilities.
optional .google.ads.googleads.v24.services.ProductCoreAttributes plannable_product_core_attributes = 6; -
getPlannableProductCoreAttributesOrBuilder
Descriptive attributes of the ad product to further describe its capabilities.
optional .google.ads.googleads.v24.services.ProductCoreAttributes plannable_product_core_attributes = 6;- Specified by:
getPlannableProductCoreAttributesOrBuilderin interfaceProductMetadataOrBuilder
-
hasPlannableTargeting
public boolean hasPlannableTargeting()The allowed plannable targeting for this product.
.google.ads.googleads.v24.services.PlannableTargeting plannable_targeting = 2;- Specified by:
hasPlannableTargetingin interfaceProductMetadataOrBuilder- Returns:
- Whether the plannableTargeting field is set.
-
getPlannableTargeting
The allowed plannable targeting for this product.
.google.ads.googleads.v24.services.PlannableTargeting plannable_targeting = 2;- Specified by:
getPlannableTargetingin interfaceProductMetadataOrBuilder- Returns:
- The plannableTargeting.
-
setPlannableTargeting
The allowed plannable targeting for this product.
.google.ads.googleads.v24.services.PlannableTargeting plannable_targeting = 2; -
setPlannableTargeting
The allowed plannable targeting for this product.
.google.ads.googleads.v24.services.PlannableTargeting plannable_targeting = 2; -
mergePlannableTargeting
The allowed plannable targeting for this product.
.google.ads.googleads.v24.services.PlannableTargeting plannable_targeting = 2; -
clearPlannableTargeting
The allowed plannable targeting for this product.
.google.ads.googleads.v24.services.PlannableTargeting plannable_targeting = 2; -
getPlannableTargetingBuilder
The allowed plannable targeting for this product.
.google.ads.googleads.v24.services.PlannableTargeting plannable_targeting = 2; -
getPlannableTargetingOrBuilder
The allowed plannable targeting for this product.
.google.ads.googleads.v24.services.PlannableTargeting plannable_targeting = 2;- Specified by:
getPlannableTargetingOrBuilderin interfaceProductMetadataOrBuilder
-