///
//  Generated code. Do not modify.
//  source: burying.proto
//
// @dart = 2.3
// ignore_for_file: camel_case_types,non_constant_identifier_names,library_prefixes,unused_import,unused_shown_name,return_of_invalid_type

import 'dart:async' as $async;

import 'dart:core' as $core;

import 'package:grpc/service_api.dart' as $grpc;
import 'burying.pb.dart' as $0;
export 'burying.pb.dart';

class ReportingClient extends $grpc.Client {
  static final _$dataReport =
      $grpc.ClientMethod<$0.BuryingRequest, $0.BuryingResponse>(
          '/data.Reporting/dataReport',
          ($0.BuryingRequest value) => value.writeToBuffer(),
          ($core.List<$core.int> value) =>
              $0.BuryingResponse.fromBuffer(value));

  ReportingClient($grpc.ClientChannel channel, {$grpc.CallOptions options})
      : super(channel, options: options);

  $grpc.ResponseStream<$0.BuryingResponse> dataReport(
      $async.Stream<$0.BuryingRequest> request,
      {$grpc.CallOptions options}) {
    final call = $createCall(_$dataReport, request, options: options);
    return $grpc.ResponseStream(call);
  }
}

abstract class ReportingServiceBase extends $grpc.Service {
  $core.String get $name => 'data.Reporting';

  ReportingServiceBase() {
    $addMethod($grpc.ServiceMethod<$0.BuryingRequest, $0.BuryingResponse>(
        'dataReport',
        dataReport,
        true,
        true,
        ($core.List<$core.int> value) => $0.BuryingRequest.fromBuffer(value),
        ($0.BuryingResponse value) => value.writeToBuffer()));
  }

  $async.Stream<$0.BuryingResponse> dataReport(
      $grpc.ServiceCall call, $async.Stream<$0.BuryingRequest> request);
}
