Class WebhooksGrpc.WebhooksFutureStub (0.14.2)

public static final class WebhooksGrpc.WebhooksFutureStub extends AbstractFutureStub<WebhooksGrpc.WebhooksFutureStub>

Service for managing Webhooks.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > WebhooksGrpc.WebhooksFutureStub

Methods

build(Channel channel, CallOptions callOptions)

protected WebhooksGrpc.WebhooksFutureStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
WebhooksGrpc.WebhooksFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createWebhook(CreateWebhookRequest request)

public ListenableFuture<Webhook> createWebhook(CreateWebhookRequest request)

Creates a webhook in the specified agent.

Parameter
NameDescription
requestCreateWebhookRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Webhook>

deleteWebhook(DeleteWebhookRequest request)

public ListenableFuture<Empty> deleteWebhook(DeleteWebhookRequest request)

Deletes the specified webhook.

Parameter
NameDescription
requestDeleteWebhookRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Empty>

getWebhook(GetWebhookRequest request)

public ListenableFuture<Webhook> getWebhook(GetWebhookRequest request)

Retrieves the specified webhook.

Parameter
NameDescription
requestGetWebhookRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Webhook>

listWebhooks(ListWebhooksRequest request)

public ListenableFuture<ListWebhooksResponse> listWebhooks(ListWebhooksRequest request)

Returns the list of all webhooks in the specified agent.

Parameter
NameDescription
requestListWebhooksRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListWebhooksResponse>

updateWebhook(UpdateWebhookRequest request)

public ListenableFuture<Webhook> updateWebhook(UpdateWebhookRequest request)

Updates the specified webhook.

Parameter
NameDescription
requestUpdateWebhookRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Webhook>