Class KeyTrackingServiceSettings.Builder (0.9.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
NameDescription
clientContextClientContext

Builder(KeyTrackingServiceSettings settings)

protected Builder(KeyTrackingServiceSettings settings)
Parameter
NameDescription
settingsKeyTrackingServiceSettings

Builder(KeyTrackingServiceStubSettings.Builder stubSettings)

protected Builder(KeyTrackingServiceStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsKeyTrackingServiceStubSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
KeyTrackingServiceSettings.Builder

build()

public KeyTrackingServiceSettings build()
Returns
TypeDescription
KeyTrackingServiceSettings
Overrides
Exceptions
TypeDescription
IOException

getProtectedResourcesSummarySettings()

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

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

Returns
TypeDescription
Builder<GetProtectedResourcesSummaryRequest,ProtectedResourcesSummary>

getStubSettingsBuilder()

public KeyTrackingServiceStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
KeyTrackingServiceStubSettings.Builder

searchProtectedResourcesSettings()

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

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

Returns
TypeDescription
Builder<SearchProtectedResourcesRequest,SearchProtectedResourcesResponse,SearchProtectedResourcesPagedResponse>