public static final class ListConversationsResponse.Builder extends GeneratedMessageV3.Builder<ListConversationsResponse.Builder> implements ListConversationsResponseOrBuilder
Response for ListConversations method.
Protobuf type google.cloud.discoveryengine.v1alpha.ListConversationsResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllConversations(Iterable<? extends Conversation> values)
public ListConversationsResponse.Builder addAllConversations(Iterable<? extends Conversation> values)
All the Conversations for a given data store.
repeated .google.cloud.discoveryengine.v1alpha.Conversation conversations = 1;
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.cloud.discoveryengine.v1alpha.Conversation>
|
addConversations(Conversation value)
public ListConversationsResponse.Builder addConversations(Conversation value)
All the Conversations for a given data store.
repeated .google.cloud.discoveryengine.v1alpha.Conversation conversations = 1;
addConversations(Conversation.Builder builderForValue)
public ListConversationsResponse.Builder addConversations(Conversation.Builder builderForValue)
All the Conversations for a given data store.
repeated .google.cloud.discoveryengine.v1alpha.Conversation conversations = 1;
addConversations(int index, Conversation value)
public ListConversationsResponse.Builder addConversations(int index, Conversation value)
All the Conversations for a given data store.
repeated .google.cloud.discoveryengine.v1alpha.Conversation conversations = 1;
addConversations(int index, Conversation.Builder builderForValue)
public ListConversationsResponse.Builder addConversations(int index, Conversation.Builder builderForValue)
All the Conversations for a given data store.
repeated .google.cloud.discoveryengine.v1alpha.Conversation conversations = 1;
addConversationsBuilder()
public Conversation.Builder addConversationsBuilder()
All the Conversations for a given data store.
repeated .google.cloud.discoveryengine.v1alpha.Conversation conversations = 1;
addConversationsBuilder(int index)
public Conversation.Builder addConversationsBuilder(int index)
All the Conversations for a given data store.
repeated .google.cloud.discoveryengine.v1alpha.Conversation conversations = 1;
Parameter |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListConversationsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListConversationsResponse build()
buildPartial()
public ListConversationsResponse buildPartial()
clear()
public ListConversationsResponse.Builder clear()
Overrides
clearConversations()
public ListConversationsResponse.Builder clearConversations()
All the Conversations for a given data store.
repeated .google.cloud.discoveryengine.v1alpha.Conversation conversations = 1;
clearField(Descriptors.FieldDescriptor field)
public ListConversationsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNextPageToken()
public ListConversationsResponse.Builder clearNextPageToken()
Pagination token, if not returned indicates the last page.
string next_page_token = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListConversationsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ListConversationsResponse.Builder clone()
Overrides
getConversations(int index)
public Conversation getConversations(int index)
All the Conversations for a given data store.
repeated .google.cloud.discoveryengine.v1alpha.Conversation conversations = 1;
Parameter |
---|
Name | Description |
index | int
|
getConversationsBuilder(int index)
public Conversation.Builder getConversationsBuilder(int index)
All the Conversations for a given data store.
repeated .google.cloud.discoveryengine.v1alpha.Conversation conversations = 1;
Parameter |
---|
Name | Description |
index | int
|
getConversationsBuilderList()
public List<Conversation.Builder> getConversationsBuilderList()
All the Conversations for a given data store.
repeated .google.cloud.discoveryengine.v1alpha.Conversation conversations = 1;
getConversationsCount()
public int getConversationsCount()
All the Conversations for a given data store.
repeated .google.cloud.discoveryengine.v1alpha.Conversation conversations = 1;
Returns |
---|
Type | Description |
int | |
getConversationsList()
public List<Conversation> getConversationsList()
All the Conversations for a given data store.
repeated .google.cloud.discoveryengine.v1alpha.Conversation conversations = 1;
getConversationsOrBuilder(int index)
public ConversationOrBuilder getConversationsOrBuilder(int index)
All the Conversations for a given data store.
repeated .google.cloud.discoveryengine.v1alpha.Conversation conversations = 1;
Parameter |
---|
Name | Description |
index | int
|
getConversationsOrBuilderList()
public List<? extends ConversationOrBuilder> getConversationsOrBuilderList()
All the Conversations for a given data store.
repeated .google.cloud.discoveryengine.v1alpha.Conversation conversations = 1;
Returns |
---|
Type | Description |
List<? extends com.google.cloud.discoveryengine.v1alpha.ConversationOrBuilder> | |
getDefaultInstanceForType()
public ListConversationsResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getNextPageToken()
public String getNextPageToken()
Pagination token, if not returned indicates the last page.
string next_page_token = 2;
Returns |
---|
Type | Description |
String | The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
Pagination token, if not returned indicates the last page.
string next_page_token = 2;
Returns |
---|
Type | Description |
ByteString | The bytes for nextPageToken.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListConversationsResponse other)
public ListConversationsResponse.Builder mergeFrom(ListConversationsResponse other)
public ListConversationsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListConversationsResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListConversationsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeConversations(int index)
public ListConversationsResponse.Builder removeConversations(int index)
All the Conversations for a given data store.
repeated .google.cloud.discoveryengine.v1alpha.Conversation conversations = 1;
Parameter |
---|
Name | Description |
index | int
|
setConversations(int index, Conversation value)
public ListConversationsResponse.Builder setConversations(int index, Conversation value)
All the Conversations for a given data store.
repeated .google.cloud.discoveryengine.v1alpha.Conversation conversations = 1;
setConversations(int index, Conversation.Builder builderForValue)
public ListConversationsResponse.Builder setConversations(int index, Conversation.Builder builderForValue)
All the Conversations for a given data store.
repeated .google.cloud.discoveryengine.v1alpha.Conversation conversations = 1;
setField(Descriptors.FieldDescriptor field, Object value)
public ListConversationsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNextPageToken(String value)
public ListConversationsResponse.Builder setNextPageToken(String value)
Pagination token, if not returned indicates the last page.
string next_page_token = 2;
Parameter |
---|
Name | Description |
value | String
The nextPageToken to set.
|
setNextPageTokenBytes(ByteString value)
public ListConversationsResponse.Builder setNextPageTokenBytes(ByteString value)
Pagination token, if not returned indicates the last page.
string next_page_token = 2;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for nextPageToken to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListConversationsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListConversationsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides