public abstract class AgentsStub implements BackgroundResource
Base stub class for the Agents service API.
This class is for advanced usage and reflects the underlying API directly.
Constructors
AgentsStub()
Methods
close()
public abstract void close()
deleteAgentCallable()
public UnaryCallable<DeleteAgentRequest,Empty> deleteAgentCallable()
Returns
exportAgentCallable()
public UnaryCallable<ExportAgentRequest,Operation> exportAgentCallable()
Returns
exportAgentOperationCallable()
public OperationCallable<ExportAgentRequest,ExportAgentResponse,Struct> exportAgentOperationCallable()
Returns
getAgentCallable()
public UnaryCallable<GetAgentRequest,Agent> getAgentCallable()
Returns
getHttpJsonOperationsStub()
public OperationsStub getHttpJsonOperationsStub()
Returns
getLocationCallable()
public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns
Type |
Description |
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
|
getOperationsStub()
public OperationsStub getOperationsStub()
Returns
getValidationResultCallable()
public UnaryCallable<GetValidationResultRequest,ValidationResult> getValidationResultCallable()
Returns
importAgentCallable()
public UnaryCallable<ImportAgentRequest,Operation> importAgentCallable()
Returns
importAgentOperationCallable()
public OperationCallable<ImportAgentRequest,Empty,Struct> importAgentOperationCallable()
Returns
listLocationsCallable()
public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns
Type |
Description |
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> |
|
listLocationsPagedCallable()
public UnaryCallable<ListLocationsRequest,AgentsClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns
restoreAgentCallable()
public UnaryCallable<RestoreAgentRequest,Operation> restoreAgentCallable()
Returns
restoreAgentOperationCallable()
public OperationCallable<RestoreAgentRequest,Empty,Struct> restoreAgentOperationCallable()
Returns
searchAgentsCallable()
public UnaryCallable<SearchAgentsRequest,SearchAgentsResponse> searchAgentsCallable()
Returns
searchAgentsPagedCallable()
public UnaryCallable<SearchAgentsRequest,AgentsClient.SearchAgentsPagedResponse> searchAgentsPagedCallable()
Returns
setAgentCallable()
public UnaryCallable<SetAgentRequest,Agent> setAgentCallable()
Returns
trainAgentCallable()
public UnaryCallable<TrainAgentRequest,Operation> trainAgentCallable()
Returns
trainAgentOperationCallable()
public OperationCallable<TrainAgentRequest,Empty,Struct> trainAgentOperationCallable()
Returns