Package com.google.webrisk.v1beta1
Class WebRiskServiceV1Beta1Grpc.WebRiskServiceV1Beta1FutureStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractFutureStub<WebRiskServiceV1Beta1Grpc.WebRiskServiceV1Beta1FutureStub>
-
- com.google.webrisk.v1beta1.WebRiskServiceV1Beta1Grpc.WebRiskServiceV1Beta1FutureStub
-
- Enclosing class:
- WebRiskServiceV1Beta1Grpc
public static final class WebRiskServiceV1Beta1Grpc.WebRiskServiceV1Beta1FutureStub extends io.grpc.stub.AbstractFutureStub<WebRiskServiceV1Beta1Grpc.WebRiskServiceV1Beta1FutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service WebRiskServiceV1Beta1.Web Risk v1beta1 API defines an interface to detect malicious URLs on your website and in client applications.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected WebRiskServiceV1Beta1Grpc.WebRiskServiceV1Beta1FutureStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
com.google.common.util.concurrent.ListenableFuture<ComputeThreatListDiffResponse>
computeThreatListDiff(ComputeThreatListDiffRequest request)
Gets the most recent threat list diffs.com.google.common.util.concurrent.ListenableFuture<SearchHashesResponse>
searchHashes(SearchHashesRequest request)
Gets the full hashes that match the requested hash prefix.com.google.common.util.concurrent.ListenableFuture<SearchUrisResponse>
searchUris(SearchUrisRequest request)
This method is used to check whether a URI is on a given threatList.
-
-
-
Method Detail
-
build
protected WebRiskServiceV1Beta1Grpc.WebRiskServiceV1Beta1FutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<WebRiskServiceV1Beta1Grpc.WebRiskServiceV1Beta1FutureStub>
-
computeThreatListDiff
public com.google.common.util.concurrent.ListenableFuture<ComputeThreatListDiffResponse> computeThreatListDiff(ComputeThreatListDiffRequest request)
Gets the most recent threat list diffs.
-
searchUris
public com.google.common.util.concurrent.ListenableFuture<SearchUrisResponse> searchUris(SearchUrisRequest request)
This method is used to check whether a URI is on a given threatList.
-
searchHashes
public com.google.common.util.concurrent.ListenableFuture<SearchHashesResponse> searchHashes(SearchHashesRequest request)
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.
-
-