Send feedback
Class AgentRegistrySettings.Builder (0.2.0)
Stay organized with collections
Save and categorize content based on your preferences.
0.2.0 (latest)
0.1.0
public static class AgentRegistrySettings . Builder extends ClientSettings . Builder<AgentRegistrySettings , AgentRegistrySettings . Builder >
Builder for AgentRegistrySettings.
Inherited Members
com.google.api.gax.rpc.ClientSettings.Builder.setGdchApiAudience(java.lang.String)
com.google.api.gax.rpc.ClientSettings.Builder.setWatchdogCheckInterval(org.threeten.bp.Duration)
com.google.api.gax.rpc.ClientSettings.Builder.setWatchdogCheckIntervalDuration(java.time.Duration)
com.google.api.gax.rpc.ClientSettings.Builder.setWatchdogProvider(com.google.api.gax.rpc.WatchdogProvider)
Constructors
Builder()
Builder(@Nullable ClientContext clientContext)
protected Builder ( @Nullable ClientContext clientContext )
Parameter
Name
Description
clientContext
@org.jspecify.annotations.Nullable com.google.api.gax.rpc.ClientContext
Builder(AgentRegistrySettings settings)
protected Builder ( AgentRegistrySettings settings )
Builder(AgentRegistryStubSettings.Builder stubSettings)
protected Builder ( AgentRegistryStubSettings . Builder stubSettings )
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public AgentRegistrySettings . Builder applyToAllUnaryMethods ( ApiFunction<UnaryCallSettings . Builder <? , ? >, Void > settingsUpdater )
Applies the given settings updater function to all of the unary API methods in this service.
Note: This method does not support applying settings to streaming methods.
build()
public AgentRegistrySettings build ()
Overrides
createBindingOperationSettings()
public OperationCallSettings . Builder<CreateBindingRequest , Binding , OperationMetadata > createBindingOperationSettings ()
Returns the builder for the settings used for calls to createBinding.
createBindingSettings()
public UnaryCallSettings . Builder<CreateBindingRequest , Operation > createBindingSettings ()
Returns the builder for the settings used for calls to createBinding.
createServiceOperationSettings()
public OperationCallSettings . Builder<CreateServiceRequest , Service , OperationMetadata > createServiceOperationSettings ()
Returns the builder for the settings used for calls to createService.
createServiceSettings()
public UnaryCallSettings . Builder<CreateServiceRequest , Operation > createServiceSettings ()
Returns the builder for the settings used for calls to createService.
deleteBindingOperationSettings()
public OperationCallSettings . Builder<DeleteBindingRequest , Empty , OperationMetadata > deleteBindingOperationSettings ()
Returns the builder for the settings used for calls to deleteBinding.
deleteBindingSettings()
public UnaryCallSettings . Builder<DeleteBindingRequest , Operation > deleteBindingSettings ()
Returns the builder for the settings used for calls to deleteBinding.
deleteServiceOperationSettings()
public OperationCallSettings . Builder<DeleteServiceRequest , Empty , OperationMetadata > deleteServiceOperationSettings ()
Returns the builder for the settings used for calls to deleteService.
deleteServiceSettings()
public UnaryCallSettings . Builder<DeleteServiceRequest , Operation > deleteServiceSettings ()
Returns the builder for the settings used for calls to deleteService.
fetchAvailableBindingsSettings()
public PagedCallSettings . Builder<FetchAvailableBindingsRequest , FetchAvailableBindingsResponse , AgentRegistryClient . FetchAvailableBindingsPagedResponse > fetchAvailableBindingsSettings ()
Returns the builder for the settings used for calls to fetchAvailableBindings.
getAgentSettings()
public UnaryCallSettings . Builder<GetAgentRequest , Agent > getAgentSettings ()
Returns the builder for the settings used for calls to getAgent.
getBindingSettings()
public UnaryCallSettings . Builder<GetBindingRequest , Binding > getBindingSettings ()
Returns the builder for the settings used for calls to getBinding.
getEndpointSettings()
public UnaryCallSettings . Builder<GetEndpointRequest , Endpoint > getEndpointSettings ()
Returns the builder for the settings used for calls to getEndpoint.
getLocationSettings()
public UnaryCallSettings . Builder<GetLocationRequest , Location > getLocationSettings ()
Returns the builder for the settings used for calls to getLocation.
Returns
Type
Description
Builder <com.google.cloud.location.GetLocationRequest ,com.google.cloud.location.Location >
getMcpServerSettings()
public UnaryCallSettings . Builder<GetMcpServerRequest , McpServer > getMcpServerSettings ()
Returns the builder for the settings used for calls to getMcpServer.
getServiceSettings()
public UnaryCallSettings . Builder<GetServiceRequest , Service > getServiceSettings ()
Returns the builder for the settings used for calls to getService.
getStubSettingsBuilder()
public AgentRegistryStubSettings . Builder getStubSettingsBuilder ()
listAgentsSettings()
public PagedCallSettings . Builder<ListAgentsRequest , ListAgentsResponse , AgentRegistryClient . ListAgentsPagedResponse > listAgentsSettings ()
Returns the builder for the settings used for calls to listAgents.
listBindingsSettings()
public PagedCallSettings . Builder<ListBindingsRequest , ListBindingsResponse , AgentRegistryClient . ListBindingsPagedResponse > listBindingsSettings ()
Returns the builder for the settings used for calls to listBindings.
listEndpointsSettings()
public PagedCallSettings . Builder<ListEndpointsRequest , ListEndpointsResponse , AgentRegistryClient . ListEndpointsPagedResponse > listEndpointsSettings ()
Returns the builder for the settings used for calls to listEndpoints.
listLocationsSettings()
public PagedCallSettings . Builder<ListLocationsRequest , ListLocationsResponse , AgentRegistryClient . ListLocationsPagedResponse > listLocationsSettings ()
Returns the builder for the settings used for calls to listLocations.
public PagedCallSettings . Builder<ListMcpServersRequest , ListMcpServersResponse , AgentRegistryClient . ListMcpServersPagedResponse > listMcpServersSettings ()
Returns the builder for the settings used for calls to listMcpServers.
listServicesSettings()
public PagedCallSettings . Builder<ListServicesRequest , ListServicesResponse , AgentRegistryClient . ListServicesPagedResponse > listServicesSettings ()
Returns the builder for the settings used for calls to listServices.
searchAgentsSettings()
public PagedCallSettings . Builder<SearchAgentsRequest , SearchAgentsResponse , AgentRegistryClient . SearchAgentsPagedResponse > searchAgentsSettings ()
Returns the builder for the settings used for calls to searchAgents.
public PagedCallSettings . Builder<SearchMcpServersRequest , SearchMcpServersResponse , AgentRegistryClient . SearchMcpServersPagedResponse > searchMcpServersSettings ()
Returns the builder for the settings used for calls to searchMcpServers.
updateBindingOperationSettings()
public OperationCallSettings . Builder<UpdateBindingRequest , Binding , OperationMetadata > updateBindingOperationSettings ()
Returns the builder for the settings used for calls to updateBinding.
updateBindingSettings()
public UnaryCallSettings . Builder<UpdateBindingRequest , Operation > updateBindingSettings ()
Returns the builder for the settings used for calls to updateBinding.
updateServiceOperationSettings()
public OperationCallSettings . Builder<UpdateServiceRequest , Service , OperationMetadata > updateServiceOperationSettings ()
Returns the builder for the settings used for calls to updateService.
updateServiceSettings()
public UnaryCallSettings . Builder<UpdateServiceRequest , Operation > updateServiceSettings ()
Returns the builder for the settings used for calls to updateService.
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."],[],[]]