public static final class PagesGrpc.PagesStub extends io.grpc.stub.AbstractAsyncStub<PagesGrpc.PagesStub>
Service for managing [Pages][google.cloud.dialogflow.cx.v3.Page].
| Modifier and Type | Method and Description |
|---|---|
protected PagesGrpc.PagesStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
void |
createPage(CreatePageRequest request,
io.grpc.stub.StreamObserver<Page> responseObserver)
Creates a page in the specified flow.
|
void |
deletePage(DeletePageRequest request,
io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes the specified page.
|
void |
getPage(GetPageRequest request,
io.grpc.stub.StreamObserver<Page> responseObserver)
Retrieves the specified page.
|
void |
listPages(ListPagesRequest request,
io.grpc.stub.StreamObserver<ListPagesResponse> responseObserver)
Returns the list of all pages in the specified flow.
|
void |
updatePage(UpdatePageRequest request,
io.grpc.stub.StreamObserver<Page> responseObserver)
Updates the specified page.
|
protected PagesGrpc.PagesStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.AbstractStub<PagesGrpc.PagesStub>public void listPages(ListPagesRequest request, io.grpc.stub.StreamObserver<ListPagesResponse> responseObserver)
Returns the list of all pages in the specified flow.
public void getPage(GetPageRequest request, io.grpc.stub.StreamObserver<Page> responseObserver)
Retrieves the specified page.
public void createPage(CreatePageRequest request, io.grpc.stub.StreamObserver<Page> responseObserver)
Creates a page in the specified flow. Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
public void updatePage(UpdatePageRequest request, io.grpc.stub.StreamObserver<Page> responseObserver)
Updates the specified page. Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
public void deletePage(DeletePageRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes the specified page. Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
Copyright © 2023 Google LLC. All rights reserved.