public static class KeyTrackingServiceStubSettings.Builder extends StubSettings.Builder<KeyTrackingServiceStubSettings,KeyTrackingServiceStubSettings.Builder>
Builder for KeyTrackingServiceStubSettings.
Constructors
Builder()
protected Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Name | Description |
clientContext | ClientContext |
Builder(KeyTrackingServiceStubSettings settings)
protected Builder(KeyTrackingServiceStubSettings settings)
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.
Name | Description |
settingsUpdater | ApiFunction<Builder<?,?>,java.lang.Void> |
Type | Description |
KeyTrackingServiceStubSettings.Builder |
build()
public KeyTrackingServiceStubSettings build()
Type | Description |
KeyTrackingServiceStubSettings |
Type | Description |
IOException |
getProtectedResourcesSummarySettings()
public UnaryCallSettings.Builder<GetProtectedResourcesSummaryRequest,ProtectedResourcesSummary> getProtectedResourcesSummarySettings()
Returns the builder for the settings used for calls to getProtectedResourcesSummary.
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.
Type | Description |
Builder<SearchProtectedResourcesRequest,SearchProtectedResourcesResponse,SearchProtectedResourcesPagedResponse> |
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Type | Description |
com.google.common.collect.ImmutableList<Builder<?,?>> |