Class ActionFlow.Builder (0.2.0)

public static final class ActionFlow.Builder extends GeneratedMessageV3.Builder<ActionFlow.Builder> 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 Methods

getDescriptor()

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

Methods

addAllInputs(Iterable<? extends InputField> values)

public ActionFlow.Builder addAllInputs(Iterable<? extends InputField> values)

A list of input fields.

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

Parameter
Name Description
values Iterable<? extends com.google.shopping.merchant.issueresolution.v1beta.InputField>
Returns
Type Description
ActionFlow.Builder

addInputs(InputField value)

public ActionFlow.Builder addInputs(InputField value)

A list of input fields.

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

Parameter
Name Description
value InputField
Returns
Type Description
ActionFlow.Builder

addInputs(InputField.Builder builderForValue)

public ActionFlow.Builder addInputs(InputField.Builder builderForValue)

A list of input fields.

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

Parameter
Name Description
builderForValue InputField.Builder
Returns
Type Description
ActionFlow.Builder

addInputs(int index, InputField value)

public ActionFlow.Builder addInputs(int index, InputField value)

A list of input fields.

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

Parameters
Name Description
index int
value InputField
Returns
Type Description
ActionFlow.Builder

addInputs(int index, InputField.Builder builderForValue)

public ActionFlow.Builder addInputs(int index, InputField.Builder builderForValue)

A list of input fields.

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

Parameters
Name Description
index int
builderForValue InputField.Builder
Returns
Type Description
ActionFlow.Builder

addInputsBuilder()

public InputField.Builder addInputsBuilder()

A list of input fields.

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

Returns
Type Description
InputField.Builder

addInputsBuilder(int index)

