Class SessionsGrpc (0.11.5)

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

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>

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>

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