You've already forked dart-core-sdk
Latest generation
This commit is contained in:
@@ -15,32 +15,32 @@ import 'dart:core' as $core;
|
||||
import 'package:grpc/service_api.dart' as $grpc;
|
||||
import 'package:protobuf/protobuf.dart' as $pb;
|
||||
|
||||
import 'model.pb.dart' as $58;
|
||||
import 'model.pb.dart' as $8;
|
||||
|
||||
export 'model.pb.dart';
|
||||
|
||||
@$pb.GrpcServiceName('api.ModelService')
|
||||
class ModelServiceClient extends $grpc.Client {
|
||||
static final _$getDataModel = $grpc.ClientMethod<$58.GetDataModelRequest, $58.GetDataModelResult>(
|
||||
static final _$getDataModel = $grpc.ClientMethod<$8.GetDataModelRequest, $8.GetDataModelResult>(
|
||||
'/api.ModelService/GetDataModel',
|
||||
($58.GetDataModelRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $58.GetDataModelResult.fromBuffer(value));
|
||||
static final _$getEntityModel = $grpc.ClientMethod<$58.GetEntityModelRequest, $58.GetEntityModelResult>(
|
||||
($8.GetDataModelRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $8.GetDataModelResult.fromBuffer(value));
|
||||
static final _$getEntityModel = $grpc.ClientMethod<$8.GetEntityModelRequest, $8.GetEntityModelResult>(
|
||||
'/api.ModelService/GetEntityModel',
|
||||
($58.GetEntityModelRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $58.GetEntityModelResult.fromBuffer(value));
|
||||
static final _$getEntities = $grpc.ClientMethod<$58.GetEntitiesRequest, $58.GetEntitiesResult>(
|
||||
($8.GetEntityModelRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $8.GetEntityModelResult.fromBuffer(value));
|
||||
static final _$getEntities = $grpc.ClientMethod<$8.GetEntitiesRequest, $8.GetEntitiesResult>(
|
||||
'/api.ModelService/GetEntities',
|
||||
($58.GetEntitiesRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $58.GetEntitiesResult.fromBuffer(value));
|
||||
static final _$getEntitiesWithMetadata = $grpc.ClientMethod<$58.GetEntitiesRequest, $58.GetEntitiesResult>(
|
||||
($8.GetEntitiesRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $8.GetEntitiesResult.fromBuffer(value));
|
||||
static final _$getEntitiesWithMetadata = $grpc.ClientMethod<$8.GetEntitiesRequest, $8.GetEntitiesResult>(
|
||||
'/api.ModelService/GetEntitiesWithMetadata',
|
||||
($58.GetEntitiesRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $58.GetEntitiesResult.fromBuffer(value));
|
||||
static final _$getEntitiesWithDataRestriction = $grpc.ClientMethod<$58.GetEntitiesRequest, $58.GetEntitiesResult>(
|
||||
($8.GetEntitiesRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $8.GetEntitiesResult.fromBuffer(value));
|
||||
static final _$getEntitiesWithDataRestriction = $grpc.ClientMethod<$8.GetEntitiesRequest, $8.GetEntitiesResult>(
|
||||
'/api.ModelService/GetEntitiesWithDataRestriction',
|
||||
($58.GetEntitiesRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $58.GetEntitiesResult.fromBuffer(value));
|
||||
($8.GetEntitiesRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $8.GetEntitiesResult.fromBuffer(value));
|
||||
|
||||
ModelServiceClient($grpc.ClientChannel channel,
|
||||
{$grpc.CallOptions? options,
|
||||
@@ -48,23 +48,23 @@ class ModelServiceClient extends $grpc.Client {
|
||||
: super(channel, options: options,
|
||||
interceptors: interceptors);
|
||||
|
||||
$grpc.ResponseFuture<$58.GetDataModelResult> getDataModel($58.GetDataModelRequest request, {$grpc.CallOptions? options}) {
|
||||
$grpc.ResponseFuture<$8.GetDataModelResult> getDataModel($8.GetDataModelRequest request, {$grpc.CallOptions? options}) {
|
||||
return $createUnaryCall(_$getDataModel, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseFuture<$58.GetEntityModelResult> getEntityModel($58.GetEntityModelRequest request, {$grpc.CallOptions? options}) {
|
||||
$grpc.ResponseFuture<$8.GetEntityModelResult> getEntityModel($8.GetEntityModelRequest request, {$grpc.CallOptions? options}) {
|
||||
return $createUnaryCall(_$getEntityModel, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseFuture<$58.GetEntitiesResult> getEntities($58.GetEntitiesRequest request, {$grpc.CallOptions? options}) {
|
||||
$grpc.ResponseFuture<$8.GetEntitiesResult> getEntities($8.GetEntitiesRequest request, {$grpc.CallOptions? options}) {
|
||||
return $createUnaryCall(_$getEntities, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseFuture<$58.GetEntitiesResult> getEntitiesWithMetadata($58.GetEntitiesRequest request, {$grpc.CallOptions? options}) {
|
||||
$grpc.ResponseFuture<$8.GetEntitiesResult> getEntitiesWithMetadata($8.GetEntitiesRequest request, {$grpc.CallOptions? options}) {
|
||||
return $createUnaryCall(_$getEntitiesWithMetadata, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseFuture<$58.GetEntitiesResult> getEntitiesWithDataRestriction($58.GetEntitiesRequest request, {$grpc.CallOptions? options}) {
|
||||
$grpc.ResponseFuture<$8.GetEntitiesResult> getEntitiesWithDataRestriction($8.GetEntitiesRequest request, {$grpc.CallOptions? options}) {
|
||||
return $createUnaryCall(_$getEntitiesWithDataRestriction, request, options: options);
|
||||
}
|
||||
}
|
||||
@@ -74,66 +74,66 @@ abstract class ModelServiceBase extends $grpc.Service {
|
||||
$core.String get $name => 'api.ModelService';
|
||||
|
||||
ModelServiceBase() {
|
||||
$addMethod($grpc.ServiceMethod<$58.GetDataModelRequest, $58.GetDataModelResult>(
|
||||
$addMethod($grpc.ServiceMethod<$8.GetDataModelRequest, $8.GetDataModelResult>(
|
||||
'GetDataModel',
|
||||
getDataModel_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $58.GetDataModelRequest.fromBuffer(value),
|
||||
($58.GetDataModelResult value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$58.GetEntityModelRequest, $58.GetEntityModelResult>(
|
||||
($core.List<$core.int> value) => $8.GetDataModelRequest.fromBuffer(value),
|
||||
($8.GetDataModelResult value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$8.GetEntityModelRequest, $8.GetEntityModelResult>(
|
||||
'GetEntityModel',
|
||||
getEntityModel_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $58.GetEntityModelRequest.fromBuffer(value),
|
||||
($58.GetEntityModelResult value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$58.GetEntitiesRequest, $58.GetEntitiesResult>(
|
||||
($core.List<$core.int> value) => $8.GetEntityModelRequest.fromBuffer(value),
|
||||
($8.GetEntityModelResult value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$8.GetEntitiesRequest, $8.GetEntitiesResult>(
|
||||
'GetEntities',
|
||||
getEntities_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $58.GetEntitiesRequest.fromBuffer(value),
|
||||
($58.GetEntitiesResult value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$58.GetEntitiesRequest, $58.GetEntitiesResult>(
|
||||
($core.List<$core.int> value) => $8.GetEntitiesRequest.fromBuffer(value),
|
||||
($8.GetEntitiesResult value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$8.GetEntitiesRequest, $8.GetEntitiesResult>(
|
||||
'GetEntitiesWithMetadata',
|
||||
getEntitiesWithMetadata_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $58.GetEntitiesRequest.fromBuffer(value),
|
||||
($58.GetEntitiesResult value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$58.GetEntitiesRequest, $58.GetEntitiesResult>(
|
||||
($core.List<$core.int> value) => $8.GetEntitiesRequest.fromBuffer(value),
|
||||
($8.GetEntitiesResult value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$8.GetEntitiesRequest, $8.GetEntitiesResult>(
|
||||
'GetEntitiesWithDataRestriction',
|
||||
getEntitiesWithDataRestriction_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $58.GetEntitiesRequest.fromBuffer(value),
|
||||
($58.GetEntitiesResult value) => value.writeToBuffer()));
|
||||
($core.List<$core.int> value) => $8.GetEntitiesRequest.fromBuffer(value),
|
||||
($8.GetEntitiesResult value) => value.writeToBuffer()));
|
||||
}
|
||||
|
||||
$async.Future<$58.GetDataModelResult> getDataModel_Pre($grpc.ServiceCall $call, $async.Future<$58.GetDataModelRequest> $request) async {
|
||||
$async.Future<$8.GetDataModelResult> getDataModel_Pre($grpc.ServiceCall $call, $async.Future<$8.GetDataModelRequest> $request) async {
|
||||
return getDataModel($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$58.GetEntityModelResult> getEntityModel_Pre($grpc.ServiceCall $call, $async.Future<$58.GetEntityModelRequest> $request) async {
|
||||
$async.Future<$8.GetEntityModelResult> getEntityModel_Pre($grpc.ServiceCall $call, $async.Future<$8.GetEntityModelRequest> $request) async {
|
||||
return getEntityModel($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$58.GetEntitiesResult> getEntities_Pre($grpc.ServiceCall $call, $async.Future<$58.GetEntitiesRequest> $request) async {
|
||||
$async.Future<$8.GetEntitiesResult> getEntities_Pre($grpc.ServiceCall $call, $async.Future<$8.GetEntitiesRequest> $request) async {
|
||||
return getEntities($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$58.GetEntitiesResult> getEntitiesWithMetadata_Pre($grpc.ServiceCall $call, $async.Future<$58.GetEntitiesRequest> $request) async {
|
||||
$async.Future<$8.GetEntitiesResult> getEntitiesWithMetadata_Pre($grpc.ServiceCall $call, $async.Future<$8.GetEntitiesRequest> $request) async {
|
||||
return getEntitiesWithMetadata($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$58.GetEntitiesResult> getEntitiesWithDataRestriction_Pre($grpc.ServiceCall $call, $async.Future<$58.GetEntitiesRequest> $request) async {
|
||||
$async.Future<$8.GetEntitiesResult> getEntitiesWithDataRestriction_Pre($grpc.ServiceCall $call, $async.Future<$8.GetEntitiesRequest> $request) async {
|
||||
return getEntitiesWithDataRestriction($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$58.GetDataModelResult> getDataModel($grpc.ServiceCall call, $58.GetDataModelRequest request);
|
||||
$async.Future<$58.GetEntityModelResult> getEntityModel($grpc.ServiceCall call, $58.GetEntityModelRequest request);
|
||||
$async.Future<$58.GetEntitiesResult> getEntities($grpc.ServiceCall call, $58.GetEntitiesRequest request);
|
||||
$async.Future<$58.GetEntitiesResult> getEntitiesWithMetadata($grpc.ServiceCall call, $58.GetEntitiesRequest request);
|
||||
$async.Future<$58.GetEntitiesResult> getEntitiesWithDataRestriction($grpc.ServiceCall call, $58.GetEntitiesRequest request);
|
||||
$async.Future<$8.GetDataModelResult> getDataModel($grpc.ServiceCall call, $8.GetDataModelRequest request);
|
||||
$async.Future<$8.GetEntityModelResult> getEntityModel($grpc.ServiceCall call, $8.GetEntityModelRequest request);
|
||||
$async.Future<$8.GetEntitiesResult> getEntities($grpc.ServiceCall call, $8.GetEntitiesRequest request);
|
||||
$async.Future<$8.GetEntitiesResult> getEntitiesWithMetadata($grpc.ServiceCall call, $8.GetEntitiesRequest request);
|
||||
$async.Future<$8.GetEntitiesResult> getEntitiesWithDataRestriction($grpc.ServiceCall call, $8.GetEntitiesRequest request);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user