Class BuiltInUserInputAction (1.4.0)
public final class BuiltInUserInputAction extends GeneratedMessageV3 implements BuiltInUserInputActionOrBuilder
Action that is implemented and performed in (your) third-party application.
The application needs to show an additional content and input form to the
business. They can start the action only when they provided all required
inputs. The application will request processing of the action by calling the
triggeraction
method.
Protobuf type google.shopping.merchant.issueresolution.v1beta.BuiltInUserInputAction
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
ACTION_CONTEXT_FIELD_NUMBER
public static final int ACTION_CONTEXT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int FLOWS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
public static BuiltInUserInputAction getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static BuiltInUserInputAction.Builder newBuilder()
public static BuiltInUserInputAction.Builder newBuilder(BuiltInUserInputAction prototype)
public static BuiltInUserInputAction parseDelimitedFrom(InputStream input)
public static BuiltInUserInputAction parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static BuiltInUserInputAction parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
public static BuiltInUserInputAction parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BuiltInUserInputAction parseFrom(ByteString data)
public static BuiltInUserInputAction parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BuiltInUserInputAction parseFrom(CodedInputStream input)
public static BuiltInUserInputAction parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static BuiltInUserInputAction parseFrom(InputStream input)
public static BuiltInUserInputAction parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static BuiltInUserInputAction parseFrom(ByteBuffer data)
public static BuiltInUserInputAction parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<BuiltInUserInputAction> parser()
Methods
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getActionContext()
public String getActionContext()
Contains the action's context that must be included as part of the
TriggerActionPayload.action_context
in
TriggerActionRequest.payload
to call the triggeraction
method. The content should be treated as opaque
and must not be modified.
string action_context = 1;
Returns |
Type |
Description |
String |
The actionContext.
|
getActionContextBytes()
public ByteString getActionContextBytes()
Contains the action's context that must be included as part of the
TriggerActionPayload.action_context
in
TriggerActionRequest.payload
to call the triggeraction
method. The content should be treated as opaque
and must not be modified.
string action_context = 1;
Returns |
Type |
Description |
ByteString |
The bytes for actionContext.
|
public BuiltInUserInputAction getDefaultInstanceForType()
public ActionFlow getFlows(int index)
Actions may provide multiple different flows. Business selects one that
fits best to their intent. Selecting the flow is the first step in user's
interaction with the action. It affects what input fields will be available
and required and also how the request will be processed.
repeated .google.shopping.merchant.issueresolution.v1beta.ActionFlow flows = 3;
Parameter |
Name |
Description |
index |
int
|
public int getFlowsCount()
Actions may provide multiple different flows. Business selects one that
fits best to their intent. Selecting the flow is the first step in user's
interaction with the action. It affects what input fields will be available
and required and also how the request will be processed.
repeated .google.shopping.merchant.issueresolution.v1beta.ActionFlow flows = 3;
Returns |
Type |
Description |
int |
|
public List<ActionFlow> getFlowsList()
Actions may provide multiple different flows. Business selects one that
fits best to their intent. Selecting the flow is the first step in user's
interaction with the action. It affects what input fields will be available
and required and also how the request will be processed.
repeated .google.shopping.merchant.issueresolution.v1beta.ActionFlow flows = 3;
public ActionFlowOrBuilder getFlowsOrBuilder(int index)
Actions may provide multiple different flows. Business selects one that
fits best to their intent. Selecting the flow is the first step in user's
interaction with the action. It affects what input fields will be available
and required and also how the request will be processed.
repeated .google.shopping.merchant.issueresolution.v1beta.ActionFlow flows = 3;
Parameter |
Name |
Description |
index |
int
|
public List<? extends ActionFlowOrBuilder> getFlowsOrBuilderList()
Actions may provide multiple different flows. Business selects one that
fits best to their intent. Selecting the flow is the first step in user's
interaction with the action. It affects what input fields will be available
and required and also how the request will be processed.
repeated .google.shopping.merchant.issueresolution.v1beta.ActionFlow flows = 3;
Returns |
Type |
Description |
List<? extends com.google.shopping.merchant.issueresolution.v1beta.ActionFlowOrBuilder> |
|
public Parser<BuiltInUserInputAction> getParserForType()
Overrides
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
Returns |
Type |
Description |
int |
|
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public BuiltInUserInputAction.Builder newBuilderForType()
protected BuiltInUserInputAction.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
public BuiltInUserInputAction.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-11 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-11 UTC."],[],[]]