Class WebhooksGrpc.WebhooksStub (0.14.2)

public static final class WebhooksGrpc.WebhooksStub extends AbstractAsyncStub<WebhooksGrpc.WebhooksStub>

Service for managing Webhooks.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > WebhooksGrpc.WebhooksStub

Methods

build(Channel channel, CallOptions callOptions)

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

createWebhook(CreateWebhookRequest request, StreamObserver<Webhook> responseObserver)

public void createWebhook(CreateWebhookRequest request, StreamObserver<Webhook> responseObserver)

Creates a webhook in the specified agent.

Parameters
NameDescription
requestCreateWebhookRequest
responseObserverio.grpc.stub.StreamObserver<Webhook>

deleteWebhook(DeleteWebhookRequest request, StreamObserver<Empty> responseObserver)

public void deleteWebhook(DeleteWebhookRequest request, StreamObserver<Empty> responseObserver)

Deletes the specified webhook.

Parameters
NameDescription
requestDeleteWebhookRequest
responseObserverio.grpc.stub.StreamObserver<Empty>

getWebhook(GetWebhookRequest request, StreamObserver<Webhook> responseObserver)

public void getWebhook(GetWebhookRequest request, StreamObserver<Webhook> responseObserver)

Retrieves the specified webhook.

Parameters
NameDescription
requestGetWebhookRequest
responseObserverio.grpc.stub.StreamObserver<Webhook>

listWebhooks(ListWebhooksRequest request, StreamObserver<ListWebhooksResponse> responseObserver)

public void listWebhooks(ListWebhooksRequest request, StreamObserver<ListWebhooksResponse> responseObserver)

Returns the list of all webhooks in the specified agent.

Parameters
NameDescription
requestListWebhooksRequest
responseObserverio.grpc.stub.StreamObserver<ListWebhooksResponse>

updateWebhook(UpdateWebhookRequest request, StreamObserver<Webhook> responseObserver)

public void updateWebhook(UpdateWebhookRequest request, StreamObserver<Webhook> responseObserver)

Updates the specified webhook.

Parameters
NameDescription
requestUpdateWebhookRequest
responseObserverio.grpc.stub.StreamObserver<Webhook>