public static final class AgentServiceGrpc.AgentServiceBlockingV2Stub extends AbstractBlockingStub<AgentServiceGrpc.AgentServiceBlockingV2Stub>
A stub to allow clients to do synchronous rpc calls to service AgentService.
The service that manages agent-related resources in Gemini Enterprise for
Customer Engagement (CES).
Inheritance
java.lang.Object >
io.grpc.stub.AbstractStub >
io.grpc.stub.AbstractBlockingStub >
AgentServiceGrpc.AgentServiceBlockingV2Stub
Inherited Members
io.grpc.stub.AbstractBlockingStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractBlockingStub.<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(java.time.Duration)
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.withOnReadyThreshold(int)
io.grpc.stub.AbstractStub.withWaitForReady()
Methods
batchDeleteConversations(BatchDeleteConversationsRequest request)
public Operation batchDeleteConversations(BatchDeleteConversationsRequest request)
Batch deletes the specified conversations.
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
build(Channel channel, CallOptions callOptions)
protected AgentServiceGrpc.AgentServiceBlockingV2Stub build(Channel channel, CallOptions callOptions)
| Parameters |
| Name |
Description |
channel |
io.grpc.Channel
|
callOptions |
io.grpc.CallOptions
|
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
createAgent(CreateAgentRequest request)
public Agent createAgent(CreateAgentRequest request)
Creates a new agent in the given app.
| Returns |
| Type |
Description |
Agent |
|
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
createApp(CreateAppRequest request)
public Operation createApp(CreateAppRequest request)
Creates a new app in the given project and location.
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
createAppVersion(CreateAppVersionRequest request)
public AppVersion createAppVersion(CreateAppVersionRequest request)
Creates a new app version in the given app.
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
createDeployment(CreateDeploymentRequest request)
public Deployment createDeployment(CreateDeploymentRequest request)
Creates a new deployment in the given app.
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
createExample(CreateExampleRequest request)
public Example createExample(CreateExampleRequest request)
Creates a new example in the given app.
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
createGuardrail(CreateGuardrailRequest request)
public Guardrail createGuardrail(CreateGuardrailRequest request)
Creates a new guardrail in the given app.
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
public Tool createTool(CreateToolRequest request)
Creates a new tool in the given app.
| Returns |
| Type |
Description |
Tool |
|
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
public Toolset createToolset(CreateToolsetRequest request)
Creates a new toolset in the given app.
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
deleteAgent(DeleteAgentRequest request)
public Empty deleteAgent(DeleteAgentRequest request)
Deletes the specified agent.
| Returns |
| Type |
Description |
Empty |
|
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
deleteApp(DeleteAppRequest request)
public Operation deleteApp(DeleteAppRequest request)
Deletes the specified app.
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
deleteAppVersion(DeleteAppVersionRequest request)
public Empty deleteAppVersion(DeleteAppVersionRequest request)
Deletes the specified app version.
| Returns |
| Type |
Description |
Empty |
|
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
deleteConversation(DeleteConversationRequest request)
public Empty deleteConversation(DeleteConversationRequest request)
Deletes the specified conversation.
| Returns |
| Type |
Description |
Empty |
|
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
deleteDeployment(DeleteDeploymentRequest request)
public Empty deleteDeployment(DeleteDeploymentRequest request)
Deletes the specified deployment.
| Returns |
| Type |
Description |
Empty |
|
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
deleteExample(DeleteExampleRequest request)
public Empty deleteExample(DeleteExampleRequest request)
Deletes the specified example.
| Returns |
| Type |
Description |
Empty |
|
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
deleteGuardrail(DeleteGuardrailRequest request)
public Empty deleteGuardrail(DeleteGuardrailRequest request)
Deletes the specified guardrail.
| Returns |
| Type |
Description |
Empty |
|
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
public Empty deleteTool(DeleteToolRequest request)
Deletes the specified tool.
| Returns |
| Type |
Description |
Empty |
|
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
public Empty deleteToolset(DeleteToolsetRequest request)
Deletes the specified toolset.
| Returns |
| Type |
Description |
Empty |
|
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
exportApp(ExportAppRequest request)
public Operation exportApp(ExportAppRequest request)
Exports the specified app.
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
getAgent(GetAgentRequest request)
public Agent getAgent(GetAgentRequest request)
Gets details of the specified agent.
| Returns |
| Type |
Description |
Agent |
|
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
getApp(GetAppRequest request)
public App getApp(GetAppRequest request)
Gets details of the specified app.
| Returns |
| Type |
Description |
App |
|
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
getAppVersion(GetAppVersionRequest request)
public AppVersion getAppVersion(GetAppVersionRequest request)
Gets details of the specified app version.
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
getChangelog(GetChangelogRequest request)
public Changelog getChangelog(GetChangelogRequest request)
Gets the specified changelog.
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
getConversation(GetConversationRequest request)
public Conversation getConversation(GetConversationRequest request)
Gets details of the specified conversation.
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
getDeployment(GetDeploymentRequest request)
public Deployment getDeployment(GetDeploymentRequest request)
Gets details of the specified deployment.
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
getExample(GetExampleRequest request)
public Example getExample(GetExampleRequest request)
Gets details of the specified example.
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
getGuardrail(GetGuardrailRequest request)
public Guardrail getGuardrail(GetGuardrailRequest request)
Gets details of the specified guardrail.
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
public Tool getTool(GetToolRequest request)
Gets details of the specified tool.
| Returns |
| Type |
Description |
Tool |
|
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
public Toolset getToolset(GetToolsetRequest request)
Gets details of the specified toolset.
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
importApp(ImportAppRequest request)
public Operation importApp(ImportAppRequest request)
Imports the specified app.
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
listAgents(ListAgentsRequest request)
public ListAgentsResponse listAgents(ListAgentsRequest request)
Lists agents in the given app.
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
listAppVersions(ListAppVersionsRequest request)
public ListAppVersionsResponse listAppVersions(ListAppVersionsRequest request)
Lists all app versions in the given app.
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
listApps(ListAppsRequest request)
public ListAppsResponse listApps(ListAppsRequest request)
Lists apps in the given project and location.
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
listChangelogs(ListChangelogsRequest request)
public ListChangelogsResponse listChangelogs(ListChangelogsRequest request)
Lists the changelogs of the specified app.
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
listConversations(ListConversationsRequest request)
public ListConversationsResponse listConversations(ListConversationsRequest request)
Lists conversations in the given app.
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
listDeployments(ListDeploymentsRequest request)
public ListDeploymentsResponse listDeployments(ListDeploymentsRequest request)
Lists deployments in the given app.
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
listExamples(ListExamplesRequest request)
public ListExamplesResponse listExamples(ListExamplesRequest request)
Lists examples in the given app.
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
listGuardrails(ListGuardrailsRequest request)
public ListGuardrailsResponse listGuardrails(ListGuardrailsRequest request)
Lists guardrails in the given app.
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
public ListToolsResponse listTools(ListToolsRequest request)
Lists tools in the given app.
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
public ListToolsetsResponse listToolsets(ListToolsetsRequest request)
Lists toolsets in the given app.
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
restoreAppVersion(RestoreAppVersionRequest request)
public Operation restoreAppVersion(RestoreAppVersionRequest request)
Restores the specified app version.
This will create a new app version from the current draft app and overwrite
the current draft with the specified app version.
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
updateAgent(UpdateAgentRequest request)
public Agent updateAgent(UpdateAgentRequest request)
Updates the specified agent.
| Returns |
| Type |
Description |
Agent |
|
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
updateApp(UpdateAppRequest request)
public App updateApp(UpdateAppRequest request)
Updates the specified app.
| Returns |
| Type |
Description |
App |
|
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
updateDeployment(UpdateDeploymentRequest request)
public Deployment updateDeployment(UpdateDeploymentRequest request)
Updates the specified deployment.
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
updateExample(UpdateExampleRequest request)
public Example updateExample(UpdateExampleRequest request)
Updates the specified example.
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
updateGuardrail(UpdateGuardrailRequest request)
public Guardrail updateGuardrail(UpdateGuardrailRequest request)
Updates the specified guardrail.
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
public Tool updateTool(UpdateToolRequest request)
Updates the specified tool.
| Returns |
| Type |
Description |
Tool |
|
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|
public Toolset updateToolset(UpdateToolsetRequest request)
Updates the specified toolset.
| Exceptions |
| Type |
Description |
io.grpc.StatusException |
|