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)
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcWebRiskServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
create(WebRiskServiceStubSettings settings)
public static final GrpcWebRiskServiceStub create(WebRiskServiceStubSettings settings)
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.
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.
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
close()
public final void close()
Overrides
computeThreatListDiffCallable()
public UnaryCallable<ComputeThreatListDiffRequest,ComputeThreatListDiffResponse> computeThreatListDiffCallable()
Overrides
createSubmissionCallable()
public UnaryCallable<CreateSubmissionRequest,Submission> createSubmissionCallable()
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
searchHashesCallable()
public UnaryCallable<SearchHashesRequest,SearchHashesResponse> searchHashesCallable()
Overrides
searchUrisCallable()
public UnaryCallable<SearchUrisRequest,SearchUrisResponse> searchUrisCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
submitUriCallable()
public UnaryCallable<SubmitUriRequest,Operation> submitUriCallable()
Overrides
submitUriOperationCallable()
public OperationCallable<SubmitUriRequest,Submission,SubmitUriMetadata> submitUriOperationCallable()
Overrides