SessionsServiceBase constructor

SessionsServiceBase()

Implementation

SessionsServiceBase() {
  $addMethod(
      $grpc.ServiceMethod<$9.DetectIntentRequest, $9.DetectIntentResponse>(
          'DetectIntent',
          detectIntent_Pre,
          false,
          false,
          ($core.List<$core.int> value) =>
              $9.DetectIntentRequest.fromBuffer(value),
          ($9.DetectIntentResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$9.StreamingDetectIntentRequest,
          $9.StreamingDetectIntentResponse>(
      'StreamingDetectIntent',
      streamingDetectIntent,
      true,
      true,
      ($core.List<$core.int> value) =>
          $9.StreamingDetectIntentRequest.fromBuffer(value),
      ($9.StreamingDetectIntentResponse value) => value.writeToBuffer()));
}