Send feedback
Class GrpcAgentRegistryStub (0.2.0)
Stay organized with collections
Save and categorize content based on your preferences.
0.2.0 (latest)
0.1.0
public class GrpcAgentRegistryStub extends AgentRegistryStub
gRPC 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 GrpcAgentRegistryStub create ( ClientContext clientContext )
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcAgentRegistryStub create ( ClientContext clientContext , GrpcStubCallableFactory callableFactory )
create(AgentRegistryStubSettings settings)
public static final GrpcAgentRegistryStub create ( AgentRegistryStubSettings settings )
Constructors
GrpcAgentRegistryStub(AgentRegistryStubSettings settings, ClientContext clientContext)
protected GrpcAgentRegistryStub ( AgentRegistryStubSettings settings , ClientContext clientContext )
Constructs an instance of GrpcAgentRegistryStub, 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.
GrpcAgentRegistryStub(AgentRegistryStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcAgentRegistryStub ( AgentRegistryStubSettings settings , ClientContext clientContext , GrpcStubCallableFactory callableFactory )
Constructs an instance of GrpcAgentRegistryStub, 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
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
getOperationsStub()
public GrpcOperationsStub getOperationsStub ()
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
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-08-04 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-08-04 UTC."],[],[]]