You've already forked dart-core-sdk
64 lines
2.2 KiB
Dart
64 lines
2.2 KiB
Dart
//
|
|
// 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 $66;
|
|
|
|
export 'view.pb.dart';
|
|
|
|
@$pb.GrpcServiceName('api.ViewService')
|
|
class ViewServiceClient 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 _$getViewFields = $grpc.ClientMethod<$66.GetViewFieldsRequest, $66.GetViewFieldsResult>(
|
|
'/api.ViewService/GetViewFields',
|
|
($66.GetViewFieldsRequest value) => value.writeToBuffer(),
|
|
($core.List<$core.int> value) => $66.GetViewFieldsResult.fromBuffer(value));
|
|
|
|
ViewServiceClient(super.channel, {super.options, super.interceptors});
|
|
|
|
$grpc.ResponseFuture<$66.GetViewFieldsResult> getViewFields($66.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<$66.GetViewFieldsRequest, $66.GetViewFieldsResult>(
|
|
'GetViewFields',
|
|
getViewFields_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $66.GetViewFieldsRequest.fromBuffer(value),
|
|
($66.GetViewFieldsResult value) => value.writeToBuffer()));
|
|
}
|
|
|
|
$async.Future<$66.GetViewFieldsResult> getViewFields_Pre($grpc.ServiceCall $call, $async.Future<$66.GetViewFieldsRequest> $request) async {
|
|
return getViewFields($call, await $request);
|
|
}
|
|
|
|
$async.Future<$66.GetViewFieldsResult> getViewFields($grpc.ServiceCall call, $66.GetViewFieldsRequest request);
|
|
}
|