# Interface ListConversationsRequestOrBuilder (0.9.0)

0.9.0 (latest) 0.7.0 0.4.0 0.3.0 0.1.0

    public interface ListConversationsRequestOrBuilder 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. Filter to be applied when listing the conversations.
See <https://google.aip.dev/160> for more details.

`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. Filter to be applied when listing the conversations.
See <https://google.aip.dev/160> for more details.

`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. Requested page size. Server may return fewer items than
requested. If unspecified, server will pick an appropriate default.

`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. The
next_page_token
value returned from a previous list
AgentService.ListConversations
call.

`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. The
next_page_token
value returned from a previous list
AgentService.ListConversations
call.

`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 resource name of the app to list conversations from.

`
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 resource name of the app to list conversations from.

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

### getSource()

    public abstract Conversation.Source getSource()

Optional. Indicate the source of the conversation. If not set, Source.Live
will be applied by default. Will be deprecated in favor of `sources` field.

`
.google.cloud.ces.v1.Conversation.Source source = 5 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1.Conversation.Source` | The source. |

### getSourceValue()

    public abstract int getSourceValue()

Optional. Indicate the source of the conversation. If not set, Source.Live
will be applied by default. Will be deprecated in favor of `sources` field.

`
.google.cloud.ces.v1.Conversation.Source source = 5 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire for source. |

### getSources(int index)

    public abstract Conversation.Source getSources(int index)

Optional. Indicate the sources of the conversations. If not set, all
available sources will be applied by default.

`
repeated .google.cloud.ces.v1.Conversation.Source sources = 6 [(.google.api.field_behavior) = OPTIONAL];
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The index of the element to return. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1.Conversation.Source` | The sources at the given index. |

### getSourcesCount()

    public abstract int getSourcesCount()

Optional. Indicate the sources of the conversations. If not set, all
available sources will be applied by default.

`
repeated .google.cloud.ces.v1.Conversation.Source sources = 6 [(.google.api.field_behavior) = OPTIONAL];
`

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

### getSourcesList()

    public abstract List<Conversation.Source> getSourcesList()

Optional. Indicate the sources of the conversations. If not set, all
available sources will be applied by default.

`
repeated .google.cloud.ces.v1.Conversation.Source sources = 6 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1.Conversation.Source>` | A list containing the sources. |

### getSourcesValue(int index)

    public abstract int getSourcesValue(int index)

Optional. Indicate the sources of the conversations. If not set, all
available sources will be applied by default.

`
repeated .google.cloud.ces.v1.Conversation.Source sources = 6 [(.google.api.field_behavior) = OPTIONAL];
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The index of the value to return. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire of sources at the given index. |

### getSourcesValueList()

    public abstract List<Integer> getSourcesValueList()

Optional. Indicate the sources of the conversations. If not set, all
available sources will be applied by default.

`
repeated .google.cloud.ces.v1.Conversation.Source sources = 6 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html>` | A list containing the enum numeric values on the wire for sources. |