Class WebhooksGrpc.WebhooksFutureStub (0.51.0)

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

A stub to allow clients to do ListenableFuture-style rpc calls to service Webhooks.

Service for managing Webhooks.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > WebhooksGrpc.WebhooksFutureStub
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractFutureStub.<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.WebhooksFutureStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
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
Name Description
request CreateWebhookRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Webhook>

deleteWebhook(DeleteWebhookRequest request)

public ListenableFuture<Empty> deleteWebhook(DeleteWebhookRequest request)

Deletes the specified webhook.

Parameter
Name Description
request DeleteWebhookRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Empty>

getWebhook(GetWebhookRequest request)

public ListenableFuture<Webhook> getWebhook(GetWebhookRequest request)

Retrieves the specified webhook.

Parameter
Name Description
request GetWebhookRequest
Returns
Type Description
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
Name Description
request ListWebhooksRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListWebhooksResponse>

updateWebhook(UpdateWebhookRequest request)

public ListenableFuture<Webhook> updateWebhook(UpdateWebhookRequest request)

Updates the specified webhook.

Parameter
Name Description
request UpdateWebhookRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Webhook>