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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
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>
|
public ListConversationsResponse.Builder addConversations(Conversation value)
The conversations that match the request.
repeated .google.cloud.contactcenterinsights.v1.Conversation conversations = 1;
public ListConversationsResponse.Builder addConversations(Conversation.Builder builderForValue)
The conversations that match the request.
repeated .google.cloud.contactcenterinsights.v1.Conversation conversations = 1;
public ListConversationsResponse.Builder addConversations(int index, Conversation value)
The conversations that match the request.
repeated .google.cloud.contactcenterinsights.v1.Conversation conversations = 1;
public ListConversationsResponse.Builder addConversations(int index, Conversation.Builder builderForValue)
The conversations that match the request.
repeated .google.cloud.contactcenterinsights.v1.Conversation conversations = 1;
public Conversation.Builder addConversationsBuilder()
The conversations that match the request.
repeated .google.cloud.contactcenterinsights.v1.Conversation conversations = 1;
public Conversation.Builder addConversationsBuilder(int index)
The conversations that match the request.
repeated .google.cloud.contactcenterinsights.v1.Conversation conversations = 1;
Parameter |
---|
Name | Description |
index | int
|
public ListConversationsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ListConversationsResponse build()
public ListConversationsResponse buildPartial()
public ListConversationsResponse.Builder clear()
Overrides
public ListConversationsResponse.Builder clearConversations()
The conversations that match the request.
repeated .google.cloud.contactcenterinsights.v1.Conversation conversations = 1;
public ListConversationsResponse.Builder clearField(Descriptors.FieldDescriptor field)
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;
public ListConversationsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public ListConversationsResponse.Builder clone()
Overrides
public Conversation getConversations(int index)
The conversations that match the request.
repeated .google.cloud.contactcenterinsights.v1.Conversation conversations = 1;
Parameter |
---|
Name | Description |
index | int
|
public Conversation.Builder getConversationsBuilder(int index)
The conversations that match the request.
repeated .google.cloud.contactcenterinsights.v1.Conversation conversations = 1;
Parameter |
---|
Name | Description |
index | int
|
public List<Conversation.Builder> getConversationsBuilderList()
The conversations that match the request.
repeated .google.cloud.contactcenterinsights.v1.Conversation conversations = 1;
public int getConversationsCount()
The conversations that match the request.
repeated .google.cloud.contactcenterinsights.v1.Conversation conversations = 1;
Returns |
---|
Type | Description |
int | |
public List<Conversation> getConversationsList()
The conversations that match the request.
repeated .google.cloud.contactcenterinsights.v1.Conversation conversations = 1;
public ConversationOrBuilder getConversationsOrBuilder(int index)
The conversations that match the request.
repeated .google.cloud.contactcenterinsights.v1.Conversation conversations = 1;
Parameter |
---|
Name | Description |
index | int
|
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()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
public final boolean isInitialized()
Overrides
public ListConversationsResponse.Builder mergeFrom(ListConversationsResponse other)
public ListConversationsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ListConversationsResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final ListConversationsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public ListConversationsResponse.Builder removeConversations(int index)
The conversations that match the request.
repeated .google.cloud.contactcenterinsights.v1.Conversation conversations = 1;
Parameter |
---|
Name | Description |
index | int
|
public ListConversationsResponse.Builder setConversations(int index, Conversation value)
The conversations that match the request.
repeated .google.cloud.contactcenterinsights.v1.Conversation conversations = 1;
public ListConversationsResponse.Builder setConversations(int index, Conversation.Builder builderForValue)
The conversations that match the request.
repeated .google.cloud.contactcenterinsights.v1.Conversation conversations = 1;
public ListConversationsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
public ListConversationsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final ListConversationsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides