# Interface ListReactionsRequestOrBuilder (0.57.0)

0.57.0 (latest) 0.55.0 0.52.0 0.51.0 0.49.0 0.47.0 0.46.0 0.45.0 0.44.0 0.42.0 0.40.0 0.39.0 0.38.0 0.37.0 0.36.0 0.34.0 0.32.0 0.31.0 0.28.0 0.27.0 0.26.0 0.24.0 0.23.0 0.22.0 0.21.0 0.20.0 0.19.0 0.18.0 0.17.0 0.16.0 0.15.0 0.13.0 0.12.0 0.11.0 0.10.0 0.9.0 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.1.0

    public interface ListReactionsRequestOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getFilter()

    public abstract String getFilter()

Optional. A query filter.

You can filter reactions by
[emoji](https://developers.google.com/workspace/chat/api/reference/rest/v1/Emoji)
(either `emoji.unicode` or `emoji.custom_emoji.uid`) and
[user](https://developers.google.com/workspace/chat/api/reference/rest/v1/User)
(`user.name`).

To filter reactions for multiple emojis or users, join similar fields
with the `OR` operator, such as `emoji.unicode = "🙂" OR emoji.unicode =
"👍"` and `user.name = "users/AAAAAA" OR user.name = "users/BBBBBB"`.

To filter reactions by emoji and user, use the `AND` operator, such as
`emoji.unicode = "🙂" AND user.name = "users/AAAAAA"`.

If your query uses both `AND` and `OR`, group them with parentheses.

For example, the following queries are valid:

\``` `
user.name = "users/{user}"
emoji.unicode = "🙂"
emoji.custom_emoji.uid = "{uid}"
emoji.unicode = "🙂" OR emoji.unicode = "👍"
emoji.unicode = "🙂" OR emoji.custom_emoji.uid = "{uid}"
emoji.unicode = "🙂" AND user.name = "users/{user}"
(emoji.unicode = "🙂" OR emoji.custom_emoji.uid = "{uid}")
AND user.name = "users/{user}"
` ``

`
`

` The following queries are invalid:`
`
`

` ``` `
emoji.unicode = "🙂" AND emoji.unicode = "👍"
emoji.unicode = "🙂" AND emoji.custom_emoji.uid = "{uid}"
emoji.unicode = "🙂" OR user.name = "users/{user}"
emoji.unicode = "🙂" OR emoji.custom_emoji.uid = "{uid}" OR
user.name = "users/{user}"
emoji.unicode = "🙂" OR emoji.custom_emoji.uid = "{uid}"
AND user.name = "users/{user}"
` ``

`
`

` Invalid queries are rejected with an `INVALID_ARGUMENT\` error.

`string filter = 4 [(.google.api.field_behavior) = OPTIONAL];`

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

### getFilterBytes()

    public abstract ByteString getFilterBytes()

Optional. A query filter.

You can filter reactions by
[emoji](https://developers.google.com/workspace/chat/api/reference/rest/v1/Emoji)
(either `emoji.unicode` or `emoji.custom_emoji.uid`) and
[user](https://developers.google.com/workspace/chat/api/reference/rest/v1/User)
(`user.name`).

To filter reactions for multiple emojis or users, join similar fields
with the `OR` operator, such as `emoji.unicode = "🙂" OR emoji.unicode =
"👍"` and `user.name = "users/AAAAAA" OR user.name = "users/BBBBBB"`.

To filter reactions by emoji and user, use the `AND` operator, such as
`emoji.unicode = "🙂" AND user.name = "users/AAAAAA"`.

If your query uses both `AND` and `OR`, group them with parentheses.

For example, the following queries are valid:

\``` `
user.name = "users/{user}"
emoji.unicode = "🙂"
emoji.custom_emoji.uid = "{uid}"
emoji.unicode = "🙂" OR emoji.unicode = "👍"
emoji.unicode = "🙂" OR emoji.custom_emoji.uid = "{uid}"
emoji.unicode = "🙂" AND user.name = "users/{user}"
(emoji.unicode = "🙂" OR emoji.custom_emoji.uid = "{uid}")
AND user.name = "users/{user}"
` ``

`
`

` The following queries are invalid:`
`
`

` ``` `
emoji.unicode = "🙂" AND emoji.unicode = "👍"
emoji.unicode = "🙂" AND emoji.custom_emoji.uid = "{uid}"
emoji.unicode = "🙂" OR user.name = "users/{user}"
emoji.unicode = "🙂" OR emoji.custom_emoji.uid = "{uid}" OR
user.name = "users/{user}"
emoji.unicode = "🙂" OR emoji.custom_emoji.uid = "{uid}"
AND user.name = "users/{user}"
` ``

`
`

` Invalid queries are rejected with an `INVALID_ARGUMENT\` error.

`string filter = 4 [(.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 filter. |

### getPageSize()

    public abstract int getPageSize()

Optional. The maximum number of reactions returned. The service can return
fewer reactions than this value. If unspecified, the default value is 25.
The maximum value is 200; values above 200 are changed to 200.

`int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The pageSize. |

### getPageToken()

    public abstract String getPageToken()

Optional. (If resuming from a previous query.)

A page token received from a previous list reactions call. Provide this
to retrieve the subsequent page.

When paginating, the filter value should match the call that provided the
page token. Passing a different value might lead to unexpected results.

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

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

### getPageTokenBytes()

    public abstract ByteString getPageTokenBytes()

Optional. (If resuming from a previous query.)

A page token received from a previous list reactions call. Provide this
to retrieve the subsequent page.

When paginating, the filter value should match the call that provided the
page token. Passing a different value might lead to unexpected results.

`string page_token = 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 pageToken. |

### getParent()

    public abstract String getParent()

Required. The message users reacted to.

Format: `spaces/{space}/messages/{message}`

`
string parent = 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 parent. |

### getParentBytes()

    public abstract ByteString getParentBytes()

Required. The message users reacted to.

Format: `spaces/{space}/messages/{message}`

`
string parent = 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 parent. |