Class ConversationHistoryGrpc.ConversationHistoryFutureStub (0.65.0)

public static final class ConversationHistoryGrpc.ConversationHistoryFutureStub extends AbstractFutureStub<ConversationHistoryGrpc.ConversationHistoryFutureStub>

A stub to allow clients to do ListenableFuture-style rpc calls to service ConversationHistory.

Service for managing conversation history.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > ConversationHistoryGrpc.ConversationHistoryFutureStub

Methods

build(Channel channel, CallOptions callOptions)

protected ConversationHistoryGrpc.ConversationHistoryFutureStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
ConversationHistoryGrpc.ConversationHistoryFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

deleteConversation(DeleteConversationRequest request)

public ListenableFuture<Empty> deleteConversation(DeleteConversationRequest request)

Deletes the specified conversation.

Parameter
Name Description
request DeleteConversationRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Empty>

getConversation(GetConversationRequest request)

public ListenableFuture<Conversation> getConversation(GetConversationRequest request)

Retrieves the specified conversation.

Parameter
Name Description
request GetConversationRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Conversation>

listConversations(ListConversationsRequest request)

public ListenableFuture<ListConversationsResponse> listConversations(ListConversationsRequest request)

Returns the list of all conversations.

Parameter
Name Description
request ListConversationsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListConversationsResponse>