Class ConversationHistoryGrpc.ConversationHistoryBlockingStub (0.66.0)

public static final class ConversationHistoryGrpc.ConversationHistoryBlockingStub extends AbstractBlockingStub<ConversationHistoryGrpc.ConversationHistoryBlockingStub>

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

Service for managing conversation history.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > ConversationHistoryGrpc.ConversationHistoryBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

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

deleteConversation(DeleteConversationRequest request)

public Empty deleteConversation(DeleteConversationRequest request)

Deletes the specified conversation.

Parameter
Name Description
request DeleteConversationRequest
Returns
Type Description
Empty

getConversation(GetConversationRequest request)

public Conversation getConversation(GetConversationRequest request)

Retrieves the specified conversation.

Parameter
Name Description
request GetConversationRequest
Returns
Type Description
Conversation

listConversations(ListConversationsRequest request)

public ListConversationsResponse listConversations(ListConversationsRequest request)

Returns the list of all conversations.

Parameter
Name Description
request ListConversationsRequest
Returns
Type Description
ListConversationsResponse