public static final class AssistantServiceGrpc.AssistantServiceBlockingV2Stub extends AbstractBlockingStub<AssistantServiceGrpc.AssistantServiceBlockingV2Stub>A stub to allow clients to do synchronous rpc calls to service AssistantService.
Service for managing Assistant configuration and assisting users.
Inheritance
java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > AssistantServiceGrpc.AssistantServiceBlockingV2StubMethods
build(Channel channel, CallOptions callOptions)
protected AssistantServiceGrpc.AssistantServiceBlockingV2Stub build(Channel channel, CallOptions callOptions)| Parameters | |
|---|---|
| Name | Description |
channel |
io.grpc.Channel |
callOptions |
io.grpc.CallOptions |
| Returns | |
|---|---|
| Type | Description |
AssistantServiceGrpc.AssistantServiceBlockingV2Stub |
|
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
createAssistant(CreateAssistantRequest request)
public Assistant createAssistant(CreateAssistantRequest request)Creates an Assistant.
| Parameter | |
|---|---|
| Name | Description |
request |
CreateAssistantRequest |
| Returns | |
|---|---|
| Type | Description |
Assistant |
|
| Exceptions | |
|---|---|
| Type | Description |
io.grpc.StatusException |
|
deleteAssistant(DeleteAssistantRequest request)
public Empty deleteAssistant(DeleteAssistantRequest request)Deletes an Assistant.
| Parameter | |
|---|---|
| Name | Description |
request |
DeleteAssistantRequest |
| Returns | |
|---|---|
| Type | Description |
Empty |
|
| Exceptions | |
|---|---|
| Type | Description |
io.grpc.StatusException |
|
getAssistant(GetAssistantRequest request)
public Assistant getAssistant(GetAssistantRequest request)Gets an Assistant.
| Parameter | |
|---|---|
| Name | Description |
request |
GetAssistantRequest |
| Returns | |
|---|---|
| Type | Description |
Assistant |
|
| Exceptions | |
|---|---|
| Type | Description |
io.grpc.StatusException |
|
listAssistants(ListAssistantsRequest request)
public ListAssistantsResponse listAssistants(ListAssistantsRequest request)Lists all Assistants under an Engine.
| Parameter | |
|---|---|
| Name | Description |
request |
ListAssistantsRequest |
| Returns | |
|---|---|
| Type | Description |
ListAssistantsResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
io.grpc.StatusException |
|
streamAssist(StreamAssistRequest request)
public BlockingClientCall<?,StreamAssistResponse> streamAssist(StreamAssistRequest request)Assists the user with a query in a streaming fashion.
| Parameter | |
|---|---|
| Name | Description |
request |
StreamAssistRequest |
| Returns | |
|---|---|
| Type | Description |
io.grpc.stub.BlockingClientCall<?,StreamAssistResponse> |
|
updateAssistant(UpdateAssistantRequest request)
public Assistant updateAssistant(UpdateAssistantRequest request)Updates an Assistant
| Parameter | |
|---|---|
| Name | Description |
request |
UpdateAssistantRequest |
| Returns | |
|---|---|
| Type | Description |
Assistant |
|
| Exceptions | |
|---|---|
| Type | Description |
io.grpc.StatusException |
|