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 $57;
|
||||
import 'model.pb.dart' as $58;
|
||||
|
||||
export 'model.pb.dart';
|
||||
|
||||
@$pb.GrpcServiceName('api.ModelService')
|
||||
class ModelServiceClient extends $grpc.Client {
|
||||
static final _$getDataModel = $grpc.ClientMethod<$57.GetDataModelRequest, $57.GetDataModelResult>(
|
||||
static final _$getDataModel = $grpc.ClientMethod<$58.GetDataModelRequest, $58.GetDataModelResult>(
|
||||
'/api.ModelService/GetDataModel',
|
||||
($57.GetDataModelRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $57.GetDataModelResult.fromBuffer(value));
|
||||
static final _$getEntityModel = $grpc.ClientMethod<$57.GetEntityModelRequest, $57.GetEntityModelResult>(
|
||||
($58.GetDataModelRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $58.GetDataModelResult.fromBuffer(value));
|
||||
static final _$getEntityModel = $grpc.ClientMethod<$58.GetEntityModelRequest, $58.GetEntityModelResult>(
|
||||
'/api.ModelService/GetEntityModel',
|
||||
($57.GetEntityModelRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $57.GetEntityModelResult.fromBuffer(value));
|
||||
static final _$getEntities = $grpc.ClientMethod<$57.GetEntitiesRequest, $57.GetEntitiesResult>(
|
||||
($58.GetEntityModelRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $58.GetEntityModelResult.fromBuffer(value));
|
||||
static final _$getEntities = $grpc.ClientMethod<$58.GetEntitiesRequest, $58.GetEntitiesResult>(
|
||||
'/api.ModelService/GetEntities',
|
||||
($57.GetEntitiesRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $57.GetEntitiesResult.fromBuffer(value));
|
||||
static final _$getEntitiesWithMetadata = $grpc.ClientMethod<$57.GetEntitiesRequest, $57.GetEntitiesResult>(
|
||||
($58.GetEntitiesRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $58.GetEntitiesResult.fromBuffer(value));
|
||||
static final _$getEntitiesWithMetadata = $grpc.ClientMethod<$58.GetEntitiesRequest, $58.GetEntitiesResult>(
|
||||
'/api.ModelService/GetEntitiesWithMetadata',
|
||||
($57.GetEntitiesRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $57.GetEntitiesResult.fromBuffer(value));
|
||||
static final _$getEntitiesWithDataRestriction = $grpc.ClientMethod<$57.GetEntitiesRequest, $57.GetEntitiesResult>(
|
||||
($58.GetEntitiesRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $58.GetEntitiesResult.fromBuffer(value));
|
||||
static final _$getEntitiesWithDataRestriction = $grpc.ClientMethod<$58.GetEntitiesRequest, $58.GetEntitiesResult>(
|
||||
'/api.ModelService/GetEntitiesWithDataRestriction',
|
||||
($57.GetEntitiesRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $57.GetEntitiesResult.fromBuffer(value));
|
||||
($58.GetEntitiesRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $58.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<$57.GetDataModelResult> getDataModel($57.GetDataModelRequest request, {$grpc.CallOptions? options}) {
|
||||
$grpc.ResponseFuture<$58.GetDataModelResult> getDataModel($58.GetDataModelRequest request, {$grpc.CallOptions? options}) {
|
||||
return $createUnaryCall(_$getDataModel, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseFuture<$57.GetEntityModelResult> getEntityModel($57.GetEntityModelRequest request, {$grpc.CallOptions? options}) {
|
||||
$grpc.ResponseFuture<$58.GetEntityModelResult> getEntityModel($58.GetEntityModelRequest request, {$grpc.CallOptions? options}) {
|
||||
return $createUnaryCall(_$getEntityModel, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseFuture<$57.GetEntitiesResult> getEntities($57.GetEntitiesRequest request, {$grpc.CallOptions? options}) {
|
||||
$grpc.ResponseFuture<$58.GetEntitiesResult> getEntities($58.GetEntitiesRequest request, {$grpc.CallOptions? options}) {
|
||||
return $createUnaryCall(_$getEntities, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseFuture<$57.GetEntitiesResult> getEntitiesWithMetadata($57.GetEntitiesRequest request, {$grpc.CallOptions? options}) {
|
||||
$grpc.ResponseFuture<$58.GetEntitiesResult> getEntitiesWithMetadata($58.GetEntitiesRequest request, {$grpc.CallOptions? options}) {
|
||||
return $createUnaryCall(_$getEntitiesWithMetadata, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseFuture<$57.GetEntitiesResult> getEntitiesWithDataRestriction($57.GetEntitiesRequest request, {$grpc.CallOptions? options}) {
|
||||
$grpc.ResponseFuture<$58.GetEntitiesResult> getEntitiesWithDataRestriction($58.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<$57.GetDataModelRequest, $57.GetDataModelResult>(
|
||||
$addMethod($grpc.ServiceMethod<$58.GetDataModelRequest, $58.GetDataModelResult>(
|
||||
'GetDataModel',
|
||||
getDataModel_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $57.GetDataModelRequest.fromBuffer(value),
|
||||
($57.GetDataModelResult value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$57.GetEntityModelRequest, $57.GetEntityModelResult>(
|
||||
($core.List<$core.int> value) => $58.GetDataModelRequest.fromBuffer(value),
|
||||
($58.GetDataModelResult value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$58.GetEntityModelRequest, $58.GetEntityModelResult>(
|
||||
'GetEntityModel',
|
||||
getEntityModel_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $57.GetEntityModelRequest.fromBuffer(value),
|
||||
($57.GetEntityModelResult value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$57.GetEntitiesRequest, $57.GetEntitiesResult>(
|
||||
($core.List<$core.int> value) => $58.GetEntityModelRequest.fromBuffer(value),
|
||||
($58.GetEntityModelResult value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$58.GetEntitiesRequest, $58.GetEntitiesResult>(
|
||||
'GetEntities',
|
||||
getEntities_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $57.GetEntitiesRequest.fromBuffer(value),
|
||||
($57.GetEntitiesResult value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$57.GetEntitiesRequest, $57.GetEntitiesResult>(
|
||||
($core.List<$core.int> value) => $58.GetEntitiesRequest.fromBuffer(value),
|
||||
($58.GetEntitiesResult value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$58.GetEntitiesRequest, $58.GetEntitiesResult>(
|
||||
'GetEntitiesWithMetadata',
|
||||
getEntitiesWithMetadata_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $57.GetEntitiesRequest.fromBuffer(value),
|
||||
($57.GetEntitiesResult value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$57.GetEntitiesRequest, $57.GetEntitiesResult>(
|
||||
($core.List<$core.int> value) => $58.GetEntitiesRequest.fromBuffer(value),
|
||||
($58.GetEntitiesResult value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$58.GetEntitiesRequest, $58.GetEntitiesResult>(
|
||||
'GetEntitiesWithDataRestriction',
|
||||
getEntitiesWithDataRestriction_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $57.GetEntitiesRequest.fromBuffer(value),
|
||||
($57.GetEntitiesResult value) => value.writeToBuffer()));
|
||||
($core.List<$core.int> value) => $58.GetEntitiesRequest.fromBuffer(value),
|
||||
($58.GetEntitiesResult value) => value.writeToBuffer()));
|
||||
}
|
||||
|
||||
$async.Future<$57.GetDataModelResult> getDataModel_Pre($grpc.ServiceCall call, $async.Future<$57.GetDataModelRequest> request) async {
|
||||
$async.Future<$58.GetDataModelResult> getDataModel_Pre($grpc.ServiceCall call, $async.Future<$58.GetDataModelRequest> request) async {
|
||||
return getDataModel(call, await request);
|
||||
}
|
||||
|
||||
$async.Future<$57.GetEntityModelResult> getEntityModel_Pre($grpc.ServiceCall call, $async.Future<$57.GetEntityModelRequest> request) async {
|
||||
$async.Future<$58.GetEntityModelResult> getEntityModel_Pre($grpc.ServiceCall call, $async.Future<$58.GetEntityModelRequest> request) async {
|
||||
return getEntityModel(call, await request);
|
||||
}
|
||||
|
||||
$async.Future<$57.GetEntitiesResult> getEntities_Pre($grpc.ServiceCall call, $async.Future<$57.GetEntitiesRequest> request) async {
|
||||
$async.Future<$58.GetEntitiesResult> getEntities_Pre($grpc.ServiceCall call, $async.Future<$58.GetEntitiesRequest> request) async {
|
||||
return getEntities(call, await request);
|
||||
}
|
||||
|
||||
$async.Future<$57.GetEntitiesResult> getEntitiesWithMetadata_Pre($grpc.ServiceCall call, $async.Future<$57.GetEntitiesRequest> request) async {
|
||||
$async.Future<$58.GetEntitiesResult> getEntitiesWithMetadata_Pre($grpc.ServiceCall call, $async.Future<$58.GetEntitiesRequest> request) async {
|
||||
return getEntitiesWithMetadata(call, await request);
|
||||
}
|
||||
|
||||
$async.Future<$57.GetEntitiesResult> getEntitiesWithDataRestriction_Pre($grpc.ServiceCall call, $async.Future<$57.GetEntitiesRequest> request) async {
|
||||
$async.Future<$58.GetEntitiesResult> getEntitiesWithDataRestriction_Pre($grpc.ServiceCall call, $async.Future<$58.GetEntitiesRequest> request) async {
|
||||
return getEntitiesWithDataRestriction(call, await request);
|
||||
}
|
||||
|
||||
$async.Future<$57.GetDataModelResult> getDataModel($grpc.ServiceCall call, $57.GetDataModelRequest request);
|
||||
$async.Future<$57.GetEntityModelResult> getEntityModel($grpc.ServiceCall call, $57.GetEntityModelRequest request);
|
||||
$async.Future<$57.GetEntitiesResult> getEntities($grpc.ServiceCall call, $57.GetEntitiesRequest request);
|
||||
$async.Future<$57.GetEntitiesResult> getEntitiesWithMetadata($grpc.ServiceCall call, $57.GetEntitiesRequest request);
|
||||
$async.Future<$57.GetEntitiesResult> getEntitiesWithDataRestriction($grpc.ServiceCall call, $57.GetEntitiesRequest 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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user