Class SessionsGrpc
- java.lang.Object
-
- com.google.cloud.dialogflow.cx.v3.SessionsGrpc
-
@Generated(value="by gRPC proto compiler", comments="Source: google/cloud/dialogflow/cx/v3/session.proto") public final class SessionsGrpc extends Object
A session represents an interaction with a user. You retrieve user input and pass it to the [DetectIntent][google.cloud.dialogflow.cx.v3.Sessions.DetectIntent] method to determine user intent and respond.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
SessionsGrpc.AsyncService
A session represents an interaction with a user.static class
SessionsGrpc.SessionsBlockingStub
A stub to allow clients to do synchronous rpc calls to service Sessions.static class
SessionsGrpc.SessionsFutureStub
A stub to allow clients to do ListenableFuture-style rpc calls to service Sessions.static class
SessionsGrpc.SessionsImplBase
Base class for the server implementation of the service Sessions.static class
SessionsGrpc.SessionsStub
A stub to allow clients to do asynchronous rpc calls to service Sessions.
-
Field Summary
Fields Modifier and Type Field Description static String
SERVICE_NAME
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static io.grpc.ServerServiceDefinition
bindService(SessionsGrpc.AsyncService service)
static io.grpc.MethodDescriptor<DetectIntentRequest,DetectIntentResponse>
getDetectIntentMethod()
static io.grpc.MethodDescriptor<FulfillIntentRequest,FulfillIntentResponse>
getFulfillIntentMethod()
static io.grpc.MethodDescriptor<MatchIntentRequest,MatchIntentResponse>
getMatchIntentMethod()
static io.grpc.ServiceDescriptor
getServiceDescriptor()
static io.grpc.MethodDescriptor<StreamingDetectIntentRequest,StreamingDetectIntentResponse>
getStreamingDetectIntentMethod()
static SessionsGrpc.SessionsBlockingStub
newBlockingStub(io.grpc.Channel channel)
Creates a new blocking-style stub that supports unary and streaming output calls on the servicestatic SessionsGrpc.SessionsFutureStub
newFutureStub(io.grpc.Channel channel)
Creates a new ListenableFuture-style stub that supports unary calls on the servicestatic SessionsGrpc.SessionsStub
newStub(io.grpc.Channel channel)
Creates a new async stub that supports all call types for the service
-
-
-
Field Detail
-
SERVICE_NAME
public static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDetectIntentMethod
public static io.grpc.MethodDescriptor<DetectIntentRequest,DetectIntentResponse> getDetectIntentMethod()
-
getStreamingDetectIntentMethod
public static io.grpc.MethodDescriptor<StreamingDetectIntentRequest,StreamingDetectIntentResponse> getStreamingDetectIntentMethod()
-
getMatchIntentMethod
public static io.grpc.MethodDescriptor<MatchIntentRequest,MatchIntentResponse> getMatchIntentMethod()
-
getFulfillIntentMethod
public static io.grpc.MethodDescriptor<FulfillIntentRequest,FulfillIntentResponse> getFulfillIntentMethod()
-
newStub
public static SessionsGrpc.SessionsStub newStub(io.grpc.Channel channel)
Creates a new async stub that supports all call types for the service
-
newBlockingStub
public static SessionsGrpc.SessionsBlockingStub newBlockingStub(io.grpc.Channel channel)
Creates a new blocking-style stub that supports unary and streaming output calls on the service
-
newFutureStub
public static SessionsGrpc.SessionsFutureStub newFutureStub(io.grpc.Channel channel)
Creates a new ListenableFuture-style stub that supports unary calls on the service
-
bindService
public static final io.grpc.ServerServiceDefinition bindService(SessionsGrpc.AsyncService service)
-
getServiceDescriptor
public static io.grpc.ServiceDescriptor getServiceDescriptor()
-
-