Class ApiHubDependenciesSettings.Builder (0.1.0)

public static class ApiHubDependenciesSettings.Builder extends ClientSettings.Builder<ApiHubDependenciesSettings,ApiHubDependenciesSettings.Builder>

Builder for ApiHubDependenciesSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > ApiHubDependenciesSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(ApiHubDependenciesSettings settings)

protected Builder(ApiHubDependenciesSettings settings)
Parameter
Name Description
settings ApiHubDependenciesSettings

Builder(ApiHubDependenciesStubSettings.Builder stubSettings)

protected Builder(ApiHubDependenciesStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings ApiHubDependenciesStubSettings.Builder

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public ApiHubDependenciesSettings.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
ApiHubDependenciesSettings.Builder

build()

public ApiHubDependenciesSettings build()
Returns
Type Description
ApiHubDependenciesSettings
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>

getStubSettingsBuilder()

public ApiHubDependenciesStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
ApiHubDependenciesStubSettings.Builder

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>

updateDependencySettings()

public UnaryCallSettings.Builder<UpdateDependencyRequest,Dependency> updateDependencySettings()

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

Returns
Type Description
Builder<UpdateDependencyRequest,Dependency>