Class WebRiskServiceGrpc (2.52.0)

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
Type Description
String

Static Methods

bindService(WebRiskServiceGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(WebRiskServiceGrpc.AsyncService service)
Parameter
Name Description
service WebRiskServiceGrpc.AsyncService
Returns
Type Description
io.grpc.ServerServiceDefinition

getComputeThreatListDiffMethod()

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

getCreateSubmissionMethod()

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

getSearchHashesMethod()

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

getSearchUrisMethod()

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

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
Type Description
io.grpc.ServiceDescriptor

getSubmitUriMethod()

public static MethodDescriptor<SubmitUriRequest,Operation> getSubmitUriMethod()
Returns
Type Description
io.grpc.MethodDescriptor<SubmitUriRequest,Operation>

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
Name Description
channel io.grpc.Channel
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
WebRiskServiceGrpc.WebRiskServiceStub