Class AgentsStub (0.54.0)

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.

Inheritance

java.lang.Object > AgentsStub

Implements

BackgroundResource

Constructors

AgentsStub()

public AgentsStub()

Methods

close()

public abstract void close()

createAgentCallable()

public UnaryCallable<CreateAgentRequest,Agent> createAgentCallable()
Returns
Type Description
UnaryCallable<CreateAgentRequest,Agent>

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()
Returns
Type Description
OperationCallable<ExportAgentRequest,ExportAgentResponse,Struct>

getAgentCallable()

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

getAgentValidationResultCallable()

public UnaryCallable<GetAgentValidationResultRequest,AgentValidationResult> getAgentValidationResultCallable()
Returns
Type Description
UnaryCallable<GetAgentValidationResultRequest,AgentValidationResult>

getGenerativeSettingsCallable()

public UnaryCallable<GetGenerativeSettingsRequest,GenerativeSettings> getGenerativeSettingsCallable()
Returns
Type Description
UnaryCallable<GetGenerativeSettingsRequest,GenerativeSettings>

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

listAgentsCallable()

public UnaryCallable<ListAgentsRequest,ListAgentsResponse> listAgentsCallable()
Returns
Type Description
UnaryCallable<ListAgentsRequest,ListAgentsResponse>

listAgentsPagedCallable()

public UnaryCallable<ListAgentsRequest,AgentsClient.ListAgentsPagedResponse> listAgentsPagedCallable()
Returns
Type Description
UnaryCallable<ListAgentsRequest,ListAgentsPagedResponse>

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()
Returns
Type Description
OperationCallable<RestoreAgentRequest,Empty,Struct>

updateAgentCallable()

public UnaryCallable<UpdateAgentRequest,Agent> updateAgentCallable()
Returns
Type Description
UnaryCallable<UpdateAgentRequest,Agent>

updateGenerativeSettingsCallable()

public UnaryCallable<UpdateGenerativeSettingsRequest,GenerativeSettings> updateGenerativeSettingsCallable()
Returns
Type Description
UnaryCallable<UpdateGenerativeSettingsRequest,GenerativeSettings>

validateAgentCallable()

public UnaryCallable<ValidateAgentRequest,AgentValidationResult> validateAgentCallable()
Returns
Type Description
UnaryCallable<ValidateAgentRequest,AgentValidationResult>