public static final class ListConversationsResponse.Builder extends GeneratedMessageV3.Builder<ListConversationsResponse.Builder> implements ListConversationsResponseOrBuilder
The response message for Conversations.ListConversations.
Protobuf type google.cloud.dialogflow.v2beta1.ListConversationsResponse
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllConversations(Iterable<? extends Conversation> values)
public ListConversationsResponse.Builder addAllConversations(Iterable<? extends Conversation> values)
The list of conversations. There will be a maximum number of items
returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2beta1.Conversation conversations = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.dialogflow.v2beta1.Conversation>
|
Returns
addConversations(Conversation value)
public ListConversationsResponse.Builder addConversations(Conversation value)
The list of conversations. There will be a maximum number of items
returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2beta1.Conversation conversations = 1;
Parameter
Returns
addConversations(Conversation.Builder builderForValue)
public ListConversationsResponse.Builder addConversations(Conversation.Builder builderForValue)
The list of conversations. There will be a maximum number of items
returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2beta1.Conversation conversations = 1;
Parameter
Returns
addConversations(int index, Conversation value)
public ListConversationsResponse.Builder addConversations(int index, Conversation value)
The list of conversations. There will be a maximum number of items
returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2beta1.Conversation conversations = 1;
Parameters
Returns
addConversations(int index, Conversation.Builder builderForValue)
public ListConversationsResponse.Builder addConversations(int index, Conversation.Builder builderForValue)
The list of conversations. There will be a maximum number of items
returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2beta1.Conversation conversations = 1;
Parameters
Returns
addConversationsBuilder()
public Conversation.Builder addConversationsBuilder()
The list of conversations. There will be a maximum number of items
returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2beta1.Conversation conversations = 1;
Returns
addConversationsBuilder(int index)
public Conversation.Builder addConversationsBuilder(int index)
The list of conversations. There will be a maximum number of items
returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2beta1.Conversation conversations = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListConversationsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListConversationsResponse build()
Returns
buildPartial()
public ListConversationsResponse buildPartial()
Returns
clear()
public ListConversationsResponse.Builder clear()
Returns
Overrides
clearConversations()
public ListConversationsResponse.Builder clearConversations()
The list of conversations. There will be a maximum number of items
returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2beta1.Conversation conversations = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public ListConversationsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNextPageToken()
public ListConversationsResponse.Builder clearNextPageToken()
Token to retrieve the next page of results, or empty if there are no
more results in the list.
string next_page_token = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ListConversationsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ListConversationsResponse.Builder clone()
Returns
Overrides
getConversations(int index)
public Conversation getConversations(int index)
The list of conversations. There will be a maximum number of items
returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2beta1.Conversation conversations = 1;
Parameter
Returns
getConversationsBuilder(int index)
public Conversation.Builder getConversationsBuilder(int index)
The list of conversations. There will be a maximum number of items
returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2beta1.Conversation conversations = 1;
Parameter
Returns
getConversationsBuilderList()
public List<Conversation.Builder> getConversationsBuilderList()
The list of conversations. There will be a maximum number of items
returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2beta1.Conversation conversations = 1;
Returns
getConversationsCount()
public int getConversationsCount()
The list of conversations. There will be a maximum number of items
returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2beta1.Conversation conversations = 1;
Returns
getConversationsList()
public List<Conversation> getConversationsList()
The list of conversations. There will be a maximum number of items
returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2beta1.Conversation conversations = 1;
Returns
getConversationsOrBuilder(int index)
public ConversationOrBuilder getConversationsOrBuilder(int index)
The list of conversations. There will be a maximum number of items
returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2beta1.Conversation conversations = 1;
Parameter
Returns
getConversationsOrBuilderList()
public List<? extends ConversationOrBuilder> getConversationsOrBuilderList()
The list of conversations. There will be a maximum number of items
returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2beta1.Conversation conversations = 1;
Returns
Type | Description |
List<? extends com.google.cloud.dialogflow.v2beta1.ConversationOrBuilder> | |
getDefaultInstanceForType()
public ListConversationsResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getNextPageToken()
public String getNextPageToken()
Token to retrieve the next page of results, or empty if there are no
more results in the list.
string next_page_token = 2;
Returns
Type | Description |
String | The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
Token to retrieve the next page of results, or empty if there are no
more results in the list.
string next_page_token = 2;
Returns
Type | Description |
ByteString | The bytes for nextPageToken.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListConversationsResponse other)
public ListConversationsResponse.Builder mergeFrom(ListConversationsResponse other)
Parameter
Returns
public ListConversationsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListConversationsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListConversationsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeConversations(int index)
public ListConversationsResponse.Builder removeConversations(int index)
The list of conversations. There will be a maximum number of items
returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2beta1.Conversation conversations = 1;
Parameter
Returns
setConversations(int index, Conversation value)
public ListConversationsResponse.Builder setConversations(int index, Conversation value)
The list of conversations. There will be a maximum number of items
returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2beta1.Conversation conversations = 1;
Parameters
Returns
setConversations(int index, Conversation.Builder builderForValue)
public ListConversationsResponse.Builder setConversations(int index, Conversation.Builder builderForValue)
The list of conversations. There will be a maximum number of items
returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2beta1.Conversation conversations = 1;
Parameters
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListConversationsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setNextPageToken(String value)
public ListConversationsResponse.Builder setNextPageToken(String value)
Token to retrieve the next page of results, or empty if there are no
more results in the list.
string next_page_token = 2;
Parameter
Name | Description |
value | String
The nextPageToken to set.
|
Returns
setNextPageTokenBytes(ByteString value)
public ListConversationsResponse.Builder setNextPageTokenBytes(ByteString value)
Token to retrieve the next page of results, or empty if there are no
more results in the list.
string next_page_token = 2;
Parameter
Name | Description |
value | ByteString
The bytes for nextPageToken to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListConversationsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListConversationsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides