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 protected
GrpcRecaptchaEnterpriseServiceStub(RecaptchaEnterpriseServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcRecaptchaEnterpriseServiceStub, using the given settings.protected
GrpcRecaptchaEnterpriseServiceStub(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:
createAssessmentCallable
in classRecaptchaEnterpriseServiceStub
-
annotateAssessmentCallable
public com.google.api.gax.rpc.UnaryCallable<AnnotateAssessmentRequest,AnnotateAssessmentResponse> annotateAssessmentCallable()
- Overrides:
annotateAssessmentCallable
in classRecaptchaEnterpriseServiceStub
-
createKeyCallable
public com.google.api.gax.rpc.UnaryCallable<CreateKeyRequest,Key> createKeyCallable()
- Overrides:
createKeyCallable
in classRecaptchaEnterpriseServiceStub
-
listKeysCallable
public com.google.api.gax.rpc.UnaryCallable<ListKeysRequest,ListKeysResponse> listKeysCallable()
- Overrides:
listKeysCallable
in classRecaptchaEnterpriseServiceStub
-
listKeysPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListKeysRequest,RecaptchaEnterpriseServiceClient.ListKeysPagedResponse> listKeysPagedCallable()
- Overrides:
listKeysPagedCallable
in classRecaptchaEnterpriseServiceStub
-
retrieveLegacySecretKeyCallable
public com.google.api.gax.rpc.UnaryCallable<RetrieveLegacySecretKeyRequest,RetrieveLegacySecretKeyResponse> retrieveLegacySecretKeyCallable()
- Overrides:
retrieveLegacySecretKeyCallable
in classRecaptchaEnterpriseServiceStub
-
getKeyCallable
public com.google.api.gax.rpc.UnaryCallable<GetKeyRequest,Key> getKeyCallable()
- Overrides:
getKeyCallable
in classRecaptchaEnterpriseServiceStub
-
updateKeyCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateKeyRequest,Key> updateKeyCallable()
- Overrides:
updateKeyCallable
in classRecaptchaEnterpriseServiceStub
-
deleteKeyCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteKeyRequest,com.google.protobuf.Empty> deleteKeyCallable()
- Overrides:
deleteKeyCallable
in classRecaptchaEnterpriseServiceStub
-
migrateKeyCallable
public com.google.api.gax.rpc.UnaryCallable<MigrateKeyRequest,Key> migrateKeyCallable()
- Overrides:
migrateKeyCallable
in classRecaptchaEnterpriseServiceStub
-
getMetricsCallable
public com.google.api.gax.rpc.UnaryCallable<GetMetricsRequest,Metrics> getMetricsCallable()
- Overrides:
getMetricsCallable
in classRecaptchaEnterpriseServiceStub
-
listRelatedAccountGroupsCallable
public com.google.api.gax.rpc.UnaryCallable<ListRelatedAccountGroupsRequest,ListRelatedAccountGroupsResponse> listRelatedAccountGroupsCallable()
- Overrides:
listRelatedAccountGroupsCallable
in classRecaptchaEnterpriseServiceStub
-
listRelatedAccountGroupsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListRelatedAccountGroupsRequest,RecaptchaEnterpriseServiceClient.ListRelatedAccountGroupsPagedResponse> listRelatedAccountGroupsPagedCallable()
- Overrides:
listRelatedAccountGroupsPagedCallable
in classRecaptchaEnterpriseServiceStub
-
listRelatedAccountGroupMembershipsCallable
public com.google.api.gax.rpc.UnaryCallable<ListRelatedAccountGroupMembershipsRequest,ListRelatedAccountGroupMembershipsResponse> listRelatedAccountGroupMembershipsCallable()
- Overrides:
listRelatedAccountGroupMembershipsCallable
in classRecaptchaEnterpriseServiceStub
-
listRelatedAccountGroupMembershipsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListRelatedAccountGroupMembershipsRequest,RecaptchaEnterpriseServiceClient.ListRelatedAccountGroupMembershipsPagedResponse> listRelatedAccountGroupMembershipsPagedCallable()
- Overrides:
listRelatedAccountGroupMembershipsPagedCallable
in classRecaptchaEnterpriseServiceStub
-
searchRelatedAccountGroupMembershipsCallable
public com.google.api.gax.rpc.UnaryCallable<SearchRelatedAccountGroupMembershipsRequest,SearchRelatedAccountGroupMembershipsResponse> searchRelatedAccountGroupMembershipsCallable()
- Overrides:
searchRelatedAccountGroupMembershipsCallable
in classRecaptchaEnterpriseServiceStub
-
searchRelatedAccountGroupMembershipsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<SearchRelatedAccountGroupMembershipsRequest,RecaptchaEnterpriseServiceClient.SearchRelatedAccountGroupMembershipsPagedResponse> searchRelatedAccountGroupMembershipsPagedCallable()
- Overrides:
searchRelatedAccountGroupMembershipsPagedCallable
in classRecaptchaEnterpriseServiceStub
-
close
public final void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in 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
-
-