Class ListConversationsResponse.Builder (2.3.5)

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

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllConversations(Iterable<? extends Conversation> values)

public ListConversationsResponse.Builder addAllConversations(Iterable<? extends Conversation> values)

The conversations that match the request.

repeated .google.cloud.contactcenterinsights.v1.Conversation conversations = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.contactcenterinsights.v1.Conversation>
Returns
TypeDescription
ListConversationsResponse.Builder

addConversations(Conversation value)

public ListConversationsResponse.Builder addConversations(Conversation value)

The conversations that match the request.

repeated .google.cloud.contactcenterinsights.v1.Conversation conversations = 1;

Parameter
NameDescription
valueConversation
Returns
TypeDescription
ListConversationsResponse.Builder

addConversations(Conversation.Builder builderForValue)

public ListConversationsResponse.Builder addConversations(Conversation.Builder builderForValue)

The conversations that match the request.

repeated .google.cloud.contactcenterinsights.v1.Conversation conversations = 1;

Parameter
NameDescription
builderForValueConversation.Builder
Returns
TypeDescription
ListConversationsResponse.Builder

addConversations(int index, Conversation value)

public ListConversationsResponse.Builder addConversations(int index, Conversation value)

The conversations that match the request.

repeated .google.cloud.contactcenterinsights.v1.Conversation conversations = 1;

Parameters
NameDescription
indexint
valueConversation
Returns
TypeDescription
ListConversationsResponse.Builder

addConversations(int index, Conversation.Builder builderForValue)

public ListConversationsResponse.Builder addConversations(int index, Conversation.Builder builderForValue)

The conversations that match the request.

repeated .google.cloud.contactcenterinsights.v1.Conversation conversations = 1;

Parameters
NameDescription
indexint
builderForValueConversation.Builder
Returns
TypeDescription
ListConversationsResponse.Builder

addConversationsBuilder()

public Conversation.Builder addConversationsBuilder()

The conversations that match the request.

repeated .google.cloud.contactcenterinsights.v1.Conversation conversations = 1;

Returns
TypeDescription
Conversation.Builder

addConversationsBuilder(int index)

public Conversation.Builder addConversationsBuilder(int index)

The conversations that match the request.

repeated .google.cloud.contactcenterinsights.v1.Conversation conversations = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Conversation.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListConversationsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListConversationsResponse.Builder
Overrides

build()

public ListConversationsResponse build()
Returns
TypeDescription
ListConversationsResponse

buildPartial()

public ListConversationsResponse buildPartial()
Returns
TypeDescription
ListConversationsResponse

clear()

public ListConversationsResponse.Builder clear()
Returns
TypeDescription
ListConversationsResponse.Builder
Overrides

clearConversations()

public ListConversationsResponse.Builder clearConversations()

The conversations that match the request.

repeated .google.cloud.contactcenterinsights.v1.Conversation conversations = 1;

Returns
TypeDescription
ListConversationsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListConversationsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListConversationsResponse.Builder
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
TypeDescription
ListConversationsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListConversationsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListConversationsResponse.Builder
Overrides

clone()

public ListConversationsResponse.Builder clone()
Returns
TypeDescription
ListConversationsResponse.Builder
Overrides

getConversations(int index)

public Conversation getConversations(int index)

The conversations that match the request.

repeated .google.cloud.contactcenterinsights.v1.Conversation conversations = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Conversation

getConversationsBuilder(int index)

public Conversation.Builder getConversationsBuilder(int index)

The conversations that match the request.

repeated .google.cloud.contactcenterinsights.v1.Conversation conversations = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Conversation.Builder

getConversationsBuilderList()

public List<Conversation.Builder> getConversationsBuilderList()

The conversations that match the request.

repeated .google.cloud.contactcenterinsights.v1.Conversation conversations = 1;

Returns
TypeDescription
List<Builder>

getConversationsCount()

public int getConversationsCount()

The conversations that match the request.

repeated .google.cloud.contactcenterinsights.v1.Conversation conversations = 1;

Returns
TypeDescription
int

getConversationsList()

public List<Conversation> getConversationsList()

The conversations that match the request.

repeated .google.cloud.contactcenterinsights.v1.Conversation conversations = 1;

Returns
TypeDescription
List<Conversation>

getConversationsOrBuilder(int index)

public ConversationOrBuilder getConversationsOrBuilder(int index)

The conversations that match the request.

repeated .google.cloud.contactcenterinsights.v1.Conversation conversations = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ConversationOrBuilder

getConversationsOrBuilderList()

public List<? extends ConversationOrBuilder> getConversationsOrBuilderList()

The conversations that match the request.

repeated .google.cloud.contactcenterinsights.v1.Conversation conversations = 1;

Returns
TypeDescription
List<? extends com.google.cloud.contactcenterinsights.v1.ConversationOrBuilder>

getDefaultInstanceForType()

public ListConversationsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListConversationsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListConversationsResponse other)

public ListConversationsResponse.Builder mergeFrom(ListConversationsResponse other)
Parameter
NameDescription
otherListConversationsResponse
Returns
TypeDescription
ListConversationsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListConversationsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListConversationsResponse.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListConversationsResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListConversationsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListConversationsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListConversationsResponse.Builder
Overrides

removeConversations(int index)

public ListConversationsResponse.Builder removeConversations(int index)

The conversations that match the request.

repeated .google.cloud.contactcenterinsights.v1.Conversation conversations = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListConversationsResponse.Builder

setConversations(int index, Conversation value)

public ListConversationsResponse.Builder setConversations(int index, Conversation value)

The conversations that match the request.

repeated .google.cloud.contactcenterinsights.v1.Conversation conversations = 1;

Parameters
NameDescription
indexint
valueConversation
Returns
TypeDescription
ListConversationsResponse.Builder

setConversations(int index, Conversation.Builder builderForValue)

public ListConversationsResponse.Builder setConversations(int index, Conversation.Builder builderForValue)

The conversations that match the request.

repeated .google.cloud.contactcenterinsights.v1.Conversation conversations = 1;

Parameters
NameDescription
indexint
builderForValueConversation.Builder
Returns
TypeDescription
ListConversationsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListConversationsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListConversationsResponse.Builder
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
ListConversationsResponse.Builder

This builder for chaining.

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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
ListConversationsResponse.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListConversationsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListConversationsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListConversationsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListConversationsResponse.Builder
Overrides