Class GrpcRecaptchaEnterpriseServiceStub (3.41.0)

public class GrpcRecaptchaEnterpriseServiceStub extends RecaptchaEnterpriseServiceStub

gRPC stub implementation for the RecaptchaEnterpriseService service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > RecaptchaEnterpriseServiceStub > GrpcRecaptchaEnterpriseServiceStub

Static Methods

create(ClientContext clientContext)

public static final GrpcRecaptchaEnterpriseServiceStub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
GrpcRecaptchaEnterpriseServiceStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcRecaptchaEnterpriseServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory GrpcStubCallableFactory
Returns
Type Description
GrpcRecaptchaEnterpriseServiceStub
Exceptions
Type Description
IOException

create(RecaptchaEnterpriseServiceStubSettings settings)

public static final GrpcRecaptchaEnterpriseServiceStub create(RecaptchaEnterpriseServiceStubSettings settings)
Parameter
Name Description
settings RecaptchaEnterpriseServiceStubSettings
Returns
Type Description
GrpcRecaptchaEnterpriseServiceStub
Exceptions
Type Description
IOException

Constructors

GrpcRecaptchaEnterpriseServiceStub(RecaptchaEnterpriseServiceStubSettings settings, ClientContext clientContext)

protected GrpcRecaptchaEnterpriseServiceStub(RecaptchaEnterpriseServiceStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcRecaptchaEnterpriseServiceStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.

Parameters
Name Description
settings RecaptchaEnterpriseServiceStubSettings
clientContext ClientContext

GrpcRecaptchaEnterpriseServiceStub(RecaptchaEnterpriseServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcRecaptchaEnterpriseServiceStub(RecaptchaEnterpriseServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

Constructs an instance of GrpcRecaptchaEnterpriseServiceStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.

Parameters
Name Description
settings RecaptchaEnterpriseServiceStubSettings
clientContext ClientContext
callableFactory GrpcStubCallableFactory

Methods

annotateAssessmentCallable()

public UnaryCallable<AnnotateAssessmentRequest,AnnotateAssessmentResponse> annotateAssessmentCallable()
Returns
Type Description
UnaryCallable<AnnotateAssessmentRequest,AnnotateAssessmentResponse>
Overrides

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

close()

public final void close()
Overrides

createAssessmentCallable()

public UnaryCallable<CreateAssessmentRequest,Assessment> createAssessmentCallable()
Returns
Type Description
UnaryCallable<CreateAssessmentRequest,Assessment>
Overrides

createFirewallPolicyCallable()

public UnaryCallable<CreateFirewallPolicyRequest,FirewallPolicy> createFirewallPolicyCallable()
Returns
Type Description
UnaryCallable<CreateFirewallPolicyRequest,FirewallPolicy>
Overrides

createKeyCallable()

public UnaryCallable<CreateKeyRequest,Key> createKeyCallable()
Returns
Type Description
UnaryCallable<CreateKeyRequest,Key>
Overrides

deleteFirewallPolicyCallable()

public UnaryCallable<DeleteFirewallPolicyRequest,Empty> deleteFirewallPolicyCallable()
Returns
Type Description
UnaryCallable<DeleteFirewallPolicyRequest,Empty>
Overrides

deleteKeyCallable()

public UnaryCallable<DeleteKeyRequest,Empty> deleteKeyCallable()
Returns
Type Description
UnaryCallable<DeleteKeyRequest,Empty>
Overrides

getFirewallPolicyCallable()

public UnaryCallable<GetFirewallPolicyRequest,FirewallPolicy> getFirewallPolicyCallable()
Returns
Type Description
UnaryCallable<GetFirewallPolicyRequest,FirewallPolicy>
Overrides

getKeyCallable()

public UnaryCallable<GetKeyRequest,Key> getKeyCallable()
Returns
Type Description
UnaryCallable<GetKeyRequest,Key>
Overrides

getMetricsCallable()

public UnaryCallable<GetMetricsRequest,Metrics> getMetricsCallable()
Returns
Type Description
UnaryCallable<GetMetricsRequest,Metrics>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listFirewallPoliciesCallable()

public UnaryCallable<ListFirewallPoliciesRequest,ListFirewallPoliciesResponse> listFirewallPoliciesCallable()
Returns
Type Description
UnaryCallable<ListFirewallPoliciesRequest,ListFirewallPoliciesResponse>
Overrides

listFirewallPoliciesPagedCallable()

public UnaryCallable<ListFirewallPoliciesRequest,RecaptchaEnterpriseServiceClient.ListFirewallPoliciesPagedResponse> listFirewallPoliciesPagedCallable()
Returns
Type Description
UnaryCallable<ListFirewallPoliciesRequest,ListFirewallPoliciesPagedResponse>
Overrides

listKeysCallable()

public UnaryCallable<ListKeysRequest,ListKeysResponse> listKeysCallable()
Returns
Type Description
UnaryCallable<ListKeysRequest,ListKeysResponse>
Overrides

listKeysPagedCallable()

public UnaryCallable<ListKeysRequest,RecaptchaEnterpriseServiceClient.ListKeysPagedResponse> listKeysPagedCallable()
Returns
Type Description
UnaryCallable<ListKeysRequest,ListKeysPagedResponse>
Overrides

listRelatedAccountGroupMembershipsCallable()

public UnaryCallable<ListRelatedAccountGroupMembershipsRequest,ListRelatedAccountGroupMembershipsResponse> listRelatedAccountGroupMembershipsCallable()
Returns
Type Description
UnaryCallable<ListRelatedAccountGroupMembershipsRequest,ListRelatedAccountGroupMembershipsResponse>
Overrides

listRelatedAccountGroupMembershipsPagedCallable()

public UnaryCallable<ListRelatedAccountGroupMembershipsRequest,RecaptchaEnterpriseServiceClient.ListRelatedAccountGroupMembershipsPagedResponse> listRelatedAccountGroupMembershipsPagedCallable()
Returns
Type Description
UnaryCallable<ListRelatedAccountGroupMembershipsRequest,ListRelatedAccountGroupMembershipsPagedResponse>
Overrides

listRelatedAccountGroupsCallable()

public UnaryCallable<ListRelatedAccountGroupsRequest,ListRelatedAccountGroupsResponse> listRelatedAccountGroupsCallable()
Returns
Type Description
UnaryCallable<ListRelatedAccountGroupsRequest,ListRelatedAccountGroupsResponse>
Overrides

listRelatedAccountGroupsPagedCallable()

public UnaryCallable<ListRelatedAccountGroupsRequest,RecaptchaEnterpriseServiceClient.ListRelatedAccountGroupsPagedResponse> listRelatedAccountGroupsPagedCallable()
Returns
Type Description
UnaryCallable<ListRelatedAccountGroupsRequest,ListRelatedAccountGroupsPagedResponse>
Overrides

migrateKeyCallable()

public UnaryCallable<MigrateKeyRequest,Key> migrateKeyCallable()
Returns
Type Description
UnaryCallable<MigrateKeyRequest,Key>
Overrides

reorderFirewallPoliciesCallable()

public UnaryCallable<ReorderFirewallPoliciesRequest,ReorderFirewallPoliciesResponse> reorderFirewallPoliciesCallable()
Returns
Type Description
UnaryCallable<ReorderFirewallPoliciesRequest,ReorderFirewallPoliciesResponse>
Overrides

retrieveLegacySecretKeyCallable()

public UnaryCallable<RetrieveLegacySecretKeyRequest,RetrieveLegacySecretKeyResponse> retrieveLegacySecretKeyCallable()
Returns
Type Description
UnaryCallable<RetrieveLegacySecretKeyRequest,RetrieveLegacySecretKeyResponse>
Overrides

searchRelatedAccountGroupMembershipsCallable()

public UnaryCallable<SearchRelatedAccountGroupMembershipsRequest,SearchRelatedAccountGroupMembershipsResponse> searchRelatedAccountGroupMembershipsCallable()
Returns
Type Description
UnaryCallable<SearchRelatedAccountGroupMembershipsRequest,SearchRelatedAccountGroupMembershipsResponse>
Overrides

searchRelatedAccountGroupMembershipsPagedCallable()

public UnaryCallable<SearchRelatedAccountGroupMembershipsRequest,RecaptchaEnterpriseServiceClient.SearchRelatedAccountGroupMembershipsPagedResponse> searchRelatedAccountGroupMembershipsPagedCallable()
Returns
Type Description
UnaryCallable<SearchRelatedAccountGroupMembershipsRequest,SearchRelatedAccountGroupMembershipsPagedResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateFirewallPolicyCallable()

public UnaryCallable<UpdateFirewallPolicyRequest,FirewallPolicy> updateFirewallPolicyCallable()
Returns
Type Description
UnaryCallable<UpdateFirewallPolicyRequest,FirewallPolicy>
Overrides

updateKeyCallable()

public UnaryCallable<UpdateKeyRequest,Key> updateKeyCallable()
Returns
Type Description
UnaryCallable<UpdateKeyRequest,Key>
Overrides