Class ApiHubDependenciesStubSettings.Builder (0.6.0)

public static class ApiHubDependenciesStubSettings.Builder extends StubSettings.Builder<ApiHubDependenciesStubSettings,ApiHubDependenciesStubSettings.Builder>

Builder for ApiHubDependenciesStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > ApiHubDependenciesStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(ApiHubDependenciesStubSettings settings)

protected Builder(ApiHubDependenciesStubSettings settings)
Parameter
Name Description
settings ApiHubDependenciesStubSettings

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.

Parameter
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
ApiHubDependenciesStubSettings.Builder

build()

public ApiHubDependenciesStubSettings build()
Returns
Type Description
ApiHubDependenciesStubSettings
Overrides
Exceptions
Type Description
IOException

createDependencySettings()

public UnaryCallSettings.Builder<CreateDependencyRequest,Dependency> createDependencySettings()

Returns the builder for the settings used for calls to createDependency.

Returns
Type Description
Builder<CreateDependencyRequest,Dependency>

deleteDependencySettings()

public UnaryCallSettings.Builder<DeleteDependencyRequest,Empty> deleteDependencySettings()

Returns the builder for the settings used for calls to deleteDependency.

Returns
Type Description
Builder<DeleteDependencyRequest,Empty>

getDependencySettings()

public UnaryCallSettings.Builder<GetDependencyRequest,Dependency> getDependencySettings()

Returns the builder for the settings used for calls to getDependency.

Returns
Type Description
Builder<GetDependencyRequest,Dependency>

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.

Returns
Type Description
Builder<ListDependenciesRequest,ListDependenciesResponse,ListDependenciesPagedResponse>

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,ApiHubDependenciesClient.ListLocationsPagedResponse> listLocationsSettings()

Returns the builder for the settings used for calls to listLocations.

Returns
Type Description
Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ListLocationsPagedResponse>

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.

Returns
Type Description
Builder<UpdateDependencyRequest,Dependency>