- 0.65.0 (latest)
- 0.64.0
- 0.63.0
- 0.62.0
- 0.60.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.7
- 0.13.1
- 0.12.1
- 0.11.5
public abstract static class AgentsGrpc.AgentsImplBase implements BindableService
Service for managing Agents.
Implements
io.grpc.BindableServiceConstructors
AgentsImplBase()
public AgentsImplBase()
Methods
bindService()
public final ServerServiceDefinition bindService()
Type | Description |
io.grpc.ServerServiceDefinition |
createAgent(CreateAgentRequest request, StreamObserver<Agent> responseObserver)
public void createAgent(CreateAgentRequest request, StreamObserver<Agent> responseObserver)
Creates an agent in the specified location. Note: You should always train flows prior to sending them queries. See the training documentation.
Name | Description |
request | CreateAgentRequest |
responseObserver | io.grpc.stub.StreamObserver<Agent> |
deleteAgent(DeleteAgentRequest request, StreamObserver<Empty> responseObserver)
public void deleteAgent(DeleteAgentRequest request, StreamObserver<Empty> responseObserver)
Deletes the specified agent.
Name | Description |
request | DeleteAgentRequest |
responseObserver | io.grpc.stub.StreamObserver<Empty> |
exportAgent(ExportAgentRequest request, StreamObserver<Operation> responseObserver)
public void exportAgent(ExportAgentRequest request, StreamObserver<Operation> responseObserver)
Exports the specified agent to a binary file.
This method is a long-running
operation.
The returned Operation
type has the following method-specific fields:
metadata
: An empty Struct messageresponse
: ExportAgentResponse
Name | Description |
request | ExportAgentRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
getAgent(GetAgentRequest request, StreamObserver<Agent> responseObserver)
public void getAgent(GetAgentRequest request, StreamObserver<Agent> responseObserver)
Retrieves the specified agent.
Name | Description |
request | GetAgentRequest |
responseObserver | io.grpc.stub.StreamObserver<Agent> |
getAgentValidationResult(GetAgentValidationResultRequest request, StreamObserver<AgentValidationResult> responseObserver)
public void getAgentValidationResult(GetAgentValidationResultRequest request, StreamObserver<AgentValidationResult> responseObserver)
Gets the latest agent validation result. Agent validation is performed when ValidateAgent is called.
Name | Description |
request | GetAgentValidationResultRequest |
responseObserver | io.grpc.stub.StreamObserver<AgentValidationResult> |
listAgents(ListAgentsRequest request, StreamObserver<ListAgentsResponse> responseObserver)
public void listAgents(ListAgentsRequest request, StreamObserver<ListAgentsResponse> responseObserver)
Returns the list of all agents in the specified location.
Name | Description |
request | ListAgentsRequest |
responseObserver | io.grpc.stub.StreamObserver<ListAgentsResponse> |
restoreAgent(RestoreAgentRequest request, StreamObserver<Operation> responseObserver)
public void restoreAgent(RestoreAgentRequest request, StreamObserver<Operation> responseObserver)
Restores the specified agent from a binary file.
Replaces the current agent with a new one. Note that all existing resources
in agent (e.g. intents, entity types, flows) will be removed.
This method is a long-running
operation.
The returned Operation
type has the following method-specific fields:
metadata
: An empty Struct messageresponse
: An Empty message Note: You should always train flows prior to sending them queries. See the training documentation.
Name | Description |
request | RestoreAgentRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
updateAgent(UpdateAgentRequest request, StreamObserver<Agent> responseObserver)
public void updateAgent(UpdateAgentRequest request, StreamObserver<Agent> responseObserver)
Updates the specified agent. Note: You should always train flows prior to sending them queries. See the training documentation.
Name | Description |
request | UpdateAgentRequest |
responseObserver | io.grpc.stub.StreamObserver<Agent> |
validateAgent(ValidateAgentRequest request, StreamObserver<AgentValidationResult> responseObserver)
public void validateAgent(ValidateAgentRequest request, StreamObserver<AgentValidationResult> responseObserver)
Validates the specified agent and creates or updates validation results. The agent in draft version is validated. Please call this API after the training is completed to get the complete validation results.
Name | Description |
request | ValidateAgentRequest |
responseObserver | io.grpc.stub.StreamObserver<AgentValidationResult> |