Class TermsOfServiceServiceGrpc (0.2.0)

public final class TermsOfServiceServiceGrpc

Service to support TermsOfService API.

Inheritance

java.lang.Object > TermsOfServiceServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(TermsOfServiceServiceGrpc.AsyncService service)

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

getAcceptTermsOfServiceMethod()

public static MethodDescriptor<AcceptTermsOfServiceRequest,Empty> getAcceptTermsOfServiceMethod()
Returns
Type Description
io.grpc.MethodDescriptor<AcceptTermsOfServiceRequest,Empty>

getGetTermsOfServiceMethod()

public static MethodDescriptor<GetTermsOfServiceRequest,TermsOfService> getGetTermsOfServiceMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetTermsOfServiceRequest,TermsOfService>

getRetrieveLatestTermsOfServiceMethod()

public static MethodDescriptor<RetrieveLatestTermsOfServiceRequest,TermsOfService> getRetrieveLatestTermsOfServiceMethod()
Returns
Type Description
io.grpc.MethodDescriptor<RetrieveLatestTermsOfServiceRequest,TermsOfService>

getServiceDescriptor()

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

newBlockingStub(Channel channel)

public static TermsOfServiceServiceGrpc.TermsOfServiceServiceBlockingStub 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
TermsOfServiceServiceGrpc.TermsOfServiceServiceBlockingStub

newFutureStub(Channel channel)

public static TermsOfServiceServiceGrpc.TermsOfServiceServiceFutureStub 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
TermsOfServiceServiceGrpc.TermsOfServiceServiceFutureStub

newStub(Channel channel)

public static TermsOfServiceServiceGrpc.TermsOfServiceServiceStub 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
TermsOfServiceServiceGrpc.TermsOfServiceServiceStub