@Generated(value="by gapic-generator") @BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public class GrpcRecaptchaEnterpriseServiceV1Beta1Stub extends RecaptchaEnterpriseServiceV1Beta1Stub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
GrpcRecaptchaEnterpriseServiceV1Beta1Stub(RecaptchaEnterpriseServiceV1Beta1StubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcRecaptchaEnterpriseServiceV1Beta1Stub, using the given settings.
|
protected |
GrpcRecaptchaEnterpriseServiceV1Beta1Stub(RecaptchaEnterpriseServiceV1Beta1StubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcRecaptchaEnterpriseServiceV1Beta1Stub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.api.gax.rpc.UnaryCallable<AnnotateAssessmentRequest,AnnotateAssessmentResponse> |
annotateAssessmentCallable() |
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static GrpcRecaptchaEnterpriseServiceV1Beta1Stub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static GrpcRecaptchaEnterpriseServiceV1Beta1Stub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) |
static GrpcRecaptchaEnterpriseServiceV1Beta1Stub |
create(RecaptchaEnterpriseServiceV1Beta1StubSettings settings) |
com.google.api.gax.rpc.UnaryCallable<CreateAssessmentRequest,Assessment> |
createAssessmentCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
void |
shutdown() |
void |
shutdownNow() |
protected GrpcRecaptchaEnterpriseServiceV1Beta1Stub(RecaptchaEnterpriseServiceV1Beta1StubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected GrpcRecaptchaEnterpriseServiceV1Beta1Stub(RecaptchaEnterpriseServiceV1Beta1StubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final GrpcRecaptchaEnterpriseServiceV1Beta1Stub create(RecaptchaEnterpriseServiceV1Beta1StubSettings settings) throws IOException
IOExceptionpublic static final GrpcRecaptchaEnterpriseServiceV1Beta1Stub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final GrpcRecaptchaEnterpriseServiceV1Beta1Stub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic com.google.api.gax.rpc.UnaryCallable<CreateAssessmentRequest,Assessment> createAssessmentCallable()
createAssessmentCallable in class RecaptchaEnterpriseServiceV1Beta1Stubpublic com.google.api.gax.rpc.UnaryCallable<AnnotateAssessmentRequest,AnnotateAssessmentResponse> annotateAssessmentCallable()
annotateAssessmentCallable in class RecaptchaEnterpriseServiceV1Beta1Stubpublic final void close()
close in interface AutoCloseableclose in class RecaptchaEnterpriseServiceV1Beta1Stubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2019 Google LLC. All rights reserved.