public static final class ListConversationsResponse.Builder extends GeneratedMessage.Builder<ListConversationsResponse.Builder> implements ListConversationsResponseOrBuilderMessage for response to listing conversations.
Protobuf type google.cloud.geminidataanalytics.v1beta.ListConversationsResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListConversationsResponse.BuilderImplements
ListConversationsResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllConversations(Iterable<? extends Conversation> values)
public ListConversationsResponse.Builder addAllConversations(Iterable<? extends Conversation> values)The list of conversations.
repeated .google.cloud.geminidataanalytics.v1beta.Conversation conversations = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.geminidataanalytics.v1beta.Conversation> |
| Returns | |
|---|---|
| Type | Description |
ListConversationsResponse.Builder |
|
addConversations(Conversation value)
public ListConversationsResponse.Builder addConversations(Conversation value)The list of conversations.
repeated .google.cloud.geminidataanalytics.v1beta.Conversation conversations = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
Conversation |
| Returns | |
|---|---|
| Type | Description |
ListConversationsResponse.Builder |
|
addConversations(Conversation.Builder builderForValue)
public ListConversationsResponse.Builder addConversations(Conversation.Builder builderForValue)The list of conversations.
repeated .google.cloud.geminidataanalytics.v1beta.Conversation conversations = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Conversation.Builder |
| Returns | |
|---|---|
| Type | Description |
ListConversationsResponse.Builder |
|
addConversations(int index, Conversation value)
public ListConversationsResponse.Builder addConversations(int index, Conversation value)The list of conversations.
repeated .google.cloud.geminidataanalytics.v1beta.Conversation conversations = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Conversation |
| Returns | |
|---|---|
| Type | Description |
ListConversationsResponse.Builder |
|
addConversations(int index, Conversation.Builder builderForValue)
public ListConversationsResponse.Builder addConversations(int index, Conversation.Builder builderForValue)The list of conversations.
repeated .google.cloud.geminidataanalytics.v1beta.Conversation conversations = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Conversation.Builder |
| Returns | |
|---|---|
| Type | Description |
ListConversationsResponse.Builder |
|
addConversationsBuilder()
public Conversation.Builder addConversationsBuilder()The list of conversations.
repeated .google.cloud.geminidataanalytics.v1beta.Conversation conversations = 1;
| Returns | |
|---|---|
| Type | Description |
Conversation.Builder |
|
addConversationsBuilder(int index)
public Conversation.Builder addConversationsBuilder(int index)The list of conversations.
repeated .google.cloud.geminidataanalytics.v1beta.Conversation conversations = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Conversation.Builder |
|
build()
public ListConversationsResponse build()| Returns | |
|---|---|
| Type | Description |
ListConversationsResponse |
|
buildPartial()
public ListConversationsResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
ListConversationsResponse |
|
clear()
public ListConversationsResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListConversationsResponse.Builder |
|
clearConversations()
public ListConversationsResponse.Builder clearConversations()The list of conversations.
repeated .google.cloud.geminidataanalytics.v1beta.Conversation conversations = 1;
| Returns | |
|---|---|
| Type | Description |
ListConversationsResponse.Builder |
|
clearNextPageToken()
public ListConversationsResponse.Builder clearNextPageToken()A token identifying a page of results the server should return.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
ListConversationsResponse.Builder |
This builder for chaining. |
getConversations(int index)
public Conversation getConversations(int index)The list of conversations.
repeated .google.cloud.geminidataanalytics.v1beta.Conversation conversations = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Conversation |
|
getConversationsBuilder(int index)
public Conversation.Builder getConversationsBuilder(int index)The list of conversations.
repeated .google.cloud.geminidataanalytics.v1beta.Conversation conversations = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Conversation.Builder |
|
getConversationsBuilderList()
public List<Conversation.Builder> getConversationsBuilderList()The list of conversations.
repeated .google.cloud.geminidataanalytics.v1beta.Conversation conversations = 1;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getConversationsCount()
public int getConversationsCount()The list of conversations.
repeated .google.cloud.geminidataanalytics.v1beta.Conversation conversations = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getConversationsList()
public List<Conversation> getConversationsList()The list of conversations.
repeated .google.cloud.geminidataanalytics.v1beta.Conversation conversations = 1;
| Returns | |
|---|---|
| Type | Description |
List<Conversation> |
|
getConversationsOrBuilder(int index)
public ConversationOrBuilder getConversationsOrBuilder(int index)The list of conversations.
repeated .google.cloud.geminidataanalytics.v1beta.Conversation conversations = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ConversationOrBuilder |
|
getConversationsOrBuilderList()
public List<? extends ConversationOrBuilder> getConversationsOrBuilderList()The list of conversations.
repeated .google.cloud.geminidataanalytics.v1beta.Conversation conversations = 1;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.geminidataanalytics.v1beta.ConversationOrBuilder> |
|
getDefaultInstanceForType()
public ListConversationsResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListConversationsResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getNextPageToken()
public String getNextPageToken()A token identifying a page of results the server should return.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The nextPageToken. |
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()A token identifying a page of results the server should return.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for nextPageToken. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ListConversationsResponse other)
public ListConversationsResponse.Builder mergeFrom(ListConversationsResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
ListConversationsResponse |
| Returns | |
|---|---|
| Type | Description |
ListConversationsResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListConversationsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListConversationsResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListConversationsResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListConversationsResponse.Builder |
|
removeConversations(int index)
public ListConversationsResponse.Builder removeConversations(int index)The list of conversations.
repeated .google.cloud.geminidataanalytics.v1beta.Conversation conversations = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ListConversationsResponse.Builder |
|
setConversations(int index, Conversation value)
public ListConversationsResponse.Builder setConversations(int index, Conversation value)The list of conversations.
repeated .google.cloud.geminidataanalytics.v1beta.Conversation conversations = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Conversation |
| Returns | |
|---|---|
| Type | Description |
ListConversationsResponse.Builder |
|
setConversations(int index, Conversation.Builder builderForValue)
public ListConversationsResponse.Builder setConversations(int index, Conversation.Builder builderForValue)The list of conversations.
repeated .google.cloud.geminidataanalytics.v1beta.Conversation conversations = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Conversation.Builder |
| Returns | |
|---|---|
| Type | Description |
ListConversationsResponse.Builder |
|
setNextPageToken(String value)
public ListConversationsResponse.Builder setNextPageToken(String value)A token identifying a page of results the server should return.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListConversationsResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListConversationsResponse.Builder setNextPageTokenBytes(ByteString value)A token identifying a page of results the server should return.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListConversationsResponse.Builder |
This builder for chaining. |