Class SessionsGrpc (4.57.0)

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
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>

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