Class ApiHubDependenciesStubSettings.Builder (0.56.0)
Stay organized with collections
Save and categorize content based on your preferences.
public static class ApiHubDependenciesStubSettings.Builder extends StubSettings.Builder<ApiHubDependenciesStubSettings,ApiHubDependenciesStubSettings.Builder>
Builder for ApiHubDependenciesStubSettings.
Inherited Members
com.google.api.gax.rpc.StubSettings.Builder.setStreamWatchdogProvider(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(ApiHubDependenciesStubSettings settings)
protected Builder(ApiHubDependenciesStubSettings settings)
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public ApiHubDependenciesStubSettings.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 ApiHubDependenciesStubSettings build()
Overrides
createDependencySettings()
public UnaryCallSettings.Builder<CreateDependencyRequest,Dependency> createDependencySettings()
Returns the builder for the settings used for calls to createDependency.
deleteDependencySettings()
public UnaryCallSettings.Builder<DeleteDependencyRequest,Empty> deleteDependencySettings()
Returns the builder for the settings used for calls to deleteDependency.
getDependencySettings()
public UnaryCallSettings.Builder<GetDependencyRequest,Dependency> getDependencySettings()
Returns the builder for the settings used for calls to getDependency.
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> |
|
listDependenciesSettings()
public PagedCallSettings.Builder<ListDependenciesRequest,ListDependenciesResponse,ApiHubDependenciesClient.ListDependenciesPagedResponse> listDependenciesSettings()
Returns the builder for the settings used for calls to listDependencies.
listLocationsSettings()
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,ApiHubDependenciesClient.ListLocationsPagedResponse> listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
| Returns |
| Type |
Description |
com.google.common.collect.ImmutableList<Builder<?,?>> |
|
updateDependencySettings()
public UnaryCallSettings.Builder<UpdateDependencyRequest,Dependency> updateDependencySettings()
Returns the builder for the settings used for calls to updateDependency.
[null,null,["Last updated 2026-11-18 UTC."],[],[]]