Latest generation

This commit is contained in:
ci core model
2025-10-02 13:58:43 +00:00
parent b849598be2
commit b7b4dd4a51
5 changed files with 115 additions and 2 deletions

View File

@@ -1,3 +1,3 @@
# CHANGELOG
Lib version: 1.12.0-SNAPSHOT-251002115549
Lib version: 1.12.0-SNAPSHOT-251002135820

View File

@@ -481,6 +481,76 @@ class AppointmentByMatchResult extends $pb.GeneratedMessage {
$pb.PbList<$1.MatchFieldResult> get matchResults => $_getList(0);
}
class FindMineResult extends $pb.GeneratedMessage {
factory FindMineResult({
$core.Iterable<$3.Appointment>? objects,
}) {
final result = create();
if (objects != null) result.objects.addAll(objects);
return result;
}
FindMineResult._();
factory FindMineResult.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory FindMineResult.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FindMineResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
..pc<$3.Appointment>(1, _omitFieldNames ? '' : 'Objects', $pb.PbFieldType.PM, protoName: 'Objects', subBuilder: $3.Appointment.create)
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
FindMineResult clone() => FindMineResult()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
FindMineResult copyWith(void Function(FindMineResult) updates) => super.copyWith((message) => updates(message as FindMineResult)) as FindMineResult;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static FindMineResult create() => FindMineResult._();
@$core.override
FindMineResult createEmptyInstance() => create();
static $pb.PbList<FindMineResult> createRepeated() => $pb.PbList<FindMineResult>();
@$core.pragma('dart2js:noInline')
static FindMineResult getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<FindMineResult>(create);
static FindMineResult? _defaultInstance;
@$pb.TagNumber(1)
$pb.PbList<$3.Appointment> get objects => $_getList(0);
}
class FindMineQuery extends $pb.GeneratedMessage {
factory FindMineQuery() => create();
FindMineQuery._();
factory FindMineQuery.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory FindMineQuery.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FindMineQuery', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
FindMineQuery clone() => FindMineQuery()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
FindMineQuery copyWith(void Function(FindMineQuery) updates) => super.copyWith((message) => updates(message as FindMineQuery)) as FindMineQuery;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static FindMineQuery create() => FindMineQuery._();
@$core.override
FindMineQuery createEmptyInstance() => create();
static $pb.PbList<FindMineQuery> createRepeated() => $pb.PbList<FindMineQuery>();
@$core.pragma('dart2js:noInline')
static FindMineQuery getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<FindMineQuery>(create);
static FindMineQuery? _defaultInstance;
}
const $core.bool _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');

View File

@@ -62,6 +62,10 @@ class AppointmentQueryClient extends $grpc.Client {
return $createUnaryCall(_$countLines, request, options: options);
}
$grpc.ResponseFuture<$0.FindMineResult> findMine($0.FindMineQuery request, {$grpc.CallOptions? options,}) {
return $createUnaryCall(_$findMine, request, options: options);
}
// method descriptors
static final _$getByIds = $grpc.ClientMethod<$0.AppointmentByIdQuery, $0.AppointmentByIdResult>(
@@ -92,6 +96,10 @@ class AppointmentQueryClient extends $grpc.Client {
'/api.AppointmentQuery/CountLines',
($1.CountLinesQuery value) => value.writeToBuffer(),
$1.CountLinesResult.fromBuffer);
static final _$findMine = $grpc.ClientMethod<$0.FindMineQuery, $0.FindMineResult>(
'/api.AppointmentQuery/FindMine',
($0.FindMineQuery value) => value.writeToBuffer(),
$0.FindMineResult.fromBuffer);
}
@$pb.GrpcServiceName('api.AppointmentQuery')
@@ -148,6 +156,13 @@ abstract class AppointmentQueryServiceBase extends $grpc.Service {
false,
($core.List<$core.int> value) => $1.CountLinesQuery.fromBuffer(value),
($1.CountLinesResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.FindMineQuery, $0.FindMineResult>(
'FindMine',
findMine_Pre,
false,
false,
($core.List<$core.int> value) => $0.FindMineQuery.fromBuffer(value),
($0.FindMineResult value) => value.writeToBuffer()));
}
$async.Future<$0.AppointmentByIdResult> getByIds_Pre($grpc.ServiceCall $call, $async.Future<$0.AppointmentByIdQuery> $request) async {
@@ -192,4 +207,10 @@ abstract class AppointmentQueryServiceBase extends $grpc.Service {
$async.Future<$1.CountLinesResult> countLines($grpc.ServiceCall call, $1.CountLinesQuery request);
$async.Future<$0.FindMineResult> findMine_Pre($grpc.ServiceCall $call, $async.Future<$0.FindMineQuery> $request) async {
return findMine($call, await $request);
}
$async.Future<$0.FindMineResult> findMine($grpc.ServiceCall call, $0.FindMineQuery request);
}

View File

@@ -148,3 +148,25 @@ final $typed_data.Uint8List appointmentByMatchResultDescriptor = $convert.base64
'ChhBcHBvaW50bWVudEJ5TWF0Y2hSZXN1bHQSOQoMTWF0Y2hSZXN1bHRzGAIgAygLMhUuYXBpLk'
'1hdGNoRmllbGRSZXN1bHRSDE1hdGNoUmVzdWx0cw==');
@$core.Deprecated('Use findMineResultDescriptor instead')
const FindMineResult$json = {
'1': 'FindMineResult',
'2': [
{'1': 'Objects', '3': 1, '4': 3, '5': 11, '6': '.api.Appointment', '10': 'Objects'},
],
};
/// Descriptor for `FindMineResult`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List findMineResultDescriptor = $convert.base64Decode(
'Cg5GaW5kTWluZVJlc3VsdBIqCgdPYmplY3RzGAEgAygLMhAuYXBpLkFwcG9pbnRtZW50UgdPYm'
'plY3Rz');
@$core.Deprecated('Use findMineQueryDescriptor instead')
const FindMineQuery$json = {
'1': 'FindMineQuery',
};
/// Descriptor for `FindMineQuery`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List findMineQueryDescriptor = $convert.base64Decode(
'Cg1GaW5kTWluZVF1ZXJ5');

View File

@@ -1,6 +1,6 @@
name: dart_core_sdk
description: dart libs from core model proto files
version: 1.12.0-SNAPSHOT-251002115549
version: 1.12.0-SNAPSHOT-251002135820
homepage: ''
publish_to: ''
repository: ''