Class ApiHubPluginStubSettings.Builder (0.8.0)

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

Builder for ApiHubPluginStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > ApiHubPluginStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(ApiHubPluginStubSettings settings)

protected Builder(ApiHubPluginStubSettings settings)
Parameter
Name Description
settings ApiHubPluginStubSettings

Methods

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

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

build()

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

disablePluginSettings()

public UnaryCallSettings.Builder<DisablePluginRequest,Plugin> disablePluginSettings()

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

Returns
Type Description
Builder<DisablePluginRequest,Plugin>

enablePluginSettings()

public UnaryCallSettings.Builder<EnablePluginRequest,Plugin> enablePluginSettings()

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

Returns
Type Description
Builder<EnablePluginRequest,Plugin>

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>

getPluginSettings()

public UnaryCallSettings.Builder<GetPluginRequest,Plugin> getPluginSettings()

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

Returns
Type Description
Builder<GetPluginRequest,Plugin>

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,ApiHubPluginClient.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<?,?>>