Class WebRiskServiceV1Beta1Grpc (2.27.0)

public final class WebRiskServiceV1Beta1Grpc

Web Risk v1beta1 API defines an interface to detect malicious URLs on your website and in client applications.

Inheritance

java.lang.Object > WebRiskServiceV1Beta1Grpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
TypeDescription
String

Static Methods

bindService(WebRiskServiceV1Beta1Grpc.AsyncService service)

public static final ServerServiceDefinition bindService(WebRiskServiceV1Beta1Grpc.AsyncService service)
Parameter
NameDescription
serviceWebRiskServiceV1Beta1Grpc.AsyncService
Returns
TypeDescription
io.grpc.ServerServiceDefinition

getComputeThreatListDiffMethod()

public static MethodDescriptor<ComputeThreatListDiffRequest,ComputeThreatListDiffResponse> getComputeThreatListDiffMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ComputeThreatListDiffRequest,ComputeThreatListDiffResponse>

getSearchHashesMethod()

public static MethodDescriptor<SearchHashesRequest,SearchHashesResponse> getSearchHashesMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<SearchHashesRequest,SearchHashesResponse>

getSearchUrisMethod()

public static MethodDescriptor<SearchUrisRequest,SearchUrisResponse> getSearchUrisMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<SearchUrisRequest,SearchUrisResponse>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
TypeDescription
io.grpc.ServiceDescriptor

newBlockingStub(Channel channel)

public static WebRiskServiceV1Beta1Grpc.WebRiskServiceV1Beta1BlockingStub newBlockingStub(Channel channel)

Creates a new blocking-style stub that supports unary and streaming output calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
WebRiskServiceV1Beta1Grpc.WebRiskServiceV1Beta1BlockingStub

newFutureStub(Channel channel)

public static WebRiskServiceV1Beta1Grpc.WebRiskServiceV1Beta1FutureStub newFutureStub(Channel channel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
WebRiskServiceV1Beta1Grpc.WebRiskServiceV1Beta1FutureStub

newStub(Channel channel)

public static WebRiskServiceV1Beta1Grpc.WebRiskServiceV1Beta1Stub newStub(Channel channel)

Creates a new async stub that supports all call types for the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
WebRiskServiceV1Beta1Grpc.WebRiskServiceV1Beta1Stub