Class ProductMetadata

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.ads.googleads.v25.services.ProductMetadata
All Implemented Interfaces:
ProductMetadataOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class ProductMetadata extends com.google.protobuf.GeneratedMessage implements ProductMetadataOrBuilder
 The metadata associated with an available plannable product.
 
Protobuf type google.ads.googleads.v25.services.ProductMetadata
See Also:
  • Field Details

    • PLANNABLE_PRODUCT_CODE_FIELD_NUMBER

      public static final int PLANNABLE_PRODUCT_CODE_FIELD_NUMBER
      See Also:
    • PLANNABLE_PRODUCT_NAME_FIELD_NUMBER

      public static final int PLANNABLE_PRODUCT_NAME_FIELD_NUMBER
      See Also:
    • PLANNABLE_PRODUCT_DESCRIPTION_FIELD_NUMBER

      public static final int PLANNABLE_PRODUCT_DESCRIPTION_FIELD_NUMBER
      See Also:
    • PLANNABLE_PRODUCT_CORE_ATTRIBUTES_FIELD_NUMBER

      public static final int PLANNABLE_PRODUCT_CORE_ATTRIBUTES_FIELD_NUMBER
      See Also:
    • PLANNABLE_TARGETING_FIELD_NUMBER

      public static final int PLANNABLE_TARGETING_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • 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.v25.services.ReachPlanService.ListPlannableProducts].
       
      optional string plannable_product_code = 4;
      Specified by:
      hasPlannableProductCode in interface ProductMetadataOrBuilder
      Returns:
      Whether the plannableProductCode field is set.
    • getPlannableProductCode

      public String 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.v25.services.ReachPlanService.ListPlannableProducts].
       
      optional string plannable_product_code = 4;
      Specified by:
      getPlannableProductCode in interface ProductMetadataOrBuilder
      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.v25.services.ReachPlanService.ListPlannableProducts].
       
      optional string plannable_product_code = 4;
      Specified by:
      getPlannableProductCodeBytes in interface ProductMetadataOrBuilder
      Returns:
      The bytes for plannableProductCode.
    • getPlannableProductName

      public String getPlannableProductName()
       The name associated with the ad product.
      
       For example: "Video View Campaign".
       
      string plannable_product_name = 3;
      Specified by:
      getPlannableProductName in interface ProductMetadataOrBuilder
      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:
      getPlannableProductNameBytes in interface ProductMetadataOrBuilder
      Returns:
      The bytes for plannableProductName.
    • 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:
      hasPlannableProductDescription in interface ProductMetadataOrBuilder
      Returns:
      Whether the plannableProductDescription field is set.
    • getPlannableProductDescription

      public String 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:
      getPlannableProductDescription in interface ProductMetadataOrBuilder
      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:
      getPlannableProductDescriptionBytes in interface ProductMetadataOrBuilder
      Returns:
      The bytes for plannableProductDescription.
    • hasPlannableProductCoreAttributes

      public boolean hasPlannableProductCoreAttributes()
       Descriptive attributes of the ad product to further describe its
       capabilities.
       
      optional .google.ads.googleads.v25.services.ProductCoreAttributes plannable_product_core_attributes = 6;
      Specified by:
      hasPlannableProductCoreAttributes in interface ProductMetadataOrBuilder
      Returns:
      Whether the plannableProductCoreAttributes field is set.
    • getPlannableProductCoreAttributes

      public ProductCoreAttributes getPlannableProductCoreAttributes()
       Descriptive attributes of the ad product to further describe its
       capabilities.
       
      optional .google.ads.googleads.v25.services.ProductCoreAttributes plannable_product_core_attributes = 6;
      Specified by:
      getPlannableProductCoreAttributes in interface ProductMetadataOrBuilder
      Returns:
      The plannableProductCoreAttributes.
    • getPlannableProductCoreAttributesOrBuilder

      public ProductCoreAttributesOrBuilder getPlannableProductCoreAttributesOrBuilder()
       Descriptive attributes of the ad product to further describe its
       capabilities.
       
      optional .google.ads.googleads.v25.services.ProductCoreAttributes plannable_product_core_attributes = 6;
      Specified by:
      getPlannableProductCoreAttributesOrBuilder in interface ProductMetadataOrBuilder
    • hasPlannableTargeting

      public boolean hasPlannableTargeting()
       The allowed plannable targeting for this product.
       
      .google.ads.googleads.v25.services.PlannableTargeting plannable_targeting = 2;
      Specified by:
      hasPlannableTargeting in interface ProductMetadataOrBuilder
      Returns:
      Whether the plannableTargeting field is set.
    • getPlannableTargeting

      public PlannableTargeting getPlannableTargeting()
       The allowed plannable targeting for this product.
       
      .google.ads.googleads.v25.services.PlannableTargeting plannable_targeting = 2;
      Specified by:
      getPlannableTargeting in interface ProductMetadataOrBuilder
      Returns:
      The plannableTargeting.
    • getPlannableTargetingOrBuilder

      public PlannableTargetingOrBuilder getPlannableTargetingOrBuilder()
       The allowed plannable targeting for this product.
       
      .google.ads.googleads.v25.services.PlannableTargeting plannable_targeting = 2;
      Specified by:
      getPlannableTargetingOrBuilder in interface ProductMetadataOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static ProductMetadata parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ProductMetadata parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ProductMetadata parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ProductMetadata parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ProductMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ProductMetadata parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ProductMetadata parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ProductMetadata parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ProductMetadata parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ProductMetadata parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ProductMetadata parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ProductMetadata parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public ProductMetadata.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static ProductMetadata.Builder newBuilder()
    • newBuilder

      public static ProductMetadata.Builder newBuilder(ProductMetadata prototype)
    • toBuilder

      public ProductMetadata.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected ProductMetadata.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static ProductMetadata getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<ProductMetadata> parser()
    • getParserForType

      public com.google.protobuf.Parser<ProductMetadata> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public ProductMetadata getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder