public static final class AssistantServiceGrpc.AssistantServiceBlockingV2Stub extends AbstractBlockingStub<AssistantServiceGrpc.AssistantServiceBlockingV2Stub>A stub to allow clients to do synchronous rpc calls to service AssistantService.
The service that manages assistant-related resources in Customer Engagement Suite (CES). The assistant, Arc, is a conversational agent embedded in CES applications to help users with building their agents.
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 |
|
chatAiAssistant(ChatAiAssistantRequest request)
public ChatAiAssistantResponse chatAiAssistant(ChatAiAssistantRequest request)Runs Arc, the AI assistant, for the specified assistant session.
| Parameter | |
|---|---|
| Name | Description |
request |
ChatAiAssistantRequest |
| Returns | |
|---|---|
| Type | Description |
ChatAiAssistantResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
io.grpc.StatusException |
|
createAssistantSession(CreateAssistantSessionRequest request)
public AssistantSession createAssistantSession(CreateAssistantSessionRequest request)Creates a new assistant session in the given app.
| Parameter | |
|---|---|
| Name | Description |
request |
CreateAssistantSessionRequest |
| Returns | |
|---|---|
| Type | Description |
AssistantSession |
|
| Exceptions | |
|---|---|
| Type | Description |
io.grpc.StatusException |
|
deleteAssistantSession(DeleteAssistantSessionRequest request)
public Empty deleteAssistantSession(DeleteAssistantSessionRequest request)Deletes the specified assistant session.
| Parameter | |
|---|---|
| Name | Description |
request |
DeleteAssistantSessionRequest |
| Returns | |
|---|---|
| Type | Description |
Empty |
|
| Exceptions | |
|---|---|
| Type | Description |
io.grpc.StatusException |
|
getAssistantSession(GetAssistantSessionRequest request)
public AssistantSession getAssistantSession(GetAssistantSessionRequest request)Gets details of the specified assistant session.
| Parameter | |
|---|---|
| Name | Description |
request |
GetAssistantSessionRequest |
| Returns | |
|---|---|
| Type | Description |
AssistantSession |
|
| Exceptions | |
|---|---|
| Type | Description |
io.grpc.StatusException |
|
listAssistantSessions(ListAssistantSessionsRequest request)
public ListAssistantSessionsResponse listAssistantSessions(ListAssistantSessionsRequest request)Lists all assistant sessions in the given app.
| Parameter | |
|---|---|
| Name | Description |
request |
ListAssistantSessionsRequest |
| Returns | |
|---|---|
| Type | Description |
ListAssistantSessionsResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
io.grpc.StatusException |
|
runAssistant(RunAssistantRequest request)
public RunAssistantResponse runAssistant(RunAssistantRequest request)Runs the assistant agent for the specified assistant session.
| Parameter | |
|---|---|
| Name | Description |
request |
RunAssistantRequest |
| Returns | |
|---|---|
| Type | Description |
RunAssistantResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
io.grpc.StatusException |
|