Class NotificationsApiServiceGrpc (0.3.0)

public final class NotificationsApiServiceGrpc

Service to manage notification subscriptions for merchants

Inheritance

java.lang.Object > NotificationsApiServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(NotificationsApiServiceGrpc.AsyncService service)

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

getCreateNotificationSubscriptionMethod()

public static MethodDescriptor<CreateNotificationSubscriptionRequest,NotificationSubscription> getCreateNotificationSubscriptionMethod()
Returns
Type Description
io.grpc.MethodDescriptor<CreateNotificationSubscriptionRequest,NotificationSubscription>

getDeleteNotificationSubscriptionMethod()

public static MethodDescriptor<DeleteNotificationSubscriptionRequest,Empty> getDeleteNotificationSubscriptionMethod()
Returns
Type Description
io.grpc.MethodDescriptor<DeleteNotificationSubscriptionRequest,Empty>

getGetNotificationSubscriptionMethod()

public static MethodDescriptor<GetNotificationSubscriptionRequest,NotificationSubscription> getGetNotificationSubscriptionMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetNotificationSubscriptionRequest,NotificationSubscription>

getListNotificationSubscriptionsMethod()

public static MethodDescriptor<ListNotificationSubscriptionsRequest,ListNotificationSubscriptionsResponse> getListNotificationSubscriptionsMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListNotificationSubscriptionsRequest,ListNotificationSubscriptionsResponse>

getServiceDescriptor()

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

getUpdateNotificationSubscriptionMethod()

public static MethodDescriptor<UpdateNotificationSubscriptionRequest,NotificationSubscription> getUpdateNotificationSubscriptionMethod()
Returns
Type Description
io.grpc.MethodDescriptor<UpdateNotificationSubscriptionRequest,NotificationSubscription>

newBlockingStub(Channel channel)

public static NotificationsApiServiceGrpc.NotificationsApiServiceBlockingStub 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
NotificationsApiServiceGrpc.NotificationsApiServiceBlockingStub

newFutureStub(Channel channel)

public static NotificationsApiServiceGrpc.NotificationsApiServiceFutureStub 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
NotificationsApiServiceGrpc.NotificationsApiServiceFutureStub

newStub(Channel channel)

public static NotificationsApiServiceGrpc.NotificationsApiServiceStub 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
NotificationsApiServiceGrpc.NotificationsApiServiceStub