@Generated(value="by gRPC proto compiler (version 1.2.0)",
comments="Source: google/cloud/dialogflow/v2beta1/context.proto")
public final class ContextsGrpc
extends java.lang.Object
A context represents additional information included with user input or with an intent returned by the Dialogflow API. Contexts are helpful for differentiating user input which may be vague or have a different meaning depending on additional details from your application such as user setting and preferences, previous user input, where the user is in your application, geographic location, and so on. You can include contexts as input parameters of a [DetectIntent][google.cloud.dialogflow.v2beta1.Sessions.DetectIntent] (or [StreamingDetectIntent][google.cloud.dialogflow.v2beta1.Sessions.StreamingDetectIntent]) request, or as output contexts included in the returned intent. Contexts expire when an intent is matched, after the number of `DetectIntent` requests specified by the `lifespan_count` parameter, or after 10 minutes if no intents are matched for a `DetectIntent` request. For more information about contexts, see the [Dialogflow documentation](https://dialogflow.com/docs/contexts).
Modifier and Type | Class and Description |
---|---|
static class |
ContextsGrpc.ContextsBlockingStub
A context represents additional information included with user input or with
an intent returned by the Dialogflow API.
|
static class |
ContextsGrpc.ContextsFutureStub
A context represents additional information included with user input or with
an intent returned by the Dialogflow API.
|
static class |
ContextsGrpc.ContextsImplBase
A context represents additional information included with user input or with
an intent returned by the Dialogflow API.
|
static class |
ContextsGrpc.ContextsStub
A context represents additional information included with user input or with
an intent returned by the Dialogflow API.
|
Modifier and Type | Field and Description |
---|---|
static io.grpc.MethodDescriptor<CreateContextRequest,Context> |
METHOD_CREATE_CONTEXT |
static io.grpc.MethodDescriptor<DeleteAllContextsRequest,Empty> |
METHOD_DELETE_ALL_CONTEXTS |
static io.grpc.MethodDescriptor<DeleteContextRequest,Empty> |
METHOD_DELETE_CONTEXT |
static io.grpc.MethodDescriptor<GetContextRequest,Context> |
METHOD_GET_CONTEXT |
static io.grpc.MethodDescriptor<ListContextsRequest,ListContextsResponse> |
METHOD_LIST_CONTEXTS |
static io.grpc.MethodDescriptor<UpdateContextRequest,Context> |
METHOD_UPDATE_CONTEXT |
static java.lang.String |
SERVICE_NAME |
Modifier and Type | Method and Description |
---|---|
static io.grpc.ServiceDescriptor |
getServiceDescriptor() |
static ContextsGrpc.ContextsBlockingStub |
newBlockingStub(io.grpc.Channel channel)
Creates a new blocking-style stub that supports unary and streaming output calls on the service
|
static ContextsGrpc.ContextsFutureStub |
newFutureStub(io.grpc.Channel channel)
Creates a new ListenableFuture-style stub that supports unary and streaming output calls on the service
|
static ContextsGrpc.ContextsStub |
newStub(io.grpc.Channel channel)
Creates a new async stub that supports all call types for the service
|
public static final java.lang.String SERVICE_NAME
@ExperimentalApi(value="https://github.com/grpc/grpc-java/issues/1901") public static final io.grpc.MethodDescriptor<ListContextsRequest,ListContextsResponse> METHOD_LIST_CONTEXTS
@ExperimentalApi(value="https://github.com/grpc/grpc-java/issues/1901") public static final io.grpc.MethodDescriptor<GetContextRequest,Context> METHOD_GET_CONTEXT
@ExperimentalApi(value="https://github.com/grpc/grpc-java/issues/1901") public static final io.grpc.MethodDescriptor<CreateContextRequest,Context> METHOD_CREATE_CONTEXT
@ExperimentalApi(value="https://github.com/grpc/grpc-java/issues/1901") public static final io.grpc.MethodDescriptor<UpdateContextRequest,Context> METHOD_UPDATE_CONTEXT
@ExperimentalApi(value="https://github.com/grpc/grpc-java/issues/1901") public static final io.grpc.MethodDescriptor<DeleteContextRequest,Empty> METHOD_DELETE_CONTEXT
@ExperimentalApi(value="https://github.com/grpc/grpc-java/issues/1901") public static final io.grpc.MethodDescriptor<DeleteAllContextsRequest,Empty> METHOD_DELETE_ALL_CONTEXTS
public static ContextsGrpc.ContextsStub newStub(io.grpc.Channel channel)
public static ContextsGrpc.ContextsBlockingStub newBlockingStub(io.grpc.Channel channel)
public static ContextsGrpc.ContextsFutureStub newFutureStub(io.grpc.Channel channel)
public static io.grpc.ServiceDescriptor getServiceDescriptor()