SessionsServiceBase constructor
SessionsServiceBase()
Implementation
SessionsServiceBase() {
$addMethod(
$grpc.ServiceMethod<$8.DetectIntentRequest, $8.DetectIntentResponse>(
'DetectIntent',
detectIntent_Pre,
false,
false,
($core.List<$core.int> value) =>
$8.DetectIntentRequest.fromBuffer(value),
($8.DetectIntentResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$8.StreamingDetectIntentRequest,
$8.StreamingDetectIntentResponse>(
'StreamingDetectIntent',
streamingDetectIntent,
true,
true,
($core.List<$core.int> value) =>
$8.StreamingDetectIntentRequest.fromBuffer(value),
($8.StreamingDetectIntentResponse value) => value.writeToBuffer()));
$addMethod(
$grpc.ServiceMethod<$8.MatchIntentRequest, $8.MatchIntentResponse>(
'MatchIntent',
matchIntent_Pre,
false,
false,
($core.List<$core.int> value) =>
$8.MatchIntentRequest.fromBuffer(value),
($8.MatchIntentResponse value) => value.writeToBuffer()));
$addMethod(
$grpc.ServiceMethod<$8.FulfillIntentRequest, $8.FulfillIntentResponse>(
'FulfillIntent',
fulfillIntent_Pre,
false,
false,
($core.List<$core.int> value) =>
$8.FulfillIntentRequest.fromBuffer(value),
($8.FulfillIntentResponse value) => value.writeToBuffer()));
}