Interface ProductStructuredDescriptionOrBuilder (1.0.0)
public interface ProductStructuredDescriptionOrBuilder extends MessageOrBuilder
Methods
getContent()
public abstract String getContent()
The description text
Maximum length is 5000 characters
optional string content = 2;
Returns |
Type |
Description |
String |
The content.
|
getContentBytes()
public abstract ByteString getContentBytes()
The description text
Maximum length is 5000 characters
optional string content = 2;
Returns |
Type |
Description |
ByteString |
The bytes for content.
|
public abstract String getDigitalSourceType()
The digital source type, for example "trained_algorithmic_media".
Following IPTC.
Maximum length is 40 characters.
optional string digital_source_type = 1;
Returns |
Type |
Description |
String |
The digitalSourceType.
|
public abstract ByteString getDigitalSourceTypeBytes()
The digital source type, for example "trained_algorithmic_media".
Following IPTC.
Maximum length is 40 characters.
optional string digital_source_type = 1;
Returns |
Type |
Description |
ByteString |
The bytes for digitalSourceType.
|
hasContent()
public abstract boolean hasContent()
The description text
Maximum length is 5000 characters
optional string content = 2;
Returns |
Type |
Description |
boolean |
Whether the content field is set.
|
public abstract boolean hasDigitalSourceType()
The digital source type, for example "trained_algorithmic_media".
Following IPTC.
Maximum length is 40 characters.
optional string digital_source_type = 1;
Returns |
Type |
Description |
boolean |
Whether the digitalSourceType field is set.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-16 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-16 UTC."],[],[],null,["# Interface ProductStructuredDescriptionOrBuilder (1.0.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0 (latest)](/java/docs/reference/google-shopping-merchant-products/latest/com.google.shopping.merchant.products.v1beta.ProductStructuredDescriptionOrBuilder)\n- [0.26.0](/java/docs/reference/google-shopping-merchant-products/0.26.0/com.google.shopping.merchant.products.v1beta.ProductStructuredDescriptionOrBuilder)\n- [0.24.0](/java/docs/reference/google-shopping-merchant-products/0.24.0/com.google.shopping.merchant.products.v1beta.ProductStructuredDescriptionOrBuilder)\n- [0.23.0](/java/docs/reference/google-shopping-merchant-products/0.23.0/com.google.shopping.merchant.products.v1beta.ProductStructuredDescriptionOrBuilder)\n- [0.20.0](/java/docs/reference/google-shopping-merchant-products/0.20.0/com.google.shopping.merchant.products.v1beta.ProductStructuredDescriptionOrBuilder)\n- [0.19.0](/java/docs/reference/google-shopping-merchant-products/0.19.0/com.google.shopping.merchant.products.v1beta.ProductStructuredDescriptionOrBuilder)\n- [0.18.0](/java/docs/reference/google-shopping-merchant-products/0.18.0/com.google.shopping.merchant.products.v1beta.ProductStructuredDescriptionOrBuilder)\n- [0.16.0](/java/docs/reference/google-shopping-merchant-products/0.16.0/com.google.shopping.merchant.products.v1beta.ProductStructuredDescriptionOrBuilder)\n- [0.15.0](/java/docs/reference/google-shopping-merchant-products/0.15.0/com.google.shopping.merchant.products.v1beta.ProductStructuredDescriptionOrBuilder)\n- [0.14.0](/java/docs/reference/google-shopping-merchant-products/0.14.0/com.google.shopping.merchant.products.v1beta.ProductStructuredDescriptionOrBuilder)\n- [0.13.0](/java/docs/reference/google-shopping-merchant-products/0.13.0/com.google.shopping.merchant.products.v1beta.ProductStructuredDescriptionOrBuilder)\n- [0.12.0](/java/docs/reference/google-shopping-merchant-products/0.12.0/com.google.shopping.merchant.products.v1beta.ProductStructuredDescriptionOrBuilder)\n- [0.11.0](/java/docs/reference/google-shopping-merchant-products/0.11.0/com.google.shopping.merchant.products.v1beta.ProductStructuredDescriptionOrBuilder)\n- [0.10.0](/java/docs/reference/google-shopping-merchant-products/0.10.0/com.google.shopping.merchant.products.v1beta.ProductStructuredDescriptionOrBuilder)\n- [0.9.0](/java/docs/reference/google-shopping-merchant-products/0.9.0/com.google.shopping.merchant.products.v1beta.ProductStructuredDescriptionOrBuilder)\n- [0.8.0](/java/docs/reference/google-shopping-merchant-products/0.8.0/com.google.shopping.merchant.products.v1beta.ProductStructuredDescriptionOrBuilder)\n- [0.7.0](/java/docs/reference/google-shopping-merchant-products/0.7.0/com.google.shopping.merchant.products.v1beta.ProductStructuredDescriptionOrBuilder)\n- [0.5.0](/java/docs/reference/google-shopping-merchant-products/0.5.0/com.google.shopping.merchant.products.v1beta.ProductStructuredDescriptionOrBuilder)\n- [0.4.0](/java/docs/reference/google-shopping-merchant-products/0.4.0/com.google.shopping.merchant.products.v1beta.ProductStructuredDescriptionOrBuilder)\n- [0.3.0](/java/docs/reference/google-shopping-merchant-products/0.3.0/com.google.shopping.merchant.products.v1beta.ProductStructuredDescriptionOrBuilder)\n- [0.2.0](/java/docs/reference/google-shopping-merchant-products/0.2.0/com.google.shopping.merchant.products.v1beta.ProductStructuredDescriptionOrBuilder)\n- [0.1.0](/java/docs/reference/google-shopping-merchant-products/0.1.0/com.google.shopping.merchant.products.v1beta.ProductStructuredDescriptionOrBuilder) \n\n public interface ProductStructuredDescriptionOrBuilder extends MessageOrBuilder\n\nImplements\n----------\n\n[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)\n\nMethods\n-------\n\n### getContent()\n\n public abstract String getContent()\n\nThe description text\nMaximum length is 5000 characters\n\n`optional string content = 2;`\n\n### getContentBytes()\n\n public abstract ByteString getContentBytes()\n\nThe description text\nMaximum length is 5000 characters\n\n`optional string content = 2;`\n\n### getDigitalSourceType()\n\n public abstract String getDigitalSourceType()\n\nThe digital source type, for example \"trained_algorithmic_media\".\nFollowing [IPTC](https://cv.iptc.org/newscodes/digitalsourcetype).\nMaximum length is 40 characters.\n\n`optional string digital_source_type = 1;`\n\n### getDigitalSourceTypeBytes()\n\n public abstract ByteString getDigitalSourceTypeBytes()\n\nThe digital source type, for example \"trained_algorithmic_media\".\nFollowing [IPTC](https://cv.iptc.org/newscodes/digitalsourcetype).\nMaximum length is 40 characters.\n\n`optional string digital_source_type = 1;`\n\n### hasContent()\n\n public abstract boolean hasContent()\n\nThe description text\nMaximum length is 5000 characters\n\n`optional string content = 2;`\n\n### hasDigitalSourceType()\n\n public abstract boolean hasDigitalSourceType()\n\nThe digital source type, for example \"trained_algorithmic_media\".\nFollowing [IPTC](https://cv.iptc.org/newscodes/digitalsourcetype).\nMaximum length is 40 characters.\n\n`optional string digital_source_type = 1;`"]]