You've already forked dart-core-sdk
176 lines
9.4 KiB
Dart
176 lines
9.4 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 $35;
|
|
|
|
export 'movementInput.pb.dart';
|
|
|
|
@$pb.GrpcServiceName('api.MovementInputAPI')
|
|
class MovementInputAPIClient extends $grpc.Client {
|
|
static final _$created = $grpc.ClientMethod<$35.MovementCreatedRequest, $35.MovementCreatedResponse>(
|
|
'/api.MovementInputAPI/Created',
|
|
($35.MovementCreatedRequest value) => value.writeToBuffer(),
|
|
($core.List<$core.int> value) => $35.MovementCreatedResponse.fromBuffer(value));
|
|
static final _$generated = $grpc.ClientMethod<$35.MovementGeneratedRequest, $35.MovementGeneratedResponse>(
|
|
'/api.MovementInputAPI/Generated',
|
|
($35.MovementGeneratedRequest value) => value.writeToBuffer(),
|
|
($core.List<$core.int> value) => $35.MovementGeneratedResponse.fromBuffer(value));
|
|
static final _$stockValueUpdated = $grpc.ClientMethod<$35.MovementStockValueUpdatedRequest, $35.MovementStockValueUpdatedResponse>(
|
|
'/api.MovementInputAPI/StockValueUpdated',
|
|
($35.MovementStockValueUpdatedRequest value) => value.writeToBuffer(),
|
|
($core.List<$core.int> value) => $35.MovementStockValueUpdatedResponse.fromBuffer(value));
|
|
static final _$claimAdded = $grpc.ClientMethod<$35.MovementClaimAddedRequest, $35.MovementClaimAddedResponse>(
|
|
'/api.MovementInputAPI/ClaimAdded',
|
|
($35.MovementClaimAddedRequest value) => value.writeToBuffer(),
|
|
($core.List<$core.int> value) => $35.MovementClaimAddedResponse.fromBuffer(value));
|
|
static final _$attachmentAdded = $grpc.ClientMethod<$35.MovementAttachmentAddedRequest, $35.MovementAttachmentAddedResponse>(
|
|
'/api.MovementInputAPI/AttachmentAdded',
|
|
($35.MovementAttachmentAddedRequest value) => value.writeToBuffer(),
|
|
($core.List<$core.int> value) => $35.MovementAttachmentAddedResponse.fromBuffer(value));
|
|
static final _$attachmentRemoved = $grpc.ClientMethod<$35.MovementAttachmentRemovedRequest, $35.MovementAttachmentRemovedResponse>(
|
|
'/api.MovementInputAPI/AttachmentRemoved',
|
|
($35.MovementAttachmentRemovedRequest value) => value.writeToBuffer(),
|
|
($core.List<$core.int> value) => $35.MovementAttachmentRemovedResponse.fromBuffer(value));
|
|
static final _$deleted = $grpc.ClientMethod<$35.MovementDeletedRequest, $35.MovementDeletedResponse>(
|
|
'/api.MovementInputAPI/Deleted',
|
|
($35.MovementDeletedRequest value) => value.writeToBuffer(),
|
|
($core.List<$core.int> value) => $35.MovementDeletedResponse.fromBuffer(value));
|
|
|
|
MovementInputAPIClient(super.channel, {super.options, super.interceptors});
|
|
|
|
$grpc.ResponseFuture<$35.MovementCreatedResponse> created($35.MovementCreatedRequest request, {$grpc.CallOptions? options}) {
|
|
return $createUnaryCall(_$created, request, options: options);
|
|
}
|
|
|
|
$grpc.ResponseFuture<$35.MovementGeneratedResponse> generated($35.MovementGeneratedRequest request, {$grpc.CallOptions? options}) {
|
|
return $createUnaryCall(_$generated, request, options: options);
|
|
}
|
|
|
|
$grpc.ResponseFuture<$35.MovementStockValueUpdatedResponse> stockValueUpdated($35.MovementStockValueUpdatedRequest request, {$grpc.CallOptions? options}) {
|
|
return $createUnaryCall(_$stockValueUpdated, request, options: options);
|
|
}
|
|
|
|
$grpc.ResponseFuture<$35.MovementClaimAddedResponse> claimAdded($35.MovementClaimAddedRequest request, {$grpc.CallOptions? options}) {
|
|
return $createUnaryCall(_$claimAdded, request, options: options);
|
|
}
|
|
|
|
$grpc.ResponseFuture<$35.MovementAttachmentAddedResponse> attachmentAdded($35.MovementAttachmentAddedRequest request, {$grpc.CallOptions? options}) {
|
|
return $createUnaryCall(_$attachmentAdded, request, options: options);
|
|
}
|
|
|
|
$grpc.ResponseFuture<$35.MovementAttachmentRemovedResponse> attachmentRemoved($35.MovementAttachmentRemovedRequest request, {$grpc.CallOptions? options}) {
|
|
return $createUnaryCall(_$attachmentRemoved, request, options: options);
|
|
}
|
|
|
|
$grpc.ResponseFuture<$35.MovementDeletedResponse> deleted($35.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<$35.MovementCreatedRequest, $35.MovementCreatedResponse>(
|
|
'Created',
|
|
created_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $35.MovementCreatedRequest.fromBuffer(value),
|
|
($35.MovementCreatedResponse value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$35.MovementGeneratedRequest, $35.MovementGeneratedResponse>(
|
|
'Generated',
|
|
generated_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $35.MovementGeneratedRequest.fromBuffer(value),
|
|
($35.MovementGeneratedResponse value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$35.MovementStockValueUpdatedRequest, $35.MovementStockValueUpdatedResponse>(
|
|
'StockValueUpdated',
|
|
stockValueUpdated_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $35.MovementStockValueUpdatedRequest.fromBuffer(value),
|
|
($35.MovementStockValueUpdatedResponse value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$35.MovementClaimAddedRequest, $35.MovementClaimAddedResponse>(
|
|
'ClaimAdded',
|
|
claimAdded_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $35.MovementClaimAddedRequest.fromBuffer(value),
|
|
($35.MovementClaimAddedResponse value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$35.MovementAttachmentAddedRequest, $35.MovementAttachmentAddedResponse>(
|
|
'AttachmentAdded',
|
|
attachmentAdded_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $35.MovementAttachmentAddedRequest.fromBuffer(value),
|
|
($35.MovementAttachmentAddedResponse value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$35.MovementAttachmentRemovedRequest, $35.MovementAttachmentRemovedResponse>(
|
|
'AttachmentRemoved',
|
|
attachmentRemoved_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $35.MovementAttachmentRemovedRequest.fromBuffer(value),
|
|
($35.MovementAttachmentRemovedResponse value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$35.MovementDeletedRequest, $35.MovementDeletedResponse>(
|
|
'Deleted',
|
|
deleted_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $35.MovementDeletedRequest.fromBuffer(value),
|
|
($35.MovementDeletedResponse value) => value.writeToBuffer()));
|
|
}
|
|
|
|
$async.Future<$35.MovementCreatedResponse> created_Pre($grpc.ServiceCall $call, $async.Future<$35.MovementCreatedRequest> $request) async {
|
|
return created($call, await $request);
|
|
}
|
|
|
|
$async.Future<$35.MovementGeneratedResponse> generated_Pre($grpc.ServiceCall $call, $async.Future<$35.MovementGeneratedRequest> $request) async {
|
|
return generated($call, await $request);
|
|
}
|
|
|
|
$async.Future<$35.MovementStockValueUpdatedResponse> stockValueUpdated_Pre($grpc.ServiceCall $call, $async.Future<$35.MovementStockValueUpdatedRequest> $request) async {
|
|
return stockValueUpdated($call, await $request);
|
|
}
|
|
|
|
$async.Future<$35.MovementClaimAddedResponse> claimAdded_Pre($grpc.ServiceCall $call, $async.Future<$35.MovementClaimAddedRequest> $request) async {
|
|
return claimAdded($call, await $request);
|
|
}
|
|
|
|
$async.Future<$35.MovementAttachmentAddedResponse> attachmentAdded_Pre($grpc.ServiceCall $call, $async.Future<$35.MovementAttachmentAddedRequest> $request) async {
|
|
return attachmentAdded($call, await $request);
|
|
}
|
|
|
|
$async.Future<$35.MovementAttachmentRemovedResponse> attachmentRemoved_Pre($grpc.ServiceCall $call, $async.Future<$35.MovementAttachmentRemovedRequest> $request) async {
|
|
return attachmentRemoved($call, await $request);
|
|
}
|
|
|
|
$async.Future<$35.MovementDeletedResponse> deleted_Pre($grpc.ServiceCall $call, $async.Future<$35.MovementDeletedRequest> $request) async {
|
|
return deleted($call, await $request);
|
|
}
|
|
|
|
$async.Future<$35.MovementCreatedResponse> created($grpc.ServiceCall call, $35.MovementCreatedRequest request);
|
|
$async.Future<$35.MovementGeneratedResponse> generated($grpc.ServiceCall call, $35.MovementGeneratedRequest request);
|
|
$async.Future<$35.MovementStockValueUpdatedResponse> stockValueUpdated($grpc.ServiceCall call, $35.MovementStockValueUpdatedRequest request);
|
|
$async.Future<$35.MovementClaimAddedResponse> claimAdded($grpc.ServiceCall call, $35.MovementClaimAddedRequest request);
|
|
$async.Future<$35.MovementAttachmentAddedResponse> attachmentAdded($grpc.ServiceCall call, $35.MovementAttachmentAddedRequest request);
|
|
$async.Future<$35.MovementAttachmentRemovedResponse> attachmentRemoved($grpc.ServiceCall call, $35.MovementAttachmentRemovedRequest request);
|
|
$async.Future<$35.MovementDeletedResponse> deleted($grpc.ServiceCall call, $35.MovementDeletedRequest request);
|
|
}
|