public static class WebRiskServiceV1Beta1StubSettings.Builder extends StubSettings.Builder<WebRiskServiceV1Beta1StubSettings,WebRiskServiceV1Beta1StubSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(WebRiskServiceV1Beta1StubSettings settings) |
Modifier and Type | Method and Description |
---|---|
WebRiskServiceV1Beta1StubSettings.Builder |
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
WebRiskServiceV1Beta1StubSettings |
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.
|
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.
|
com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> |
unaryMethodSettingsBuilders() |
applyToAllUnaryMethods, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setTracerFactory, setTransportChannelProvider, toString
protected Builder()
protected Builder(ClientContext clientContext)
protected Builder(WebRiskServiceV1Beta1StubSettings settings)
public WebRiskServiceV1Beta1StubSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
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 WebRiskServiceV1Beta1StubSettings build() throws IOException
build
in class StubSettings.Builder<WebRiskServiceV1Beta1StubSettings,WebRiskServiceV1Beta1StubSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.