@Generated(value="by gapic-generator-java") public class GrpcRecaptchaEnterpriseServiceStub extends RecaptchaEnterpriseServiceStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
com.google.api.gax.rpc.UnaryCallable<AnnotateAssessmentRequest,AnnotateAssessmentResponse> |
annotateAssessmentCallable() |
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static GrpcRecaptchaEnterpriseServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static GrpcRecaptchaEnterpriseServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) |
static GrpcRecaptchaEnterpriseServiceStub |
create(RecaptchaEnterpriseServiceStubSettings settings) |
com.google.api.gax.rpc.UnaryCallable<CreateAssessmentRequest,Assessment> |
createAssessmentCallable() |
com.google.api.gax.rpc.UnaryCallable<CreateKeyRequest,Key> |
createKeyCallable() |
com.google.api.gax.rpc.UnaryCallable<DeleteKeyRequest,com.google.protobuf.Empty> |
deleteKeyCallable() |
com.google.api.gax.rpc.UnaryCallable<GetKeyRequest,Key> |
getKeyCallable() |
com.google.longrunning.stub.GrpcOperationsStub |
getOperationsStub() |
boolean |
isShutdown() |
boolean |
isTerminated() |
com.google.api.gax.rpc.UnaryCallable<ListKeysRequest,ListKeysResponse> |
listKeysCallable() |
com.google.api.gax.rpc.UnaryCallable<ListKeysRequest,RecaptchaEnterpriseServiceClient.ListKeysPagedResponse> |
listKeysPagedCallable() |
void |
shutdown() |
void |
shutdownNow() |
com.google.api.gax.rpc.UnaryCallable<UpdateKeyRequest,Key> |
updateKeyCallable() |
protected GrpcRecaptchaEnterpriseServiceStub(RecaptchaEnterpriseServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
protected GrpcRecaptchaEnterpriseServiceStub(RecaptchaEnterpriseServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOException
public static final GrpcRecaptchaEnterpriseServiceStub create(RecaptchaEnterpriseServiceStubSettings settings) throws IOException
IOException
public static final GrpcRecaptchaEnterpriseServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
public static final GrpcRecaptchaEnterpriseServiceStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOException
public com.google.longrunning.stub.GrpcOperationsStub getOperationsStub()
public com.google.api.gax.rpc.UnaryCallable<CreateAssessmentRequest,Assessment> createAssessmentCallable()
createAssessmentCallable
in class RecaptchaEnterpriseServiceStub
public com.google.api.gax.rpc.UnaryCallable<AnnotateAssessmentRequest,AnnotateAssessmentResponse> annotateAssessmentCallable()
annotateAssessmentCallable
in class RecaptchaEnterpriseServiceStub
public com.google.api.gax.rpc.UnaryCallable<CreateKeyRequest,Key> createKeyCallable()
createKeyCallable
in class RecaptchaEnterpriseServiceStub
public com.google.api.gax.rpc.UnaryCallable<ListKeysRequest,ListKeysResponse> listKeysCallable()
listKeysCallable
in class RecaptchaEnterpriseServiceStub
public com.google.api.gax.rpc.UnaryCallable<ListKeysRequest,RecaptchaEnterpriseServiceClient.ListKeysPagedResponse> listKeysPagedCallable()
listKeysPagedCallable
in class RecaptchaEnterpriseServiceStub
public com.google.api.gax.rpc.UnaryCallable<GetKeyRequest,Key> getKeyCallable()
getKeyCallable
in class RecaptchaEnterpriseServiceStub
public com.google.api.gax.rpc.UnaryCallable<UpdateKeyRequest,Key> updateKeyCallable()
updateKeyCallable
in class RecaptchaEnterpriseServiceStub
public com.google.api.gax.rpc.UnaryCallable<DeleteKeyRequest,com.google.protobuf.Empty> deleteKeyCallable()
deleteKeyCallable
in class RecaptchaEnterpriseServiceStub
public final void close()
close
in interface AutoCloseable
close
in class RecaptchaEnterpriseServiceStub
public void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
InterruptedException
Copyright © 2021 Google LLC. All rights reserved.