Package com.google.webrisk.v1beta1
Class WebRiskServiceV1Beta1Grpc.WebRiskServiceV1Beta1BlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<WebRiskServiceV1Beta1Grpc.WebRiskServiceV1Beta1BlockingV2Stub>
com.google.webrisk.v1beta1.WebRiskServiceV1Beta1Grpc.WebRiskServiceV1Beta1BlockingV2Stub
- Enclosing class:
- WebRiskServiceV1Beta1Grpc
public static final class WebRiskServiceV1Beta1Grpc.WebRiskServiceV1Beta1BlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<WebRiskServiceV1Beta1Grpc.WebRiskServiceV1Beta1BlockingV2Stub>
A stub to allow clients to do synchronous rpc calls to service WebRiskServiceV1Beta1.
Web Risk v1beta1 API defines an interface to detect malicious URLs on your website and in client applications.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) Gets the most recent threat list diffs.searchHashes(SearchHashesRequest request) Gets the full hashes that match the requested hash prefix.searchUris(SearchUrisRequest request) This method is used to check whether a URI is on a given threatList.Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected WebRiskServiceV1Beta1Grpc.WebRiskServiceV1Beta1BlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<WebRiskServiceV1Beta1Grpc.WebRiskServiceV1Beta1BlockingV2Stub>
-
computeThreatListDiff
public ComputeThreatListDiffResponse computeThreatListDiff(ComputeThreatListDiffRequest request) throws io.grpc.StatusException Gets the most recent threat list diffs.
- Throws:
io.grpc.StatusException
-
searchUris
This method is used to check whether a URI is on a given threatList.
- Throws:
io.grpc.StatusException
-
searchHashes
public SearchHashesResponse searchHashes(SearchHashesRequest request) throws io.grpc.StatusException Gets the full hashes that match the requested hash prefix. This is used after a hash prefix is looked up in a threatList and there is a match. The client side threatList only holds partial hashes so the client must query this method to determine if there is a full hash match of a threat.
- Throws:
io.grpc.StatusException
-