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