Class SessionsGrpc (0.22.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
TypeDescription
String

Static Methods

getDetectIntentMethod()

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

getFulfillIntentMethod()

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

getMatchIntentMethod()

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

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
TypeDescription
io.grpc.ServiceDescriptor

getStreamingDetectIntentMethod()

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

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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
SessionsGrpc.SessionsStub