public static final class UriSettings.Builder extends GeneratedMessage.Builder<UriSettings.Builder> implements UriSettingsOrBuilderURL settings for cart or checkout URL.
Protobuf type google.shopping.merchant.accounts.v1beta.UriSettings
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UriSettings.BuilderImplements
UriSettingsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public UriSettings build()| Returns | |
|---|---|
| Type | Description |
UriSettings |
|
buildPartial()
public UriSettings buildPartial()| Returns | |
|---|---|
| Type | Description |
UriSettings |
|
clear()
public UriSettings.Builder clear()| Returns | |
|---|---|
| Type | Description |
UriSettings.Builder |
|
clearCartUriTemplate()
public UriSettings.Builder clearCartUriTemplate()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
string cart_uri_template = 2;
| Returns | |
|---|---|
| Type | Description |
UriSettings.Builder |
This builder for chaining. |
clearCheckoutUriTemplate()
public UriSettings.Builder clearCheckoutUriTemplate()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
string checkout_uri_template = 1;
| Returns | |
|---|---|
| Type | Description |
UriSettings.Builder |
This builder for chaining. |
clearUriTemplate()
public UriSettings.Builder clearUriTemplate()| Returns | |
|---|---|
| Type | Description |
UriSettings.Builder |
|
getCartUriTemplate()
public String getCartUriTemplate()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
string cart_uri_template = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The cartUriTemplate. |
getCartUriTemplateBytes()
public ByteString getCartUriTemplateBytes()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
string cart_uri_template = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for cartUriTemplate. |
getCheckoutUriTemplate()
public String getCheckoutUriTemplate()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
string checkout_uri_template = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The checkoutUriTemplate. |
getCheckoutUriTemplateBytes()
public ByteString getCheckoutUriTemplateBytes()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
string checkout_uri_template = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for checkoutUriTemplate. |
getDefaultInstanceForType()
public UriSettings getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UriSettings |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getUriTemplateCase()
public UriSettings.UriTemplateCase getUriTemplateCase()| Returns | |
|---|---|
| Type | Description |
UriSettings.UriTemplateCase |
|
hasCartUriTemplate()
public boolean hasCartUriTemplate()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
string cart_uri_template = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the cartUriTemplate field is set. |
hasCheckoutUriTemplate()
public boolean hasCheckoutUriTemplate()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
string checkout_uri_template = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the checkoutUriTemplate field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UriSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UriSettings.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UriSettings.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UriSettings.Builder |
|
mergeFrom(UriSettings other)
public UriSettings.Builder mergeFrom(UriSettings other)| Parameter | |
|---|---|
| Name | Description |
other |
UriSettings |
| Returns | |
|---|---|
| Type | Description |
UriSettings.Builder |
|
setCartUriTemplate(String value)
public UriSettings.Builder setCartUriTemplate(String value)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
string cart_uri_template = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe cartUriTemplate to set. |
| Returns | |
|---|---|
| Type | Description |
UriSettings.Builder |
This builder for chaining. |
setCartUriTemplateBytes(ByteString value)
public UriSettings.Builder setCartUriTemplateBytes(ByteString value)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
string cart_uri_template = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for cartUriTemplate to set. |
| Returns | |
|---|---|
| Type | Description |
UriSettings.Builder |
This builder for chaining. |
setCheckoutUriTemplate(String value)
public UriSettings.Builder setCheckoutUriTemplate(String value)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
string checkout_uri_template = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe checkoutUriTemplate to set. |
| Returns | |
|---|---|
| Type | Description |
UriSettings.Builder |
This builder for chaining. |
setCheckoutUriTemplateBytes(ByteString value)
public UriSettings.Builder setCheckoutUriTemplateBytes(ByteString value)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
string checkout_uri_template = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for checkoutUriTemplate to set. |
| Returns | |
|---|---|
| Type | Description |
UriSettings.Builder |
This builder for chaining. |