Files
dart-core-sdk/lib/movementInput.pbgrpc.dart
2025-05-20 08:54:50 +00:00

186 lines
9.6 KiB
Dart

//
// Generated code. Do not modify.
// source: movementInput.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 'movementInput.pb.dart' as $38;
export 'movementInput.pb.dart';
///
/// API-server services
@$pb.GrpcServiceName('api.MovementInputAPI')
class MovementInputAPIClient extends $grpc.Client {
/// The hostname for this service.
static const $core.String defaultHost = '';
/// OAuth scopes needed for the client.
static const $core.List<$core.String> oauthScopes = [
'',
];
static final _$created = $grpc.ClientMethod<$38.MovementCreatedRequest, $38.MovementCreatedResponse>(
'/api.MovementInputAPI/Created',
($38.MovementCreatedRequest value) => value.writeToBuffer(),
($core.List<$core.int> value) => $38.MovementCreatedResponse.fromBuffer(value));
static final _$generated = $grpc.ClientMethod<$38.MovementGeneratedRequest, $38.MovementGeneratedResponse>(
'/api.MovementInputAPI/Generated',
($38.MovementGeneratedRequest value) => value.writeToBuffer(),
($core.List<$core.int> value) => $38.MovementGeneratedResponse.fromBuffer(value));
static final _$stockValueUpdated = $grpc.ClientMethod<$38.MovementStockValueUpdatedRequest, $38.MovementStockValueUpdatedResponse>(
'/api.MovementInputAPI/StockValueUpdated',
($38.MovementStockValueUpdatedRequest value) => value.writeToBuffer(),
($core.List<$core.int> value) => $38.MovementStockValueUpdatedResponse.fromBuffer(value));
static final _$claimAdded = $grpc.ClientMethod<$38.MovementClaimAddedRequest, $38.MovementClaimAddedResponse>(
'/api.MovementInputAPI/ClaimAdded',
($38.MovementClaimAddedRequest value) => value.writeToBuffer(),
($core.List<$core.int> value) => $38.MovementClaimAddedResponse.fromBuffer(value));
static final _$attachmentAdded = $grpc.ClientMethod<$38.MovementAttachmentAddedRequest, $38.MovementAttachmentAddedResponse>(
'/api.MovementInputAPI/AttachmentAdded',
($38.MovementAttachmentAddedRequest value) => value.writeToBuffer(),
($core.List<$core.int> value) => $38.MovementAttachmentAddedResponse.fromBuffer(value));
static final _$attachmentRemoved = $grpc.ClientMethod<$38.MovementAttachmentRemovedRequest, $38.MovementAttachmentRemovedResponse>(
'/api.MovementInputAPI/AttachmentRemoved',
($38.MovementAttachmentRemovedRequest value) => value.writeToBuffer(),
($core.List<$core.int> value) => $38.MovementAttachmentRemovedResponse.fromBuffer(value));
static final _$deleted = $grpc.ClientMethod<$38.MovementDeletedRequest, $38.MovementDeletedResponse>(
'/api.MovementInputAPI/Deleted',
($38.MovementDeletedRequest value) => value.writeToBuffer(),
($core.List<$core.int> value) => $38.MovementDeletedResponse.fromBuffer(value));
MovementInputAPIClient(super.channel, {super.options, super.interceptors});
$grpc.ResponseFuture<$38.MovementCreatedResponse> created($38.MovementCreatedRequest request, {$grpc.CallOptions? options}) {
return $createUnaryCall(_$created, request, options: options);
}
$grpc.ResponseFuture<$38.MovementGeneratedResponse> generated($38.MovementGeneratedRequest request, {$grpc.CallOptions? options}) {
return $createUnaryCall(_$generated, request, options: options);
}
$grpc.ResponseFuture<$38.MovementStockValueUpdatedResponse> stockValueUpdated($38.MovementStockValueUpdatedRequest request, {$grpc.CallOptions? options}) {
return $createUnaryCall(_$stockValueUpdated, request, options: options);
}
$grpc.ResponseFuture<$38.MovementClaimAddedResponse> claimAdded($38.MovementClaimAddedRequest request, {$grpc.CallOptions? options}) {
return $createUnaryCall(_$claimAdded, request, options: options);
}
$grpc.ResponseFuture<$38.MovementAttachmentAddedResponse> attachmentAdded($38.MovementAttachmentAddedRequest request, {$grpc.CallOptions? options}) {
return $createUnaryCall(_$attachmentAdded, request, options: options);
}
$grpc.ResponseFuture<$38.MovementAttachmentRemovedResponse> attachmentRemoved($38.MovementAttachmentRemovedRequest request, {$grpc.CallOptions? options}) {
return $createUnaryCall(_$attachmentRemoved, request, options: options);
}
$grpc.ResponseFuture<$38.MovementDeletedResponse> deleted($38.MovementDeletedRequest request, {$grpc.CallOptions? options}) {
return $createUnaryCall(_$deleted, request, options: options);
}
}
@$pb.GrpcServiceName('api.MovementInputAPI')
abstract class MovementInputAPIServiceBase extends $grpc.Service {
$core.String get $name => 'api.MovementInputAPI';
MovementInputAPIServiceBase() {
$addMethod($grpc.ServiceMethod<$38.MovementCreatedRequest, $38.MovementCreatedResponse>(
'Created',
created_Pre,
false,
false,
($core.List<$core.int> value) => $38.MovementCreatedRequest.fromBuffer(value),
($38.MovementCreatedResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$38.MovementGeneratedRequest, $38.MovementGeneratedResponse>(
'Generated',
generated_Pre,
false,
false,
($core.List<$core.int> value) => $38.MovementGeneratedRequest.fromBuffer(value),
($38.MovementGeneratedResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$38.MovementStockValueUpdatedRequest, $38.MovementStockValueUpdatedResponse>(
'StockValueUpdated',
stockValueUpdated_Pre,
false,
false,
($core.List<$core.int> value) => $38.MovementStockValueUpdatedRequest.fromBuffer(value),
($38.MovementStockValueUpdatedResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$38.MovementClaimAddedRequest, $38.MovementClaimAddedResponse>(
'ClaimAdded',
claimAdded_Pre,
false,
false,
($core.List<$core.int> value) => $38.MovementClaimAddedRequest.fromBuffer(value),
($38.MovementClaimAddedResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$38.MovementAttachmentAddedRequest, $38.MovementAttachmentAddedResponse>(
'AttachmentAdded',
attachmentAdded_Pre,
false,
false,
($core.List<$core.int> value) => $38.MovementAttachmentAddedRequest.fromBuffer(value),
($38.MovementAttachmentAddedResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$38.MovementAttachmentRemovedRequest, $38.MovementAttachmentRemovedResponse>(
'AttachmentRemoved',
attachmentRemoved_Pre,
false,
false,
($core.List<$core.int> value) => $38.MovementAttachmentRemovedRequest.fromBuffer(value),
($38.MovementAttachmentRemovedResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$38.MovementDeletedRequest, $38.MovementDeletedResponse>(
'Deleted',
deleted_Pre,
false,
false,
($core.List<$core.int> value) => $38.MovementDeletedRequest.fromBuffer(value),
($38.MovementDeletedResponse value) => value.writeToBuffer()));
}
$async.Future<$38.MovementCreatedResponse> created_Pre($grpc.ServiceCall $call, $async.Future<$38.MovementCreatedRequest> $request) async {
return created($call, await $request);
}
$async.Future<$38.MovementGeneratedResponse> generated_Pre($grpc.ServiceCall $call, $async.Future<$38.MovementGeneratedRequest> $request) async {
return generated($call, await $request);
}
$async.Future<$38.MovementStockValueUpdatedResponse> stockValueUpdated_Pre($grpc.ServiceCall $call, $async.Future<$38.MovementStockValueUpdatedRequest> $request) async {
return stockValueUpdated($call, await $request);
}
$async.Future<$38.MovementClaimAddedResponse> claimAdded_Pre($grpc.ServiceCall $call, $async.Future<$38.MovementClaimAddedRequest> $request) async {
return claimAdded($call, await $request);
}
$async.Future<$38.MovementAttachmentAddedResponse> attachmentAdded_Pre($grpc.ServiceCall $call, $async.Future<$38.MovementAttachmentAddedRequest> $request) async {
return attachmentAdded($call, await $request);
}
$async.Future<$38.MovementAttachmentRemovedResponse> attachmentRemoved_Pre($grpc.ServiceCall $call, $async.Future<$38.MovementAttachmentRemovedRequest> $request) async {
return attachmentRemoved($call, await $request);
}
$async.Future<$38.MovementDeletedResponse> deleted_Pre($grpc.ServiceCall $call, $async.Future<$38.MovementDeletedRequest> $request) async {
return deleted($call, await $request);
}
$async.Future<$38.MovementCreatedResponse> created($grpc.ServiceCall call, $38.MovementCreatedRequest request);
$async.Future<$38.MovementGeneratedResponse> generated($grpc.ServiceCall call, $38.MovementGeneratedRequest request);
$async.Future<$38.MovementStockValueUpdatedResponse> stockValueUpdated($grpc.ServiceCall call, $38.MovementStockValueUpdatedRequest request);
$async.Future<$38.MovementClaimAddedResponse> claimAdded($grpc.ServiceCall call, $38.MovementClaimAddedRequest request);
$async.Future<$38.MovementAttachmentAddedResponse> attachmentAdded($grpc.ServiceCall call, $38.MovementAttachmentAddedRequest request);
$async.Future<$38.MovementAttachmentRemovedResponse> attachmentRemoved($grpc.ServiceCall call, $38.MovementAttachmentRemovedRequest request);
$async.Future<$38.MovementDeletedResponse> deleted($grpc.ServiceCall call, $38.MovementDeletedRequest request);
}