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).
 
  • Method Details

    • build

      protected AgentServiceGrpc.AgentServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.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

      public void getApp(GetAppRequest request, io.grpc.stub.StreamObserver<App> responseObserver)
       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

      public void updateApp(UpdateAppRequest request, io.grpc.stub.StreamObserver<App> responseObserver)
       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

      public void getAgent(GetAgentRequest request, io.grpc.stub.StreamObserver<Agent> responseObserver)
       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

      public void getTool(GetToolRequest request, io.grpc.stub.StreamObserver<Tool> responseObserver)
       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.