public static final class ListConversationsRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListConversationsRequest.Builder> implements ListConversationsRequestOrBuilder
Request to list conversations.Protobuf type
google.cloud.contactcenterinsights.v1.ListConversationsRequest| Modifier and Type | Method and Description |
|---|---|
ListConversationsRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListConversationsRequest |
build() |
ListConversationsRequest |
buildPartial() |
ListConversationsRequest.Builder |
clear() |
ListConversationsRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ListConversationsRequest.Builder |
clearFilter()
A filter to reduce results to a specific subset.
|
ListConversationsRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ListConversationsRequest.Builder |
clearOrderBy()
Optional.
|
ListConversationsRequest.Builder |
clearPageSize()
The maximum number of conversations to return in the response.
|
ListConversationsRequest.Builder |
clearPageToken()
The value returned by the last `ListConversationsResponse`.
|
ListConversationsRequest.Builder |
clearParent()
Required.
|
ListConversationsRequest.Builder |
clearView()
The level of details of the conversation.
|
ListConversationsRequest.Builder |
clone() |
ListConversationsRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getFilter()
A filter to reduce results to a specific subset.
|
com.google.protobuf.ByteString |
getFilterBytes()
A filter to reduce results to a specific subset.
|
String |
getOrderBy()
Optional.
|
com.google.protobuf.ByteString |
getOrderByBytes()
Optional.
|
int |
getPageSize()
The maximum number of conversations to return in the response.
|
String |
getPageToken()
The value returned by the last `ListConversationsResponse`.
|
com.google.protobuf.ByteString |
getPageTokenBytes()
The value returned by the last `ListConversationsResponse`.
|
String |
getParent()
Required.
|
com.google.protobuf.ByteString |
getParentBytes()
Required.
|
ConversationView |
getView()
The level of details of the conversation.
|
int |
getViewValue()
The level of details of the conversation.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ListConversationsRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ListConversationsRequest.Builder |
mergeFrom(ListConversationsRequest other) |
ListConversationsRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
ListConversationsRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ListConversationsRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListConversationsRequest.Builder |
setFilter(String value)
A filter to reduce results to a specific subset.
|
ListConversationsRequest.Builder |
setFilterBytes(com.google.protobuf.ByteString value)
A filter to reduce results to a specific subset.
|
ListConversationsRequest.Builder |
setOrderBy(String value)
Optional.
|
ListConversationsRequest.Builder |
setOrderByBytes(com.google.protobuf.ByteString value)
Optional.
|
ListConversationsRequest.Builder |
setPageSize(int value)
The maximum number of conversations to return in the response.
|
ListConversationsRequest.Builder |
setPageToken(String value)
The value returned by the last `ListConversationsResponse`.
|
ListConversationsRequest.Builder |
setPageTokenBytes(com.google.protobuf.ByteString value)
The value returned by the last `ListConversationsResponse`.
|
ListConversationsRequest.Builder |
setParent(String value)
Required.
|
ListConversationsRequest.Builder |
setParentBytes(com.google.protobuf.ByteString value)
Required.
|
ListConversationsRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ListConversationsRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ListConversationsRequest.Builder |
setView(ConversationView value)
The level of details of the conversation.
|
ListConversationsRequest.Builder |
setViewValue(int value)
The level of details of the conversation.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ListConversationsRequest.Builder>public ListConversationsRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ListConversationsRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ListConversationsRequest.Builder>public ListConversationsRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ListConversationsRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ListConversationsRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ListConversationsRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ListConversationsRequest.Builder>public ListConversationsRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ListConversationsRequest.Builder>public ListConversationsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ListConversationsRequest.Builder>public ListConversationsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ListConversationsRequest.Builder>public ListConversationsRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListConversationsRequest.Builder>public ListConversationsRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListConversationsRequest.Builder>public ListConversationsRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListConversationsRequest.Builder>public ListConversationsRequest.Builder mergeFrom(ListConversationsRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ListConversationsRequest.Builder>public ListConversationsRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListConversationsRequest.Builder>IOExceptionpublic String getParent()
Required. The parent resource of the conversation.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParent in interface ListConversationsRequestOrBuilderpublic com.google.protobuf.ByteString getParentBytes()
Required. The parent resource of the conversation.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParentBytes in interface ListConversationsRequestOrBuilderpublic ListConversationsRequest.Builder setParent(String value)
Required. The parent resource of the conversation.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The parent to set.public ListConversationsRequest.Builder clearParent()
Required. The parent resource of the conversation.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public ListConversationsRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
Required. The parent resource of the conversation.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The bytes for parent to set.public int getPageSize()
The maximum number of conversations to return in the response. A valid page size ranges from 0 to 100,000 inclusive. If the page size is zero or unspecified, a default page size of 100 will be chosen. Note that a call might return fewer results than the requested page size.
int32 page_size = 2;getPageSize in interface ListConversationsRequestOrBuilderpublic ListConversationsRequest.Builder setPageSize(int value)
The maximum number of conversations to return in the response. A valid page size ranges from 0 to 100,000 inclusive. If the page size is zero or unspecified, a default page size of 100 will be chosen. Note that a call might return fewer results than the requested page size.
int32 page_size = 2;value - The pageSize to set.public ListConversationsRequest.Builder clearPageSize()
The maximum number of conversations to return in the response. A valid page size ranges from 0 to 100,000 inclusive. If the page size is zero or unspecified, a default page size of 100 will be chosen. Note that a call might return fewer results than the requested page size.
int32 page_size = 2;public String getPageToken()
The value returned by the last `ListConversationsResponse`. This value indicates that this is a continuation of a prior `ListConversations` call and that the system should return the next page of data.
string page_token = 3;getPageToken in interface ListConversationsRequestOrBuilderpublic com.google.protobuf.ByteString getPageTokenBytes()
The value returned by the last `ListConversationsResponse`. This value indicates that this is a continuation of a prior `ListConversations` call and that the system should return the next page of data.
string page_token = 3;getPageTokenBytes in interface ListConversationsRequestOrBuilderpublic ListConversationsRequest.Builder setPageToken(String value)
The value returned by the last `ListConversationsResponse`. This value indicates that this is a continuation of a prior `ListConversations` call and that the system should return the next page of data.
string page_token = 3;value - The pageToken to set.public ListConversationsRequest.Builder clearPageToken()
The value returned by the last `ListConversationsResponse`. This value indicates that this is a continuation of a prior `ListConversations` call and that the system should return the next page of data.
string page_token = 3;public ListConversationsRequest.Builder setPageTokenBytes(com.google.protobuf.ByteString value)
The value returned by the last `ListConversationsResponse`. This value indicates that this is a continuation of a prior `ListConversations` call and that the system should return the next page of data.
string page_token = 3;value - The bytes for pageToken to set.public String getFilter()
A filter to reduce results to a specific subset. Useful for querying conversations with specific properties.
string filter = 4;getFilter in interface ListConversationsRequestOrBuilderpublic com.google.protobuf.ByteString getFilterBytes()
A filter to reduce results to a specific subset. Useful for querying conversations with specific properties.
string filter = 4;getFilterBytes in interface ListConversationsRequestOrBuilderpublic ListConversationsRequest.Builder setFilter(String value)
A filter to reduce results to a specific subset. Useful for querying conversations with specific properties.
string filter = 4;value - The filter to set.public ListConversationsRequest.Builder clearFilter()
A filter to reduce results to a specific subset. Useful for querying conversations with specific properties.
string filter = 4;public ListConversationsRequest.Builder setFilterBytes(com.google.protobuf.ByteString value)
A filter to reduce results to a specific subset. Useful for querying conversations with specific properties.
string filter = 4;value - The bytes for filter to set.public String getOrderBy()
Optional. The attribute by which to order conversations in the response. If empty, conversations will be ordered by descending creation time. Supported values are one of the following: * create_time * customer_satisfaction_rating * duration * latest_analysis * start_time * turn_count The default sort order is ascending. To specify order, append `asc` or `desc` (`create_time desc`). For more details, see [Google AIPs Ordering](https://google.aip.dev/132#ordering).
string order_by = 7 [(.google.api.field_behavior) = OPTIONAL];getOrderBy in interface ListConversationsRequestOrBuilderpublic com.google.protobuf.ByteString getOrderByBytes()
Optional. The attribute by which to order conversations in the response. If empty, conversations will be ordered by descending creation time. Supported values are one of the following: * create_time * customer_satisfaction_rating * duration * latest_analysis * start_time * turn_count The default sort order is ascending. To specify order, append `asc` or `desc` (`create_time desc`). For more details, see [Google AIPs Ordering](https://google.aip.dev/132#ordering).
string order_by = 7 [(.google.api.field_behavior) = OPTIONAL];getOrderByBytes in interface ListConversationsRequestOrBuilderpublic ListConversationsRequest.Builder setOrderBy(String value)
Optional. The attribute by which to order conversations in the response. If empty, conversations will be ordered by descending creation time. Supported values are one of the following: * create_time * customer_satisfaction_rating * duration * latest_analysis * start_time * turn_count The default sort order is ascending. To specify order, append `asc` or `desc` (`create_time desc`). For more details, see [Google AIPs Ordering](https://google.aip.dev/132#ordering).
string order_by = 7 [(.google.api.field_behavior) = OPTIONAL];value - The orderBy to set.public ListConversationsRequest.Builder clearOrderBy()
Optional. The attribute by which to order conversations in the response. If empty, conversations will be ordered by descending creation time. Supported values are one of the following: * create_time * customer_satisfaction_rating * duration * latest_analysis * start_time * turn_count The default sort order is ascending. To specify order, append `asc` or `desc` (`create_time desc`). For more details, see [Google AIPs Ordering](https://google.aip.dev/132#ordering).
string order_by = 7 [(.google.api.field_behavior) = OPTIONAL];public ListConversationsRequest.Builder setOrderByBytes(com.google.protobuf.ByteString value)
Optional. The attribute by which to order conversations in the response. If empty, conversations will be ordered by descending creation time. Supported values are one of the following: * create_time * customer_satisfaction_rating * duration * latest_analysis * start_time * turn_count The default sort order is ascending. To specify order, append `asc` or `desc` (`create_time desc`). For more details, see [Google AIPs Ordering](https://google.aip.dev/132#ordering).
string order_by = 7 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for orderBy to set.public int getViewValue()
The level of details of the conversation. Default is `BASIC`.
.google.cloud.contactcenterinsights.v1.ConversationView view = 5;getViewValue in interface ListConversationsRequestOrBuilderpublic ListConversationsRequest.Builder setViewValue(int value)
The level of details of the conversation. Default is `BASIC`.
.google.cloud.contactcenterinsights.v1.ConversationView view = 5;value - The enum numeric value on the wire for view to set.public ConversationView getView()
The level of details of the conversation. Default is `BASIC`.
.google.cloud.contactcenterinsights.v1.ConversationView view = 5;getView in interface ListConversationsRequestOrBuilderpublic ListConversationsRequest.Builder setView(ConversationView value)
The level of details of the conversation. Default is `BASIC`.
.google.cloud.contactcenterinsights.v1.ConversationView view = 5;value - The view to set.public ListConversationsRequest.Builder clearView()
The level of details of the conversation. Default is `BASIC`.
.google.cloud.contactcenterinsights.v1.ConversationView view = 5;public final ListConversationsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListConversationsRequest.Builder>public final ListConversationsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListConversationsRequest.Builder>Copyright © 2025 Google LLC. All rights reserved.