Interface ActionOrBuilder (0.2.0)

public interface ActionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getActionCase()

public abstract Action.ActionCase getActionCase()
Returns
Type Description
Action.ActionCase

getBuiltinSimpleAction()

public abstract BuiltInSimpleAction getBuiltinSimpleAction()

Action implemented and performed in (your) third-party application. The application should point the business to the place, where they can access the corresponding functionality or provide instructions, if the specific functionality is not available.

.google.shopping.merchant.issueresolution.v1beta.BuiltInSimpleAction builtin_simple_action = 2;

Returns
Type Description
BuiltInSimpleAction

The builtinSimpleAction.

getBuiltinSimpleActionOrBuilder()

public abstract BuiltInSimpleActionOrBuilder getBuiltinSimpleActionOrBuilder()

Action implemented and performed in (your) third-party application. The application should point the business to the place, where they can access the corresponding functionality or provide instructions, if the specific functionality is not available.

.google.shopping.merchant.issueresolution.v1beta.BuiltInSimpleAction builtin_simple_action = 2;

Returns
Type Description
BuiltInSimpleActionOrBuilder

getBuiltinUserInputAction()

public abstract BuiltInUserInputAction getBuiltinUserInputAction()

Action implemented and performed in (your) third-party application. The application needs to show an additional content and input form to the business as specified for given action. They can trigger the action only when they provided all required inputs.

.google.shopping.merchant.issueresolution.v1beta.BuiltInUserInputAction builtin_user_input_action = 7;

Returns
Type Description
BuiltInUserInputAction

The builtinUserInputAction.

getBuiltinUserInputActionOrBuilder()

public abstract BuiltInUserInputActionOrBuilder getBuiltinUserInputActionOrBuilder()

Action implemented and performed in (your) third-party application. The application needs to show an additional content and input form to the business as specified for given action. They can trigger the action only when they provided all required inputs.

.google.shopping.merchant.issueresolution.v1beta.BuiltInUserInputAction builtin_user_input_action = 7;

Returns
Type Description
BuiltInUserInputActionOrBuilder

getButtonLabel()

public abstract String getButtonLabel()

Label of the action button.

string button_label = 4;

Returns
Type Description
String

The buttonLabel.

getButtonLabelBytes()

public abstract ByteString getButtonLabelBytes()

Label of the action button.

string button_label = 4;

Returns
Type Description
ByteString

The bytes for buttonLabel.

getExternalAction()

public abstract ExternalAction getExternalAction()

Action that is implemented and performed outside of (your) third-party application. The application needs to redirect the business to the external location where they can perform the action.

.google.shopping.merchant.issueresolution.v1beta.ExternalAction external_action = 3;

Returns
Type Description
ExternalAction

The externalAction.

getExternalActionOrBuilder()

public abstract ExternalActionOrBuilder getExternalActionOrBuilder()

Action that is implemented and performed outside of (your) third-party application. The application needs to redirect the business to the external location where they can perform the action.

.google.shopping.merchant.issueresolution.v1beta.ExternalAction external_action = 3;

Returns
Type Description
ExternalActionOrBuilder

getIsAvailable()

public abstract boolean getIsAvailable()

Controlling whether the button is active or disabled. The value is 'false' when the action was already requested or is not available. If the action is not available then a reason will be present. If (your) third-party application shows a disabled button for action that is not available, then it should also show reasons.

bool is_available = 5;

Returns
Type Description
boolean

The isAvailable.

getReasons(int index)

public abstract Action.Reason getReasons(int index)

List of reasons why the action is not available. The list of reasons is empty if the action is available. If there is only one reason, it can be displayed next to the disabled button. If there are more reasons, all of them should be displayed, for example in a pop-up dialog.

repeated .google.shopping.merchant.issueresolution.v1beta.Action.Reason reasons = 6;

Parameter
Name Description
index int
Returns
Type Description
Action.Reason

getReasonsCount()

public abstract int getReasonsCount()

List of reasons why the action is not available. The list of reasons is empty if the action is available. If there is only one reason, it can be displayed next to the disabled button. If there are more reasons, all of them should be displayed, for example in a pop-up dialog.

repeated .google.shopping.merchant.issueresolution.v1beta.Action.Reason reasons = 6;

Returns
Type Description
int

getReasonsList()

public abstract List<Action.Reason> getReasonsList()

List of reasons why the action is not available. The list of reasons is empty if the action is available. If there is only one reason, it can be displayed next to the disabled button. If there are more reasons, all of them should be displayed, for example in a pop-up dialog.

repeated .google.shopping.merchant.issueresolution.v1beta.Action.Reason reasons = 6;

Returns
Type Description
List<Reason>

getReasonsOrBuilder(int index)

public abstract Action.ReasonOrBuilder getReasonsOrBuilder(int index)

List of reasons why the action is not available. The list of reasons is empty if the action is available. If there is only one reason, it can be displayed next to the disabled button. If there are more reasons, all of them should be displayed, for example in a pop-up dialog.

repeated .google.shopping.merchant.issueresolution.v1beta.Action.Reason reasons = 6;

Parameter
Name Description
index int
Returns
Type Description
Action.ReasonOrBuilder

getReasonsOrBuilderList()

public abstract List<? extends Action.ReasonOrBuilder> getReasonsOrBuilderList()

List of reasons why the action is not available. The list of reasons is empty if the action is available. If there is only one reason, it can be displayed next to the disabled button. If there are more reasons, all of them should be displayed, for example in a pop-up dialog.

repeated .google.shopping.merchant.issueresolution.v1beta.Action.Reason reasons = 6;

Returns
Type Description
List<? extends com.google.shopping.merchant.issueresolution.v1beta.Action.ReasonOrBuilder>

hasBuiltinSimpleAction()

public abstract boolean hasBuiltinSimpleAction()

Action implemented and performed in (your) third-party application. The application should point the business to the place, where they can access the corresponding functionality or provide instructions, if the specific functionality is not available.

.google.shopping.merchant.issueresolution.v1beta.BuiltInSimpleAction builtin_simple_action = 2;

Returns
Type Description
boolean

Whether the builtinSimpleAction field is set.

hasBuiltinUserInputAction()

public abstract boolean hasBuiltinUserInputAction()

Action implemented and performed in (your) third-party application. The application needs to show an additional content and input form to the business as specified for given action. They can trigger the action only when they provided all required inputs.

.google.shopping.merchant.issueresolution.v1beta.BuiltInUserInputAction builtin_user_input_action = 7;

Returns
Type Description
boolean

Whether the builtinUserInputAction field is set.

hasExternalAction()

public abstract boolean hasExternalAction()

Action that is implemented and performed outside of (your) third-party application. The application needs to redirect the business to the external location where they can perform the action.

.google.shopping.merchant.issueresolution.v1beta.ExternalAction external_action = 3;

Returns
Type Description
boolean

Whether the externalAction field is set.