Class WebhooksGrpc (0.66.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
Type Description
String

Static Methods

bindService(WebhooksGrpc.AsyncService service)

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

getCreateWebhookMethod()

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

getDeleteWebhookMethod()

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

getGetWebhookMethod()

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

getListWebhooksMethod()

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

getServiceDescriptor()

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

getUpdateWebhookMethod()

public static MethodDescriptor<UpdateWebhookRequest,Webhook> getUpdateWebhookMethod()
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
WebhooksGrpc.WebhooksStub