Class WebhooksGrpc (0.52.0)

public final class WebhooksGrpc

Service for managing Webhooks.

Inheritance

java.lang.Object > WebhooksGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
TypeDescription
String

Static Methods

bindService(WebhooksGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(WebhooksGrpc.AsyncService service)
Parameter
NameDescription
serviceWebhooksGrpc.AsyncService
Returns
TypeDescription
io.grpc.ServerServiceDefinition

getCreateWebhookMethod()

public static MethodDescriptor<CreateWebhookRequest,Webhook> getCreateWebhookMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<CreateWebhookRequest,Webhook>

getDeleteWebhookMethod()

public static MethodDescriptor<DeleteWebhookRequest,Empty> getDeleteWebhookMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<DeleteWebhookRequest,Empty>

getGetWebhookMethod()

public static MethodDescriptor<GetWebhookRequest,Webhook> getGetWebhookMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetWebhookRequest,Webhook>

getListWebhooksMethod()

public static MethodDescriptor<ListWebhooksRequest,ListWebhooksResponse> getListWebhooksMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ListWebhooksRequest,ListWebhooksResponse>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
TypeDescription
io.grpc.ServiceDescriptor

getUpdateWebhookMethod()

public static MethodDescriptor<UpdateWebhookRequest,Webhook> getUpdateWebhookMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<UpdateWebhookRequest,Webhook>

newBlockingStub(Channel channel)

public static WebhooksGrpc.WebhooksBlockingStub newBlockingStub(Channel channel)

Creates a new blocking-style stub that supports unary and streaming output calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
WebhooksGrpc.WebhooksBlockingStub

newFutureStub(Channel channel)

public static WebhooksGrpc.WebhooksFutureStub newFutureStub(Channel channel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
WebhooksGrpc.WebhooksFutureStub

newStub(Channel channel)

public static WebhooksGrpc.WebhooksStub newStub(Channel channel)

Creates a new async stub that supports all call types for the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
WebhooksGrpc.WebhooksStub