public static final class ContextsGrpc.ContextsFutureStub extends AbstractFutureStub<ContextsGrpc.ContextsFutureStub>
Service for managing [Contexts][google.cloud.dialogflow.v2beta1.Context].
AbstractStub.StubFactory<T extends AbstractStub<T>>
Modifier and Type | Method and Description |
---|---|
protected ContextsGrpc.ContextsFutureStub |
build(Channel channel,
CallOptions callOptions) |
com.google.common.util.concurrent.ListenableFuture<Context> |
createContext(CreateContextRequest request)
Creates a context.
|
com.google.common.util.concurrent.ListenableFuture<Empty> |
deleteAllContexts(DeleteAllContextsRequest request)
Deletes all active contexts in the specified session.
|
com.google.common.util.concurrent.ListenableFuture<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.
|
newStub, newStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
protected ContextsGrpc.ContextsFutureStub build(Channel channel, CallOptions callOptions)
build
in class AbstractStub<ContextsGrpc.ContextsFutureStub>
public com.google.common.util.concurrent.ListenableFuture<ListContextsResponse> listContexts(ListContextsRequest request)
Returns the list of all contexts in the specified session.
public com.google.common.util.concurrent.ListenableFuture<Context> getContext(GetContextRequest request)
Retrieves the specified context.
public com.google.common.util.concurrent.ListenableFuture<Context> createContext(CreateContextRequest request)
Creates a context. If the specified context already exists, overrides the context.
public com.google.common.util.concurrent.ListenableFuture<Context> updateContext(UpdateContextRequest request)
Updates the specified context.
public com.google.common.util.concurrent.ListenableFuture<Empty> deleteContext(DeleteContextRequest request)
Deletes the specified context.
public com.google.common.util.concurrent.ListenableFuture<Empty> deleteAllContexts(DeleteAllContextsRequest request)
Deletes all active contexts in the specified session.
Copyright © 2022 Google LLC. All rights reserved.