Class EmailPreferencesServiceGrpc (0.4.0)

public final class EmailPreferencesServiceGrpc

Service to support the EmailPreferences API. This service only permits retrieving and updating email preferences for the authenticated user.

Inheritance

java.lang.Object > EmailPreferencesServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(EmailPreferencesServiceGrpc.AsyncService service)

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

getGetEmailPreferencesMethod()

public static MethodDescriptor<GetEmailPreferencesRequest,EmailPreferences> getGetEmailPreferencesMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetEmailPreferencesRequest,EmailPreferences>

getServiceDescriptor()

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

getUpdateEmailPreferencesMethod()

public static MethodDescriptor<UpdateEmailPreferencesRequest,EmailPreferences> getUpdateEmailPreferencesMethod()
Returns
Type Description
io.grpc.MethodDescriptor<UpdateEmailPreferencesRequest,EmailPreferences>

newBlockingStub(Channel channel)

public static EmailPreferencesServiceGrpc.EmailPreferencesServiceBlockingStub 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
EmailPreferencesServiceGrpc.EmailPreferencesServiceBlockingStub

newFutureStub(Channel channel)

public static EmailPreferencesServiceGrpc.EmailPreferencesServiceFutureStub 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
EmailPreferencesServiceGrpc.EmailPreferencesServiceFutureStub

newStub(Channel channel)

public static EmailPreferencesServiceGrpc.EmailPreferencesServiceStub 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
EmailPreferencesServiceGrpc.EmailPreferencesServiceStub