Class RecaptchaEnterpriseServiceStubSettings.Builder
java.lang.Object
com.google.api.gax.rpc.StubSettings.Builder<RecaptchaEnterpriseServiceStubSettings,RecaptchaEnterpriseServiceStubSettings.Builder>
com.google.cloud.recaptchaenterprise.v1.stub.RecaptchaEnterpriseServiceStubSettings.Builder
- Enclosing class:
- RecaptchaEnterpriseServiceStubSettings
public static class RecaptchaEnterpriseServiceStubSettings.Builder
extends StubSettings.Builder<RecaptchaEnterpriseServiceStubSettings,RecaptchaEnterpriseServiceStubSettings.Builder>
Builder for RecaptchaEnterpriseServiceStubSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protected -
Method Summary
Modifier and TypeMethodDescriptionReturns the builder for the settings used for calls to addIpOverride.Returns the builder for the settings used for calls to annotateAssessment.applyToAllUnaryMethods(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 createAssessment.Returns the builder for the settings used for calls to createFirewallPolicy.Returns the builder for the settings used for calls to createKey.UnaryCallSettings.Builder<DeleteFirewallPolicyRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to deleteFirewallPolicy.UnaryCallSettings.Builder<DeleteKeyRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to deleteKey.Returns the builder for the settings used for calls to getFirewallPolicy.Returns the builder for the settings used for calls to getKey.Returns the builder for the settings used for calls to getMetrics.PagedCallSettings.Builder<ListFirewallPoliciesRequest,ListFirewallPoliciesResponse, RecaptchaEnterpriseServiceClient.ListFirewallPoliciesPagedResponse> Returns the builder for the settings used for calls to listFirewallPolicies.PagedCallSettings.Builder<ListIpOverridesRequest,ListIpOverridesResponse, RecaptchaEnterpriseServiceClient.ListIpOverridesPagedResponse> Returns the builder for the settings used for calls to listIpOverrides.PagedCallSettings.Builder<ListKeysRequest,ListKeysResponse, RecaptchaEnterpriseServiceClient.ListKeysPagedResponse> Returns the builder for the settings used for calls to listKeys.PagedCallSettings.Builder<ListRelatedAccountGroupMembershipsRequest,ListRelatedAccountGroupMembershipsResponse, RecaptchaEnterpriseServiceClient.ListRelatedAccountGroupMembershipsPagedResponse> Returns the builder for the settings used for calls to listRelatedAccountGroupMemberships.PagedCallSettings.Builder<ListRelatedAccountGroupsRequest,ListRelatedAccountGroupsResponse, RecaptchaEnterpriseServiceClient.ListRelatedAccountGroupsPagedResponse> Returns the builder for the settings used for calls to listRelatedAccountGroups.Returns the builder for the settings used for calls to migrateKey.Returns the builder for the settings used for calls to removeIpOverride.Returns the builder for the settings used for calls to reorderFirewallPolicies.Returns the builder for the settings used for calls to retrieveLegacySecretKey.PagedCallSettings.Builder<SearchRelatedAccountGroupMembershipsRequest,SearchRelatedAccountGroupMembershipsResponse, RecaptchaEnterpriseServiceClient.SearchRelatedAccountGroupMembershipsPagedResponse> Returns the builder for the settings used for calls to searchRelatedAccountGroupMemberships.com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> Returns the builder for the settings used for calls to updateFirewallPolicy.Returns the builder for the settings used for calls to updateKey.Methods inherited from class com.google.api.gax.rpc.StubSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogCheckIntervalDuration, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogCheckIntervalDuration, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, setUniverseDomain, toString
-
Constructor Details
-
Builder
protected Builder() -
Builder
-
Builder
-
-
Method Details
-
applyToAllUnaryMethods
public RecaptchaEnterpriseServiceStubSettings.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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders() -
createAssessmentSettings
Returns the builder for the settings used for calls to createAssessment. -
annotateAssessmentSettings
public UnaryCallSettings.Builder<AnnotateAssessmentRequest,AnnotateAssessmentResponse> annotateAssessmentSettings()Returns the builder for the settings used for calls to annotateAssessment. -
createKeySettings
Returns the builder for the settings used for calls to createKey. -
listKeysSettings
public PagedCallSettings.Builder<ListKeysRequest,ListKeysResponse, listKeysSettings()RecaptchaEnterpriseServiceClient.ListKeysPagedResponse> Returns the builder for the settings used for calls to listKeys. -
retrieveLegacySecretKeySettings
public UnaryCallSettings.Builder<RetrieveLegacySecretKeyRequest,RetrieveLegacySecretKeyResponse> retrieveLegacySecretKeySettings()Returns the builder for the settings used for calls to retrieveLegacySecretKey. -
getKeySettings
Returns the builder for the settings used for calls to getKey. -
updateKeySettings
Returns the builder for the settings used for calls to updateKey. -
deleteKeySettings
Returns the builder for the settings used for calls to deleteKey. -
migrateKeySettings
Returns the builder for the settings used for calls to migrateKey. -
addIpOverrideSettings
public UnaryCallSettings.Builder<AddIpOverrideRequest,AddIpOverrideResponse> addIpOverrideSettings()Returns the builder for the settings used for calls to addIpOverride. -
removeIpOverrideSettings
public UnaryCallSettings.Builder<RemoveIpOverrideRequest,RemoveIpOverrideResponse> removeIpOverrideSettings()Returns the builder for the settings used for calls to removeIpOverride. -
listIpOverridesSettings
public PagedCallSettings.Builder<ListIpOverridesRequest,ListIpOverridesResponse, listIpOverridesSettings()RecaptchaEnterpriseServiceClient.ListIpOverridesPagedResponse> Returns the builder for the settings used for calls to listIpOverrides. -
getMetricsSettings
Returns the builder for the settings used for calls to getMetrics. -
createFirewallPolicySettings
public UnaryCallSettings.Builder<CreateFirewallPolicyRequest,FirewallPolicy> createFirewallPolicySettings()Returns the builder for the settings used for calls to createFirewallPolicy. -
listFirewallPoliciesSettings
public PagedCallSettings.Builder<ListFirewallPoliciesRequest,ListFirewallPoliciesResponse, listFirewallPoliciesSettings()RecaptchaEnterpriseServiceClient.ListFirewallPoliciesPagedResponse> Returns the builder for the settings used for calls to listFirewallPolicies. -
getFirewallPolicySettings
public UnaryCallSettings.Builder<GetFirewallPolicyRequest,FirewallPolicy> getFirewallPolicySettings()Returns the builder for the settings used for calls to getFirewallPolicy. -
updateFirewallPolicySettings
public UnaryCallSettings.Builder<UpdateFirewallPolicyRequest,FirewallPolicy> updateFirewallPolicySettings()Returns the builder for the settings used for calls to updateFirewallPolicy. -
deleteFirewallPolicySettings
public UnaryCallSettings.Builder<DeleteFirewallPolicyRequest,com.google.protobuf.Empty> deleteFirewallPolicySettings()Returns the builder for the settings used for calls to deleteFirewallPolicy. -
reorderFirewallPoliciesSettings
public UnaryCallSettings.Builder<ReorderFirewallPoliciesRequest,ReorderFirewallPoliciesResponse> reorderFirewallPoliciesSettings()Returns the builder for the settings used for calls to reorderFirewallPolicies. -
listRelatedAccountGroupsSettings
public PagedCallSettings.Builder<ListRelatedAccountGroupsRequest,ListRelatedAccountGroupsResponse, listRelatedAccountGroupsSettings()RecaptchaEnterpriseServiceClient.ListRelatedAccountGroupsPagedResponse> Returns the builder for the settings used for calls to listRelatedAccountGroups. -
listRelatedAccountGroupMembershipsSettings
public PagedCallSettings.Builder<ListRelatedAccountGroupMembershipsRequest,ListRelatedAccountGroupMembershipsResponse, listRelatedAccountGroupMembershipsSettings()RecaptchaEnterpriseServiceClient.ListRelatedAccountGroupMembershipsPagedResponse> Returns the builder for the settings used for calls to listRelatedAccountGroupMemberships. -
searchRelatedAccountGroupMembershipsSettings
public PagedCallSettings.Builder<SearchRelatedAccountGroupMembershipsRequest,SearchRelatedAccountGroupMembershipsResponse, searchRelatedAccountGroupMembershipsSettings()RecaptchaEnterpriseServiceClient.SearchRelatedAccountGroupMembershipsPagedResponse> Returns the builder for the settings used for calls to searchRelatedAccountGroupMemberships. -
build
- Specified by:
buildin classStubSettings.Builder<RecaptchaEnterpriseServiceStubSettings,RecaptchaEnterpriseServiceStubSettings.Builder> - Throws:
IOException
-