public static final class ListConversationsResponse.Builder extends GeneratedMessageV3.Builder<ListConversationsResponse.Builder> implements ListConversationsResponseOrBuilder
The response of listing conversations.
Protobuf type google.cloud.contactcenterinsights.v1.ListConversationsResponse
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public ListConversationsResponse.Builder addAllConversations(Iterable<? extends Conversation> values)
The conversations that match the request.
repeated .google.cloud.contactcenterinsights.v1.Conversation conversations = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.contactcenterinsights.v1.Conversation>
|
Returns
public ListConversationsResponse.Builder addConversations(Conversation value)
The conversations that match the request.
repeated .google.cloud.contactcenterinsights.v1.Conversation conversations = 1;
Parameter
Returns
public ListConversationsResponse.Builder addConversations(Conversation.Builder builderForValue)
The conversations that match the request.
repeated .google.cloud.contactcenterinsights.v1.Conversation conversations = 1;
Parameter
Returns
public ListConversationsResponse.Builder addConversations(int index, Conversation value)
The conversations that match the request.
repeated .google.cloud.contactcenterinsights.v1.Conversation conversations = 1;
Parameters
Returns
public ListConversationsResponse.Builder addConversations(int index, Conversation.Builder builderForValue)
The conversations that match the request.
repeated .google.cloud.contactcenterinsights.v1.Conversation conversations = 1;
Parameters
Returns
public Conversation.Builder addConversationsBuilder()
The conversations that match the request.
repeated .google.cloud.contactcenterinsights.v1.Conversation conversations = 1;
Returns
public Conversation.Builder addConversationsBuilder(int index)
The conversations that match the request.
repeated .google.cloud.contactcenterinsights.v1.Conversation conversations = 1;
Parameter
Returns
public ListConversationsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ListConversationsResponse build()
Returns
public ListConversationsResponse buildPartial()
Returns
public ListConversationsResponse.Builder clear()
Returns
Overrides
public ListConversationsResponse.Builder clearConversations()
The conversations that match the request.
repeated .google.cloud.contactcenterinsights.v1.Conversation conversations = 1;
Returns
public ListConversationsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNextPageToken()
public ListConversationsResponse.Builder clearNextPageToken()
A token which can be sent as page_token
to retrieve the next page. If
this field is set, it means there is another page available. If it is not
set, it means no other pages are available.
string next_page_token = 2;
Returns
public ListConversationsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public ListConversationsResponse.Builder clone()
Returns
Overrides
public Conversation getConversations(int index)
The conversations that match the request.
repeated .google.cloud.contactcenterinsights.v1.Conversation conversations = 1;
Parameter
Returns
public Conversation.Builder getConversationsBuilder(int index)
The conversations that match the request.
repeated .google.cloud.contactcenterinsights.v1.Conversation conversations = 1;
Parameter
Returns
public List<Conversation.Builder> getConversationsBuilderList()
The conversations that match the request.
repeated .google.cloud.contactcenterinsights.v1.Conversation conversations = 1;
Returns
public int getConversationsCount()
The conversations that match the request.
repeated .google.cloud.contactcenterinsights.v1.Conversation conversations = 1;
Returns
public List<Conversation> getConversationsList()
The conversations that match the request.
repeated .google.cloud.contactcenterinsights.v1.Conversation conversations = 1;
Returns
public ConversationOrBuilder getConversationsOrBuilder(int index)
The conversations that match the request.
repeated .google.cloud.contactcenterinsights.v1.Conversation conversations = 1;
Parameter
Returns
public List<? extends ConversationOrBuilder> getConversationsOrBuilderList()
The conversations that match the request.
repeated .google.cloud.contactcenterinsights.v1.Conversation conversations = 1;
Returns
Type | Description |
List<? extends com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder> | |
public ListConversationsResponse getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getNextPageToken()
public String getNextPageToken()
A token which can be sent as page_token
to retrieve the next page. If
this field is set, it means there is another page available. If it is not
set, it means no other pages are available.
string next_page_token = 2;
Returns
Type | Description |
String | The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
A token which can be sent as page_token
to retrieve the next page. If
this field is set, it means there is another page available. If it is not
set, it means no other pages are available.
string next_page_token = 2;
Returns
Type | Description |
ByteString | The bytes for nextPageToken.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ListConversationsResponse.Builder mergeFrom(ListConversationsResponse other)
Parameter
Returns
public ListConversationsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public ListConversationsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final ListConversationsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public ListConversationsResponse.Builder removeConversations(int index)
The conversations that match the request.
repeated .google.cloud.contactcenterinsights.v1.Conversation conversations = 1;
Parameter
Returns
public ListConversationsResponse.Builder setConversations(int index, Conversation value)
The conversations that match the request.
repeated .google.cloud.contactcenterinsights.v1.Conversation conversations = 1;
Parameters
Returns
public ListConversationsResponse.Builder setConversations(int index, Conversation.Builder builderForValue)
The conversations that match the request.
repeated .google.cloud.contactcenterinsights.v1.Conversation conversations = 1;
Parameters
Returns
public ListConversationsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setNextPageToken(String value)
public ListConversationsResponse.Builder setNextPageToken(String value)
A token which can be sent as page_token
to retrieve the next page. If
this field is set, it means there is another page available. If it is not
set, it means no other pages are available.
string next_page_token = 2;
Parameter
Name | Description |
value | String
The nextPageToken to set.
|
Returns
setNextPageTokenBytes(ByteString value)
public ListConversationsResponse.Builder setNextPageTokenBytes(ByteString value)
A token which can be sent as page_token
to retrieve the next page. If
this field is set, it means there is another page available. If it is not
set, it means no other pages are available.
string next_page_token = 2;
Parameter
Name | Description |
value | ByteString
The bytes for nextPageToken to set.
|
Returns
public ListConversationsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final ListConversationsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides