Class PhishingProtectionServiceV1Beta1Grpc (0.84.0)

public final class PhishingProtectionServiceV1Beta1Grpc

Service to report phishing URIs.

Inheritance

java.lang.Object > PhishingProtectionServiceV1Beta1Grpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(PhishingProtectionServiceV1Beta1Grpc.AsyncService service)

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

getReportPhishingMethod()

public static MethodDescriptor<ReportPhishingRequest,ReportPhishingResponse> getReportPhishingMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ReportPhishingRequest,ReportPhishingResponse>

getServiceDescriptor()

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

newBlockingStub(Channel channel)

public static PhishingProtectionServiceV1Beta1Grpc.PhishingProtectionServiceV1Beta1BlockingStub 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
PhishingProtectionServiceV1Beta1Grpc.PhishingProtectionServiceV1Beta1BlockingStub

newFutureStub(Channel channel)

public static PhishingProtectionServiceV1Beta1Grpc.PhishingProtectionServiceV1Beta1FutureStub 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
PhishingProtectionServiceV1Beta1Grpc.PhishingProtectionServiceV1Beta1FutureStub

newStub(Channel channel)

public static PhishingProtectionServiceV1Beta1Grpc.PhishingProtectionServiceV1Beta1Stub 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
PhishingProtectionServiceV1Beta1Grpc.PhishingProtectionServiceV1Beta1Stub