Class WebhooksGrpc.WebhooksFutureStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractFutureStub<WebhooksGrpc.WebhooksFutureStub>
-
- com.google.cloud.dialogflow.cx.v3beta1.WebhooksGrpc.WebhooksFutureStub
-
- Enclosing class:
- WebhooksGrpc
public static final class WebhooksGrpc.WebhooksFutureStub extends io.grpc.stub.AbstractFutureStub<WebhooksGrpc.WebhooksFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service Webhooks.Service for managing [Webhooks][google.cloud.dialogflow.cx.v3beta1.Webhook].
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected WebhooksGrpc.WebhooksFutureStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
com.google.common.util.concurrent.ListenableFuture<Webhook>
createWebhook(CreateWebhookRequest request)
Creates a webhook in the specified agent.com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>
deleteWebhook(DeleteWebhookRequest request)
Deletes the specified webhook.com.google.common.util.concurrent.ListenableFuture<Webhook>
getWebhook(GetWebhookRequest request)
Retrieves the specified webhook.com.google.common.util.concurrent.ListenableFuture<ListWebhooksResponse>
listWebhooks(ListWebhooksRequest request)
Returns the list of all webhooks in the specified agent.com.google.common.util.concurrent.ListenableFuture<Webhook>
updateWebhook(UpdateWebhookRequest request)
Updates the specified webhook.
-
-
-
Method Detail
-
build
protected WebhooksGrpc.WebhooksFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<WebhooksGrpc.WebhooksFutureStub>
-
listWebhooks
public com.google.common.util.concurrent.ListenableFuture<ListWebhooksResponse> listWebhooks(ListWebhooksRequest request)
Returns the list of all webhooks in the specified agent.
-
getWebhook
public com.google.common.util.concurrent.ListenableFuture<Webhook> getWebhook(GetWebhookRequest request)
Retrieves the specified webhook.
-
createWebhook
public com.google.common.util.concurrent.ListenableFuture<Webhook> createWebhook(CreateWebhookRequest request)
Creates a webhook in the specified agent.
-
updateWebhook
public com.google.common.util.concurrent.ListenableFuture<Webhook> updateWebhook(UpdateWebhookRequest request)
Updates the specified webhook.
-
deleteWebhook
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteWebhook(DeleteWebhookRequest request)
Deletes the specified webhook.
-
-