- 3.51.0 (latest)
- 3.50.0
- 3.49.0
- 3.48.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.24.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.6.0
- 3.5.0
- 3.4.0
- 3.3.0
- 3.2.0
- 3.1.0
- 3.0.12
- 2.6.1
- 2.5.0
- 2.4.10
- 2.3.1
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.
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> |
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()
createAssessmentCallable()
public UnaryCallable<CreateAssessmentRequest,Assessment> createAssessmentCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateAssessmentRequest,Assessment> |
createFirewallPolicyCallable()
public UnaryCallable<CreateFirewallPolicyRequest,FirewallPolicy> createFirewallPolicyCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateFirewallPolicyRequest,FirewallPolicy> |
createKeyCallable()
public UnaryCallable<CreateKeyRequest,Key> createKeyCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateKeyRequest,Key> |
deleteFirewallPolicyCallable()
public UnaryCallable<DeleteFirewallPolicyRequest,Empty> deleteFirewallPolicyCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteFirewallPolicyRequest,Empty> |
deleteKeyCallable()
public UnaryCallable<DeleteKeyRequest,Empty> deleteKeyCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteKeyRequest,Empty> |
getFirewallPolicyCallable()
public UnaryCallable<GetFirewallPolicyRequest,FirewallPolicy> getFirewallPolicyCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetFirewallPolicyRequest,FirewallPolicy> |
getKeyCallable()
public UnaryCallable<GetKeyRequest,Key> getKeyCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetKeyRequest,Key> |
getMetricsCallable()
public UnaryCallable<GetMetricsRequest,Metrics> getMetricsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetMetricsRequest,Metrics> |
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> |
listFirewallPoliciesPagedCallable()
public UnaryCallable<ListFirewallPoliciesRequest,RecaptchaEnterpriseServiceClient.ListFirewallPoliciesPagedResponse> listFirewallPoliciesPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListFirewallPoliciesRequest,ListFirewallPoliciesPagedResponse> |
listKeysCallable()
public UnaryCallable<ListKeysRequest,ListKeysResponse> listKeysCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListKeysRequest,ListKeysResponse> |
listKeysPagedCallable()
public UnaryCallable<ListKeysRequest,RecaptchaEnterpriseServiceClient.ListKeysPagedResponse> listKeysPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListKeysRequest,ListKeysPagedResponse> |
listRelatedAccountGroupMembershipsCallable()
public UnaryCallable<ListRelatedAccountGroupMembershipsRequest,ListRelatedAccountGroupMembershipsResponse> listRelatedAccountGroupMembershipsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListRelatedAccountGroupMembershipsRequest,ListRelatedAccountGroupMembershipsResponse> |
listRelatedAccountGroupMembershipsPagedCallable()
public UnaryCallable<ListRelatedAccountGroupMembershipsRequest,RecaptchaEnterpriseServiceClient.ListRelatedAccountGroupMembershipsPagedResponse> listRelatedAccountGroupMembershipsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListRelatedAccountGroupMembershipsRequest,ListRelatedAccountGroupMembershipsPagedResponse> |
listRelatedAccountGroupsCallable()
public UnaryCallable<ListRelatedAccountGroupsRequest,ListRelatedAccountGroupsResponse> listRelatedAccountGroupsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListRelatedAccountGroupsRequest,ListRelatedAccountGroupsResponse> |
listRelatedAccountGroupsPagedCallable()
public UnaryCallable<ListRelatedAccountGroupsRequest,RecaptchaEnterpriseServiceClient.ListRelatedAccountGroupsPagedResponse> listRelatedAccountGroupsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListRelatedAccountGroupsRequest,ListRelatedAccountGroupsPagedResponse> |
migrateKeyCallable()
public UnaryCallable<MigrateKeyRequest,Key> migrateKeyCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<MigrateKeyRequest,Key> |
retrieveLegacySecretKeyCallable()
public UnaryCallable<RetrieveLegacySecretKeyRequest,RetrieveLegacySecretKeyResponse> retrieveLegacySecretKeyCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<RetrieveLegacySecretKeyRequest,RetrieveLegacySecretKeyResponse> |
searchRelatedAccountGroupMembershipsCallable()
public UnaryCallable<SearchRelatedAccountGroupMembershipsRequest,SearchRelatedAccountGroupMembershipsResponse> searchRelatedAccountGroupMembershipsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<SearchRelatedAccountGroupMembershipsRequest,SearchRelatedAccountGroupMembershipsResponse> |
searchRelatedAccountGroupMembershipsPagedCallable()
public UnaryCallable<SearchRelatedAccountGroupMembershipsRequest,RecaptchaEnterpriseServiceClient.SearchRelatedAccountGroupMembershipsPagedResponse> searchRelatedAccountGroupMembershipsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<SearchRelatedAccountGroupMembershipsRequest,SearchRelatedAccountGroupMembershipsPagedResponse> |
shutdown()
public void shutdown()
shutdownNow()
public void shutdownNow()
updateFirewallPolicyCallable()
public UnaryCallable<UpdateFirewallPolicyRequest,FirewallPolicy> updateFirewallPolicyCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateFirewallPolicyRequest,FirewallPolicy> |
updateKeyCallable()
public UnaryCallable<UpdateKeyRequest,Key> updateKeyCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateKeyRequest,Key> |