Class WebhooksGrpc.WebhooksStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractAsyncStub<WebhooksGrpc.WebhooksStub>
-
- com.google.cloud.dialogflow.cx.v3beta1.WebhooksGrpc.WebhooksStub
-
- Enclosing class:
- WebhooksGrpc
public static final class WebhooksGrpc.WebhooksStub extends io.grpc.stub.AbstractAsyncStub<WebhooksGrpc.WebhooksStub>
A stub to allow clients to do asynchronous 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.WebhooksStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
void
createWebhook(CreateWebhookRequest request, io.grpc.stub.StreamObserver<Webhook> responseObserver)
Creates a webhook in the specified agent.void
deleteWebhook(DeleteWebhookRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes the specified webhook.void
getWebhook(GetWebhookRequest request, io.grpc.stub.StreamObserver<Webhook> responseObserver)
Retrieves the specified webhook.void
listWebhooks(ListWebhooksRequest request, io.grpc.stub.StreamObserver<ListWebhooksResponse> responseObserver)
Returns the list of all webhooks in the specified agent.void
updateWebhook(UpdateWebhookRequest request, io.grpc.stub.StreamObserver<Webhook> responseObserver)
Updates the specified webhook.
-
-
-
Method Detail
-
build
protected WebhooksGrpc.WebhooksStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<WebhooksGrpc.WebhooksStub>
-
listWebhooks
public void listWebhooks(ListWebhooksRequest request, io.grpc.stub.StreamObserver<ListWebhooksResponse> responseObserver)
Returns the list of all webhooks in the specified agent.
-
getWebhook
public void getWebhook(GetWebhookRequest request, io.grpc.stub.StreamObserver<Webhook> responseObserver)
Retrieves the specified webhook.
-
createWebhook
public void createWebhook(CreateWebhookRequest request, io.grpc.stub.StreamObserver<Webhook> responseObserver)
Creates a webhook in the specified agent.
-
updateWebhook
public void updateWebhook(UpdateWebhookRequest request, io.grpc.stub.StreamObserver<Webhook> responseObserver)
Updates the specified webhook.
-
deleteWebhook
public void deleteWebhook(DeleteWebhookRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes the specified webhook.
-
-