public class GrpcWebRiskServiceStub extends WebRiskServiceStub
gRPC stub implementation for the WebRiskService service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final GrpcWebRiskServiceStub create(ClientContext clientContext)
Parameter
Returns
Exceptions
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcWebRiskServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(WebRiskServiceStubSettings settings)
public static final GrpcWebRiskServiceStub create(WebRiskServiceStubSettings settings)
Parameter
Returns
Exceptions
Constructors
GrpcWebRiskServiceStub(WebRiskServiceStubSettings settings, ClientContext clientContext)
protected GrpcWebRiskServiceStub(WebRiskServiceStubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcWebRiskServiceStub, 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.
Parameters
GrpcWebRiskServiceStub(WebRiskServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcWebRiskServiceStub(WebRiskServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcWebRiskServiceStub, 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.
Parameters
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
close()
public final void close()
Overrides
computeThreatListDiffCallable()
public UnaryCallable<ComputeThreatListDiffRequest,ComputeThreatListDiffResponse> computeThreatListDiffCallable()
Returns
Overrides
createSubmissionCallable()
public UnaryCallable<CreateSubmissionRequest,Submission> createSubmissionCallable()
Returns
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Returns
isShutdown()
public boolean isShutdown()
Returns
isTerminated()
public boolean isTerminated()
Returns
searchHashesCallable()
public UnaryCallable<SearchHashesRequest,SearchHashesResponse> searchHashesCallable()
Returns
Overrides
searchUrisCallable()
public UnaryCallable<SearchUrisRequest,SearchUrisResponse> searchUrisCallable()
Returns
Overrides
shutdown()
shutdownNow()
public void shutdownNow()