Class ExternalAction (0.2.0)

public final class ExternalAction extends GeneratedMessageV3 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 Fields

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
Type Description
int

URI_FIELD_NUMBER

public static final int URI_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ExternalAction getDefaultInstance()
Returns
Type Description
ExternalAction

getDescriptor()

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

newBuilder()

public static ExternalAction.Builder newBuilder()
Returns
Type Description
ExternalAction.Builder

newBuilder(ExternalAction prototype)

public static ExternalAction.Builder newBuilder(ExternalAction prototype)
Parameter
Name Description
prototype ExternalAction
Returns
Type Description
ExternalAction.Builder

parseDelimitedFrom(InputStream input)

public static ExternalAction parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ExternalAction
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ExternalAction parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExternalAction
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ExternalAction parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ExternalAction
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ExternalAction parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExternalAction
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ExternalAction parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ExternalAction
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ExternalAction parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExternalAction
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ExternalAction parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ExternalAction
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ExternalAction parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExternalAction
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ExternalAction parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ExternalAction
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ExternalAction parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExternalAction
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ExternalAction parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ExternalAction
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ExternalAction parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExternalAction
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ExternalAction> parser()
Returns
Type Description
Parser<ExternalAction>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ExternalAction getDefaultInstanceForType()
Returns
Type Description
ExternalAction

getParserForType()

public Parser<ExternalAction> getParserForType()
Returns
Type Description
Parser<ExternalAction>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ExternalAction.Builder newBuilderForType()
Returns
Type Description
ExternalAction.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ExternalAction.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ExternalAction.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ExternalAction.Builder toBuilder()
Returns
Type Description
ExternalAction.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException