//
//  Generated code. Do not modify.
//  source: stockInput.proto
//
// @dart = 3.3

// ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes
// ignore_for_file: non_constant_identifier_names, prefer_final_fields
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import

import 'dart:async' as $async;
import 'dart:core' as $core;

import 'package:grpc/service_api.dart' as $grpc;
import 'package:protobuf/protobuf.dart' as $pb;

import 'stockInput.pb.dart' as $54;

export 'stockInput.pb.dart';

@$pb.GrpcServiceName('api.StockInputAPI')
class StockInputAPIClient extends $grpc.Client {
  static final _$moved = $grpc.ClientMethod<$54.StockMovedRequest, $54.StockMovedResponse>(
      '/api.StockInputAPI/Moved',
      ($54.StockMovedRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $54.StockMovedResponse.fromBuffer(value));
  static final _$snapshotted = $grpc.ClientMethod<$54.StockSnapshottedRequest, $54.StockSnapshottedResponse>(
      '/api.StockInputAPI/Snapshotted',
      ($54.StockSnapshottedRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $54.StockSnapshottedResponse.fromBuffer(value));
  static final _$deleted = $grpc.ClientMethod<$54.StockDeletedRequest, $54.StockDeletedResponse>(
      '/api.StockInputAPI/Deleted',
      ($54.StockDeletedRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $54.StockDeletedResponse.fromBuffer(value));

  StockInputAPIClient(super.channel, {super.options, super.interceptors});

  $grpc.ResponseFuture<$54.StockMovedResponse> moved($54.StockMovedRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$moved, request, options: options);
  }

  $grpc.ResponseFuture<$54.StockSnapshottedResponse> snapshotted($54.StockSnapshottedRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$snapshotted, request, options: options);
  }

  @$core.Deprecated('This method is deprecated')
  $grpc.ResponseFuture<$54.StockDeletedResponse> deleted($54.StockDeletedRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$deleted, request, options: options);
  }
}

@$pb.GrpcServiceName('api.StockInputAPI')
abstract class StockInputAPIServiceBase extends $grpc.Service {
  $core.String get $name => 'api.StockInputAPI';

  StockInputAPIServiceBase() {
    $addMethod($grpc.ServiceMethod<$54.StockMovedRequest, $54.StockMovedResponse>(
        'Moved',
        moved_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $54.StockMovedRequest.fromBuffer(value),
        ($54.StockMovedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$54.StockSnapshottedRequest, $54.StockSnapshottedResponse>(
        'Snapshotted',
        snapshotted_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $54.StockSnapshottedRequest.fromBuffer(value),
        ($54.StockSnapshottedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$54.StockDeletedRequest, $54.StockDeletedResponse>(
        'Deleted',
        deleted_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $54.StockDeletedRequest.fromBuffer(value),
        ($54.StockDeletedResponse value) => value.writeToBuffer()));
  }

  $async.Future<$54.StockMovedResponse> moved_Pre($grpc.ServiceCall $call, $async.Future<$54.StockMovedRequest> $request) async {
    return moved($call, await $request);
  }

  $async.Future<$54.StockSnapshottedResponse> snapshotted_Pre($grpc.ServiceCall $call, $async.Future<$54.StockSnapshottedRequest> $request) async {
    return snapshotted($call, await $request);
  }

  $async.Future<$54.StockDeletedResponse> deleted_Pre($grpc.ServiceCall $call, $async.Future<$54.StockDeletedRequest> $request) async {
    return deleted($call, await $request);
  }

  $async.Future<$54.StockMovedResponse> moved($grpc.ServiceCall call, $54.StockMovedRequest request);
  $async.Future<$54.StockSnapshottedResponse> snapshotted($grpc.ServiceCall call, $54.StockSnapshottedRequest request);
  $async.Future<$54.StockDeletedResponse> deleted($grpc.ServiceCall call, $54.StockDeletedRequest request);
}
