// // Generated code. Do not modify. // source: view.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 'view.pb.dart' as $56; export 'view.pb.dart'; @$pb.GrpcServiceName('api.ViewService') class ViewServiceClient extends $grpc.Client { static final _$getViewFields = $grpc.ClientMethod<$56.GetViewFieldsRequest, $56.GetViewFieldsResult>( '/api.ViewService/GetViewFields', ($56.GetViewFieldsRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $56.GetViewFieldsResult.fromBuffer(value)); ViewServiceClient($grpc.ClientChannel channel, {$grpc.CallOptions? options, $core.Iterable<$grpc.ClientInterceptor>? interceptors}) : super(channel, options: options, interceptors: interceptors); $grpc.ResponseFuture<$56.GetViewFieldsResult> getViewFields($56.GetViewFieldsRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getViewFields, request, options: options); } } @$pb.GrpcServiceName('api.ViewService') abstract class ViewServiceBase extends $grpc.Service { $core.String get $name => 'api.ViewService'; ViewServiceBase() { $addMethod($grpc.ServiceMethod<$56.GetViewFieldsRequest, $56.GetViewFieldsResult>( 'GetViewFields', getViewFields_Pre, false, false, ($core.List<$core.int> value) => $56.GetViewFieldsRequest.fromBuffer(value), ($56.GetViewFieldsResult value) => value.writeToBuffer())); } $async.Future<$56.GetViewFieldsResult> getViewFields_Pre($grpc.ServiceCall $call, $async.Future<$56.GetViewFieldsRequest> $request) async { return getViewFields($call, await $request); } $async.Future<$56.GetViewFieldsResult> getViewFields($grpc.ServiceCall call, $56.GetViewFieldsRequest request); }