Class WebhooksGrpc.WebhooksBlockingStub (0.25.0)

See more code actions.
public static final class WebhooksGrpc.WebhooksBlockingStub extends AbstractBlockingStub<WebhooksGrpc.WebhooksBlockingStub>

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

Service for managing Webhooks.

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > WebhooksGrpc.WebhooksBlockingStub
io.grpc.stub.AbstractBlockingStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractBlockingStub.<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.WebhooksBlockingStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
WebhooksGrpc.WebhooksBlockingStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createWebhook(CreateWebhookRequest request)

public Webhook createWebhook(CreateWebhookRequest request)

Creates a webhook in the specified agent.

Parameter
Name Description
request CreateWebhookRequest
Returns
Type Description
Webhook

deleteWebhook(DeleteWebhookRequest request)

public Empty deleteWebhook(DeleteWebhookRequest request)

Deletes the specified webhook.

Parameter
Name Description
request DeleteWebhookRequest
Returns
Type Description
Empty

getWebhook(GetWebhookRequest request)

public Webhook getWebhook(GetWebhookRequest request)

Retrieves the specified webhook.

Parameter
Name Description
request GetWebhookRequest
Returns
Type Description
Webhook

listWebhooks(ListWebhooksRequest request)

public ListWebhooksResponse listWebhooks(ListWebhooksRequest request)

Returns the list of all webhooks in the specified agent.

Parameter
Name Description
request ListWebhooksRequest
Returns
Type Description
ListWebhooksResponse

updateWebhook(UpdateWebhookRequest request)

public Webhook updateWebhook(UpdateWebhookRequest request)

Updates the specified webhook.

Parameter
Name Description
request UpdateWebhookRequest
Returns
Type Description
Webhook