Class BuiltInSimpleAction (0.2.0)

public final class BuiltInSimpleAction extends GeneratedMessageV3 implements BuiltInSimpleActionOrBuilder

Action that is implemented and performed in (your) third-party application. Represents various functionality that is expected to be available to business and will help them with resolving the issue. The application should point the business to the place, where they can access the corresponding functionality. If the functionality is not supported, it is recommended to explain the situation to the business and provide them with instructions how to solve the issue.

Protobuf type google.shopping.merchant.issueresolution.v1beta.BuiltInSimpleAction

Static Fields

ADDITIONAL_CONTENT_FIELD_NUMBER

public static final int ADDITIONAL_CONTENT_FIELD_NUMBER
Field Value
Type Description
int

ATTRIBUTE_CODE_FIELD_NUMBER

public static final int ATTRIBUTE_CODE_FIELD_NUMBER
Field Value
Type Description
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static BuiltInSimpleAction getDefaultInstance()
Returns
Type Description
BuiltInSimpleAction

getDescriptor()

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

newBuilder()

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

newBuilder(BuiltInSimpleAction prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAdditionalContent()

public BuiltInSimpleAction.AdditionalContent getAdditionalContent()

Long text from an external source that should be available to the business. Present when the type is SHOW_ADDITIONAL_CONTENT.

optional .google.shopping.merchant.issueresolution.v1beta.BuiltInSimpleAction.AdditionalContent additional_content = 3;

Returns
Type Description
BuiltInSimpleAction.AdditionalContent

The additionalContent.

getAdditionalContentOrBuilder()

public BuiltInSimpleAction.AdditionalContentOrBuilder getAdditionalContentOrBuilder()

Long text from an external source that should be available to the business. Present when the type is SHOW_ADDITIONAL_CONTENT.

optional .google.shopping.merchant.issueresolution.v1beta.BuiltInSimpleAction.AdditionalContent additional_content = 3;

Returns
Type Description
BuiltInSimpleAction.AdditionalContentOrBuilder

getAttributeCode()

public String getAttributeCode()

The attribute that needs to be updated. Present when the type is EDIT_ITEM_ATTRIBUTE.

This field contains a code for attribute, represented in snake_case. You can find a list of product's attributes, with their codes here.

optional string attribute_code = 2;

Returns
Type Description
String

The attributeCode.

getAttributeCodeBytes()

public ByteString getAttributeCodeBytes()

The attribute that needs to be updated. Present when the type is EDIT_ITEM_ATTRIBUTE.

This field contains a code for attribute, represented in snake_case. You can find a list of product's attributes, with their codes here.

optional string attribute_code = 2;

Returns
Type Description
ByteString

The bytes for attributeCode.

getDefaultInstanceForType()

public BuiltInSimpleAction getDefaultInstanceForType()
Returns
Type Description
BuiltInSimpleAction

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getType()

public BuiltInSimpleAction.BuiltInSimpleActionType getType()

The type of action that represents a functionality that is expected to be available in third-party application.

.google.shopping.merchant.issueresolution.v1beta.BuiltInSimpleAction.BuiltInSimpleActionType type = 1;

Returns
Type Description
BuiltInSimpleAction.BuiltInSimpleActionType

The type.

getTypeValue()

public int getTypeValue()

The type of action that represents a functionality that is expected to be available in third-party application.

.google.shopping.merchant.issueresolution.v1beta.BuiltInSimpleAction.BuiltInSimpleActionType type = 1;

Returns
Type Description
int

The enum numeric value on the wire for type.

hasAdditionalContent()

public boolean hasAdditionalContent()

Long text from an external source that should be available to the business. Present when the type is SHOW_ADDITIONAL_CONTENT.

optional .google.shopping.merchant.issueresolution.v1beta.BuiltInSimpleAction.AdditionalContent additional_content = 3;

Returns
Type Description
boolean

Whether the additionalContent field is set.

hasAttributeCode()

public boolean hasAttributeCode()

The attribute that needs to be updated. Present when the type is EDIT_ITEM_ATTRIBUTE.

This field contains a code for attribute, represented in snake_case. You can find a list of product's attributes, with their codes here.

optional string attribute_code = 2;

Returns
Type Description
boolean

Whether the attributeCode field is set.

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 BuiltInSimpleAction.Builder newBuilderForType()
Returns
Type Description
BuiltInSimpleAction.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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