ParticipantsServiceBase constructor

ParticipantsServiceBase()

Implementation

ParticipantsServiceBase() {
  $addMethod($grpc.ServiceMethod<$9.CreateParticipantRequest, $9.Participant>(
      'CreateParticipant',
      createParticipant_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $9.CreateParticipantRequest.fromBuffer(value),
      ($9.Participant value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$9.GetParticipantRequest, $9.Participant>(
      'GetParticipant',
      getParticipant_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $9.GetParticipantRequest.fromBuffer(value),
      ($9.Participant value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$9.ListParticipantsRequest,
          $9.ListParticipantsResponse>(
      'ListParticipants',
      listParticipants_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $9.ListParticipantsRequest.fromBuffer(value),
      ($9.ListParticipantsResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$9.UpdateParticipantRequest, $9.Participant>(
      'UpdateParticipant',
      updateParticipant_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $9.UpdateParticipantRequest.fromBuffer(value),
      ($9.Participant value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$9.AnalyzeContentRequest,
          $9.AnalyzeContentResponse>(
      'AnalyzeContent',
      analyzeContent_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $9.AnalyzeContentRequest.fromBuffer(value),
      ($9.AnalyzeContentResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$9.StreamingAnalyzeContentRequest,
          $9.StreamingAnalyzeContentResponse>(
      'StreamingAnalyzeContent',
      streamingAnalyzeContent,
      true,
      true,
      ($core.List<$core.int> value) =>
          $9.StreamingAnalyzeContentRequest.fromBuffer(value),
      ($9.StreamingAnalyzeContentResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$9.SuggestArticlesRequest,
          $9.SuggestArticlesResponse>(
      'SuggestArticles',
      suggestArticles_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $9.SuggestArticlesRequest.fromBuffer(value),
      ($9.SuggestArticlesResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$9.SuggestFaqAnswersRequest,
          $9.SuggestFaqAnswersResponse>(
      'SuggestFaqAnswers',
      suggestFaqAnswers_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $9.SuggestFaqAnswersRequest.fromBuffer(value),
      ($9.SuggestFaqAnswersResponse value) => value.writeToBuffer()));
}