Class SubscriptionsServiceGrpc (0.17.0)

public final class SubscriptionsServiceGrpc

A service that manages subscriptions to Google Workspace events.

Inheritance

java.lang.Object > SubscriptionsServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(SubscriptionsServiceGrpc.AsyncService service)

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

getCreateSubscriptionMethod()

public static MethodDescriptor<CreateSubscriptionRequest,Operation> getCreateSubscriptionMethod()
Returns
Type Description
io.grpc.MethodDescriptor<CreateSubscriptionRequest,Operation>

getDeleteSubscriptionMethod()

public static MethodDescriptor<DeleteSubscriptionRequest,Operation> getDeleteSubscriptionMethod()
Returns
Type Description
io.grpc.MethodDescriptor<DeleteSubscriptionRequest,Operation>

getGetSubscriptionMethod()

public static MethodDescriptor<GetSubscriptionRequest,Subscription> getGetSubscriptionMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetSubscriptionRequest,Subscription>

getListSubscriptionsMethod()

public static MethodDescriptor<ListSubscriptionsRequest,ListSubscriptionsResponse> getListSubscriptionsMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListSubscriptionsRequest,ListSubscriptionsResponse>

getReactivateSubscriptionMethod()

public static MethodDescriptor<ReactivateSubscriptionRequest,Operation> getReactivateSubscriptionMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ReactivateSubscriptionRequest,Operation>

getServiceDescriptor()

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

getUpdateSubscriptionMethod()

public static MethodDescriptor<UpdateSubscriptionRequest,Operation> getUpdateSubscriptionMethod()
Returns
Type Description
io.grpc.MethodDescriptor<UpdateSubscriptionRequest,Operation>

newBlockingStub(Channel channel)

public static SubscriptionsServiceGrpc.SubscriptionsServiceBlockingStub 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
SubscriptionsServiceGrpc.SubscriptionsServiceBlockingStub

newFutureStub(Channel channel)

public static SubscriptionsServiceGrpc.SubscriptionsServiceFutureStub 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
SubscriptionsServiceGrpc.SubscriptionsServiceFutureStub

newStub(Channel channel)

public static SubscriptionsServiceGrpc.SubscriptionsServiceStub 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
SubscriptionsServiceGrpc.SubscriptionsServiceStub