public static class RecaptchaEnterpriseServiceSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<RecaptchaEnterpriseServiceSettings,RecaptchaEnterpriseServiceSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(com.google.api.gax.rpc.ClientContext clientContext) |
protected |
Builder(RecaptchaEnterpriseServiceSettings settings) |
protected |
Builder(RecaptchaEnterpriseServiceStubSettings.Builder stubSettings) |
Modifier and Type | Method and Description |
---|---|
com.google.api.gax.rpc.UnaryCallSettings.Builder<AnnotateAssessmentRequest,AnnotateAssessmentResponse> |
annotateAssessmentSettings()
Returns the builder for the settings used for calls to annotateAssessment.
|
RecaptchaEnterpriseServiceSettings.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.
|
RecaptchaEnterpriseServiceSettings |
build() |
com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateAssessmentRequest,Assessment> |
createAssessmentSettings()
Returns the builder for the settings used for calls to createAssessment.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateKeyRequest,Key> |
createKeySettings()
Returns the builder for the settings used for calls to createKey.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteKeyRequest,com.google.protobuf.Empty> |
deleteKeySettings()
Returns the builder for the settings used for calls to deleteKey.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetKeyRequest,Key> |
getKeySettings()
Returns the builder for the settings used for calls to getKey.
|
RecaptchaEnterpriseServiceStubSettings.Builder |
getStubSettingsBuilder() |
com.google.api.gax.rpc.PagedCallSettings.Builder<ListKeysRequest,ListKeysResponse,RecaptchaEnterpriseServiceClient.ListKeysPagedResponse> |
listKeysSettings()
Returns the builder for the settings used for calls to listKeys.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateKeyRequest,Key> |
updateKeySettings()
Returns the builder for the settings used for calls to updateKey.
|
applyToAllUnaryMethods, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
protected Builder() throws IOException
IOException
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected Builder(RecaptchaEnterpriseServiceSettings settings)
protected Builder(RecaptchaEnterpriseServiceStubSettings.Builder stubSettings)
public RecaptchaEnterpriseServiceStubSettings.Builder getStubSettingsBuilder()
public RecaptchaEnterpriseServiceSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateAssessmentRequest,Assessment> createAssessmentSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<AnnotateAssessmentRequest,AnnotateAssessmentResponse> annotateAssessmentSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateKeyRequest,Key> createKeySettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListKeysRequest,ListKeysResponse,RecaptchaEnterpriseServiceClient.ListKeysPagedResponse> listKeysSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetKeyRequest,Key> getKeySettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateKeyRequest,Key> updateKeySettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteKeyRequest,com.google.protobuf.Empty> deleteKeySettings()
public RecaptchaEnterpriseServiceSettings build() throws IOException
build
in class com.google.api.gax.rpc.ClientSettings.Builder<RecaptchaEnterpriseServiceSettings,RecaptchaEnterpriseServiceSettings.Builder>
IOException
Copyright © 2021 Google LLC. All rights reserved.