Class KeyTrackingServiceStubSettings.Builder (0.43.0)

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

Builder for KeyTrackingServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > KeyTrackingServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(KeyTrackingServiceStubSettings settings)

protected Builder(KeyTrackingServiceStubSettings settings)
Parameter
Name Description
settings KeyTrackingServiceStubSettings

Methods

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

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

build()

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

getProtectedResourcesSummarySettings()

public UnaryCallSettings.Builder<GetProtectedResourcesSummaryRequest,ProtectedResourcesSummary> getProtectedResourcesSummarySettings()

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

Returns
Type Description
Builder<GetProtectedResourcesSummaryRequest,ProtectedResourcesSummary>

searchProtectedResourcesSettings()

public PagedCallSettings.Builder<SearchProtectedResourcesRequest,SearchProtectedResourcesResponse,KeyTrackingServiceClient.SearchProtectedResourcesPagedResponse> searchProtectedResourcesSettings()

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

Returns
Type Description
Builder<SearchProtectedResourcesRequest,SearchProtectedResourcesResponse,SearchProtectedResourcesPagedResponse>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type Description
com.google.common.collect.ImmutableList<Builder<?,?>>