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 com.google.api.gax.rpc.StubSettings.Builder<RecaptchaEnterpriseServiceStubSettings,RecaptchaEnterpriseServiceStubSettings.Builder>
Builder for RecaptchaEnterpriseServiceStubSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(RecaptchaEnterpriseServiceStubSettings settings)
-
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.RecaptchaEnterpriseServiceStubSettings.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.RecaptchaEnterpriseServiceStubSettings
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.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.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>>
unaryMethodSettingsBuilders()
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.StubSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder()
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(RecaptchaEnterpriseServiceStubSettings settings)
-
-
Method Detail
-
applyToAllUnaryMethods
public RecaptchaEnterpriseServiceStubSettings.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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
-
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 RecaptchaEnterpriseServiceStubSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.StubSettings.Builder<RecaptchaEnterpriseServiceStubSettings,RecaptchaEnterpriseServiceStubSettings.Builder>
- Throws:
IOException
-
-