Class GrpcRecaptchaEnterpriseServiceStub
- java.lang.Object
-
- com.google.cloud.recaptchaenterprise.v1.stub.RecaptchaEnterpriseServiceStub
-
- com.google.cloud.recaptchaenterprise.v1.stub.GrpcRecaptchaEnterpriseServiceStub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java") 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.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedGrpcRecaptchaEnterpriseServiceStub(RecaptchaEnterpriseServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)Constructs an instance of GrpcRecaptchaEnterpriseServiceStub, using the given settings.protectedGrpcRecaptchaEnterpriseServiceStub(RecaptchaEnterpriseServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)Constructs an instance of GrpcRecaptchaEnterpriseServiceStub, using the given settings.
-
Method Summary
-
-
-
Constructor Detail
-
GrpcRecaptchaEnterpriseServiceStub
protected GrpcRecaptchaEnterpriseServiceStub(RecaptchaEnterpriseServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
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.- Throws:
IOException
-
GrpcRecaptchaEnterpriseServiceStub
protected GrpcRecaptchaEnterpriseServiceStub(RecaptchaEnterpriseServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
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.- Throws:
IOException
-
-
Method Detail
-
create
public static final GrpcRecaptchaEnterpriseServiceStub create(RecaptchaEnterpriseServiceStubSettings settings) throws IOException
- Throws:
IOException
-
create
public static final GrpcRecaptchaEnterpriseServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
- Throws:
IOException
-
create
public static final GrpcRecaptchaEnterpriseServiceStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
- Throws:
IOException
-
getOperationsStub
public com.google.longrunning.stub.GrpcOperationsStub getOperationsStub()
-
createAssessmentCallable
public com.google.api.gax.rpc.UnaryCallable<CreateAssessmentRequest,Assessment> createAssessmentCallable()
- Overrides:
createAssessmentCallablein classRecaptchaEnterpriseServiceStub
-
annotateAssessmentCallable
public com.google.api.gax.rpc.UnaryCallable<AnnotateAssessmentRequest,AnnotateAssessmentResponse> annotateAssessmentCallable()
- Overrides:
annotateAssessmentCallablein classRecaptchaEnterpriseServiceStub
-
createKeyCallable
public com.google.api.gax.rpc.UnaryCallable<CreateKeyRequest,Key> createKeyCallable()
- Overrides:
createKeyCallablein classRecaptchaEnterpriseServiceStub
-
listKeysCallable
public com.google.api.gax.rpc.UnaryCallable<ListKeysRequest,ListKeysResponse> listKeysCallable()
- Overrides:
listKeysCallablein classRecaptchaEnterpriseServiceStub
-
listKeysPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListKeysRequest,RecaptchaEnterpriseServiceClient.ListKeysPagedResponse> listKeysPagedCallable()
- Overrides:
listKeysPagedCallablein classRecaptchaEnterpriseServiceStub
-
retrieveLegacySecretKeyCallable
public com.google.api.gax.rpc.UnaryCallable<RetrieveLegacySecretKeyRequest,RetrieveLegacySecretKeyResponse> retrieveLegacySecretKeyCallable()
- Overrides:
retrieveLegacySecretKeyCallablein classRecaptchaEnterpriseServiceStub
-
getKeyCallable
public com.google.api.gax.rpc.UnaryCallable<GetKeyRequest,Key> getKeyCallable()
- Overrides:
getKeyCallablein classRecaptchaEnterpriseServiceStub
-
updateKeyCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateKeyRequest,Key> updateKeyCallable()
- Overrides:
updateKeyCallablein classRecaptchaEnterpriseServiceStub
-
deleteKeyCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteKeyRequest,com.google.protobuf.Empty> deleteKeyCallable()
- Overrides:
deleteKeyCallablein classRecaptchaEnterpriseServiceStub
-
migrateKeyCallable
public com.google.api.gax.rpc.UnaryCallable<MigrateKeyRequest,Key> migrateKeyCallable()
- Overrides:
migrateKeyCallablein classRecaptchaEnterpriseServiceStub
-
getMetricsCallable
public com.google.api.gax.rpc.UnaryCallable<GetMetricsRequest,Metrics> getMetricsCallable()
- Overrides:
getMetricsCallablein classRecaptchaEnterpriseServiceStub
-
listRelatedAccountGroupsCallable
public com.google.api.gax.rpc.UnaryCallable<ListRelatedAccountGroupsRequest,ListRelatedAccountGroupsResponse> listRelatedAccountGroupsCallable()
- Overrides:
listRelatedAccountGroupsCallablein classRecaptchaEnterpriseServiceStub
-
listRelatedAccountGroupsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListRelatedAccountGroupsRequest,RecaptchaEnterpriseServiceClient.ListRelatedAccountGroupsPagedResponse> listRelatedAccountGroupsPagedCallable()
- Overrides:
listRelatedAccountGroupsPagedCallablein classRecaptchaEnterpriseServiceStub
-
listRelatedAccountGroupMembershipsCallable
public com.google.api.gax.rpc.UnaryCallable<ListRelatedAccountGroupMembershipsRequest,ListRelatedAccountGroupMembershipsResponse> listRelatedAccountGroupMembershipsCallable()
- Overrides:
listRelatedAccountGroupMembershipsCallablein classRecaptchaEnterpriseServiceStub
-
listRelatedAccountGroupMembershipsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListRelatedAccountGroupMembershipsRequest,RecaptchaEnterpriseServiceClient.ListRelatedAccountGroupMembershipsPagedResponse> listRelatedAccountGroupMembershipsPagedCallable()
- Overrides:
listRelatedAccountGroupMembershipsPagedCallablein classRecaptchaEnterpriseServiceStub
-
searchRelatedAccountGroupMembershipsCallable
public com.google.api.gax.rpc.UnaryCallable<SearchRelatedAccountGroupMembershipsRequest,SearchRelatedAccountGroupMembershipsResponse> searchRelatedAccountGroupMembershipsCallable()
- Overrides:
searchRelatedAccountGroupMembershipsCallablein classRecaptchaEnterpriseServiceStub
-
searchRelatedAccountGroupMembershipsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<SearchRelatedAccountGroupMembershipsRequest,RecaptchaEnterpriseServiceClient.SearchRelatedAccountGroupMembershipsPagedResponse> searchRelatedAccountGroupMembershipsPagedCallable()
- Overrides:
searchRelatedAccountGroupMembershipsPagedCallablein classRecaptchaEnterpriseServiceStub
-
close
public final void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classRecaptchaEnterpriseServiceStub
-
shutdown
public void shutdown()
-
isShutdown
public boolean isShutdown()
-
isTerminated
public boolean isTerminated()
-
shutdownNow
public void shutdownNow()
-
awaitTermination
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException- Throws:
InterruptedException
-
-