public static final class ListConversationsRequest.Builder extends GeneratedMessage.Builder<ListConversationsRequest.Builder> implements ListConversationsRequestOrBuilderRequest message for AgentService.ListConversations.
Protobuf type google.cloud.ces.v1.ListConversationsRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListConversationsRequest.BuilderImplements
ListConversationsRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllSources(Iterable<? extends Conversation.Source> values)
public ListConversationsRequest.Builder addAllSources(Iterable<? extends Conversation.Source> values)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 |
values |
Iterable<? extends com.google.cloud.ces.v1.Conversation.Source>The sources to add. |
| Returns | |
|---|---|
| Type | Description |
ListConversationsRequest.Builder |
This builder for chaining. |
addAllSourcesValue(Iterable<Integer> values)
public ListConversationsRequest.Builder addAllSourcesValue(Iterable<Integer> values)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 |
values |
Iterable<Integer>The enum numeric values on the wire for sources to add. |
| Returns | |
|---|---|
| Type | Description |
ListConversationsRequest.Builder |
This builder for chaining. |
addSources(Conversation.Source value)
public ListConversationsRequest.Builder addSources(Conversation.Source value)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 |
value |
Conversation.SourceThe sources to add. |
| Returns | |
|---|---|
| Type | Description |
ListConversationsRequest.Builder |
This builder for chaining. |
addSourcesValue(int value)
public ListConversationsRequest.Builder addSourcesValue(int value)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 |
value |
intThe enum numeric value on the wire for sources to add. |
| Returns | |
|---|---|
| Type | Description |
ListConversationsRequest.Builder |
This builder for chaining. |
build()
public ListConversationsRequest build()| Returns | |
|---|---|
| Type | Description |
ListConversationsRequest |
|
buildPartial()
public ListConversationsRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
ListConversationsRequest |
|
clear()
public ListConversationsRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListConversationsRequest.Builder |
|
clearFilter()
public ListConversationsRequest.Builder clearFilter()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 |
ListConversationsRequest.Builder |
This builder for chaining. |
clearPageSize()
public ListConversationsRequest.Builder clearPageSize()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 |
ListConversationsRequest.Builder |
This builder for chaining. |
clearPageToken()
public ListConversationsRequest.Builder clearPageToken()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 |
ListConversationsRequest.Builder |
This builder for chaining. |
clearParent()
public ListConversationsRequest.Builder clearParent()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 |
ListConversationsRequest.Builder |
This builder for chaining. |
clearSource()
public ListConversationsRequest.Builder clearSource() 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 |
ListConversationsRequest.Builder |
This builder for chaining. |
clearSources()
public ListConversationsRequest.Builder clearSources()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 |
ListConversationsRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ListConversationsRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListConversationsRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getFilter()
public 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 |
String |
The filter. |
getFilterBytes()
public 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 |
ByteString |
The bytes for filter. |
getPageSize()
public 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 |
int |
The pageSize. |
getPageToken()
public 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 |
String |
The pageToken. |
getPageTokenBytes()
public 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 |
ByteString |
The bytes for pageToken. |
getParent()
public 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 |
String |
The parent. |
getParentBytes()
public 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 |
ByteString |
The bytes for parent. |
getSource()
public 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 |
Conversation.Source |
The source. |
getSourceValue()
public 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 |
int |
The enum numeric value on the wire for source. |
getSources(int index)
public 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 |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
Conversation.Source |
The sources at the given index. |
getSourcesCount()
public 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 |
int |
The count of sources. |
getSourcesList()
public 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 |
List<Source> |
A list containing the sources. |
getSourcesValue(int index)
public 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 |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire of sources at the given index. |
getSourcesValueList()
public 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 |
List<Integer> |
A list containing the enum numeric values on the wire for sources. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ListConversationsRequest other)
public ListConversationsRequest.Builder mergeFrom(ListConversationsRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
ListConversationsRequest |
| Returns | |
|---|---|
| Type | Description |
ListConversationsRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListConversationsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListConversationsRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListConversationsRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListConversationsRequest.Builder |
|
setFilter(String value)
public ListConversationsRequest.Builder setFilter(String value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe filter to set. |
| Returns | |
|---|---|
| Type | Description |
ListConversationsRequest.Builder |
This builder for chaining. |
setFilterBytes(ByteString value)
public ListConversationsRequest.Builder setFilterBytes(ByteString value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for filter to set. |
| Returns | |
|---|---|
| Type | Description |
ListConversationsRequest.Builder |
This builder for chaining. |
setPageSize(int value)
public ListConversationsRequest.Builder setPageSize(int value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe pageSize to set. |
| Returns | |
|---|---|
| Type | Description |
ListConversationsRequest.Builder |
This builder for chaining. |
setPageToken(String value)
public ListConversationsRequest.Builder setPageToken(String value)Optional. The next_page_token value returned from a previous list AgentService.ListConversations call.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe pageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListConversationsRequest.Builder |
This builder for chaining. |
setPageTokenBytes(ByteString value)
public ListConversationsRequest.Builder setPageTokenBytes(ByteString value)Optional. The next_page_token value returned from a previous list AgentService.ListConversations call.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for pageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListConversationsRequest.Builder |
This builder for chaining. |
setParent(String value)
public ListConversationsRequest.Builder setParent(String value)Required. The resource name of the app to list conversations from.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
ListConversationsRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public ListConversationsRequest.Builder setParentBytes(ByteString value)Required. The resource name of the app to list conversations from.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
ListConversationsRequest.Builder |
This builder for chaining. |
setSource(Conversation.Source value)
public ListConversationsRequest.Builder setSource(Conversation.Source value) 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];
| Parameter | |
|---|---|
| Name | Description |
value |
Conversation.SourceThe source to set. |
| Returns | |
|---|---|
| Type | Description |
ListConversationsRequest.Builder |
This builder for chaining. |
setSourceValue(int value)
public ListConversationsRequest.Builder setSourceValue(int value) 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];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for source to set. |
| Returns | |
|---|---|
| Type | Description |
ListConversationsRequest.Builder |
This builder for chaining. |
setSources(int index, Conversation.Source value)
public ListConversationsRequest.Builder setSources(int index, Conversation.Source value)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];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
Conversation.SourceThe sources to set. |
| Returns | |
|---|---|
| Type | Description |
ListConversationsRequest.Builder |
This builder for chaining. |
setSourcesValue(int index, int value)
public ListConversationsRequest.Builder setSourcesValue(int index, int value)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];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
intThe enum numeric value on the wire for sources to set. |
| Returns | |
|---|---|
| Type | Description |
ListConversationsRequest.Builder |
This builder for chaining. |