- 3.50.0 (latest)
- 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.
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.
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.
Name | Description |
settings | RecaptchaEnterpriseServiceStubSettings |
clientContext | ClientContext |
callableFactory | GrpcStubCallableFactory |
Methods
annotateAssessmentCallable()
public UnaryCallable<AnnotateAssessmentRequest,AnnotateAssessmentResponse> annotateAssessmentCallable()
Type | Description |
UnaryCallable<AnnotateAssessmentRequest,AnnotateAssessmentResponse> |
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Name | Description |
duration | long |
unit | TimeUnit |
Type | Description |
boolean |
Type | Description |
InterruptedException |
close()
public final void close()
create(ClientContext clientContext)
public static final GrpcRecaptchaEnterpriseServiceStub create(ClientContext clientContext)
Name | Description |
clientContext | ClientContext |
Type | Description |
GrpcRecaptchaEnterpriseServiceStub |
Type | Description |
IOException |
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcRecaptchaEnterpriseServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Name | Description |
clientContext | ClientContext |
callableFactory | GrpcStubCallableFactory |
Type | Description |
GrpcRecaptchaEnterpriseServiceStub |
Type | Description |
IOException |
create(RecaptchaEnterpriseServiceStubSettings settings)
public static final GrpcRecaptchaEnterpriseServiceStub create(RecaptchaEnterpriseServiceStubSettings settings)
Name | Description |
settings | RecaptchaEnterpriseServiceStubSettings |
Type | Description |
GrpcRecaptchaEnterpriseServiceStub |
Type | Description |
IOException |
createAssessmentCallable()
public UnaryCallable<CreateAssessmentRequest,Assessment> createAssessmentCallable()
Type | Description |
UnaryCallable<CreateAssessmentRequest,Assessment> |
createKeyCallable()
public UnaryCallable<CreateKeyRequest,Key> createKeyCallable()
Type | Description |
UnaryCallable<CreateKeyRequest,Key> |
deleteKeyCallable()
public UnaryCallable<DeleteKeyRequest,Empty> deleteKeyCallable()
Type | Description |
UnaryCallable<DeleteKeyRequest,Empty> |
getKeyCallable()
public UnaryCallable<GetKeyRequest,Key> getKeyCallable()
Type | Description |
UnaryCallable<GetKeyRequest,Key> |
getMetricsCallable()
public UnaryCallable<GetMetricsRequest,Metrics> getMetricsCallable()
Type | Description |
UnaryCallable<GetMetricsRequest,Metrics> |
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Type | Description |
GrpcOperationsStub |
isShutdown()
public boolean isShutdown()
Type | Description |
boolean |
isTerminated()
public boolean isTerminated()
Type | Description |
boolean |
listKeysCallable()
public UnaryCallable<ListKeysRequest,ListKeysResponse> listKeysCallable()
Type | Description |
UnaryCallable<ListKeysRequest,ListKeysResponse> |
listKeysPagedCallable()
public UnaryCallable<ListKeysRequest,RecaptchaEnterpriseServiceClient.ListKeysPagedResponse> listKeysPagedCallable()
Type | Description |
UnaryCallable<ListKeysRequest,ListKeysPagedResponse> |
listRelatedAccountGroupMembershipsCallable()
public UnaryCallable<ListRelatedAccountGroupMembershipsRequest,ListRelatedAccountGroupMembershipsResponse> listRelatedAccountGroupMembershipsCallable()
Type | Description |
UnaryCallable<ListRelatedAccountGroupMembershipsRequest,ListRelatedAccountGroupMembershipsResponse> |
listRelatedAccountGroupMembershipsPagedCallable()
public UnaryCallable<ListRelatedAccountGroupMembershipsRequest,RecaptchaEnterpriseServiceClient.ListRelatedAccountGroupMembershipsPagedResponse> listRelatedAccountGroupMembershipsPagedCallable()
Type | Description |
UnaryCallable<ListRelatedAccountGroupMembershipsRequest,ListRelatedAccountGroupMembershipsPagedResponse> |
listRelatedAccountGroupsCallable()
public UnaryCallable<ListRelatedAccountGroupsRequest,ListRelatedAccountGroupsResponse> listRelatedAccountGroupsCallable()
Type | Description |
UnaryCallable<ListRelatedAccountGroupsRequest,ListRelatedAccountGroupsResponse> |
listRelatedAccountGroupsPagedCallable()
public UnaryCallable<ListRelatedAccountGroupsRequest,RecaptchaEnterpriseServiceClient.ListRelatedAccountGroupsPagedResponse> listRelatedAccountGroupsPagedCallable()
Type | Description |
UnaryCallable<ListRelatedAccountGroupsRequest,ListRelatedAccountGroupsPagedResponse> |
migrateKeyCallable()
public UnaryCallable<MigrateKeyRequest,Key> migrateKeyCallable()
Type | Description |
UnaryCallable<MigrateKeyRequest,Key> |
searchRelatedAccountGroupMembershipsCallable()
public UnaryCallable<SearchRelatedAccountGroupMembershipsRequest,SearchRelatedAccountGroupMembershipsResponse> searchRelatedAccountGroupMembershipsCallable()
Type | Description |
UnaryCallable<SearchRelatedAccountGroupMembershipsRequest,SearchRelatedAccountGroupMembershipsResponse> |
searchRelatedAccountGroupMembershipsPagedCallable()
public UnaryCallable<SearchRelatedAccountGroupMembershipsRequest,RecaptchaEnterpriseServiceClient.SearchRelatedAccountGroupMembershipsPagedResponse> searchRelatedAccountGroupMembershipsPagedCallable()
Type | Description |
UnaryCallable<SearchRelatedAccountGroupMembershipsRequest,SearchRelatedAccountGroupMembershipsPagedResponse> |
shutdown()
public void shutdown()
shutdownNow()
public void shutdownNow()
updateKeyCallable()
public UnaryCallable<UpdateKeyRequest,Key> updateKeyCallable()
Type | Description |
UnaryCallable<UpdateKeyRequest,Key> |