//
//  Generated code. Do not modify.
//  source: itemInput.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 'itemInput.pb.dart' as $33;

export 'itemInput.pb.dart';

@$pb.GrpcServiceName('api.ItemInputAPI')
class ItemInputAPIClient extends $grpc.Client {
  static final _$created = $grpc.ClientMethod<$33.ItemCreatedRequest, $33.ItemCreatedResponse>(
      '/api.ItemInputAPI/Created',
      ($33.ItemCreatedRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $33.ItemCreatedResponse.fromBuffer(value));
  static final _$logisticVariantUpdated = $grpc.ClientMethod<$33.ItemLogisticVariantUpdatedRequest, $33.ItemLogisticVariantUpdatedResponse>(
      '/api.ItemInputAPI/LogisticVariantUpdated',
      ($33.ItemLogisticVariantUpdatedRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $33.ItemLogisticVariantUpdatedResponse.fromBuffer(value));
  static final _$logisticVariantRemoved = $grpc.ClientMethod<$33.ItemLogisticVariantRemovedRequest, $33.ItemLogisticVariantRemovedResponse>(
      '/api.ItemInputAPI/LogisticVariantRemoved',
      ($33.ItemLogisticVariantRemovedRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $33.ItemLogisticVariantRemovedResponse.fromBuffer(value));
  static final _$metaDataUpdated = $grpc.ClientMethod<$33.ItemMetaDataUpdatedRequest, $33.ItemMetaDataUpdatedResponse>(
      '/api.ItemInputAPI/MetaDataUpdated',
      ($33.ItemMetaDataUpdatedRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $33.ItemMetaDataUpdatedResponse.fromBuffer(value));
  static final _$deleted = $grpc.ClientMethod<$33.ItemDeletedRequest, $33.ItemDeletedResponse>(
      '/api.ItemInputAPI/Deleted',
      ($33.ItemDeletedRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $33.ItemDeletedResponse.fromBuffer(value));
  static final _$descriptionUpdated = $grpc.ClientMethod<$33.ItemDescriptionUpdatedRequest, $33.ItemDescriptionUpdatedResponse>(
      '/api.ItemInputAPI/DescriptionUpdated',
      ($33.ItemDescriptionUpdatedRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $33.ItemDescriptionUpdatedResponse.fromBuffer(value));
  static final _$attachmentAdded = $grpc.ClientMethod<$33.ItemAttachmentAddedRequest, $33.ItemAttachmentAddedResponse>(
      '/api.ItemInputAPI/AttachmentAdded',
      ($33.ItemAttachmentAddedRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $33.ItemAttachmentAddedResponse.fromBuffer(value));
  static final _$attachmentRemoved = $grpc.ClientMethod<$33.ItemAttachmentRemovedRequest, $33.ItemAttachmentRemovedResponse>(
      '/api.ItemInputAPI/AttachmentRemoved',
      ($33.ItemAttachmentRemovedRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $33.ItemAttachmentRemovedResponse.fromBuffer(value));

  ItemInputAPIClient($grpc.ClientChannel channel,
      {$grpc.CallOptions? options,
      $core.Iterable<$grpc.ClientInterceptor>? interceptors})
      : super(channel, options: options,
        interceptors: interceptors);

  $grpc.ResponseFuture<$33.ItemCreatedResponse> created($33.ItemCreatedRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$created, request, options: options);
  }

  $grpc.ResponseFuture<$33.ItemLogisticVariantUpdatedResponse> logisticVariantUpdated($33.ItemLogisticVariantUpdatedRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$logisticVariantUpdated, request, options: options);
  }

  $grpc.ResponseFuture<$33.ItemLogisticVariantRemovedResponse> logisticVariantRemoved($33.ItemLogisticVariantRemovedRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$logisticVariantRemoved, request, options: options);
  }

  $grpc.ResponseFuture<$33.ItemMetaDataUpdatedResponse> metaDataUpdated($33.ItemMetaDataUpdatedRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$metaDataUpdated, request, options: options);
  }

  $grpc.ResponseFuture<$33.ItemDeletedResponse> deleted($33.ItemDeletedRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$deleted, request, options: options);
  }

  $grpc.ResponseFuture<$33.ItemDescriptionUpdatedResponse> descriptionUpdated($33.ItemDescriptionUpdatedRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$descriptionUpdated, request, options: options);
  }

  $grpc.ResponseFuture<$33.ItemAttachmentAddedResponse> attachmentAdded($33.ItemAttachmentAddedRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$attachmentAdded, request, options: options);
  }

  $grpc.ResponseFuture<$33.ItemAttachmentRemovedResponse> attachmentRemoved($33.ItemAttachmentRemovedRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$attachmentRemoved, request, options: options);
  }
}

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

  ItemInputAPIServiceBase() {
    $addMethod($grpc.ServiceMethod<$33.ItemCreatedRequest, $33.ItemCreatedResponse>(
        'Created',
        created_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $33.ItemCreatedRequest.fromBuffer(value),
        ($33.ItemCreatedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$33.ItemLogisticVariantUpdatedRequest, $33.ItemLogisticVariantUpdatedResponse>(
        'LogisticVariantUpdated',
        logisticVariantUpdated_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $33.ItemLogisticVariantUpdatedRequest.fromBuffer(value),
        ($33.ItemLogisticVariantUpdatedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$33.ItemLogisticVariantRemovedRequest, $33.ItemLogisticVariantRemovedResponse>(
        'LogisticVariantRemoved',
        logisticVariantRemoved_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $33.ItemLogisticVariantRemovedRequest.fromBuffer(value),
        ($33.ItemLogisticVariantRemovedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$33.ItemMetaDataUpdatedRequest, $33.ItemMetaDataUpdatedResponse>(
        'MetaDataUpdated',
        metaDataUpdated_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $33.ItemMetaDataUpdatedRequest.fromBuffer(value),
        ($33.ItemMetaDataUpdatedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$33.ItemDeletedRequest, $33.ItemDeletedResponse>(
        'Deleted',
        deleted_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $33.ItemDeletedRequest.fromBuffer(value),
        ($33.ItemDeletedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$33.ItemDescriptionUpdatedRequest, $33.ItemDescriptionUpdatedResponse>(
        'DescriptionUpdated',
        descriptionUpdated_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $33.ItemDescriptionUpdatedRequest.fromBuffer(value),
        ($33.ItemDescriptionUpdatedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$33.ItemAttachmentAddedRequest, $33.ItemAttachmentAddedResponse>(
        'AttachmentAdded',
        attachmentAdded_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $33.ItemAttachmentAddedRequest.fromBuffer(value),
        ($33.ItemAttachmentAddedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$33.ItemAttachmentRemovedRequest, $33.ItemAttachmentRemovedResponse>(
        'AttachmentRemoved',
        attachmentRemoved_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $33.ItemAttachmentRemovedRequest.fromBuffer(value),
        ($33.ItemAttachmentRemovedResponse value) => value.writeToBuffer()));
  }

  $async.Future<$33.ItemCreatedResponse> created_Pre($grpc.ServiceCall $call, $async.Future<$33.ItemCreatedRequest> $request) async {
    return created($call, await $request);
  }

  $async.Future<$33.ItemLogisticVariantUpdatedResponse> logisticVariantUpdated_Pre($grpc.ServiceCall $call, $async.Future<$33.ItemLogisticVariantUpdatedRequest> $request) async {
    return logisticVariantUpdated($call, await $request);
  }

  $async.Future<$33.ItemLogisticVariantRemovedResponse> logisticVariantRemoved_Pre($grpc.ServiceCall $call, $async.Future<$33.ItemLogisticVariantRemovedRequest> $request) async {
    return logisticVariantRemoved($call, await $request);
  }

  $async.Future<$33.ItemMetaDataUpdatedResponse> metaDataUpdated_Pre($grpc.ServiceCall $call, $async.Future<$33.ItemMetaDataUpdatedRequest> $request) async {
    return metaDataUpdated($call, await $request);
  }

  $async.Future<$33.ItemDeletedResponse> deleted_Pre($grpc.ServiceCall $call, $async.Future<$33.ItemDeletedRequest> $request) async {
    return deleted($call, await $request);
  }

  $async.Future<$33.ItemDescriptionUpdatedResponse> descriptionUpdated_Pre($grpc.ServiceCall $call, $async.Future<$33.ItemDescriptionUpdatedRequest> $request) async {
    return descriptionUpdated($call, await $request);
  }

  $async.Future<$33.ItemAttachmentAddedResponse> attachmentAdded_Pre($grpc.ServiceCall $call, $async.Future<$33.ItemAttachmentAddedRequest> $request) async {
    return attachmentAdded($call, await $request);
  }

  $async.Future<$33.ItemAttachmentRemovedResponse> attachmentRemoved_Pre($grpc.ServiceCall $call, $async.Future<$33.ItemAttachmentRemovedRequest> $request) async {
    return attachmentRemoved($call, await $request);
  }

  $async.Future<$33.ItemCreatedResponse> created($grpc.ServiceCall call, $33.ItemCreatedRequest request);
  $async.Future<$33.ItemLogisticVariantUpdatedResponse> logisticVariantUpdated($grpc.ServiceCall call, $33.ItemLogisticVariantUpdatedRequest request);
  $async.Future<$33.ItemLogisticVariantRemovedResponse> logisticVariantRemoved($grpc.ServiceCall call, $33.ItemLogisticVariantRemovedRequest request);
  $async.Future<$33.ItemMetaDataUpdatedResponse> metaDataUpdated($grpc.ServiceCall call, $33.ItemMetaDataUpdatedRequest request);
  $async.Future<$33.ItemDeletedResponse> deleted($grpc.ServiceCall call, $33.ItemDeletedRequest request);
  $async.Future<$33.ItemDescriptionUpdatedResponse> descriptionUpdated($grpc.ServiceCall call, $33.ItemDescriptionUpdatedRequest request);
  $async.Future<$33.ItemAttachmentAddedResponse> attachmentAdded($grpc.ServiceCall call, $33.ItemAttachmentAddedRequest request);
  $async.Future<$33.ItemAttachmentRemovedResponse> attachmentRemoved($grpc.ServiceCall call, $33.ItemAttachmentRemovedRequest request);
}
