Interface Action.ReasonOrBuilder (0.2.0)

public static interface Action.ReasonOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAction()

public abstract Action getAction()

Optional. An action that needs to be performed to solve the problem represented by this reason. This action will always be available. Should be rendered as a link or button next to the summarizing message.

For example, the review may be available only once the business configure all required attributes. In such a situation this action can be a link to the form, where they can fill the missing attribute to unblock the main action.

optional .google.shopping.merchant.issueresolution.v1beta.Action action = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Action

The action.

getActionOrBuilder()

public abstract ActionOrBuilder getActionOrBuilder()

Optional. An action that needs to be performed to solve the problem represented by this reason. This action will always be available. Should be rendered as a link or button next to the summarizing message.

For example, the review may be available only once the business configure all required attributes. In such a situation this action can be a link to the form, where they can fill the missing attribute to unblock the main action.

optional .google.shopping.merchant.issueresolution.v1beta.Action action = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ActionOrBuilder

getDetail()

public abstract String getDetail()

Detailed explanation of the reason. Should be displayed as a hint if present.

optional string detail = 2;

Returns
Type Description
String

The detail.

getDetailBytes()

public abstract ByteString getDetailBytes()

Detailed explanation of the reason. Should be displayed as a hint if present.

optional string detail = 2;

Returns
Type Description
ByteString

The bytes for detail.

getMessage()

public abstract String getMessage()

Messages summarizing the reason, why the action is not available. For example: "Review requested on Jan 03. Review requests can take a few days to complete."

string message = 1;

Returns
Type Description
String

The message.

getMessageBytes()

public abstract ByteString getMessageBytes()

Messages summarizing the reason, why the action is not available. For example: "Review requested on Jan 03. Review requests can take a few days to complete."

string message = 1;

Returns
Type Description
ByteString

The bytes for message.

hasAction()

public abstract boolean hasAction()

Optional. An action that needs to be performed to solve the problem represented by this reason. This action will always be available. Should be rendered as a link or button next to the summarizing message.

For example, the review may be available only once the business configure all required attributes. In such a situation this action can be a link to the form, where they can fill the missing attribute to unblock the main action.

optional .google.shopping.merchant.issueresolution.v1beta.Action action = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the action field is set.

hasDetail()

public abstract boolean hasDetail()

Detailed explanation of the reason. Should be displayed as a hint if present.

optional string detail = 2;

Returns
Type Description
boolean

Whether the detail field is set.