@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,
ClientContext clientContext)
Constructs an instance of GrpcWebRiskServiceV1Beta1Stub, using the given settings.
|
protected |
GrpcWebRiskServiceV1Beta1Stub(WebRiskServiceV1Beta1StubSettings settings,
ClientContext clientContext,
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() |
UnaryCallable<com.google.webrisk.v1beta1.ComputeThreatListDiffRequest,com.google.webrisk.v1beta1.ComputeThreatListDiffResponse> |
computeThreatListDiffCallable() |
static GrpcWebRiskServiceV1Beta1Stub |
create(ClientContext clientContext) |
static GrpcWebRiskServiceV1Beta1Stub |
create(ClientContext clientContext,
GrpcStubCallableFactory callableFactory) |
static GrpcWebRiskServiceV1Beta1Stub |
create(WebRiskServiceV1Beta1StubSettings settings) |
boolean |
isShutdown() |
boolean |
isTerminated() |
UnaryCallable<com.google.webrisk.v1beta1.SearchHashesRequest,com.google.webrisk.v1beta1.SearchHashesResponse> |
searchHashesCallable() |
UnaryCallable<com.google.webrisk.v1beta1.SearchUrisRequest,com.google.webrisk.v1beta1.SearchUrisResponse> |
searchUrisCallable() |
void |
shutdown() |
void |
shutdownNow() |
protected GrpcWebRiskServiceV1Beta1Stub(WebRiskServiceV1Beta1StubSettings settings, ClientContext clientContext) throws IOException
IOException
protected GrpcWebRiskServiceV1Beta1Stub(WebRiskServiceV1Beta1StubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public static final GrpcWebRiskServiceV1Beta1Stub create(WebRiskServiceV1Beta1StubSettings settings) throws IOException
IOException
public static final GrpcWebRiskServiceV1Beta1Stub create(ClientContext clientContext) throws IOException
IOException
public static final GrpcWebRiskServiceV1Beta1Stub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public UnaryCallable<com.google.webrisk.v1beta1.ComputeThreatListDiffRequest,com.google.webrisk.v1beta1.ComputeThreatListDiffResponse> computeThreatListDiffCallable()
computeThreatListDiffCallable
in class WebRiskServiceV1Beta1Stub
public UnaryCallable<com.google.webrisk.v1beta1.SearchUrisRequest,com.google.webrisk.v1beta1.SearchUrisResponse> searchUrisCallable()
searchUrisCallable
in class WebRiskServiceV1Beta1Stub
public UnaryCallable<com.google.webrisk.v1beta1.SearchHashesRequest,com.google.webrisk.v1beta1.SearchHashesResponse> searchHashesCallable()
searchHashesCallable
in class WebRiskServiceV1Beta1Stub
public final void close()
close
in interface AutoCloseable
close
in class WebRiskServiceV1Beta1Stub
public void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
InterruptedException
Copyright © 2019 Google LLC. All rights reserved.