Class RecaptchaEnterpriseServiceSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings.Builder<RecaptchaEnterpriseServiceSettings,RecaptchaEnterpriseServiceSettings.Builder>
-
- com.google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseServiceSettings.Builder
-
- Enclosing class:
- RecaptchaEnterpriseServiceSettings
public static class RecaptchaEnterpriseServiceSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<RecaptchaEnterpriseServiceSettings,RecaptchaEnterpriseServiceSettings.Builder>
Builder for RecaptchaEnterpriseServiceSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(RecaptchaEnterpriseServiceSettings settings)
protected
Builder(RecaptchaEnterpriseServiceStubSettings.Builder stubSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetMetricsRequest,Metrics>
getMetricsSettings()
Returns the builder for the settings used for calls to getMetrics.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.PagedCallSettings.Builder<ListRelatedAccountGroupMembershipsRequest,ListRelatedAccountGroupMembershipsResponse,RecaptchaEnterpriseServiceClient.ListRelatedAccountGroupMembershipsPagedResponse>
listRelatedAccountGroupMembershipsSettings()
Returns the builder for the settings used for calls to listRelatedAccountGroupMemberships.com.google.api.gax.rpc.PagedCallSettings.Builder<ListRelatedAccountGroupsRequest,ListRelatedAccountGroupsResponse,RecaptchaEnterpriseServiceClient.ListRelatedAccountGroupsPagedResponse>
listRelatedAccountGroupsSettings()
Returns the builder for the settings used for calls to listRelatedAccountGroups.com.google.api.gax.rpc.UnaryCallSettings.Builder<MigrateKeyRequest,Key>
migrateKeySettings()
Returns the builder for the settings used for calls to migrateKey.com.google.api.gax.rpc.UnaryCallSettings.Builder<RetrieveLegacySecretKeyRequest,RetrieveLegacySecretKeyResponse>
retrieveLegacySecretKeySettings()
Returns the builder for the settings used for calls to retrieveLegacySecretKey.com.google.api.gax.rpc.PagedCallSettings.Builder<SearchRelatedAccountGroupMembershipsRequest,SearchRelatedAccountGroupMembershipsResponse,RecaptchaEnterpriseServiceClient.SearchRelatedAccountGroupMembershipsPagedResponse>
searchRelatedAccountGroupMembershipsSettings()
Returns the builder for the settings used for calls to searchRelatedAccountGroupMemberships.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateKeyRequest,Key>
updateKeySettings()
Returns the builder for the settings used for calls to updateKey.-
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(RecaptchaEnterpriseServiceSettings settings)
-
Builder
protected Builder(RecaptchaEnterpriseServiceStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public RecaptchaEnterpriseServiceStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public 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.Note: This method does not support applying settings to streaming methods.
-
createAssessmentSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateAssessmentRequest,Assessment> createAssessmentSettings()
Returns the builder for the settings used for calls to createAssessment.
-
annotateAssessmentSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<AnnotateAssessmentRequest,AnnotateAssessmentResponse> annotateAssessmentSettings()
Returns the builder for the settings used for calls to annotateAssessment.
-
createKeySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateKeyRequest,Key> createKeySettings()
Returns the builder for the settings used for calls to createKey.
-
listKeysSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListKeysRequest,ListKeysResponse,RecaptchaEnterpriseServiceClient.ListKeysPagedResponse> listKeysSettings()
Returns the builder for the settings used for calls to listKeys.
-
retrieveLegacySecretKeySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<RetrieveLegacySecretKeyRequest,RetrieveLegacySecretKeyResponse> retrieveLegacySecretKeySettings()
Returns the builder for the settings used for calls to retrieveLegacySecretKey.
-
getKeySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetKeyRequest,Key> getKeySettings()
Returns the builder for the settings used for calls to getKey.
-
updateKeySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateKeyRequest,Key> updateKeySettings()
Returns the builder for the settings used for calls to updateKey.
-
deleteKeySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteKeyRequest,com.google.protobuf.Empty> deleteKeySettings()
Returns the builder for the settings used for calls to deleteKey.
-
migrateKeySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<MigrateKeyRequest,Key> migrateKeySettings()
Returns the builder for the settings used for calls to migrateKey.
-
getMetricsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetMetricsRequest,Metrics> getMetricsSettings()
Returns the builder for the settings used for calls to getMetrics.
-
listRelatedAccountGroupsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListRelatedAccountGroupsRequest,ListRelatedAccountGroupsResponse,RecaptchaEnterpriseServiceClient.ListRelatedAccountGroupsPagedResponse> listRelatedAccountGroupsSettings()
Returns the builder for the settings used for calls to listRelatedAccountGroups.
-
listRelatedAccountGroupMembershipsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListRelatedAccountGroupMembershipsRequest,ListRelatedAccountGroupMembershipsResponse,RecaptchaEnterpriseServiceClient.ListRelatedAccountGroupMembershipsPagedResponse> listRelatedAccountGroupMembershipsSettings()
Returns the builder for the settings used for calls to listRelatedAccountGroupMemberships.
-
searchRelatedAccountGroupMembershipsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<SearchRelatedAccountGroupMembershipsRequest,SearchRelatedAccountGroupMembershipsResponse,RecaptchaEnterpriseServiceClient.SearchRelatedAccountGroupMembershipsPagedResponse> searchRelatedAccountGroupMembershipsSettings()
Returns the builder for the settings used for calls to searchRelatedAccountGroupMemberships.
-
build
public RecaptchaEnterpriseServiceSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.ClientSettings.Builder<RecaptchaEnterpriseServiceSettings,RecaptchaEnterpriseServiceSettings.Builder>
- Throws:
IOException
-
-