# Interface TriggerActionRequestOrBuilder (1.21.0)

1.21.0 (latest) 1.19.0 1.16.0 1.15.0 1.13.0 1.11.0 1.10.0 1.9.0 1.8.0 1.6.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0 0.10.0 0.8.0 0.7.0 0.4.0 0.3.0 0.2.0

    public interface TriggerActionRequestOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## Methods

### getLanguageCode()

    public abstract String getLanguageCode()

Optional. Language code [IETF BCP 47
syntax](https://tools.ietf.org/html/bcp47) used to localize the response.
If not set, the result will be in default language `en-US`.

`string language_code = 3 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The languageCode. |

### getLanguageCodeBytes()

    public abstract ByteString getLanguageCodeBytes()

Optional. Language code [IETF BCP 47
syntax](https://tools.ietf.org/html/bcp47) used to localize the response.
If not set, the result will be in default language `en-US`.

`string language_code = 3 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for languageCode. |

### getName()

    public abstract String getName()

Required. The business's account that is triggering the action.
Format: `accounts/{account}`

`
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The name. |

### getNameBytes()

    public abstract ByteString getNameBytes()

Required. The business's account that is triggering the action.
Format: `accounts/{account}`

`
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for name. |

### getPayload()

    public abstract TriggerActionPayload getPayload()

Required. The payload for the triggered action.

`
.google.shopping.merchant.issueresolution.v1beta.TriggerActionPayload payload = 2 [(.google.api.field_behavior) = REQUIRED];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-shopping-merchant-issue-resolution/latest/com.google.shopping.merchant.issueresolution.v1beta.TriggerActionPayload` | The payload. |

### getPayloadOrBuilder()

    public abstract TriggerActionPayloadOrBuilder getPayloadOrBuilder()

Required. The payload for the triggered action.

`
.google.shopping.merchant.issueresolution.v1beta.TriggerActionPayload payload = 2 [(.google.api.field_behavior) = REQUIRED];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-shopping-merchant-issue-resolution/latest/com.google.shopping.merchant.issueresolution.v1beta.TriggerActionPayloadOrBuilder` |   |

### hasPayload()

    public abstract boolean hasPayload()

Required. The payload for the triggered action.

`
.google.shopping.merchant.issueresolution.v1beta.TriggerActionPayload payload = 2 [(.google.api.field_behavior) = REQUIRED];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the payload field is set. |