Interface ConversationalSearchServiceGrpc.AsyncService (0.31.0)

public static interface ConversationalSearchServiceGrpc.AsyncService

Service for conversational search.

Methods

converseConversation(ConverseConversationRequest request, StreamObserver<ConverseConversationResponse> responseObserver)

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

Converses a conversation.

Parameters
NameDescription
requestConverseConversationRequest
responseObserverio.grpc.stub.StreamObserver<ConverseConversationResponse>

createConversation(CreateConversationRequest request, StreamObserver<Conversation> responseObserver)

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

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

Parameters
NameDescription
requestCreateConversationRequest
responseObserverio.grpc.stub.StreamObserver<Conversation>

deleteConversation(DeleteConversationRequest request, StreamObserver<Empty> responseObserver)

public default 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
NameDescription
requestDeleteConversationRequest
responseObserverio.grpc.stub.StreamObserver<Empty>

getConversation(GetConversationRequest request, StreamObserver<Conversation> responseObserver)

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

Gets a Conversation.

Parameters
NameDescription
requestGetConversationRequest
responseObserverio.grpc.stub.StreamObserver<Conversation>

listConversations(ListConversationsRequest request, StreamObserver<ListConversationsResponse> responseObserver)

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

Lists all Conversations by their parent DataStore.

Parameters
NameDescription
requestListConversationsRequest
responseObserverio.grpc.stub.StreamObserver<ListConversationsResponse>

updateConversation(UpdateConversationRequest request, StreamObserver<Conversation> responseObserver)

public default 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
NameDescription
requestUpdateConversationRequest
responseObserverio.grpc.stub.StreamObserver<Conversation>