//
//  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 $26;

export 'itemInput.pb.dart';

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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