Class ExternalAction.Builder (0.2.0)

public static final class ExternalAction.Builder extends GeneratedMessageV3.Builder<ExternalAction.Builder> implements ExternalActionOrBuilder

Action 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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ExternalAction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ExternalAction.Builder
Overrides

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
Overrides

clearField(Descriptors.FieldDescriptor field)

public ExternalAction.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ExternalAction.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ExternalAction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ExternalAction.Builder
Overrides

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.

clone()

public ExternalAction.Builder clone()
Returns
Type Description
ExternalAction.Builder
Overrides

getDefaultInstanceForType()

public ExternalAction getDefaultInstanceForType()
Returns
Type Description
ExternalAction

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ExternalAction.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ExternalAction.Builder
Overrides

mergeFrom(ExternalAction other)

public ExternalAction.Builder mergeFrom(ExternalAction other)
Parameter
Name Description
other ExternalAction
Returns
Type Description
ExternalAction.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ExternalAction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ExternalAction.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ExternalAction.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ExternalAction.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ExternalAction.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ExternalAction.Builder
Overrides

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.ExternalActionType

The 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 int

The enum numeric value on the wire for type to set.

Returns
Type Description
ExternalAction.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ExternalAction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ExternalAction.Builder
Overrides

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 String

The 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 ByteString

The bytes for uri to set.

Returns
Type Description
ExternalAction.Builder

This builder for chaining.