public static class WebRiskServiceV1Beta1Settings.Builder extends ClientSettings.Builder<WebRiskServiceV1Beta1Settings,WebRiskServiceV1Beta1Settings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(WebRiskServiceV1Beta1Settings settings) |
protected |
Builder(WebRiskServiceV1Beta1StubSettings.Builder stubSettings) |
Modifier and Type | Method and Description |
---|---|
WebRiskServiceV1Beta1Settings.Builder |
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
WebRiskServiceV1Beta1Settings |
build() |
UnaryCallSettings.Builder<com.google.webrisk.v1beta1.ComputeThreatListDiffRequest,com.google.webrisk.v1beta1.ComputeThreatListDiffResponse> |
computeThreatListDiffSettings()
Returns the builder for the settings used for calls to computeThreatListDiff.
|
WebRiskServiceV1Beta1StubSettings.Builder |
getStubSettingsBuilder() |
UnaryCallSettings.Builder<com.google.webrisk.v1beta1.SearchHashesRequest,com.google.webrisk.v1beta1.SearchHashesResponse> |
searchHashesSettings()
Returns the builder for the settings used for calls to searchHashes.
|
UnaryCallSettings.Builder<com.google.webrisk.v1beta1.SearchUrisRequest,com.google.webrisk.v1beta1.SearchUrisResponse> |
searchUrisSettings()
Returns the builder for the settings used for calls to searchUris.
|
applyToAllUnaryMethods, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
protected Builder() throws IOException
IOException
protected Builder(ClientContext clientContext)
protected Builder(WebRiskServiceV1Beta1Settings settings)
protected Builder(WebRiskServiceV1Beta1StubSettings.Builder stubSettings)
public WebRiskServiceV1Beta1StubSettings.Builder getStubSettingsBuilder()
public WebRiskServiceV1Beta1Settings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public UnaryCallSettings.Builder<com.google.webrisk.v1beta1.ComputeThreatListDiffRequest,com.google.webrisk.v1beta1.ComputeThreatListDiffResponse> computeThreatListDiffSettings()
public UnaryCallSettings.Builder<com.google.webrisk.v1beta1.SearchUrisRequest,com.google.webrisk.v1beta1.SearchUrisResponse> searchUrisSettings()
public UnaryCallSettings.Builder<com.google.webrisk.v1beta1.SearchHashesRequest,com.google.webrisk.v1beta1.SearchHashesResponse> searchHashesSettings()
public WebRiskServiceV1Beta1Settings build() throws IOException
build
in class ClientSettings.Builder<WebRiskServiceV1Beta1Settings,WebRiskServiceV1Beta1Settings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.