Send feedback
Class HttpJsonAgentServiceStub (0.1.0)
Stay organized with collections
Save and categorize content based on your preferences.
public class HttpJsonAgentServiceStub extends AgentServiceStub
REST stub implementation for the AgentService service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonAgentServiceStub create ( ClientContext clientContext )
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonAgentServiceStub create ( ClientContext clientContext , HttpJsonStubCallableFactory callableFactory )
create(AgentServiceStubSettings settings)
public static final HttpJsonAgentServiceStub create ( AgentServiceStubSettings settings )
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors ()
Constructors
HttpJsonAgentServiceStub(AgentServiceStubSettings settings, ClientContext clientContext)
protected HttpJsonAgentServiceStub ( AgentServiceStubSettings settings , ClientContext clientContext )
Constructs an instance of HttpJsonAgentServiceStub, using the given settings. This is protected
so that it is easy to make a subclass, but otherwise, the static factory methods should be
preferred.
HttpJsonAgentServiceStub(AgentServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonAgentServiceStub ( AgentServiceStubSettings settings , ClientContext clientContext , HttpJsonStubCallableFactory callableFactory )
Constructs an instance of HttpJsonAgentServiceStub, using the given settings. This is protected
so that it is easy to make a subclass, but otherwise, the static factory methods should be
preferred.
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination ( long duration , TimeUnit unit )
batchDeleteConversationsCallable()
public UnaryCallable<BatchDeleteConversationsRequest , Operation > batchDeleteConversationsCallable ()
Overrides
batchDeleteConversationsOperationCallable()
public OperationCallable<BatchDeleteConversationsRequest , BatchDeleteConversationsResponse , OperationMetadata > batchDeleteConversationsOperationCallable ()
Overrides
close()
public final void close ()
Overrides
createAgentCallable()
public UnaryCallable<CreateAgentRequest , Agent > createAgentCallable ()
Overrides
createAppCallable()
public UnaryCallable<CreateAppRequest , Operation > createAppCallable ()
Overrides
createAppOperationCallable()
public OperationCallable<CreateAppRequest , App , OperationMetadata > createAppOperationCallable ()
Overrides
createAppVersionCallable()
public UnaryCallable<CreateAppVersionRequest , AppVersion > createAppVersionCallable ()
Overrides
createDeploymentCallable()
public UnaryCallable<CreateDeploymentRequest , Deployment > createDeploymentCallable ()
Overrides
createExampleCallable()
public UnaryCallable<CreateExampleRequest , Example > createExampleCallable ()
Overrides
createGuardrailCallable()
public UnaryCallable<CreateGuardrailRequest , Guardrail > createGuardrailCallable ()
Overrides
public UnaryCallable<CreateToolRequest , Tool > createToolCallable ()
Overrides
public UnaryCallable<CreateToolsetRequest , Toolset > createToolsetCallable ()
Overrides
deleteAgentCallable()
public UnaryCallable<DeleteAgentRequest , Empty > deleteAgentCallable ()
Overrides
deleteAppCallable()
public UnaryCallable<DeleteAppRequest , Operation > deleteAppCallable ()
Overrides
deleteAppOperationCallable()
public OperationCallable<DeleteAppRequest , Empty , OperationMetadata > deleteAppOperationCallable ()
Overrides
deleteAppVersionCallable()
public UnaryCallable<DeleteAppVersionRequest , Empty > deleteAppVersionCallable ()
Overrides
deleteConversationCallable()
public UnaryCallable<DeleteConversationRequest , Empty > deleteConversationCallable ()
Overrides
deleteDeploymentCallable()
public UnaryCallable<DeleteDeploymentRequest , Empty > deleteDeploymentCallable ()
Overrides
deleteExampleCallable()
public UnaryCallable<DeleteExampleRequest , Empty > deleteExampleCallable ()
Overrides
deleteGuardrailCallable()
public UnaryCallable<DeleteGuardrailRequest , Empty > deleteGuardrailCallable ()
Overrides
public UnaryCallable<DeleteToolRequest , Empty > deleteToolCallable ()
Overrides
public UnaryCallable<DeleteToolsetRequest , Empty > deleteToolsetCallable ()
Overrides
exportAppCallable()
public UnaryCallable<ExportAppRequest , Operation > exportAppCallable ()
Overrides
exportAppOperationCallable()
public OperationCallable<ExportAppRequest , ExportAppResponse , OperationMetadata > exportAppOperationCallable ()
Overrides
getAgentCallable()
public UnaryCallable<GetAgentRequest , Agent > getAgentCallable ()
Overrides
getAppCallable()
public UnaryCallable<GetAppRequest , App > getAppCallable ()
Overrides
getAppVersionCallable()
public UnaryCallable<GetAppVersionRequest , AppVersion > getAppVersionCallable ()
Overrides
getChangelogCallable()
public UnaryCallable<GetChangelogRequest , Changelog > getChangelogCallable ()
Overrides
getConversationCallable()
public UnaryCallable<GetConversationRequest , Conversation > getConversationCallable ()
Overrides
getDeploymentCallable()
public UnaryCallable<GetDeploymentRequest , Deployment > getDeploymentCallable ()
Overrides
getExampleCallable()
public UnaryCallable<GetExampleRequest , Example > getExampleCallable ()
Overrides
getGuardrailCallable()
public UnaryCallable<GetGuardrailRequest , Guardrail > getGuardrailCallable ()
Overrides
getHttpJsonOperationsStub()
public HttpJsonOperationsStub getHttpJsonOperationsStub ()
Overrides
getLocationCallable()
public UnaryCallable<GetLocationRequest , Location > getLocationCallable ()
Returns
Type
Description
UnaryCallable <com.google.cloud.location.GetLocationRequest ,com.google.cloud.location.Location >
Overrides
public UnaryCallable<GetToolRequest , Tool > getToolCallable ()
Overrides
public UnaryCallable<GetToolsetRequest , Toolset > getToolsetCallable ()
Overrides
importAppCallable()
public UnaryCallable<ImportAppRequest , Operation > importAppCallable ()
Overrides
importAppOperationCallable()
public OperationCallable<ImportAppRequest , ImportAppResponse , OperationMetadata > importAppOperationCallable ()
Overrides
isShutdown()
public boolean isShutdown ()
isTerminated()
public boolean isTerminated ()
listAgentsCallable()
public UnaryCallable<ListAgentsRequest , ListAgentsResponse > listAgentsCallable ()
Overrides
listAgentsPagedCallable()
public UnaryCallable<ListAgentsRequest , AgentServiceClient . ListAgentsPagedResponse > listAgentsPagedCallable ()
Overrides
listAppVersionsCallable()
public UnaryCallable<ListAppVersionsRequest , ListAppVersionsResponse > listAppVersionsCallable ()
Overrides
listAppVersionsPagedCallable()
public UnaryCallable<ListAppVersionsRequest , AgentServiceClient . ListAppVersionsPagedResponse > listAppVersionsPagedCallable ()
Overrides
listAppsCallable()
public UnaryCallable<ListAppsRequest , ListAppsResponse > listAppsCallable ()
Overrides
listAppsPagedCallable()
public UnaryCallable<ListAppsRequest , AgentServiceClient . ListAppsPagedResponse > listAppsPagedCallable ()
Overrides
listChangelogsCallable()
public UnaryCallable<ListChangelogsRequest , ListChangelogsResponse > listChangelogsCallable ()
Overrides
listChangelogsPagedCallable()
public UnaryCallable<ListChangelogsRequest , AgentServiceClient . ListChangelogsPagedResponse > listChangelogsPagedCallable ()
Overrides
listConversationsCallable()
public UnaryCallable<ListConversationsRequest , ListConversationsResponse > listConversationsCallable ()
Overrides
listConversationsPagedCallable()
public UnaryCallable<ListConversationsRequest , AgentServiceClient . ListConversationsPagedResponse > listConversationsPagedCallable ()
Overrides
listDeploymentsCallable()
public UnaryCallable<ListDeploymentsRequest , ListDeploymentsResponse > listDeploymentsCallable ()
Overrides
listDeploymentsPagedCallable()
public UnaryCallable<ListDeploymentsRequest , AgentServiceClient . ListDeploymentsPagedResponse > listDeploymentsPagedCallable ()
Overrides
listExamplesCallable()
public UnaryCallable<ListExamplesRequest , ListExamplesResponse > listExamplesCallable ()
Overrides
listExamplesPagedCallable()
public UnaryCallable<ListExamplesRequest , AgentServiceClient . ListExamplesPagedResponse > listExamplesPagedCallable ()
Overrides
listGuardrailsCallable()
public UnaryCallable<ListGuardrailsRequest , ListGuardrailsResponse > listGuardrailsCallable ()
Overrides
listGuardrailsPagedCallable()
public UnaryCallable<ListGuardrailsRequest , AgentServiceClient . ListGuardrailsPagedResponse > listGuardrailsPagedCallable ()
Overrides
listLocationsCallable()
public UnaryCallable<ListLocationsRequest , ListLocationsResponse > listLocationsCallable ()
Returns
Type
Description
UnaryCallable <com.google.cloud.location.ListLocationsRequest ,com.google.cloud.location.ListLocationsResponse >
Overrides
listLocationsPagedCallable()
public UnaryCallable<ListLocationsRequest , AgentServiceClient . ListLocationsPagedResponse > listLocationsPagedCallable ()
Overrides
public UnaryCallable<ListToolsRequest , ListToolsResponse > listToolsCallable ()
Overrides
listToolsPagedCallable()
public UnaryCallable<ListToolsRequest , AgentServiceClient . ListToolsPagedResponse > listToolsPagedCallable ()
Overrides
public UnaryCallable<ListToolsetsRequest , ListToolsetsResponse > listToolsetsCallable ()
Overrides
listToolsetsPagedCallable()
public UnaryCallable<ListToolsetsRequest , AgentServiceClient . ListToolsetsPagedResponse > listToolsetsPagedCallable ()
Overrides
restoreAppVersionCallable()
public UnaryCallable<RestoreAppVersionRequest , Operation > restoreAppVersionCallable ()
Overrides
restoreAppVersionOperationCallable()
public OperationCallable<RestoreAppVersionRequest , RestoreAppVersionResponse , OperationMetadata > restoreAppVersionOperationCallable ()
Overrides
shutdown()
shutdownNow()
public void shutdownNow ()
updateAgentCallable()
public UnaryCallable<UpdateAgentRequest , Agent > updateAgentCallable ()
Overrides
updateAppCallable()
public UnaryCallable<UpdateAppRequest , App > updateAppCallable ()
Overrides
updateDeploymentCallable()
public UnaryCallable<UpdateDeploymentRequest , Deployment > updateDeploymentCallable ()
Overrides
updateExampleCallable()
public UnaryCallable<UpdateExampleRequest , Example > updateExampleCallable ()
Overrides
updateGuardrailCallable()
public UnaryCallable<UpdateGuardrailRequest , Guardrail > updateGuardrailCallable ()
Overrides
public UnaryCallable<UpdateToolRequest , Tool > updateToolCallable ()
Overrides
public UnaryCallable<UpdateToolsetRequest , Toolset > updateToolsetCallable ()
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-02-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-02-27 UTC."],[],[]]