public InputField.Builder addInputsBuilder(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.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ActionFlow.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ActionFlow.Builder
Overrides

build()

public ActionFlow build()
Returns
Type Description
ActionFlow

buildPartial()

public ActionFlow buildPartial()
Returns
Type Description
ActionFlow

clear()

public ActionFlow.Builder clear()
Returns
Type Description
ActionFlow.Builder
Overrides

clearDialogButtonLabel()

public ActionFlow.Builder clearDialogButtonLabel()

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

string dialog_button_label = 9;

Returns
Type Description
ActionFlow.Builder

This builder for chaining.

clearDialogCallout()

public ActionFlow.Builder clearDialogCallout()

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
ActionFlow.Builder

clearDialogMessage()

public ActionFlow.Builder clearDialogMessage()

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
ActionFlow.Builder

clearDialogTitle()

public ActionFlow.Builder clearDialogTitle()

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

string dialog_title = 4;

Returns
Type Description
ActionFlow.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ActionFlow.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ActionFlow.Builder
Overrides

clearId()

public ActionFlow.Builder clearId()

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

string id = 1;

Returns
Type Description
ActionFlow.Builder

This builder for chaining.

clearInputs()

public ActionFlow.Builder clearInputs()

A list of input fields.

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

Returns
Type Description
ActionFlow.Builder

clearLabel()

public ActionFlow.Builder clearLabel()

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
ActionFlow.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ActionFlow.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ActionFlow.Builder
Overrides

clone()

public ActionFlow.Builder clone()
Returns
Type Description
ActionFlow.Builder
Overrides

getDefaultInstanceForType()

public ActionFlow getDefaultInstanceForType()
Returns
Type Description
ActionFlow

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

getDialogCalloutBuilder()

public Callout.Builder getDialogCalloutBuilder()

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.Builder

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.

getDialogMessageBuilder()

public TextWithTooltip.Builder getDialogMessageBuilder()

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.Builder

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

getInputsBuilder(int index)

public InputField.Builder getInputsBuilder(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.Builder

getInputsBuilderList()

public List<InputField.Builder> getInputsBuilderList()

A list of input fields.

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

Returns
Type Description
List<Builder>

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.

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDialogCallout(Callout value)

public ActionFlow.Builder mergeDialogCallout(Callout value)

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;

Parameter
Name Description
value Callout
Returns
Type Description
ActionFlow.Builder

mergeDialogMessage(TextWithTooltip value)

public ActionFlow.Builder mergeDialogMessage(TextWithTooltip value)

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;

Parameter
Name Description
value TextWithTooltip
Returns
Type Description
ActionFlow.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ActionFlow.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ActionFlow.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ActionFlow.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ActionFlow.Builder
Overrides

mergeFrom(ActionFlow other)

public ActionFlow.Builder mergeFrom(ActionFlow other)
Parameter
Name Description
other ActionFlow
Returns
Type Description
ActionFlow.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ActionFlow.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ActionFlow.Builder
Overrides

removeInputs(int index)

public ActionFlow.Builder removeInputs(int index)

A list of input fields.

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

Parameter
Name Description
index int
Returns
Type Description
ActionFlow.Builder

setDialogButtonLabel(String value)

public ActionFlow.Builder setDialogButtonLabel(String value)

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

string dialog_button_label = 9;

Parameter
Name Description
value String

The dialogButtonLabel to set.

Returns
Type Description
ActionFlow.Builder

This builder for chaining.

setDialogButtonLabelBytes(ByteString value)

public ActionFlow.Builder setDialogButtonLabelBytes(ByteString value)

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

string dialog_button_label = 9;

Parameter
Name Description
value ByteString

The bytes for dialogButtonLabel to set.

Returns
Type Description
ActionFlow.Builder

This builder for chaining.

setDialogCallout(Callout value)

public ActionFlow.Builder setDialogCallout(Callout value)

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;

Parameter
Name Description
value Callout
Returns
Type Description
ActionFlow.Builder

setDialogCallout(Callout.Builder builderForValue)

public ActionFlow.Builder setDialogCallout(Callout.Builder builderForValue)

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;

Parameter
Name Description
builderForValue Callout.Builder
Returns
Type Description
ActionFlow.Builder

setDialogMessage(TextWithTooltip value)

public ActionFlow.Builder setDialogMessage(TextWithTooltip value)

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;

Parameter
Name Description
value TextWithTooltip
Returns
Type Description
ActionFlow.Builder

setDialogMessage(TextWithTooltip.Builder builderForValue)

public ActionFlow.Builder setDialogMessage(TextWithTooltip.Builder builderForValue)

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;

Parameter
Name Description
builderForValue TextWithTooltip.Builder
Returns
Type Description
ActionFlow.Builder

setDialogTitle(String value)

public ActionFlow.Builder setDialogTitle(String value)

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

string dialog_title = 4;

Parameter
Name Description
value String

The dialogTitle to set.

Returns
Type Description
ActionFlow.Builder

This builder for chaining.

setDialogTitleBytes(ByteString value)

public ActionFlow.Builder setDialogTitleBytes(ByteString value)

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

string dialog_title = 4;

Parameter
Name Description
value ByteString

The bytes for dialogTitle to set.

Returns
Type Description
ActionFlow.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ActionFlow.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ActionFlow.Builder
Overrides

setId(String value)

public ActionFlow.Builder setId(String value)

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

string id = 1;

Parameter
Name Description
value String

The id to set.

Returns
Type Description
ActionFlow.Builder

This builder for chaining.

setIdBytes(ByteString value)

public ActionFlow.Builder setIdBytes(ByteString value)

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

string id = 1;

Parameter
Name Description
value ByteString

The bytes for id to set.

Returns
Type Description
ActionFlow.Builder

This builder for chaining.

setInputs(int index, InputField value)

public ActionFlow.Builder setInputs(int index, InputField value)

A list of input fields.

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

Parameters
Name Description
index int
value InputField
Returns
Type Description
ActionFlow.Builder

setInputs(int index, InputField.Builder builderForValue)

public ActionFlow.Builder setInputs(int index, InputField.Builder builderForValue)

A list of input fields.

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

Parameters
Name Description
index int
builderForValue InputField.Builder
Returns
Type Description
ActionFlow.Builder

setLabel(String value)

public ActionFlow.Builder setLabel(String value)

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;

Parameter
Name Description
value String

The label to set.

Returns
Type Description
ActionFlow.Builder

This builder for chaining.

setLabelBytes(ByteString value)

public ActionFlow.Builder setLabelBytes(ByteString value)

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;

Parameter
Name Description
value ByteString

The bytes for label to set.

Returns
Type Description
ActionFlow.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ActionFlow.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ActionFlow.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ActionFlow.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ActionFlow.Builder
Overrides