Class SessionsGrpc (4.5.11)

public final class SessionsGrpc

A service used for session interactions. For more information, see the API interactions guide.

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>

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