Class WebhooksGrpc.WebhooksStub (0.25.0)

See more code actions.
public static final class WebhooksGrpc.WebhooksStub extends AbstractAsyncStub<WebhooksGrpc.WebhooksStub>

A stub to allow clients to do asynchronous rpc calls to service Webhooks.

Service for managing Webhooks.

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > WebhooksGrpc.WebhooksStub
io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withWaitForReady()

Methods

build(Channel channel, CallOptions callOptions)

protected WebhooksGrpc.WebhooksStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
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
Name Description
request CreateWebhookRequest
responseObserver io.grpc.stub.StreamObserver<Webhook>

deleteWebhook(DeleteWebhookRequest request, StreamObserver<Empty> responseObserver)

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

Deletes the specified webhook.

Parameters
Name Description
request DeleteWebhookRequest
responseObserver io.grpc.stub.StreamObserver<Empty>

getWebhook(GetWebhookRequest request, StreamObserver<Webhook> responseObserver)

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

Retrieves the specified webhook.

Parameters
Name Description
request GetWebhookRequest
responseObserver io.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
Name Description
request ListWebhooksRequest
responseObserver io.grpc.stub.StreamObserver<ListWebhooksResponse>

updateWebhook(UpdateWebhookRequest request, StreamObserver<Webhook> responseObserver)

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

Updates the specified webhook.

Parameters
Name Description
request UpdateWebhookRequest
responseObserver io.grpc.stub.StreamObserver<Webhook>