Package com.google.cloud.ces.v1beta
Class AgentServiceGrpc.AgentServiceStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<AgentServiceGrpc.AgentServiceStub>
com.google.cloud.ces.v1beta.AgentServiceGrpc.AgentServiceStub
- Enclosing class:
- AgentServiceGrpc
public static final class AgentServiceGrpc.AgentServiceStub
extends io.grpc.stub.AbstractAsyncStub<AgentServiceGrpc.AgentServiceStub>
A stub to allow clients to do asynchronous rpc calls to service AgentService.
The service that manages agent-related resources in Gemini Enterprise for Customer Engagement (CES).
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionvoidbatchDeleteConversations(BatchDeleteConversationsRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Batch deletes the specified conversations.protected AgentServiceGrpc.AgentServiceStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) voidcreateAgent(CreateAgentRequest request, io.grpc.stub.StreamObserver<Agent> responseObserver) Creates a new agent in the given app.voidcreateApp(CreateAppRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Creates a new app in the given project and location.voidcreateAppVersion(CreateAppVersionRequest request, io.grpc.stub.StreamObserver<AppVersion> responseObserver) Creates a new app version in the given app.voidcreateDeployment(CreateDeploymentRequest request, io.grpc.stub.StreamObserver<Deployment> responseObserver) Creates a new deployment in the given app.voidcreateExample(CreateExampleRequest request, io.grpc.stub.StreamObserver<Example> responseObserver) Creates a new example in the given app.voidcreateGuardrail(CreateGuardrailRequest request, io.grpc.stub.StreamObserver<Guardrail> responseObserver) Creates a new guardrail in the given app.voidcreateTool(CreateToolRequest request, io.grpc.stub.StreamObserver<Tool> responseObserver) Creates a new tool in the given app.voidcreateToolset(CreateToolsetRequest request, io.grpc.stub.StreamObserver<Toolset> responseObserver) Creates a new toolset in the given app.voiddeleteAgent(DeleteAgentRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) Deletes the specified agent.voiddeleteApp(DeleteAppRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Deletes the specified app.voiddeleteAppVersion(DeleteAppVersionRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) Deletes the specified app version.voiddeleteConversation(DeleteConversationRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) Deletes the specified conversation.voiddeleteDeployment(DeleteDeploymentRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) Deletes the specified deployment.voiddeleteExample(DeleteExampleRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) Deletes the specified example.voiddeleteGuardrail(DeleteGuardrailRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) Deletes the specified guardrail.voiddeleteTool(DeleteToolRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) Deletes the specified tool.voiddeleteToolset(DeleteToolsetRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) Deletes the specified toolset.voidexportApp(ExportAppRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Exports the specified app.voidgenerateAppResource(GenerateAppResourceRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Generates specific resources (e.g. agent) in the app using LLM assistant.voidgetAgent(GetAgentRequest request, io.grpc.stub.StreamObserver<Agent> responseObserver) Gets details of the specified agent.voidgetApp(GetAppRequest request, io.grpc.stub.StreamObserver<App> responseObserver) Gets details of the specified app.voidgetAppVersion(GetAppVersionRequest request, io.grpc.stub.StreamObserver<AppVersion> responseObserver) Gets details of the specified app version.voidgetChangelog(GetChangelogRequest request, io.grpc.stub.StreamObserver<Changelog> responseObserver) Gets the specified changelog.voidgetConversation(GetConversationRequest request, io.grpc.stub.StreamObserver<Conversation> responseObserver) Gets details of the specified conversation.voidgetDeployment(GetDeploymentRequest request, io.grpc.stub.StreamObserver<Deployment> responseObserver) Gets details of the specified deployment.voidgetExample(GetExampleRequest request, io.grpc.stub.StreamObserver<Example> responseObserver) Gets details of the specified example.voidgetGuardrail(GetGuardrailRequest request, io.grpc.stub.StreamObserver<Guardrail> responseObserver) Gets details of the specified guardrail.voidgetSecuritySettings(GetSecuritySettingsRequest request, io.grpc.stub.StreamObserver<SecuritySettings> responseObserver) Retrieves the security settings for the project and location.voidgetTool(GetToolRequest request, io.grpc.stub.StreamObserver<Tool> responseObserver) Gets details of the specified tool.voidgetToolset(GetToolsetRequest request, io.grpc.stub.StreamObserver<Toolset> responseObserver) Gets details of the specified toolset.voidimportApp(ImportAppRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Imports the specified app.voidlistAgents(ListAgentsRequest request, io.grpc.stub.StreamObserver<ListAgentsResponse> responseObserver) Lists agents in the given app.voidlistApps(ListAppsRequest request, io.grpc.stub.StreamObserver<ListAppsResponse> responseObserver) Lists apps in the given project and location.voidlistAppVersions(ListAppVersionsRequest request, io.grpc.stub.StreamObserver<ListAppVersionsResponse> responseObserver) Lists all app versions in the given app.voidlistChangelogs(ListChangelogsRequest request, io.grpc.stub.StreamObserver<ListChangelogsResponse> responseObserver) Lists the changelogs of the specified app.voidlistConversations(ListConversationsRequest request, io.grpc.stub.StreamObserver<ListConversationsResponse> responseObserver) Lists conversations in the given app.voidlistDeployments(ListDeploymentsRequest request, io.grpc.stub.StreamObserver<ListDeploymentsResponse> responseObserver) Lists deployments in the given app.voidlistExamples(ListExamplesRequest request, io.grpc.stub.StreamObserver<ListExamplesResponse> responseObserver) Lists examples in the given app.voidlistGuardrails(ListGuardrailsRequest request, io.grpc.stub.StreamObserver<ListGuardrailsResponse> responseObserver) Lists guardrails in the given app.voidlistTools(ListToolsRequest request, io.grpc.stub.StreamObserver<ListToolsResponse> responseObserver) Lists tools in the given app.voidlistToolsets(ListToolsetsRequest request, io.grpc.stub.StreamObserver<ListToolsetsResponse> responseObserver) Lists toolsets in the given app.voidrestoreAppVersion(RestoreAppVersionRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Restores the specified app version.voidupdateAgent(UpdateAgentRequest request, io.grpc.stub.StreamObserver<Agent> responseObserver) Updates the specified agent.voidupdateApp(UpdateAppRequest request, io.grpc.stub.StreamObserver<App> responseObserver) Updates the specified app.voidupdateDeployment(UpdateDeploymentRequest request, io.grpc.stub.StreamObserver<Deployment> responseObserver) Updates the specified deployment.voidupdateExample(UpdateExampleRequest request, io.grpc.stub.StreamObserver<Example> responseObserver) Updates the specified example.voidupdateGuardrail(UpdateGuardrailRequest request, io.grpc.stub.StreamObserver<Guardrail> responseObserver) Updates the specified guardrail.voidupdateSecuritySettings(UpdateSecuritySettingsRequest request, io.grpc.stub.StreamObserver<SecuritySettings> responseObserver) Updates the security settings for the project and location.voidupdateTool(UpdateToolRequest request, io.grpc.stub.StreamObserver<Tool> responseObserver) Updates the specified tool.voidupdateToolset(UpdateToolsetRequest request, io.grpc.stub.StreamObserver<Toolset> responseObserver) Updates the specified toolset.Methods inherited from class io.grpc.stub.AbstractAsyncStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected AgentServiceGrpc.AgentServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<AgentServiceGrpc.AgentServiceStub>
-
listApps
public void listApps(ListAppsRequest request, io.grpc.stub.StreamObserver<ListAppsResponse> responseObserver) Lists apps in the given project and location.
-
getApp
Gets details of the specified app.
-
createApp
public void createApp(CreateAppRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Creates a new app in the given project and location.
-
updateApp
Updates the specified app.
-
deleteApp
public void deleteApp(DeleteAppRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Deletes the specified app.
-
exportApp
public void exportApp(ExportAppRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Exports the specified app.
-
importApp
public void importApp(ImportAppRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Imports the specified app.
-
getSecuritySettings
public void getSecuritySettings(GetSecuritySettingsRequest request, io.grpc.stub.StreamObserver<SecuritySettings> responseObserver) Retrieves the security settings for the project and location.
-
updateSecuritySettings
public void updateSecuritySettings(UpdateSecuritySettingsRequest request, io.grpc.stub.StreamObserver<SecuritySettings> responseObserver) Updates the security settings for the project and location.
-
listAgents
public void listAgents(ListAgentsRequest request, io.grpc.stub.StreamObserver<ListAgentsResponse> responseObserver) Lists agents in the given app.
-
getAgent
Gets details of the specified agent.
-
createAgent
public void createAgent(CreateAgentRequest request, io.grpc.stub.StreamObserver<Agent> responseObserver) Creates a new agent in the given app.
-
updateAgent
public void updateAgent(UpdateAgentRequest request, io.grpc.stub.StreamObserver<Agent> responseObserver) Updates the specified agent.
-
deleteAgent
public void deleteAgent(DeleteAgentRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) Deletes the specified agent.
-
listExamples
public void listExamples(ListExamplesRequest request, io.grpc.stub.StreamObserver<ListExamplesResponse> responseObserver) Lists examples in the given app.
-
getExample
public void getExample(GetExampleRequest request, io.grpc.stub.StreamObserver<Example> responseObserver) Gets details of the specified example.
-
createExample
public void createExample(CreateExampleRequest request, io.grpc.stub.StreamObserver<Example> responseObserver) Creates a new example in the given app.
-
updateExample
public void updateExample(UpdateExampleRequest request, io.grpc.stub.StreamObserver<Example> responseObserver) Updates the specified example.
-
deleteExample
public void deleteExample(DeleteExampleRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) Deletes the specified example.
-
listTools
public void listTools(ListToolsRequest request, io.grpc.stub.StreamObserver<ListToolsResponse> responseObserver) Lists tools in the given app.
-
getTool
Gets details of the specified tool.
-
listConversations
public void listConversations(ListConversationsRequest request, io.grpc.stub.StreamObserver<ListConversationsResponse> responseObserver) Lists conversations in the given app.
-
getConversation
public void getConversation(GetConversationRequest request, io.grpc.stub.StreamObserver<Conversation> responseObserver) Gets details of the specified conversation.
-
deleteConversation
public void deleteConversation(DeleteConversationRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) Deletes the specified conversation.
-
batchDeleteConversations
public void batchDeleteConversations(BatchDeleteConversationsRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Batch deletes the specified conversations.
-
createTool
public void createTool(CreateToolRequest request, io.grpc.stub.StreamObserver<Tool> responseObserver) Creates a new tool in the given app.
-
updateTool
public void updateTool(UpdateToolRequest request, io.grpc.stub.StreamObserver<Tool> responseObserver) Updates the specified tool.
-
deleteTool
public void deleteTool(DeleteToolRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) Deletes the specified tool.
-
listGuardrails
public void listGuardrails(ListGuardrailsRequest request, io.grpc.stub.StreamObserver<ListGuardrailsResponse> responseObserver) Lists guardrails in the given app.
-
getGuardrail
public void getGuardrail(GetGuardrailRequest request, io.grpc.stub.StreamObserver<Guardrail> responseObserver) Gets details of the specified guardrail.
-
createGuardrail
public void createGuardrail(CreateGuardrailRequest request, io.grpc.stub.StreamObserver<Guardrail> responseObserver) Creates a new guardrail in the given app.
-
updateGuardrail
public void updateGuardrail(UpdateGuardrailRequest request, io.grpc.stub.StreamObserver<Guardrail> responseObserver) Updates the specified guardrail.
-
deleteGuardrail
public void deleteGuardrail(DeleteGuardrailRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) Deletes the specified guardrail.
-
listDeployments
public void listDeployments(ListDeploymentsRequest request, io.grpc.stub.StreamObserver<ListDeploymentsResponse> responseObserver) Lists deployments in the given app.
-
getDeployment
public void getDeployment(GetDeploymentRequest request, io.grpc.stub.StreamObserver<Deployment> responseObserver) Gets details of the specified deployment.
-
createDeployment
public void createDeployment(CreateDeploymentRequest request, io.grpc.stub.StreamObserver<Deployment> responseObserver) Creates a new deployment in the given app.
-
updateDeployment
public void updateDeployment(UpdateDeploymentRequest request, io.grpc.stub.StreamObserver<Deployment> responseObserver) Updates the specified deployment.
-
deleteDeployment
public void deleteDeployment(DeleteDeploymentRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) Deletes the specified deployment.
-
listToolsets
public void listToolsets(ListToolsetsRequest request, io.grpc.stub.StreamObserver<ListToolsetsResponse> responseObserver) Lists toolsets in the given app.
-
getToolset
public void getToolset(GetToolsetRequest request, io.grpc.stub.StreamObserver<Toolset> responseObserver) Gets details of the specified toolset.
-
createToolset
public void createToolset(CreateToolsetRequest request, io.grpc.stub.StreamObserver<Toolset> responseObserver) Creates a new toolset in the given app.
-
updateToolset
public void updateToolset(UpdateToolsetRequest request, io.grpc.stub.StreamObserver<Toolset> responseObserver) Updates the specified toolset.
-
deleteToolset
public void deleteToolset(DeleteToolsetRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) Deletes the specified toolset.
-
listAppVersions
public void listAppVersions(ListAppVersionsRequest request, io.grpc.stub.StreamObserver<ListAppVersionsResponse> responseObserver) Lists all app versions in the given app.
-
getAppVersion
public void getAppVersion(GetAppVersionRequest request, io.grpc.stub.StreamObserver<AppVersion> responseObserver) Gets details of the specified app version.
-
createAppVersion
public void createAppVersion(CreateAppVersionRequest request, io.grpc.stub.StreamObserver<AppVersion> responseObserver) Creates a new app version in the given app.
-
deleteAppVersion
public void deleteAppVersion(DeleteAppVersionRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) Deletes the specified app version.
-
restoreAppVersion
public void restoreAppVersion(RestoreAppVersionRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) 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.
-
generateAppResource
public void generateAppResource(GenerateAppResourceRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Generates specific resources (e.g. agent) in the app using LLM assistant.
-
listChangelogs
public void listChangelogs(ListChangelogsRequest request, io.grpc.stub.StreamObserver<ListChangelogsResponse> responseObserver) Lists the changelogs of the specified app.
-
getChangelog
public void getChangelog(GetChangelogRequest request, io.grpc.stub.StreamObserver<Changelog> responseObserver) Gets the specified changelog.
-