public static final class BuiltInUserInputAction.Builder extends GeneratedMessageV3.Builder<BuiltInUserInputAction.Builder> 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.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public BuiltInUserInputAction.Builder addAllFlows(Iterable<? extends ActionFlow> values)
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 |
values |
Iterable<? extends com.google.shopping.merchant.issueresolution.v1beta.ActionFlow>
|
public BuiltInUserInputAction.Builder addFlows(ActionFlow value)
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 BuiltInUserInputAction.Builder addFlows(ActionFlow.Builder builderForValue)
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 BuiltInUserInputAction.Builder addFlows(int index, ActionFlow value)
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 BuiltInUserInputAction.Builder addFlows(int index, ActionFlow.Builder builderForValue)
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 ActionFlow.Builder addFlowsBuilder()
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 ActionFlow.Builder addFlowsBuilder(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 BuiltInUserInputAction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public BuiltInUserInputAction build()
public BuiltInUserInputAction buildPartial()
public BuiltInUserInputAction.Builder clear()
Overrides
clearActionContext()
public BuiltInUserInputAction.Builder clearActionContext()
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;
public BuiltInUserInputAction.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public BuiltInUserInputAction.Builder clearFlows()
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 BuiltInUserInputAction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public BuiltInUserInputAction.Builder clone()
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 Descriptors.Descriptor getDescriptorForType()
Overrides
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 ActionFlow.Builder getFlowsBuilder(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<ActionFlow.Builder> getFlowsBuilderList()
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 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> |
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public BuiltInUserInputAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public BuiltInUserInputAction.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public BuiltInUserInputAction.Builder mergeFrom(BuiltInUserInputAction other)
public final BuiltInUserInputAction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public BuiltInUserInputAction.Builder removeFlows(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
|
setActionContext(String value)
public BuiltInUserInputAction.Builder setActionContext(String value)
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;
Parameter |
Name |
Description |
value |
String
The actionContext to set.
|
setActionContextBytes(ByteString value)
public BuiltInUserInputAction.Builder setActionContextBytes(ByteString value)
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;
Parameter |
Name |
Description |
value |
ByteString
The bytes for actionContext to set.
|
public BuiltInUserInputAction.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public BuiltInUserInputAction.Builder setFlows(int index, ActionFlow value)
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 BuiltInUserInputAction.Builder setFlows(int index, ActionFlow.Builder builderForValue)
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 BuiltInUserInputAction.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final BuiltInUserInputAction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides