Interface StructuredDescriptionOrBuilder (1.0.0)
Stay organized with collections
Save and categorize content based on your preferences.
public interface StructuredDescriptionOrBuilder 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 DigitalSourceType getDigitalSourceType()
The digital source type.
Following IPTC.
optional .google.shopping.merchant.products.v1.DigitalSourceType digital_source_type = 1;
public abstract int getDigitalSourceTypeValue()
The digital source type.
Following IPTC.
optional .google.shopping.merchant.products.v1.DigitalSourceType digital_source_type = 1;
Returns |
Type |
Description |
int |
The enum numeric value on the wire 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.
Following IPTC.
optional .google.shopping.merchant.products.v1.DigitalSourceType 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-28 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Interface StructuredDescriptionOrBuilder (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.v1.StructuredDescriptionOrBuilder)\n- [0.26.0](/java/docs/reference/google-shopping-merchant-products/0.26.0/com.google.shopping.merchant.products.v1.StructuredDescriptionOrBuilder)\n- [0.24.0](/java/docs/reference/google-shopping-merchant-products/0.24.0/com.google.shopping.merchant.products.v1.StructuredDescriptionOrBuilder)\n- [0.23.0](/java/docs/reference/google-shopping-merchant-products/0.23.0/com.google.shopping.merchant.products.v1.StructuredDescriptionOrBuilder)\n- [0.20.0](/java/docs/reference/google-shopping-merchant-products/0.20.0/com.google.shopping.merchant.products.v1.StructuredDescriptionOrBuilder)\n- [0.19.0](/java/docs/reference/google-shopping-merchant-products/0.19.0/com.google.shopping.merchant.products.v1.StructuredDescriptionOrBuilder)\n- [0.18.0](/java/docs/reference/google-shopping-merchant-products/0.18.0/com.google.shopping.merchant.products.v1.StructuredDescriptionOrBuilder)\n- [0.16.0](/java/docs/reference/google-shopping-merchant-products/0.16.0/com.google.shopping.merchant.products.v1.StructuredDescriptionOrBuilder)\n- [0.15.0](/java/docs/reference/google-shopping-merchant-products/0.15.0/com.google.shopping.merchant.products.v1.StructuredDescriptionOrBuilder)\n- [0.14.0](/java/docs/reference/google-shopping-merchant-products/0.14.0/com.google.shopping.merchant.products.v1.StructuredDescriptionOrBuilder)\n- [0.13.0](/java/docs/reference/google-shopping-merchant-products/0.13.0/com.google.shopping.merchant.products.v1.StructuredDescriptionOrBuilder)\n- [0.12.0](/java/docs/reference/google-shopping-merchant-products/0.12.0/com.google.shopping.merchant.products.v1.StructuredDescriptionOrBuilder)\n- [0.11.0](/java/docs/reference/google-shopping-merchant-products/0.11.0/com.google.shopping.merchant.products.v1.StructuredDescriptionOrBuilder)\n- [0.10.0](/java/docs/reference/google-shopping-merchant-products/0.10.0/com.google.shopping.merchant.products.v1.StructuredDescriptionOrBuilder)\n- [0.9.0](/java/docs/reference/google-shopping-merchant-products/0.9.0/com.google.shopping.merchant.products.v1.StructuredDescriptionOrBuilder)\n- [0.8.0](/java/docs/reference/google-shopping-merchant-products/0.8.0/com.google.shopping.merchant.products.v1.StructuredDescriptionOrBuilder)\n- [0.7.0](/java/docs/reference/google-shopping-merchant-products/0.7.0/com.google.shopping.merchant.products.v1.StructuredDescriptionOrBuilder)\n- [0.5.0](/java/docs/reference/google-shopping-merchant-products/0.5.0/com.google.shopping.merchant.products.v1.StructuredDescriptionOrBuilder)\n- [0.4.0](/java/docs/reference/google-shopping-merchant-products/0.4.0/com.google.shopping.merchant.products.v1.StructuredDescriptionOrBuilder)\n- [0.3.0](/java/docs/reference/google-shopping-merchant-products/0.3.0/com.google.shopping.merchant.products.v1.StructuredDescriptionOrBuilder)\n- [0.2.0](/java/docs/reference/google-shopping-merchant-products/0.2.0/com.google.shopping.merchant.products.v1.StructuredDescriptionOrBuilder)\n- [0.1.0](/java/docs/reference/google-shopping-merchant-products/0.1.0/com.google.shopping.merchant.products.v1.StructuredDescriptionOrBuilder) \n\n public interface StructuredDescriptionOrBuilder 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 DigitalSourceType getDigitalSourceType()\n\nThe digital source type.\nFollowing [IPTC](https://cv.iptc.org/newscodes/digitalsourcetype).\n\n`optional .google.shopping.merchant.products.v1.DigitalSourceType digital_source_type = 1;\n`\n\n### getDigitalSourceTypeValue()\n\n public abstract int getDigitalSourceTypeValue()\n\nThe digital source type.\nFollowing [IPTC](https://cv.iptc.org/newscodes/digitalsourcetype).\n\n`optional .google.shopping.merchant.products.v1.DigitalSourceType digital_source_type = 1;\n`\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.\nFollowing [IPTC](https://cv.iptc.org/newscodes/digitalsourcetype).\n\n`optional .google.shopping.merchant.products.v1.DigitalSourceType digital_source_type = 1;\n`"]]