Class ConversationHistoryGrpc.ConversationHistoryStub (0.66.0)

public static final class ConversationHistoryGrpc.ConversationHistoryStub extends AbstractAsyncStub<ConversationHistoryGrpc.ConversationHistoryStub>

A stub to allow clients to do asynchronous rpc calls to service ConversationHistory.

Service for managing conversation history.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > ConversationHistoryGrpc.ConversationHistoryStub

Methods

build(Channel channel, CallOptions callOptions)

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

deleteConversation(DeleteConversationRequest request, StreamObserver<Empty> responseObserver)

public void deleteConversation(DeleteConversationRequest request, StreamObserver<Empty> responseObserver)

Deletes the specified conversation.

Parameters
Name Description
request DeleteConversationRequest
responseObserver io.grpc.stub.StreamObserver<Empty>

getConversation(GetConversationRequest request, StreamObserver<Conversation> responseObserver)

public void getConversation(GetConversationRequest request, StreamObserver<Conversation> responseObserver)

Retrieves the specified conversation.

Parameters
Name Description
request GetConversationRequest
responseObserver io.grpc.stub.StreamObserver<Conversation>

listConversations(ListConversationsRequest request, StreamObserver<ListConversationsResponse> responseObserver)

public void listConversations(ListConversationsRequest request, StreamObserver<ListConversationsResponse> responseObserver)

Returns the list of all conversations.

Parameters
Name Description
request ListConversationsRequest
responseObserver io.grpc.stub.StreamObserver<ListConversationsResponse>