public static final class SessionsGrpc.SessionsBlockingStub extends io.grpc.stub.AbstractStub<SessionsGrpc.SessionsBlockingStub>
A session represents an interaction with a user. You retrieve user input and pass it to the [DetectIntent][google.cloud.dialogflow.v2beta1.Sessions.DetectIntent] (or [StreamingDetectIntent][google.cloud.dialogflow.v2beta1.Sessions.StreamingDetectIntent]) method to determine user intent and respond.
Modifier and Type | Method and Description |
---|---|
protected SessionsGrpc.SessionsBlockingStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
DetectIntentResponse |
detectIntent(DetectIntentRequest request)
Processes a natural language query and returns structured, actionable data
as a result.
|
protected SessionsGrpc.SessionsBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build
in class io.grpc.stub.AbstractStub<SessionsGrpc.SessionsBlockingStub>
public DetectIntentResponse detectIntent(DetectIntentRequest request)
Processes a natural language query and returns structured, actionable data as a result. This method is not idempotent, because it may cause contexts and session entity types to be updated, which in turn might affect results of future queries.