public static final class CompanionAgentsGrpc.CompanionAgentsBlockingV2Stub extends AbstractBlockingStub<CompanionAgentsGrpc.CompanionAgentsBlockingV2Stub>A stub to allow clients to do synchronous rpc calls to service CompanionAgents.
Service for managing companion agents.
Inheritance
java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > CompanionAgentsGrpc.CompanionAgentsBlockingV2StubMethods
build(Channel channel, CallOptions callOptions)
protected CompanionAgentsGrpc.CompanionAgentsBlockingV2Stub build(Channel channel, CallOptions callOptions)| Parameters | |
|---|---|
| Name | Description |
channel |
io.grpc.Channel |
callOptions |
io.grpc.CallOptions |
| Returns | |
|---|---|
| Type | Description |
CompanionAgentsGrpc.CompanionAgentsBlockingV2Stub |
|
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
createCompanionAgent(CreateCompanionAgentRequest request)
public CompanionAgent createCompanionAgent(CreateCompanionAgentRequest request)Creates a companion agent.
| Parameter | |
|---|---|
| Name | Description |
request |
CreateCompanionAgentRequest |
| Returns | |
|---|---|
| Type | Description |
CompanionAgent |
|
| Exceptions | |
|---|---|
| Type | Description |
io.grpc.StatusException |
|
deleteCompanionAgent(DeleteCompanionAgentRequest request)
public Empty deleteCompanionAgent(DeleteCompanionAgentRequest request)Deletes a companion agent.
| Parameter | |
|---|---|
| Name | Description |
request |
DeleteCompanionAgentRequest |
| Returns | |
|---|---|
| Type | Description |
Empty |
|
| Exceptions | |
|---|---|
| Type | Description |
io.grpc.StatusException |
|
getCompanionAgent(GetCompanionAgentRequest request)
public CompanionAgent getCompanionAgent(GetCompanionAgentRequest request)Gets a companion agent.
| Parameter | |
|---|---|
| Name | Description |
request |
GetCompanionAgentRequest |
| Returns | |
|---|---|
| Type | Description |
CompanionAgent |
|
| Exceptions | |
|---|---|
| Type | Description |
io.grpc.StatusException |
|
listCompanionAgents(ListCompanionAgentsRequest request)
public ListCompanionAgentsResponse listCompanionAgents(ListCompanionAgentsRequest request)Lists companion agents.
| Parameter | |
|---|---|
| Name | Description |
request |
ListCompanionAgentsRequest |
| Returns | |
|---|---|
| Type | Description |
ListCompanionAgentsResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
io.grpc.StatusException |
|
updateCompanionAgent(UpdateCompanionAgentRequest request)
public CompanionAgent updateCompanionAgent(UpdateCompanionAgentRequest request)Updates a companion agent.
| Parameter | |
|---|---|
| Name | Description |
request |
UpdateCompanionAgentRequest |
| Returns | |
|---|---|
| Type | Description |
CompanionAgent |
|
| Exceptions | |
|---|---|
| Type | Description |
io.grpc.StatusException |
|