Class AgentsStub (4.26.0)

See more code actions.
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.

java.lang.Object > AgentsStub
BackgroundResource

Constructors

AgentsStub()

public AgentsStub()

Methods

close()

public abstract void close()

deleteAgentCallable()

public UnaryCallable<DeleteAgentRequest,Empty> deleteAgentCallable()
Returns
Type Description
UnaryCallable<DeleteAgentRequest,Empty>

exportAgentCallable()

public UnaryCallable<ExportAgentRequest,Operation> exportAgentCallable()
Returns
Type Description
UnaryCallable<ExportAgentRequest,Operation>

exportAgentOperationCallable()

public OperationCallable<ExportAgentRequest,ExportAgentResponse,Struct> exportAgentOperationCallable()

getAgentCallable()

public UnaryCallable<GetAgentRequest,Agent> getAgentCallable()
Returns
Type Description
UnaryCallable<GetAgentRequest,Agent>

getHttpJsonOperationsStub()

public OperationsStub getHttpJsonOperationsStub()
Returns
Type Description
OperationsStub

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
Type Description
OperationsStub

getValidationResultCallable()

public UnaryCallable<GetValidationResultRequest,ValidationResult> getValidationResultCallable()

importAgentCallable()

public UnaryCallable<ImportAgentRequest,Operation> importAgentCallable()
Returns
Type Description
UnaryCallable<ImportAgentRequest,Operation>

importAgentOperationCallable()

public OperationCallable<ImportAgentRequest,Empty,Struct> importAgentOperationCallable()
Returns
Type Description
OperationCallable<ImportAgentRequest,Empty,Struct>

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
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>

restoreAgentCallable()

public UnaryCallable<RestoreAgentRequest,Operation> restoreAgentCallable()
Returns
Type Description
UnaryCallable<RestoreAgentRequest,Operation>

restoreAgentOperationCallable()

public OperationCallable<RestoreAgentRequest,Empty,Struct> restoreAgentOperationCallable()

searchAgentsCallable()

public UnaryCallable<SearchAgentsRequest,SearchAgentsResponse> searchAgentsCallable()

searchAgentsPagedCallable()

public UnaryCallable<SearchAgentsRequest,AgentsClient.SearchAgentsPagedResponse> searchAgentsPagedCallable()

setAgentCallable()

public UnaryCallable<SetAgentRequest,Agent> setAgentCallable()
Returns
Type Description
UnaryCallable<SetAgentRequest,Agent>

trainAgentCallable()

public UnaryCallable<TrainAgentRequest,Operation> trainAgentCallable()
Returns
Type Description
UnaryCallable<TrainAgentRequest,Operation>

trainAgentOperationCallable()

public OperationCallable<TrainAgentRequest,Empty,Struct> trainAgentOperationCallable()
Returns
Type Description
OperationCallable<TrainAgentRequest,Empty,Struct>