Class ContextsGrpc.ContextsFutureStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractFutureStub<ContextsGrpc.ContextsFutureStub>
-
- com.google.cloud.dialogflow.v2beta1.ContextsGrpc.ContextsFutureStub
-
- Enclosing class:
- ContextsGrpc
public static final class ContextsGrpc.ContextsFutureStub extends io.grpc.stub.AbstractFutureStub<ContextsGrpc.ContextsFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service Contexts.Service for managing [Contexts][google.cloud.dialogflow.v2beta1.Context].
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ContextsGrpc.ContextsFutureStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
com.google.common.util.concurrent.ListenableFuture<Context>
createContext(CreateContextRequest request)
Creates a context.com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>
deleteAllContexts(DeleteAllContextsRequest request)
Deletes all active contexts in the specified session.com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>
deleteContext(DeleteContextRequest request)
Deletes the specified context.com.google.common.util.concurrent.ListenableFuture<Context>
getContext(GetContextRequest request)
Retrieves the specified context.com.google.common.util.concurrent.ListenableFuture<ListContextsResponse>
listContexts(ListContextsRequest request)
Returns the list of all contexts in the specified session.com.google.common.util.concurrent.ListenableFuture<Context>
updateContext(UpdateContextRequest request)
Updates the specified context.
-
-
-
Method Detail
-
build
protected ContextsGrpc.ContextsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<ContextsGrpc.ContextsFutureStub>
-
listContexts
public com.google.common.util.concurrent.ListenableFuture<ListContextsResponse> listContexts(ListContextsRequest request)
Returns the list of all contexts in the specified session.
-
getContext
public com.google.common.util.concurrent.ListenableFuture<Context> getContext(GetContextRequest request)
Retrieves the specified context.
-
createContext
public com.google.common.util.concurrent.ListenableFuture<Context> createContext(CreateContextRequest request)
Creates a context. If the specified context already exists, overrides the context.
-
updateContext
public com.google.common.util.concurrent.ListenableFuture<Context> updateContext(UpdateContextRequest request)
Updates the specified context.
-
deleteContext
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteContext(DeleteContextRequest request)
Deletes the specified context.
-
deleteAllContexts
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteAllContexts(DeleteAllContextsRequest request)
Deletes all active contexts in the specified session.
-
-