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 com.google.api.gax.rpc.ClientSettings.Builder<WebRiskServiceSettings,WebRiskServiceSettings.Builder>
Builder for WebRiskServiceSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(WebRiskServiceStubSettings.Builder stubSettings)
protected
Builder(WebRiskServiceSettings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WebRiskServiceSettings.Builder
applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.WebRiskServiceSettings
build()
com.google.api.gax.rpc.UnaryCallSettings.Builder<ComputeThreatListDiffRequest,ComputeThreatListDiffResponse>
computeThreatListDiffSettings()
Returns the builder for the settings used for calls to computeThreatListDiff.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateSubmissionRequest,Submission>
createSubmissionSettings()
Returns the builder for the settings used for calls to createSubmission.WebRiskServiceStubSettings.Builder
getStubSettingsBuilder()
com.google.api.gax.rpc.UnaryCallSettings.Builder<SearchHashesRequest,SearchHashesResponse>
searchHashesSettings()
Returns the builder for the settings used for calls to searchHashes.com.google.api.gax.rpc.UnaryCallSettings.Builder<SearchUrisRequest,SearchUrisResponse>
searchUrisSettings()
Returns the builder for the settings used for calls to searchUris.com.google.api.gax.rpc.OperationCallSettings.Builder<SubmitUriRequest,Submission,SubmitUriMetadata>
submitUriOperationSettings()
Returns the builder for the settings used for calls to submitUri.com.google.api.gax.rpc.UnaryCallSettings.Builder<SubmitUriRequest,com.google.longrunning.Operation>
submitUriSettings()
Returns the builder for the settings used for calls to submitUri.-
Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder() throws IOException
- Throws:
IOException
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(WebRiskServiceSettings settings)
-
Builder
protected Builder(WebRiskServiceStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public WebRiskServiceStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public WebRiskServiceSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.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 com.google.api.gax.rpc.UnaryCallSettings.Builder<ComputeThreatListDiffRequest,ComputeThreatListDiffResponse> computeThreatListDiffSettings()
Returns the builder for the settings used for calls to computeThreatListDiff.
-
searchUrisSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<SearchUrisRequest,SearchUrisResponse> searchUrisSettings()
Returns the builder for the settings used for calls to searchUris.
-
searchHashesSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<SearchHashesRequest,SearchHashesResponse> searchHashesSettings()
Returns the builder for the settings used for calls to searchHashes.
-
createSubmissionSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateSubmissionRequest,Submission> createSubmissionSettings()
Returns the builder for the settings used for calls to createSubmission.
-
submitUriSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<SubmitUriRequest,com.google.longrunning.Operation> submitUriSettings()
Returns the builder for the settings used for calls to submitUri.
-
submitUriOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<SubmitUriRequest,Submission,SubmitUriMetadata> submitUriOperationSettings()
Returns the builder for the settings used for calls to submitUri.
-
build
public WebRiskServiceSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.ClientSettings.Builder<WebRiskServiceSettings,WebRiskServiceSettings.Builder>
- Throws:
IOException
-
-