public final class Action extends GeneratedMessageV3 implements ActionOrBuilder
An actionable step that can be executed to solve the issue.
Protobuf type google.shopping.merchant.issueresolution.v1beta.Action
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int BUILTIN_SIMPLE_ACTION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int BUILTIN_USER_INPUT_ACTION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int BUTTON_LABEL_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int EXTERNAL_ACTION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int IS_AVAILABLE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int REASONS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
public static Action getDefaultInstance()
Returns |
Type |
Description |
Action |
|
public static final Descriptors.Descriptor getDescriptor()
public static Action.Builder newBuilder()
public static Action.Builder newBuilder(Action prototype)
Parameter |
Name |
Description |
prototype |
Action
|
public static Action parseDelimitedFrom(InputStream input)
Returns |
Type |
Description |
Action |
|
public static Action parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Action |
|
public static Action parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
Returns |
Type |
Description |
Action |
|
public static Action parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Action |
|
public static Action parseFrom(ByteString data)
Returns |
Type |
Description |
Action |
|
public static Action parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Action |
|
public static Action parseFrom(CodedInputStream input)
Returns |
Type |
Description |
Action |
|
public static Action parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Action |
|
public static Action parseFrom(InputStream input)
Returns |
Type |
Description |
Action |
|
public static Action parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Action |
|
public static Action parseFrom(ByteBuffer data)
Returns |
Type |
Description |
Action |
|
public static Action parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Action |
|
public static Parser<Action> parser()
Methods
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
public Action.ActionCase getActionCase()
public 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;
public 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;
public 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;
public 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;
public String getButtonLabel()
Label of the action button.
string button_label = 4;
Returns |
Type |
Description |
String |
The buttonLabel.
|
public ByteString getButtonLabelBytes()
Label of the action button.
string button_label = 4;
Returns |
Type |
Description |
ByteString |
The bytes for buttonLabel.
|
public Action getDefaultInstanceForType()
Returns |
Type |
Description |
Action |
|
getExternalAction()
public 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;
getExternalActionOrBuilder()
public 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;
public 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.
|
public Parser<Action> getParserForType()
Overrides
public 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
|
public 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 |
|
public 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;
public 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
|
public 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> |
|
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
public 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.
|
public 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.
|
public 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.
|
Returns |
Type |
Description |
int |
|
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public Action.Builder newBuilderForType()
protected Action.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
public Action.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides