Package com.google.cloud.webrisk.v1
Class WebRiskServiceSettings.Builder
java.lang.Object
com.google.api.gax.rpc.ClientSettings.Builder<WebRiskServiceSettings,WebRiskServiceSettings.Builder>
com.google.cloud.webrisk.v1.WebRiskServiceSettings.Builder
- Enclosing class:
- WebRiskServiceSettings
public static class WebRiskServiceSettings.Builder
extends ClientSettings.Builder<WebRiskServiceSettings,WebRiskServiceSettings.Builder>
Builder for WebRiskServiceSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(WebRiskServiceStubSettings.Builder stubSettings) protectedBuilder(WebRiskServiceSettings settings) -
Method Summary
Modifier and TypeMethodDescriptionapplyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) Applies the given settings updater function to all of the unary API methods in this service.build()Returns the builder for the settings used for calls to computeThreatListDiff.Returns the builder for the settings used for calls to createSubmission.Returns the builder for the settings used for calls to searchHashes.Returns the builder for the settings used for calls to searchUris.Returns the builder for the settings used for calls to submitUri.Returns the builder for the settings used for calls to submitUri.Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogCheckIntervalDuration, getWatchdogProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setUniverseDomain, setWatchdogCheckInterval, setWatchdogCheckIntervalDuration, setWatchdogProvider, toString
-
Constructor Details
-
Builder
- Throws:
IOException
-
Builder
-
Builder
-
Builder
-
-
Method Details
-
getStubSettingsBuilder
-
applyToAllUnaryMethods
public WebRiskServiceSettings.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.
-
computeThreatListDiffSettings
public UnaryCallSettings.Builder<ComputeThreatListDiffRequest,ComputeThreatListDiffResponse> computeThreatListDiffSettings()Returns the builder for the settings used for calls to computeThreatListDiff. -
searchUrisSettings
Returns the builder for the settings used for calls to searchUris. -
searchHashesSettings
Returns the builder for the settings used for calls to searchHashes. -
createSubmissionSettings
Returns the builder for the settings used for calls to createSubmission. -
submitUriSettings
Returns the builder for the settings used for calls to submitUri. -
submitUriOperationSettings
public OperationCallSettings.Builder<SubmitUriRequest,Submission, submitUriOperationSettings()SubmitUriMetadata> Returns the builder for the settings used for calls to submitUri. -
build
- Specified by:
buildin classClientSettings.Builder<WebRiskServiceSettings,WebRiskServiceSettings.Builder> - Throws:
IOException
-