Class ConversationalSearchServiceGrpc.ConversationalSearchServiceStub (0.38.0)

public static final class ConversationalSearchServiceGrpc.ConversationalSearchServiceStub extends AbstractAsyncStub<ConversationalSearchServiceGrpc.ConversationalSearchServiceStub>

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

Service for conversational search.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > ConversationalSearchServiceGrpc.ConversationalSearchServiceStub

Methods

build(Channel channel, CallOptions callOptions)

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

converseConversation(ConverseConversationRequest request, StreamObserver<ConverseConversationResponse> responseObserver)

public void converseConversation(ConverseConversationRequest request, StreamObserver<ConverseConversationResponse> responseObserver)

Converses a conversation.

Parameters
Name Description
request ConverseConversationRequest
responseObserver io.grpc.stub.StreamObserver<ConverseConversationResponse>

createConversation(CreateConversationRequest request, StreamObserver<Conversation> responseObserver)

public void createConversation(CreateConversationRequest request, StreamObserver<Conversation> responseObserver)

Creates a Conversation. If the Conversation to create already exists, an ALREADY_EXISTS error is returned.

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

deleteConversation(DeleteConversationRequest request, StreamObserver<Empty> responseObserver)

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

Deletes a Conversation. If the Conversation to delete does not exist, a NOT_FOUND error is returned.

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)

Gets a 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)

Lists all Conversations by their parent DataStore.

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

updateConversation(UpdateConversationRequest request, StreamObserver<Conversation> responseObserver)

public void updateConversation(UpdateConversationRequest request, StreamObserver<Conversation> responseObserver)

Updates a Conversation. Conversation action type cannot be changed. If the Conversation to update does not exist, a NOT_FOUND error is returned.

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