@Generated(value="by gapic-generator") @BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public class GrpcWebRiskServiceV1Beta1Stub extends WebRiskServiceV1Beta1Stub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
GrpcWebRiskServiceV1Beta1Stub(WebRiskServiceV1Beta1StubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcWebRiskServiceV1Beta1Stub, using the given settings.
|
protected |
GrpcWebRiskServiceV1Beta1Stub(WebRiskServiceV1Beta1StubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcWebRiskServiceV1Beta1Stub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
com.google.api.gax.rpc.UnaryCallable<ComputeThreatListDiffRequest,ComputeThreatListDiffResponse> |
computeThreatListDiffCallable() |
static GrpcWebRiskServiceV1Beta1Stub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static GrpcWebRiskServiceV1Beta1Stub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) |
static GrpcWebRiskServiceV1Beta1Stub |
create(WebRiskServiceV1Beta1StubSettings settings) |
boolean |
isShutdown() |
boolean |
isTerminated() |
com.google.api.gax.rpc.UnaryCallable<SearchHashesRequest,SearchHashesResponse> |
searchHashesCallable() |
com.google.api.gax.rpc.UnaryCallable<SearchUrisRequest,SearchUrisResponse> |
searchUrisCallable() |
void |
shutdown() |
void |
shutdownNow() |
protected GrpcWebRiskServiceV1Beta1Stub(WebRiskServiceV1Beta1StubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected GrpcWebRiskServiceV1Beta1Stub(WebRiskServiceV1Beta1StubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final GrpcWebRiskServiceV1Beta1Stub create(WebRiskServiceV1Beta1StubSettings settings) throws IOException
IOExceptionpublic static final GrpcWebRiskServiceV1Beta1Stub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final GrpcWebRiskServiceV1Beta1Stub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic com.google.api.gax.rpc.UnaryCallable<ComputeThreatListDiffRequest,ComputeThreatListDiffResponse> computeThreatListDiffCallable()
computeThreatListDiffCallable in class WebRiskServiceV1Beta1Stubpublic com.google.api.gax.rpc.UnaryCallable<SearchUrisRequest,SearchUrisResponse> searchUrisCallable()
searchUrisCallable in class WebRiskServiceV1Beta1Stubpublic com.google.api.gax.rpc.UnaryCallable<SearchHashesRequest,SearchHashesResponse> searchHashesCallable()
searchHashesCallable in class WebRiskServiceV1Beta1Stubpublic final void close()
close in interface AutoCloseableclose in class WebRiskServiceV1Beta1Stubpublic 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.