Class HttpJsonAgentRegistryStub (0.2.0)
0.2.0 (latest)
0.1.0
public class HttpJsonAgentRegistryStub extends AgentRegistryStub
REST stub implementation for the AgentRegistry service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonAgentRegistryStub create ( ClientContext clientContext )
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonAgentRegistryStub create ( ClientContext clientContext , HttpJsonStubCallableFactory callableFactory )
create(AgentRegistryStubSettings settings)
public static final HttpJsonAgentRegistryStub create ( AgentRegistryStubSettings settings )
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors ()
Constructors
HttpJsonAgentRegistryStub(AgentRegistryStubSettings settings, ClientContext clientContext)
protected HttpJsonAgentRegistryStub ( AgentRegistryStubSettings settings , ClientContext clientContext )
Constructs an instance of HttpJsonAgentRegistryStub, 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.
HttpJsonAgentRegistryStub(AgentRegistryStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonAgentRegistryStub ( AgentRegistryStubSettings settings , ClientContext clientContext , HttpJsonStubCallableFactory callableFactory )
Constructs an instance of HttpJsonAgentRegistryStub, 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 )
close()
public final void close ()
Overrides
createBindingCallable()
public UnaryCallable<CreateBindingRequest , Operation > createBindingCallable ()
Overrides
createBindingOperationCallable()
public OperationCallable<CreateBindingRequest , Binding , OperationMetadata > createBindingOperationCallable ()
Overrides
createServiceCallable()
public UnaryCallable<CreateServiceRequest , Operation > createServiceCallable ()
Overrides
createServiceOperationCallable()
public OperationCallable<CreateServiceRequest , Service , OperationMetadata > createServiceOperationCallable ()
Overrides
deleteBindingCallable()
public UnaryCallable<DeleteBindingRequest , Operation > deleteBindingCallable ()
Overrides
deleteBindingOperationCallable()
public OperationCallable<DeleteBindingRequest , Empty , OperationMetadata > deleteBindingOperationCallable ()
Overrides
deleteServiceCallable()
public UnaryCallable<DeleteServiceRequest , Operation > deleteServiceCallable ()
Overrides
deleteServiceOperationCallable()
public OperationCallable<DeleteServiceRequest , Empty , OperationMetadata > deleteServiceOperationCallable ()
Overrides
fetchAvailableBindingsCallable()
public UnaryCallable<FetchAvailableBindingsRequest , FetchAvailableBindingsResponse > fetchAvailableBindingsCallable ()
Overrides
fetchAvailableBindingsPagedCallable()
public UnaryCallable<FetchAvailableBindingsRequest , AgentRegistryClient . FetchAvailableBindingsPagedResponse > fetchAvailableBindingsPagedCallable ()
Overrides
getAgentCallable()
public UnaryCallable<GetAgentRequest , Agent > getAgentCallable ()
Overrides
getBindingCallable()
public UnaryCallable<GetBindingRequest , Binding > getBindingCallable ()
Overrides
getEndpointCallable()
public UnaryCallable<GetEndpointRequest , Endpoint > getEndpointCallable ()
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
getMcpServerCallable()
public UnaryCallable<GetMcpServerRequest , McpServer > getMcpServerCallable ()
Overrides
getServiceCallable()
public UnaryCallable<GetServiceRequest , Service > getServiceCallable ()
Overrides
isShutdown()
public boolean isShutdown ()
isTerminated()
public boolean isTerminated ()
listAgentsCallable()
public UnaryCallable<ListAgentsRequest , ListAgentsResponse > listAgentsCallable ()
Overrides
listAgentsPagedCallable()
public UnaryCallable<ListAgentsRequest , AgentRegistryClient . ListAgentsPagedResponse > listAgentsPagedCallable ()
Overrides
listBindingsCallable()
public UnaryCallable<ListBindingsRequest , ListBindingsResponse > listBindingsCallable ()
Overrides
listBindingsPagedCallable()
public UnaryCallable<ListBindingsRequest , AgentRegistryClient . ListBindingsPagedResponse > listBindingsPagedCallable ()
Overrides
listEndpointsCallable()
public UnaryCallable<ListEndpointsRequest , ListEndpointsResponse > listEndpointsCallable ()
Overrides
listEndpointsPagedCallable()
public UnaryCallable<ListEndpointsRequest , AgentRegistryClient . ListEndpointsPagedResponse > listEndpointsPagedCallable ()
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 , AgentRegistryClient . ListLocationsPagedResponse > listLocationsPagedCallable ()
Overrides
listMcpServersCallable()
public UnaryCallable<ListMcpServersRequest , ListMcpServersResponse > listMcpServersCallable ()
Overrides
listMcpServersPagedCallable()
public UnaryCallable<ListMcpServersRequest , AgentRegistryClient . ListMcpServersPagedResponse > listMcpServersPagedCallable ()
Overrides
listServicesCallable()
public UnaryCallable<ListServicesRequest , ListServicesResponse > listServicesCallable ()
Overrides
listServicesPagedCallable()
public UnaryCallable<ListServicesRequest , AgentRegistryClient . ListServicesPagedResponse > listServicesPagedCallable ()
Overrides
searchAgentsCallable()
public UnaryCallable<SearchAgentsRequest , SearchAgentsResponse > searchAgentsCallable ()
Overrides
searchAgentsPagedCallable()
public UnaryCallable<SearchAgentsRequest , AgentRegistryClient . SearchAgentsPagedResponse > searchAgentsPagedCallable ()
Overrides
searchMcpServersCallable()
public UnaryCallable<SearchMcpServersRequest , SearchMcpServersResponse > searchMcpServersCallable ()
Overrides
searchMcpServersPagedCallable()
public UnaryCallable<SearchMcpServersRequest , AgentRegistryClient . SearchMcpServersPagedResponse > searchMcpServersPagedCallable ()
Overrides
shutdown()
shutdownNow()
public void shutdownNow ()
updateBindingCallable()
public UnaryCallable<UpdateBindingRequest , Operation > updateBindingCallable ()
Overrides
updateBindingOperationCallable()
public OperationCallable<UpdateBindingRequest , Binding , OperationMetadata > updateBindingOperationCallable ()
Overrides
updateServiceCallable()
public UnaryCallable<UpdateServiceRequest , Operation > updateServiceCallable ()
Overrides
updateServiceOperationCallable()
public OperationCallable<UpdateServiceRequest , Service , OperationMetadata > updateServiceOperationCallable ()
Overrides
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-08-04 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-08-04 UTC."],[],[]]