Latest generation

This commit is contained in:
ci core model
2025-05-14 13:23:24 +00:00
parent 9ea17d3abe
commit b61709b2fa
177 changed files with 13987 additions and 14240 deletions

View File

@@ -15,48 +15,44 @@ import 'dart:core' as $core;
import 'package:grpc/service_api.dart' as $grpc;
import 'package:protobuf/protobuf.dart' as $pb;
import 'elastic.pb.dart' as $58;
import 'elastic.pb.dart' as $21;
export 'elastic.pb.dart';
@$pb.GrpcServiceName('api.ElasticService')
class ElasticServiceClient extends $grpc.Client {
static final _$updateModelMappings = $grpc.ClientMethod<$58.UpdateModelMappingsRequest, $58.UpdateModelMappingsResult>(
static final _$updateModelMappings = $grpc.ClientMethod<$21.UpdateModelMappingsRequest, $21.UpdateModelMappingsResult>(
'/api.ElasticService/UpdateModelMappings',
($58.UpdateModelMappingsRequest value) => value.writeToBuffer(),
($core.List<$core.int> value) => $58.UpdateModelMappingsResult.fromBuffer(value));
static final _$createProjectMappings = $grpc.ClientMethod<$58.CreateProjectMappingsRequest, $58.CreateProjectMappingsResult>(
($21.UpdateModelMappingsRequest value) => value.writeToBuffer(),
($core.List<$core.int> value) => $21.UpdateModelMappingsResult.fromBuffer(value));
static final _$createProjectMappings = $grpc.ClientMethod<$21.CreateProjectMappingsRequest, $21.CreateProjectMappingsResult>(
'/api.ElasticService/CreateProjectMappings',
($58.CreateProjectMappingsRequest value) => value.writeToBuffer(),
($core.List<$core.int> value) => $58.CreateProjectMappingsResult.fromBuffer(value));
static final _$deleteProjectMappings = $grpc.ClientMethod<$58.DeleteProjectMappingsRequest, $58.DeleteProjectMappingsResult>(
($21.CreateProjectMappingsRequest value) => value.writeToBuffer(),
($core.List<$core.int> value) => $21.CreateProjectMappingsResult.fromBuffer(value));
static final _$deleteProjectMappings = $grpc.ClientMethod<$21.DeleteProjectMappingsRequest, $21.DeleteProjectMappingsResult>(
'/api.ElasticService/DeleteProjectMappings',
($58.DeleteProjectMappingsRequest value) => value.writeToBuffer(),
($core.List<$core.int> value) => $58.DeleteProjectMappingsResult.fromBuffer(value));
static final _$clearIndexEntity = $grpc.ClientMethod<$58.ClearIndexEntityRequest, $58.ClearIndexEntityResult>(
($21.DeleteProjectMappingsRequest value) => value.writeToBuffer(),
($core.List<$core.int> value) => $21.DeleteProjectMappingsResult.fromBuffer(value));
static final _$clearIndexEntity = $grpc.ClientMethod<$21.ClearIndexEntityRequest, $21.ClearIndexEntityResult>(
'/api.ElasticService/ClearIndexEntity',
($58.ClearIndexEntityRequest value) => value.writeToBuffer(),
($core.List<$core.int> value) => $58.ClearIndexEntityResult.fromBuffer(value));
($21.ClearIndexEntityRequest value) => value.writeToBuffer(),
($core.List<$core.int> value) => $21.ClearIndexEntityResult.fromBuffer(value));
ElasticServiceClient($grpc.ClientChannel channel,
{$grpc.CallOptions? options,
$core.Iterable<$grpc.ClientInterceptor>? interceptors})
: super(channel, options: options,
interceptors: interceptors);
ElasticServiceClient(super.channel, {super.options, super.interceptors});
$grpc.ResponseFuture<$58.UpdateModelMappingsResult> updateModelMappings($58.UpdateModelMappingsRequest request, {$grpc.CallOptions? options}) {
$grpc.ResponseFuture<$21.UpdateModelMappingsResult> updateModelMappings($21.UpdateModelMappingsRequest request, {$grpc.CallOptions? options}) {
return $createUnaryCall(_$updateModelMappings, request, options: options);
}
$grpc.ResponseFuture<$58.CreateProjectMappingsResult> createProjectMappings($58.CreateProjectMappingsRequest request, {$grpc.CallOptions? options}) {
$grpc.ResponseFuture<$21.CreateProjectMappingsResult> createProjectMappings($21.CreateProjectMappingsRequest request, {$grpc.CallOptions? options}) {
return $createUnaryCall(_$createProjectMappings, request, options: options);
}
$grpc.ResponseFuture<$58.DeleteProjectMappingsResult> deleteProjectMappings($58.DeleteProjectMappingsRequest request, {$grpc.CallOptions? options}) {
$grpc.ResponseFuture<$21.DeleteProjectMappingsResult> deleteProjectMappings($21.DeleteProjectMappingsRequest request, {$grpc.CallOptions? options}) {
return $createUnaryCall(_$deleteProjectMappings, request, options: options);
}
$grpc.ResponseFuture<$58.ClearIndexEntityResult> clearIndexEntity($58.ClearIndexEntityRequest request, {$grpc.CallOptions? options}) {
$grpc.ResponseFuture<$21.ClearIndexEntityResult> clearIndexEntity($21.ClearIndexEntityRequest request, {$grpc.CallOptions? options}) {
return $createUnaryCall(_$clearIndexEntity, request, options: options);
}
}
@@ -66,54 +62,54 @@ abstract class ElasticServiceBase extends $grpc.Service {
$core.String get $name => 'api.ElasticService';
ElasticServiceBase() {
$addMethod($grpc.ServiceMethod<$58.UpdateModelMappingsRequest, $58.UpdateModelMappingsResult>(
$addMethod($grpc.ServiceMethod<$21.UpdateModelMappingsRequest, $21.UpdateModelMappingsResult>(
'UpdateModelMappings',
updateModelMappings_Pre,
false,
false,
($core.List<$core.int> value) => $58.UpdateModelMappingsRequest.fromBuffer(value),
($58.UpdateModelMappingsResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$58.CreateProjectMappingsRequest, $58.CreateProjectMappingsResult>(
($core.List<$core.int> value) => $21.UpdateModelMappingsRequest.fromBuffer(value),
($21.UpdateModelMappingsResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$21.CreateProjectMappingsRequest, $21.CreateProjectMappingsResult>(
'CreateProjectMappings',
createProjectMappings_Pre,
false,
false,
($core.List<$core.int> value) => $58.CreateProjectMappingsRequest.fromBuffer(value),
($58.CreateProjectMappingsResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$58.DeleteProjectMappingsRequest, $58.DeleteProjectMappingsResult>(
($core.List<$core.int> value) => $21.CreateProjectMappingsRequest.fromBuffer(value),
($21.CreateProjectMappingsResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$21.DeleteProjectMappingsRequest, $21.DeleteProjectMappingsResult>(
'DeleteProjectMappings',
deleteProjectMappings_Pre,
false,
false,
($core.List<$core.int> value) => $58.DeleteProjectMappingsRequest.fromBuffer(value),
($58.DeleteProjectMappingsResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$58.ClearIndexEntityRequest, $58.ClearIndexEntityResult>(
($core.List<$core.int> value) => $21.DeleteProjectMappingsRequest.fromBuffer(value),
($21.DeleteProjectMappingsResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$21.ClearIndexEntityRequest, $21.ClearIndexEntityResult>(
'ClearIndexEntity',
clearIndexEntity_Pre,
false,
false,
($core.List<$core.int> value) => $58.ClearIndexEntityRequest.fromBuffer(value),
($58.ClearIndexEntityResult value) => value.writeToBuffer()));
($core.List<$core.int> value) => $21.ClearIndexEntityRequest.fromBuffer(value),
($21.ClearIndexEntityResult value) => value.writeToBuffer()));
}
$async.Future<$58.UpdateModelMappingsResult> updateModelMappings_Pre($grpc.ServiceCall $call, $async.Future<$58.UpdateModelMappingsRequest> $request) async {
$async.Future<$21.UpdateModelMappingsResult> updateModelMappings_Pre($grpc.ServiceCall $call, $async.Future<$21.UpdateModelMappingsRequest> $request) async {
return updateModelMappings($call, await $request);
}
$async.Future<$58.CreateProjectMappingsResult> createProjectMappings_Pre($grpc.ServiceCall $call, $async.Future<$58.CreateProjectMappingsRequest> $request) async {
$async.Future<$21.CreateProjectMappingsResult> createProjectMappings_Pre($grpc.ServiceCall $call, $async.Future<$21.CreateProjectMappingsRequest> $request) async {
return createProjectMappings($call, await $request);
}
$async.Future<$58.DeleteProjectMappingsResult> deleteProjectMappings_Pre($grpc.ServiceCall $call, $async.Future<$58.DeleteProjectMappingsRequest> $request) async {
$async.Future<$21.DeleteProjectMappingsResult> deleteProjectMappings_Pre($grpc.ServiceCall $call, $async.Future<$21.DeleteProjectMappingsRequest> $request) async {
return deleteProjectMappings($call, await $request);
}
$async.Future<$58.ClearIndexEntityResult> clearIndexEntity_Pre($grpc.ServiceCall $call, $async.Future<$58.ClearIndexEntityRequest> $request) async {
$async.Future<$21.ClearIndexEntityResult> clearIndexEntity_Pre($grpc.ServiceCall $call, $async.Future<$21.ClearIndexEntityRequest> $request) async {
return clearIndexEntity($call, await $request);
}
$async.Future<$58.UpdateModelMappingsResult> updateModelMappings($grpc.ServiceCall call, $58.UpdateModelMappingsRequest request);
$async.Future<$58.CreateProjectMappingsResult> createProjectMappings($grpc.ServiceCall call, $58.CreateProjectMappingsRequest request);
$async.Future<$58.DeleteProjectMappingsResult> deleteProjectMappings($grpc.ServiceCall call, $58.DeleteProjectMappingsRequest request);
$async.Future<$58.ClearIndexEntityResult> clearIndexEntity($grpc.ServiceCall call, $58.ClearIndexEntityRequest request);
$async.Future<$21.UpdateModelMappingsResult> updateModelMappings($grpc.ServiceCall call, $21.UpdateModelMappingsRequest request);
$async.Future<$21.CreateProjectMappingsResult> createProjectMappings($grpc.ServiceCall call, $21.CreateProjectMappingsRequest request);
$async.Future<$21.DeleteProjectMappingsResult> deleteProjectMappings($grpc.ServiceCall call, $21.DeleteProjectMappingsRequest request);
$async.Future<$21.ClearIndexEntityResult> clearIndexEntity($grpc.ServiceCall call, $21.ClearIndexEntityRequest request);
}