Class GrpcAgentRegistryStub (0.2.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.

Inheritance

java.lang.Object > AgentRegistryStub > GrpcAgentRegistryStub

Static Methods

create(ClientContext clientContext)

public static final GrpcAgentRegistryStub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
GrpcAgentRegistryStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcAgentRegistryStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory GrpcStubCallableFactory
Returns
Type Description
GrpcAgentRegistryStub
Exceptions
Type Description
IOException

create(AgentRegistryStubSettings settings)

public static final GrpcAgentRegistryStub create(AgentRegistryStubSettings settings)
Parameter
Name Description
settings AgentRegistryStubSettings
Returns
Type Description
GrpcAgentRegistryStub
Exceptions
Type Description
IOException

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.

Parameters
Name Description
settings AgentRegistryStubSettings
clientContext ClientContext

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.

Parameters
Name Description
settings AgentRegistryStubSettings
clientContext ClientContext
callableFactory GrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

close()

public final void close()
Overrides

createBindingCallable()

public UnaryCallable<CreateBindingRequest,Operation> createBindingCallable()
Returns
Type Description
UnaryCallable<CreateBindingRequest,Operation>
Overrides

createBindingOperationCallable()

public OperationCallable<CreateBindingRequest,Binding,OperationMetadata> createBindingOperationCallable()
Returns
Type Description
OperationCallable<CreateBindingRequest,Binding,OperationMetadata>
Overrides

createServiceCallable()

public UnaryCallable<CreateServiceRequest,Operation> createServiceCallable()
Returns
Type Description
UnaryCallable<CreateServiceRequest,Operation>
Overrides

createServiceOperationCallable()

public OperationCallable<CreateServiceRequest,Service,OperationMetadata> createServiceOperationCallable()
Returns
Type Description
OperationCallable<CreateServiceRequest,Service,OperationMetadata>
Overrides

deleteBindingCallable()

public UnaryCallable<DeleteBindingRequest,Operation> deleteBindingCallable()
Returns
Type Description
UnaryCallable<DeleteBindingRequest,Operation>
Overrides

deleteBindingOperationCallable()

public OperationCallable<DeleteBindingRequest,Empty,OperationMetadata> deleteBindingOperationCallable()
Returns
Type Description
OperationCallable<DeleteBindingRequest,Empty,OperationMetadata>
Overrides

deleteServiceCallable()

public UnaryCallable<DeleteServiceRequest,Operation> deleteServiceCallable()
Returns
Type Description
UnaryCallable<DeleteServiceRequest,Operation>
Overrides

deleteServiceOperationCallable()

public OperationCallable<DeleteServiceRequest,Empty,OperationMetadata> deleteServiceOperationCallable()
Returns
Type Description
OperationCallable<DeleteServiceRequest,Empty,OperationMetadata>
Overrides

fetchAvailableBindingsCallable()

public UnaryCallable<FetchAvailableBindingsRequest,FetchAvailableBindingsResponse> fetchAvailableBindingsCallable()
Returns
Type Description
UnaryCallable<FetchAvailableBindingsRequest,FetchAvailableBindingsResponse>
Overrides

fetchAvailableBindingsPagedCallable()

public UnaryCallable<FetchAvailableBindingsRequest,AgentRegistryClient.FetchAvailableBindingsPagedResponse> fetchAvailableBindingsPagedCallable()
Returns
Type Description
UnaryCallable<FetchAvailableBindingsRequest,FetchAvailableBindingsPagedResponse>
Overrides

getAgentCallable()

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

getBindingCallable()

public UnaryCallable<GetBindingRequest,Binding> getBindingCallable()
Returns
Type Description
UnaryCallable<GetBindingRequest,Binding>
Overrides

getEndpointCallable()

public UnaryCallable<GetEndpointRequest,Endpoint> getEndpointCallable()
Returns
Type Description
UnaryCallable<GetEndpointRequest,Endpoint>
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()
Returns
Type Description
UnaryCallable<GetMcpServerRequest,McpServer>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub
Overrides

getServiceCallable()

public UnaryCallable<GetServiceRequest,Service> getServiceCallable()
Returns
Type Description
UnaryCallable<GetServiceRequest,Service>
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listAgentsCallable()

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

listAgentsPagedCallable()

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

listBindingsCallable()

public UnaryCallable<ListBindingsRequest,ListBindingsResponse> listBindingsCallable()
Returns
Type Description
UnaryCallable<ListBindingsRequest,ListBindingsResponse>
Overrides

listBindingsPagedCallable()

public UnaryCallable<ListBindingsRequest,AgentRegistryClient.ListBindingsPagedResponse> listBindingsPagedCallable()
Returns
Type Description
UnaryCallable<ListBindingsRequest,ListBindingsPagedResponse>
Overrides

listEndpointsCallable()

public UnaryCallable<ListEndpointsRequest,ListEndpointsResponse> listEndpointsCallable()
Returns
Type Description
UnaryCallable<ListEndpointsRequest,ListEndpointsResponse>
Overrides

listEndpointsPagedCallable()

public UnaryCallable<ListEndpointsRequest,AgentRegistryClient.ListEndpointsPagedResponse> listEndpointsPagedCallable()
Returns
Type Description
UnaryCallable<ListEndpointsRequest,ListEndpointsPagedResponse>
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()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>
Overrides

listMcpServersCallable()

public UnaryCallable<ListMcpServersRequest,ListMcpServersResponse> listMcpServersCallable()
Returns
Type Description
UnaryCallable<ListMcpServersRequest,ListMcpServersResponse>
Overrides

listMcpServersPagedCallable()

public UnaryCallable<ListMcpServersRequest,AgentRegistryClient.ListMcpServersPagedResponse> listMcpServersPagedCallable()
Returns
Type Description
UnaryCallable<ListMcpServersRequest,ListMcpServersPagedResponse>
Overrides

listServicesCallable()

public UnaryCallable<ListServicesRequest,ListServicesResponse> listServicesCallable()
Returns
Type Description
UnaryCallable<ListServicesRequest,ListServicesResponse>
Overrides

listServicesPagedCallable()

public UnaryCallable<ListServicesRequest,AgentRegistryClient.ListServicesPagedResponse> listServicesPagedCallable()
Returns
Type Description
UnaryCallable<ListServicesRequest,ListServicesPagedResponse>
Overrides

searchAgentsCallable()

public UnaryCallable<SearchAgentsRequest,SearchAgentsResponse> searchAgentsCallable()
Returns
Type Description
UnaryCallable<SearchAgentsRequest,SearchAgentsResponse>
Overrides

searchAgentsPagedCallable()

public UnaryCallable<SearchAgentsRequest,AgentRegistryClient.SearchAgentsPagedResponse> searchAgentsPagedCallable()
Returns
Type Description
UnaryCallable<SearchAgentsRequest,SearchAgentsPagedResponse>
Overrides

searchMcpServersCallable()

public UnaryCallable<SearchMcpServersRequest,SearchMcpServersResponse> searchMcpServersCallable()
Returns
Type Description
UnaryCallable<SearchMcpServersRequest,SearchMcpServersResponse>
Overrides

searchMcpServersPagedCallable()

public UnaryCallable<SearchMcpServersRequest,AgentRegistryClient.SearchMcpServersPagedResponse> searchMcpServersPagedCallable()
Returns
Type Description
UnaryCallable<SearchMcpServersRequest,SearchMcpServersPagedResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateBindingCallable()

public UnaryCallable<UpdateBindingRequest,Operation> updateBindingCallable()
Returns
Type Description
UnaryCallable<UpdateBindingRequest,Operation>
Overrides

updateBindingOperationCallable()

public OperationCallable<UpdateBindingRequest,Binding,OperationMetadata> updateBindingOperationCallable()
Returns
Type Description
OperationCallable<UpdateBindingRequest,Binding,OperationMetadata>
Overrides

updateServiceCallable()

public UnaryCallable<UpdateServiceRequest,Operation> updateServiceCallable()
Returns
Type Description
UnaryCallable<UpdateServiceRequest,Operation>
Overrides

updateServiceOperationCallable()

public OperationCallable<UpdateServiceRequest,Service,OperationMetadata> updateServiceOperationCallable()
Returns
Type Description
OperationCallable<UpdateServiceRequest,Service,OperationMetadata>
Overrides