Class KeyTrackingServiceSettings.Builder (0.33.0)

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

Builder for KeyTrackingServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > KeyTrackingServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(KeyTrackingServiceSettings settings)

protected Builder(KeyTrackingServiceSettings settings)
Parameter
Name Description
settings KeyTrackingServiceSettings

Builder(KeyTrackingServiceStubSettings.Builder stubSettings)

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

Methods

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

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

build()

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

getStubSettingsBuilder()

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

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>