Class ActionFlow (0.2.0)

public final class ActionFlow extends GeneratedMessageV3 implements ActionFlowOrBuilder

Flow that can be selected for an action. When a business selects a flow, application should open a dialog with more information and input form.

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

Implements

ActionFlowOrBuilder

Static Fields

DIALOG_BUTTON_LABEL_FIELD_NUMBER

public static final int DIALOG_BUTTON_LABEL_FIELD_NUMBER
Field Value
Type Description
int

DIALOG_CALLOUT_FIELD_NUMBER

public static final int DIALOG_CALLOUT_FIELD_NUMBER
Field Value
Type Description
int

DIALOG_MESSAGE_FIELD_NUMBER

public static final int DIALOG_MESSAGE_FIELD_NUMBER
Field Value
Type Description
int

DIALOG_TITLE_FIELD_NUMBER

public static final int DIALOG_TITLE_FIELD_NUMBER
Field Value
Type Description
int

ID_FIELD_NUMBER

public static final int ID_FIELD_NUMBER
Field Value
Type Description
int

INPUTS_FIELD_NUMBER

public static final int INPUTS_FIELD_NUMBER
Field Value
Type Description
int

LABEL_FIELD_NUMBER

public static final int LABEL_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ActionFlow getDefaultInstance()
Returns
Type Description
ActionFlow

getDescriptor()

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

newBuilder()

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

newBuilder(ActionFlow prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ActionFlow getDefaultInstanceForType()
Returns
Type Description
ActionFlow

getDialogButtonLabel()

public String getDialogButtonLabel()

Label for the button to trigger the action from the action dialog. For example: "Request review"

string dialog_button_label = 9;

Returns
Type Description
String

The dialogButtonLabel.

getDialogButtonLabelBytes()

public ByteString getDialogButtonLabelBytes()

Label for the button to trigger the action from the action dialog. For example: "Request review"

string dialog_button_label = 9;

Returns
Type Description
ByteString

The bytes for dialogButtonLabel.

getDialogCallout()

public Callout getDialogCallout()

Important message to be highlighted in the request dialog. For example: "You can only request a review for disagreeing with this issue once. If it's not approved, you'll need to fix the issue and wait a few days before you can request another review."

optional .google.shopping.merchant.issueresolution.v1beta.Callout dialog_callout = 8;

Returns
Type Description
Callout

The dialogCallout.

getDialogCalloutOrBuilder()

public CalloutOrBuilder getDialogCalloutOrBuilder()

Important message to be highlighted in the request dialog. For example: "You can only request a review for disagreeing with this issue once. If it's not approved, you'll need to fix the issue and wait a few days before you can request another review."

optional .google.shopping.merchant.issueresolution.v1beta.Callout dialog_callout = 8;

Returns
Type Description
CalloutOrBuilder

getDialogMessage()

public TextWithTooltip getDialogMessage()

Message displayed in the request dialog. For example: "Make sure you've fixed all your country-specific issues. If not, you may have to wait 7 days to request another review". There may be an more information to be shown in a tooltip.

optional .google.shopping.merchant.issueresolution.v1beta.TextWithTooltip dialog_message = 7;

Returns
Type Description
TextWithTooltip

The dialogMessage.

getDialogMessageOrBuilder()

public TextWithTooltipOrBuilder getDialogMessageOrBuilder()

Message displayed in the request dialog. For example: "Make sure you've fixed all your country-specific issues. If not, you may have to wait 7 days to request another review". There may be an more information to be shown in a tooltip.

optional .google.shopping.merchant.issueresolution.v1beta.TextWithTooltip dialog_message = 7;

Returns
Type Description
TextWithTooltipOrBuilder

getDialogTitle()

public String getDialogTitle()

Title of the request dialog. For example: "Before you request a review"

string dialog_title = 4;

Returns
Type Description
String

The dialogTitle.

getDialogTitleBytes()

public ByteString getDialogTitleBytes()

Title of the request dialog. For example: "Before you request a review"

string dialog_title = 4;

Returns
Type Description
ByteString

The bytes for dialogTitle.

getId()

public String getId()

Not for display but need to be sent back for the selected action flow.

string id = 1;

Returns
Type Description
String

The id.

getIdBytes()

public ByteString getIdBytes()

Not for display but need to be sent back for the selected action flow.

string id = 1;

Returns
Type Description
ByteString

The bytes for id.

getInputs(int index)

public InputField getInputs(int index)

A list of input fields.

repeated .google.shopping.merchant.issueresolution.v1beta.InputField inputs = 3;

Parameter
Name Description
index int
Returns
Type Description
InputField

getInputsCount()

public int getInputsCount()

A list of input fields.

repeated .google.shopping.merchant.issueresolution.v1beta.InputField inputs = 3;

Returns
Type Description
int

getInputsList()

public List<InputField> getInputsList()

A list of input fields.

repeated .google.shopping.merchant.issueresolution.v1beta.InputField inputs = 3;

Returns
Type Description
List<InputField>

getInputsOrBuilder(int index)

public InputFieldOrBuilder getInputsOrBuilder(int index)

A list of input fields.

repeated .google.shopping.merchant.issueresolution.v1beta.InputField inputs = 3;

Parameter
Name Description
index int
Returns
Type Description
InputFieldOrBuilder

getInputsOrBuilderList()

public List<? extends InputFieldOrBuilder> getInputsOrBuilderList()

A list of input fields.

repeated .google.shopping.merchant.issueresolution.v1beta.InputField inputs = 3;

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

getLabel()

public String getLabel()

Text value describing the intent for the action flow. It can be used as an input label if business needs to pick one of multiple flows. For example: "I disagree with the issue"

string label = 2;

Returns
Type Description
String

The label.

getLabelBytes()

public ByteString getLabelBytes()

Text value describing the intent for the action flow. It can be used as an input label if business needs to pick one of multiple flows. For example: "I disagree with the issue"

string label = 2;

Returns
Type Description
ByteString

The bytes for label.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasDialogCallout()

public boolean hasDialogCallout()

Important message to be highlighted in the request dialog. For example: "You can only request a review for disagreeing with this issue once. If it's not approved, you'll need to fix the issue and wait a few days before you can request another review."

optional .google.shopping.merchant.issueresolution.v1beta.Callout dialog_callout = 8;

Returns
Type Description
boolean

Whether the dialogCallout field is set.

hasDialogMessage()

public boolean hasDialogMessage()

Message displayed in the request dialog. For example: "Make sure you've fixed all your country-specific issues. If not, you may have to wait 7 days to request another review". There may be an more information to be shown in a tooltip.

optional .google.shopping.merchant.issueresolution.v1beta.TextWithTooltip dialog_message = 7;

Returns
Type Description
boolean

Whether the dialogMessage 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 ActionFlow.Builder newBuilderForType()
Returns
Type Description
ActionFlow.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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