- 0.49.0 (latest)
- 0.48.0
- 0.47.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.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.ConversationalSearchServiceStubMethods
answerQuery(AnswerQueryRequest request, StreamObserver<AnswerQueryResponse> responseObserver)
public void answerQuery(AnswerQueryRequest request, StreamObserver<AnswerQueryResponse> responseObserver)
Answer query method.
Parameters | |
---|---|
Name | Description |
request |
AnswerQueryRequest |
responseObserver |
io.grpc.stub.StreamObserver<AnswerQueryResponse> |
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 |
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> |
createSession(CreateSessionRequest request, StreamObserver<Session> responseObserver)
public void createSession(CreateSessionRequest request, StreamObserver<Session> responseObserver)
Creates a Session. If the Session to create already exists, an ALREADY_EXISTS error is returned.
Parameters | |
---|---|
Name | Description |
request |
CreateSessionRequest |
responseObserver |
io.grpc.stub.StreamObserver<Session> |
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> |
deleteSession(DeleteSessionRequest request, StreamObserver<Empty> responseObserver)
public void deleteSession(DeleteSessionRequest request, StreamObserver<Empty> responseObserver)
Deletes a Session. If the Session to delete does not exist, a NOT_FOUND error is returned.
Parameters | |
---|---|
Name | Description |
request |
DeleteSessionRequest |
responseObserver |
io.grpc.stub.StreamObserver<Empty> |
getAnswer(GetAnswerRequest request, StreamObserver<Answer> responseObserver)
public void getAnswer(GetAnswerRequest request, StreamObserver<Answer> responseObserver)
Gets a Answer.
Parameters | |
---|---|
Name | Description |
request |
GetAnswerRequest |
responseObserver |
io.grpc.stub.StreamObserver<Answer> |
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> |
getSession(GetSessionRequest request, StreamObserver<Session> responseObserver)
public void getSession(GetSessionRequest request, StreamObserver<Session> responseObserver)
Gets a Session.
Parameters | |
---|---|
Name | Description |
request |
GetSessionRequest |
responseObserver |
io.grpc.stub.StreamObserver<Session> |
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> |
listSessions(ListSessionsRequest request, StreamObserver<ListSessionsResponse> responseObserver)
public void listSessions(ListSessionsRequest request, StreamObserver<ListSessionsResponse> responseObserver)
Lists all Sessions by their parent DataStore.
Parameters | |
---|---|
Name | Description |
request |
ListSessionsRequest |
responseObserver |
io.grpc.stub.StreamObserver<ListSessionsResponse> |
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> |
updateSession(UpdateSessionRequest request, StreamObserver<Session> responseObserver)
public void updateSession(UpdateSessionRequest request, StreamObserver<Session> responseObserver)
Updates a Session. Session action type cannot be changed. If the Session to update does not exist, a NOT_FOUND error is returned.
Parameters | |
---|---|
Name | Description |
request |
UpdateSessionRequest |
responseObserver |
io.grpc.stub.StreamObserver<Session> |