Class PagesGrpc.PagesFutureStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractFutureStub<PagesGrpc.PagesFutureStub>
-
- com.google.cloud.dialogflow.cx.v3.PagesGrpc.PagesFutureStub
-
- Enclosing class:
- PagesGrpc
public static final class PagesGrpc.PagesFutureStub extends io.grpc.stub.AbstractFutureStub<PagesGrpc.PagesFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service Pages.Service for managing [Pages][google.cloud.dialogflow.cx.v3.Page].
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected PagesGrpc.PagesFutureStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
com.google.common.util.concurrent.ListenableFuture<Page>
createPage(CreatePageRequest request)
Creates a page in the specified flow.com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>
deletePage(DeletePageRequest request)
Deletes the specified page.com.google.common.util.concurrent.ListenableFuture<Page>
getPage(GetPageRequest request)
Retrieves the specified page.com.google.common.util.concurrent.ListenableFuture<ListPagesResponse>
listPages(ListPagesRequest request)
Returns the list of all pages in the specified flow.com.google.common.util.concurrent.ListenableFuture<Page>
updatePage(UpdatePageRequest request)
Updates the specified page.
-
-
-
Method Detail
-
build
protected PagesGrpc.PagesFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<PagesGrpc.PagesFutureStub>
-
listPages
public com.google.common.util.concurrent.ListenableFuture<ListPagesResponse> listPages(ListPagesRequest request)
Returns the list of all pages in the specified flow.
-
getPage
public com.google.common.util.concurrent.ListenableFuture<Page> getPage(GetPageRequest request)
Retrieves the specified page.
-
createPage
public com.google.common.util.concurrent.ListenableFuture<Page> createPage(CreatePageRequest request)
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).
-
updatePage
public com.google.common.util.concurrent.ListenableFuture<Page> updatePage(UpdatePageRequest request)
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).
-
deletePage
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deletePage(DeletePageRequest request)
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).
-
-