public static final class AgentServiceGrpc.AgentServiceFutureStub extends AbstractFutureStub<AgentServiceGrpc.AgentServiceFutureStub>
A stub to allow clients to do ListenableFuture-style 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.AbstractFutureStub >
AgentServiceGrpc.AgentServiceFutureStub
Inherited Members
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractFutureStub.<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 ListenableFuture<Operation> batchDeleteConversations(BatchDeleteConversationsRequest request)
Batch deletes the specified conversations.
| Returns |
| Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
build(Channel channel, CallOptions callOptions)
protected AgentServiceGrpc.AgentServiceFutureStub 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 ListenableFuture<Agent> createAgent(CreateAgentRequest request)
Creates a new agent in the given app.
| Returns |
| Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Agent> |
|
createApp(CreateAppRequest request)
public ListenableFuture<Operation> createApp(CreateAppRequest request)
Creates a new app in the given project and location.
| Returns |
| Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
createAppVersion(CreateAppVersionRequest request)
public ListenableFuture<AppVersion> createAppVersion(CreateAppVersionRequest request)
Creates a new app version in the given app.
| Returns |
| Type |
Description |
com.google.common.util.concurrent.ListenableFuture<AppVersion> |
|
createDeployment(CreateDeploymentRequest request)
public ListenableFuture<Deployment> createDeployment(CreateDeploymentRequest request)
Creates a new deployment in the given app.
| Returns |
| Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Deployment> |
|
createExample(CreateExampleRequest request)
public ListenableFuture<Example> createExample(CreateExampleRequest request)
Creates a new example in the given app.
| Returns |
| Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Example> |
|
createGuardrail(CreateGuardrailRequest request)
public ListenableFuture<Guardrail> createGuardrail(CreateGuardrailRequest request)
Creates a new guardrail in the given app.
| Returns |
| Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Guardrail> |
|
public ListenableFuture<Tool> createTool(CreateToolRequest request)
Creates a new tool in the given app.
| Returns |
| Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Tool> |
|
public ListenableFuture<Toolset> createToolset(CreateToolsetRequest request)
Creates a new toolset in the given app.
| Returns |
| Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Toolset> |
|
deleteAgent(DeleteAgentRequest request)
public ListenableFuture<Empty> deleteAgent(DeleteAgentRequest request)
Deletes the specified agent.
| Returns |
| Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Empty> |
|
deleteApp(DeleteAppRequest request)
public ListenableFuture<Operation> deleteApp(DeleteAppRequest request)
Deletes the specified app.
| Returns |
| Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
deleteAppVersion(DeleteAppVersionRequest request)
public ListenableFuture<Empty> deleteAppVersion(DeleteAppVersionRequest request)
Deletes the specified app version.
| Returns |
| Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Empty> |
|
deleteConversation(DeleteConversationRequest request)
public ListenableFuture<Empty> deleteConversation(DeleteConversationRequest request)
Deletes the specified conversation.
| Returns |
| Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Empty> |
|
deleteDeployment(DeleteDeploymentRequest request)
public ListenableFuture<Empty> deleteDeployment(DeleteDeploymentRequest request)
Deletes the specified deployment.
| Returns |
| Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Empty> |
|
deleteExample(DeleteExampleRequest request)
public ListenableFuture<Empty> deleteExample(DeleteExampleRequest request)
Deletes the specified example.
| Returns |
| Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Empty> |
|
deleteGuardrail(DeleteGuardrailRequest request)
public ListenableFuture<Empty> deleteGuardrail(DeleteGuardrailRequest request)
Deletes the specified guardrail.
| Returns |
| Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Empty> |
|
public ListenableFuture<Empty> deleteTool(DeleteToolRequest request)
Deletes the specified tool.
| Returns |
| Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Empty> |
|
public ListenableFuture<Empty> deleteToolset(DeleteToolsetRequest request)
Deletes the specified toolset.
| Returns |
| Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Empty> |
|
exportApp(ExportAppRequest request)
public ListenableFuture<Operation> exportApp(ExportAppRequest request)
Exports the specified app.
| Returns |
| Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
getAgent(GetAgentRequest request)
public ListenableFuture<Agent> getAgent(GetAgentRequest request)
Gets details of the specified agent.
| Returns |
| Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Agent> |
|
getApp(GetAppRequest request)
public ListenableFuture<App> getApp(GetAppRequest request)
Gets details of the specified app.
| Returns |
| Type |
Description |
com.google.common.util.concurrent.ListenableFuture<App> |
|
getAppVersion(GetAppVersionRequest request)
public ListenableFuture<AppVersion> getAppVersion(GetAppVersionRequest request)
Gets details of the specified app version.
| Returns |
| Type |
Description |
com.google.common.util.concurrent.ListenableFuture<AppVersion> |
|
getChangelog(GetChangelogRequest request)
public ListenableFuture<Changelog> getChangelog(GetChangelogRequest request)
Gets the specified changelog.
| Returns |
| Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Changelog> |
|
getConversation(GetConversationRequest request)
public ListenableFuture<Conversation> getConversation(GetConversationRequest request)
Gets details of the specified conversation.
| Returns |
| Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Conversation> |
|
getDeployment(GetDeploymentRequest request)
public ListenableFuture<Deployment> getDeployment(GetDeploymentRequest request)
Gets details of the specified deployment.
| Returns |
| Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Deployment> |
|
getExample(GetExampleRequest request)
public ListenableFuture<Example> getExample(GetExampleRequest request)
Gets details of the specified example.
| Returns |
| Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Example> |
|
getGuardrail(GetGuardrailRequest request)
public ListenableFuture<Guardrail> getGuardrail(GetGuardrailRequest request)
Gets details of the specified guardrail.
| Returns |
| Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Guardrail> |
|
public ListenableFuture<Tool> getTool(GetToolRequest request)
Gets details of the specified tool.
| Returns |
| Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Tool> |
|
public ListenableFuture<Toolset> getToolset(GetToolsetRequest request)
Gets details of the specified toolset.
| Returns |
| Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Toolset> |
|
importApp(ImportAppRequest request)
public ListenableFuture<Operation> importApp(ImportAppRequest request)
Imports the specified app.
| Returns |
| Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
listAgents(ListAgentsRequest request)
public ListenableFuture<ListAgentsResponse> listAgents(ListAgentsRequest request)
Lists agents in the given app.
| Returns |
| Type |
Description |
com.google.common.util.concurrent.ListenableFuture<ListAgentsResponse> |
|
listAppVersions(ListAppVersionsRequest request)
public ListenableFuture<ListAppVersionsResponse> listAppVersions(ListAppVersionsRequest request)
Lists all app versions in the given app.
listApps(ListAppsRequest request)
public ListenableFuture<ListAppsResponse> listApps(ListAppsRequest request)
Lists apps in the given project and location.
| Returns |
| Type |
Description |
com.google.common.util.concurrent.ListenableFuture<ListAppsResponse> |
|
listChangelogs(ListChangelogsRequest request)
public ListenableFuture<ListChangelogsResponse> listChangelogs(ListChangelogsRequest request)
Lists the changelogs of the specified app.
listConversations(ListConversationsRequest request)
public ListenableFuture<ListConversationsResponse> listConversations(ListConversationsRequest request)
Lists conversations in the given app.
listDeployments(ListDeploymentsRequest request)
public ListenableFuture<ListDeploymentsResponse> listDeployments(ListDeploymentsRequest request)
Lists deployments in the given app.
listExamples(ListExamplesRequest request)
public ListenableFuture<ListExamplesResponse> listExamples(ListExamplesRequest request)
Lists examples in the given app.
listGuardrails(ListGuardrailsRequest request)
public ListenableFuture<ListGuardrailsResponse> listGuardrails(ListGuardrailsRequest request)
Lists guardrails in the given app.
public ListenableFuture<ListToolsResponse> listTools(ListToolsRequest request)
Lists tools in the given app.
| Returns |
| Type |
Description |
com.google.common.util.concurrent.ListenableFuture<ListToolsResponse> |
|
public ListenableFuture<ListToolsetsResponse> listToolsets(ListToolsetsRequest request)
Lists toolsets in the given app.
restoreAppVersion(RestoreAppVersionRequest request)
public ListenableFuture<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.
| Returns |
| Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
updateAgent(UpdateAgentRequest request)
public ListenableFuture<Agent> updateAgent(UpdateAgentRequest request)
Updates the specified agent.
| Returns |
| Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Agent> |
|
updateApp(UpdateAppRequest request)
public ListenableFuture<App> updateApp(UpdateAppRequest request)
Updates the specified app.
| Returns |
| Type |
Description |
com.google.common.util.concurrent.ListenableFuture<App> |
|
updateDeployment(UpdateDeploymentRequest request)
public ListenableFuture<Deployment> updateDeployment(UpdateDeploymentRequest request)
Updates the specified deployment.
| Returns |
| Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Deployment> |
|
updateExample(UpdateExampleRequest request)
public ListenableFuture<Example> updateExample(UpdateExampleRequest request)
Updates the specified example.
| Returns |
| Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Example> |
|
updateGuardrail(UpdateGuardrailRequest request)
public ListenableFuture<Guardrail> updateGuardrail(UpdateGuardrailRequest request)
Updates the specified guardrail.
| Returns |
| Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Guardrail> |
|
public ListenableFuture<Tool> updateTool(UpdateToolRequest request)
Updates the specified tool.
| Returns |
| Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Tool> |
|
public ListenableFuture<Toolset> updateToolset(UpdateToolsetRequest request)
Updates the specified toolset.
| Returns |
| Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Toolset> |
|