Class ConversationalSearchServiceGrpc.ConversationalSearchServiceStub (0.36.0)

See more code actions.
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.

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > ConversationalSearchServiceGrpc.ConversationalSearchServiceStub
io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withWaitForReady()

Methods

build(Channel channel, CallOptions callOptions)

protected ConversationalSearchServiceGrpc.ConversationalSearchServiceStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
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
NameDescription
requestConverseConversationRequest
responseObserverio.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
NameDescription
requestCreateConversationRequest
responseObserverio.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
NameDescription
requestDeleteConversationRequest
responseObserverio.grpc.stub.StreamObserver<Empty>

getConversation(GetConversationRequest request, StreamObserver<Conversation> responseObserver)

public 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 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 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>