Class AssistantServiceGrpc.AssistantServiceBlockingStub (0.19.0)

public static final class AssistantServiceGrpc.AssistantServiceBlockingStub extends AbstractBlockingStub<AssistantServiceGrpc.AssistantServiceBlockingStub>

A stub to allow clients to do limited 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.AssistantServiceBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

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

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

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

deleteAssistantSession(DeleteAssistantSessionRequest request)

public Empty deleteAssistantSession(DeleteAssistantSessionRequest request)

Deletes the specified assistant session.

Parameter
Name Description
request DeleteAssistantSessionRequest
Returns
Type Description
Empty

getAssistantSession(GetAssistantSessionRequest request)

public AssistantSession getAssistantSession(GetAssistantSessionRequest request)

Gets details of the specified assistant session.

Parameter
Name Description
request GetAssistantSessionRequest
Returns
Type Description
AssistantSession

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

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