Cart URL template. When the placeholders are expanded will redirect the
buyer to the cart page on the merchant website with the selected
item in cart. For more details, check the help center
doc
Cart URL template. When the placeholders are expanded will redirect the
buyer to the cart page on the merchant website with the selected
item in cart. For more details, check the help center
doc
Checkout URL template. When the placeholders are expanded will redirect
the buyer to the merchant checkout page with the item in the cart. For
more details, check the help center
doc
Checkout URL template. When the placeholders are expanded will redirect
the buyer to the merchant checkout page with the item in the cart. For
more details, check the help center
doc
Cart URL template. When the placeholders are expanded will redirect the
buyer to the cart page on the merchant website with the selected
item in cart. For more details, check the help center
doc
Checkout URL template. When the placeholders are expanded will redirect
the buyer to the merchant checkout page with the item in the cart. For
more details, check the help center
doc
[[["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-16 UTC."],[],[],null,["# Interface UriSettingsOrBuilder (1.0.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0 (latest)](/java/docs/reference/google-shopping-merchant-accounts/latest/com.google.shopping.merchant.accounts.v1.UriSettingsOrBuilder)\n- [0.26.0](/java/docs/reference/google-shopping-merchant-accounts/0.26.0/com.google.shopping.merchant.accounts.v1.UriSettingsOrBuilder)\n- [0.24.0](/java/docs/reference/google-shopping-merchant-accounts/0.24.0/com.google.shopping.merchant.accounts.v1.UriSettingsOrBuilder)\n- [0.23.0](/java/docs/reference/google-shopping-merchant-accounts/0.23.0/com.google.shopping.merchant.accounts.v1.UriSettingsOrBuilder)\n- [0.20.0](/java/docs/reference/google-shopping-merchant-accounts/0.20.0/com.google.shopping.merchant.accounts.v1.UriSettingsOrBuilder)\n- [0.19.0](/java/docs/reference/google-shopping-merchant-accounts/0.19.0/com.google.shopping.merchant.accounts.v1.UriSettingsOrBuilder)\n- [0.18.0](/java/docs/reference/google-shopping-merchant-accounts/0.18.0/com.google.shopping.merchant.accounts.v1.UriSettingsOrBuilder)\n- [0.16.0](/java/docs/reference/google-shopping-merchant-accounts/0.16.0/com.google.shopping.merchant.accounts.v1.UriSettingsOrBuilder)\n- [0.15.0](/java/docs/reference/google-shopping-merchant-accounts/0.15.0/com.google.shopping.merchant.accounts.v1.UriSettingsOrBuilder)\n- [0.14.0](/java/docs/reference/google-shopping-merchant-accounts/0.14.0/com.google.shopping.merchant.accounts.v1.UriSettingsOrBuilder)\n- [0.13.0](/java/docs/reference/google-shopping-merchant-accounts/0.13.0/com.google.shopping.merchant.accounts.v1.UriSettingsOrBuilder)\n- [0.12.0](/java/docs/reference/google-shopping-merchant-accounts/0.12.0/com.google.shopping.merchant.accounts.v1.UriSettingsOrBuilder)\n- [0.11.0](/java/docs/reference/google-shopping-merchant-accounts/0.11.0/com.google.shopping.merchant.accounts.v1.UriSettingsOrBuilder)\n- [0.10.0](/java/docs/reference/google-shopping-merchant-accounts/0.10.0/com.google.shopping.merchant.accounts.v1.UriSettingsOrBuilder)\n- [0.9.0](/java/docs/reference/google-shopping-merchant-accounts/0.9.0/com.google.shopping.merchant.accounts.v1.UriSettingsOrBuilder)\n- [0.8.0](/java/docs/reference/google-shopping-merchant-accounts/0.8.0/com.google.shopping.merchant.accounts.v1.UriSettingsOrBuilder)\n- [0.7.0](/java/docs/reference/google-shopping-merchant-accounts/0.7.0/com.google.shopping.merchant.accounts.v1.UriSettingsOrBuilder)\n- [0.5.0](/java/docs/reference/google-shopping-merchant-accounts/0.5.0/com.google.shopping.merchant.accounts.v1.UriSettingsOrBuilder)\n- [0.4.0](/java/docs/reference/google-shopping-merchant-accounts/0.4.0/com.google.shopping.merchant.accounts.v1.UriSettingsOrBuilder)\n- [0.3.0](/java/docs/reference/google-shopping-merchant-accounts/0.3.0/com.google.shopping.merchant.accounts.v1.UriSettingsOrBuilder)\n- [0.2.0](/java/docs/reference/google-shopping-merchant-accounts/0.2.0/com.google.shopping.merchant.accounts.v1.UriSettingsOrBuilder)\n- [0.1.0](/java/docs/reference/google-shopping-merchant-accounts/0.1.0/com.google.shopping.merchant.accounts.v1.UriSettingsOrBuilder) \n\n public interface UriSettingsOrBuilder 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### getCartUriTemplate()\n\n public abstract String getCartUriTemplate()\n\nCart URL template. When the placeholders are expanded will redirect the\nbuyer to the cart page on the merchant website with the selected\nitem in cart. For more details, check the [help center\ndoc](https://support.google.com/merchants/answer/13945960#method1&zippy=%2Cproduct-level-url-formatting%2Caccount-level-url-formatting)\n\n`string cart_uri_template = 2;`\n\n### getCartUriTemplateBytes()\n\n public abstract ByteString getCartUriTemplateBytes()\n\nCart URL template. When the placeholders are expanded will redirect the\nbuyer to the cart page on the merchant website with the selected\nitem in cart. For more details, check the [help center\ndoc](https://support.google.com/merchants/answer/13945960#method1&zippy=%2Cproduct-level-url-formatting%2Caccount-level-url-formatting)\n\n`string cart_uri_template = 2;`\n\n### getCheckoutUriTemplate()\n\n public abstract String getCheckoutUriTemplate()\n\nCheckout URL template. When the placeholders are expanded will redirect\nthe buyer to the merchant checkout page with the item in the cart. For\nmore details, check the [help center\ndoc](https://support.google.com/merchants/answer/13945960#method1&zippy=%2Cproduct-level-url-formatting%2Caccount-level-url-formatting)\n\n`string checkout_uri_template = 1;`\n\n### getCheckoutUriTemplateBytes()\n\n public abstract ByteString getCheckoutUriTemplateBytes()\n\nCheckout URL template. When the placeholders are expanded will redirect\nthe buyer to the merchant checkout page with the item in the cart. For\nmore details, check the [help center\ndoc](https://support.google.com/merchants/answer/13945960#method1&zippy=%2Cproduct-level-url-formatting%2Caccount-level-url-formatting)\n\n`string checkout_uri_template = 1;`\n\n### getUriTemplateCase()\n\n public abstract UriSettings.UriTemplateCase getUriTemplateCase()\n\n### hasCartUriTemplate()\n\n public abstract boolean hasCartUriTemplate()\n\nCart URL template. When the placeholders are expanded will redirect the\nbuyer to the cart page on the merchant website with the selected\nitem in cart. For more details, check the [help center\ndoc](https://support.google.com/merchants/answer/13945960#method1&zippy=%2Cproduct-level-url-formatting%2Caccount-level-url-formatting)\n\n`string cart_uri_template = 2;`\n\n### hasCheckoutUriTemplate()\n\n public abstract boolean hasCheckoutUriTemplate()\n\nCheckout URL template. When the placeholders are expanded will redirect\nthe buyer to the merchant checkout page with the item in the cart. For\nmore details, check the [help center\ndoc](https://support.google.com/merchants/answer/13945960#method1&zippy=%2Cproduct-level-url-formatting%2Caccount-level-url-formatting)\n\n`string checkout_uri_template = 1;`"]]