public static final class ExternalAction.Builder extends GeneratedMessage.Builder<ExternalAction.Builder> implements ExternalActionOrBuilderAction that is implemented and performed outside of the third-party application. It should redirect the business to the provided URL of an external system where they can perform the action. For example to request a review in the Merchant Center.
Protobuf type google.shopping.merchant.issueresolution.v1beta.ExternalAction
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ExternalAction.BuilderImplements
ExternalActionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ExternalAction build()| Returns | |
|---|---|
| Type | Description |
ExternalAction |
|
buildPartial()
public ExternalAction buildPartial()| Returns | |
|---|---|
| Type | Description |
ExternalAction |
|
clear()
public ExternalAction.Builder clear()| Returns | |
|---|---|
| Type | Description |
ExternalAction.Builder |
|
clearType()
public ExternalAction.Builder clearType()The type of external action.
.google.shopping.merchant.issueresolution.v1beta.ExternalAction.ExternalActionType type = 1;
| Returns | |
|---|---|
| Type | Description |
ExternalAction.Builder |
This builder for chaining. |
clearUri()
public ExternalAction.Builder clearUri()URL to external system, for example Merchant Center, where the business can perform the action.
string uri = 2;
| Returns | |
|---|---|
| Type | Description |
ExternalAction.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ExternalAction getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ExternalAction |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getType()
public ExternalAction.ExternalActionType getType()The type of external action.
.google.shopping.merchant.issueresolution.v1beta.ExternalAction.ExternalActionType type = 1;
| Returns | |
|---|---|
| Type | Description |
ExternalAction.ExternalActionType |
The type. |
getTypeValue()
public int getTypeValue()The type of external action.
.google.shopping.merchant.issueresolution.v1beta.ExternalAction.ExternalActionType type = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for type. |
getUri()
public String getUri()URL to external system, for example Merchant Center, where the business can perform the action.
string uri = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The uri. |
getUriBytes()
public ByteString getUriBytes()URL to external system, for example Merchant Center, where the business can perform the action.
string uri = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for uri. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ExternalAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ExternalAction.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ExternalAction.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ExternalAction.Builder |
|
mergeFrom(ExternalAction other)
public ExternalAction.Builder mergeFrom(ExternalAction other)| Parameter | |
|---|---|
| Name | Description |
other |
ExternalAction |
| Returns | |
|---|---|
| Type | Description |
ExternalAction.Builder |
|
setType(ExternalAction.ExternalActionType value)
public ExternalAction.Builder setType(ExternalAction.ExternalActionType value)The type of external action.
.google.shopping.merchant.issueresolution.v1beta.ExternalAction.ExternalActionType type = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ExternalAction.ExternalActionTypeThe type to set. |
| Returns | |
|---|---|
| Type | Description |
ExternalAction.Builder |
This builder for chaining. |
setTypeValue(int value)
public ExternalAction.Builder setTypeValue(int value)The type of external action.
.google.shopping.merchant.issueresolution.v1beta.ExternalAction.ExternalActionType type = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for type to set. |
| Returns | |
|---|---|
| Type | Description |
ExternalAction.Builder |
This builder for chaining. |
setUri(String value)
public ExternalAction.Builder setUri(String value)URL to external system, for example Merchant Center, where the business can perform the action.
string uri = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe uri to set. |
| Returns | |
|---|---|
| Type | Description |
ExternalAction.Builder |
This builder for chaining. |
setUriBytes(ByteString value)
public ExternalAction.Builder setUriBytes(ByteString value)URL to external system, for example Merchant Center, where the business can perform the action.
string uri = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for uri to set. |
| Returns | |
|---|---|
| Type | Description |
ExternalAction.Builder |
This builder for chaining. |