Class WebRiskServiceGrpc (2.0.11)

public final class WebRiskServiceGrpc

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

Inheritance

java.lang.Object > WebRiskServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
TypeDescription
String

Static Methods

getComputeThreatListDiffMethod()

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

getCreateSubmissionMethod()

public static MethodDescriptor<CreateSubmissionRequest,Submission> getCreateSubmissionMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<CreateSubmissionRequest,Submission>

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 WebRiskServiceGrpc.WebRiskServiceBlockingStub 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
WebRiskServiceGrpc.WebRiskServiceBlockingStub

newFutureStub(Channel channel)

public static WebRiskServiceGrpc.WebRiskServiceFutureStub newFutureStub(Channel channel)

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

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
WebRiskServiceGrpc.WebRiskServiceFutureStub

newStub(Channel channel)

public static WebRiskServiceGrpc.WebRiskServiceStub newStub(Channel channel)

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

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
WebRiskServiceGrpc.WebRiskServiceStub