Class SessionsGrpc (0.66.0)

public final class SessionsGrpc

A session represents an interaction with a user. You retrieve user input and pass it to the DetectIntent method to determine user intent and respond.

Inheritance

java.lang.Object > SessionsGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(SessionsGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(SessionsGrpc.AsyncService service)
Parameter
Name Description
service SessionsGrpc.AsyncService
Returns
Type Description
io.grpc.ServerServiceDefinition

getDetectIntentMethod()

public static MethodDescriptor<DetectIntentRequest,DetectIntentResponse> getDetectIntentMethod()
Returns
Type Description
io.grpc.MethodDescriptor<DetectIntentRequest,DetectIntentResponse>

getFulfillIntentMethod()

public static MethodDescriptor<FulfillIntentRequest,FulfillIntentResponse> getFulfillIntentMethod()
Returns
Type Description
io.grpc.MethodDescriptor<FulfillIntentRequest,FulfillIntentResponse>

getMatchIntentMethod()

public static MethodDescriptor<MatchIntentRequest,MatchIntentResponse> getMatchIntentMethod()
Returns
Type Description
io.grpc.MethodDescriptor<MatchIntentRequest,MatchIntentResponse>

getServerStreamingDetectIntentMethod()

public static MethodDescriptor<DetectIntentRequest,DetectIntentResponse> getServerStreamingDetectIntentMethod()
Returns
Type Description
io.grpc.MethodDescriptor<DetectIntentRequest,DetectIntentResponse>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
Type Description
io.grpc.ServiceDescriptor

getStreamingDetectIntentMethod()

public static MethodDescriptor<StreamingDetectIntentRequest,StreamingDetectIntentResponse> getStreamingDetectIntentMethod()
Returns
Type Description
io.grpc.MethodDescriptor<StreamingDetectIntentRequest,StreamingDetectIntentResponse>

getSubmitAnswerFeedbackMethod()

public static MethodDescriptor<SubmitAnswerFeedbackRequest,AnswerFeedback> getSubmitAnswerFeedbackMethod()
Returns
Type Description
io.grpc.MethodDescriptor<SubmitAnswerFeedbackRequest,AnswerFeedback>

newBlockingStub(Channel channel)

public static SessionsGrpc.SessionsBlockingStub newBlockingStub(Channel channel)

Creates a new blocking-style stub that supports unary and streaming output calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
SessionsGrpc.SessionsBlockingStub

newFutureStub(Channel channel)

public static SessionsGrpc.SessionsFutureStub newFutureStub(Channel channel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
SessionsGrpc.SessionsFutureStub

newStub(Channel channel)

public static SessionsGrpc.SessionsStub newStub(Channel channel)

Creates a new async stub that supports all call types for the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
SessionsGrpc.SessionsStub