Class AssistantServiceGrpc.AssistantServiceStub (0.66.0)

public static final class AssistantServiceGrpc.AssistantServiceStub extends AbstractAsyncStub<AssistantServiceGrpc.AssistantServiceStub>

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

Service for managing Assistant configuration and assisting users.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > AssistantServiceGrpc.AssistantServiceStub

Methods

build(Channel channel, CallOptions callOptions)

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

streamAssist(StreamAssistRequest request, StreamObserver<StreamAssistResponse> responseObserver)

public void streamAssist(StreamAssistRequest request, StreamObserver<StreamAssistResponse> responseObserver)

Assists the user with a query in a streaming fashion.

Parameters
Name Description
request StreamAssistRequest
responseObserver io.grpc.stub.StreamObserver<StreamAssistResponse>