You've already forked dart-core-sdk
Latest generation
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
# CHANGELOG
|
||||
|
||||
Lib version: 1.11.0-SNAPSHOT-250722132710
|
||||
Lib version: 1.11.0-SNAPSHOT-250723091451
|
||||
|
||||
112
lib/site.pb.dart
112
lib/site.pb.dart
@@ -1801,6 +1801,118 @@ class GetAvailableSlotsResponse extends $pb.GeneratedMessage {
|
||||
void clearEstimatedNeededDurationInMinutes() => $_clearField(2);
|
||||
}
|
||||
|
||||
class SlotGroupAndReason extends $pb.GeneratedMessage {
|
||||
factory SlotGroupAndReason({
|
||||
$2.SlotGroup? slotgroup,
|
||||
$core.String? reason,
|
||||
}) {
|
||||
final result = create();
|
||||
if (slotgroup != null) result.slotgroup = slotgroup;
|
||||
if (reason != null) result.reason = reason;
|
||||
return result;
|
||||
}
|
||||
|
||||
SlotGroupAndReason._();
|
||||
|
||||
factory SlotGroupAndReason.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
||||
factory SlotGroupAndReason.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SlotGroupAndReason', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
..aOM<$2.SlotGroup>(1, _omitFieldNames ? '' : 'Slotgroup', protoName: 'Slotgroup', subBuilder: $2.SlotGroup.create)
|
||||
..aOS(2, _omitFieldNames ? '' : 'Reason', protoName: 'Reason')
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
SlotGroupAndReason clone() => SlotGroupAndReason()..mergeFromMessage(this);
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
SlotGroupAndReason copyWith(void Function(SlotGroupAndReason) updates) => super.copyWith((message) => updates(message as SlotGroupAndReason)) as SlotGroupAndReason;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static SlotGroupAndReason create() => SlotGroupAndReason._();
|
||||
@$core.override
|
||||
SlotGroupAndReason createEmptyInstance() => create();
|
||||
static $pb.PbList<SlotGroupAndReason> createRepeated() => $pb.PbList<SlotGroupAndReason>();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static SlotGroupAndReason getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<SlotGroupAndReason>(create);
|
||||
static SlotGroupAndReason? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(1)
|
||||
$2.SlotGroup get slotgroup => $_getN(0);
|
||||
@$pb.TagNumber(1)
|
||||
set slotgroup($2.SlotGroup value) => $_setField(1, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasSlotgroup() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearSlotgroup() => $_clearField(1);
|
||||
@$pb.TagNumber(1)
|
||||
$2.SlotGroup ensureSlotgroup() => $_ensure(0);
|
||||
|
||||
@$pb.TagNumber(2)
|
||||
$core.String get reason => $_getSZ(1);
|
||||
@$pb.TagNumber(2)
|
||||
set reason($core.String value) => $_setString(1, value);
|
||||
@$pb.TagNumber(2)
|
||||
$core.bool hasReason() => $_has(1);
|
||||
@$pb.TagNumber(2)
|
||||
void clearReason() => $_clearField(2);
|
||||
}
|
||||
|
||||
class GetAllSlotsResponse extends $pb.GeneratedMessage {
|
||||
factory GetAllSlotsResponse({
|
||||
$core.Iterable<SlotGroupAndReason>? slotGroupAndReasons,
|
||||
$fixnum.Int64? estimatedNeededDurationInMinutes,
|
||||
}) {
|
||||
final result = create();
|
||||
if (slotGroupAndReasons != null) result.slotGroupAndReasons.addAll(slotGroupAndReasons);
|
||||
if (estimatedNeededDurationInMinutes != null) result.estimatedNeededDurationInMinutes = estimatedNeededDurationInMinutes;
|
||||
return result;
|
||||
}
|
||||
|
||||
GetAllSlotsResponse._();
|
||||
|
||||
factory GetAllSlotsResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
||||
factory GetAllSlotsResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetAllSlotsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
..pc<SlotGroupAndReason>(1, _omitFieldNames ? '' : 'SlotGroupAndReasons', $pb.PbFieldType.PM, protoName: 'SlotGroupAndReasons', subBuilder: SlotGroupAndReason.create)
|
||||
..a<$fixnum.Int64>(2, _omitFieldNames ? '' : 'EstimatedNeededDurationInMinutes', $pb.PbFieldType.OU6, protoName: 'EstimatedNeededDurationInMinutes', defaultOrMaker: $fixnum.Int64.ZERO)
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
GetAllSlotsResponse clone() => GetAllSlotsResponse()..mergeFromMessage(this);
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
GetAllSlotsResponse copyWith(void Function(GetAllSlotsResponse) updates) => super.copyWith((message) => updates(message as GetAllSlotsResponse)) as GetAllSlotsResponse;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static GetAllSlotsResponse create() => GetAllSlotsResponse._();
|
||||
@$core.override
|
||||
GetAllSlotsResponse createEmptyInstance() => create();
|
||||
static $pb.PbList<GetAllSlotsResponse> createRepeated() => $pb.PbList<GetAllSlotsResponse>();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static GetAllSlotsResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<GetAllSlotsResponse>(create);
|
||||
static GetAllSlotsResponse? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(1)
|
||||
$pb.PbList<SlotGroupAndReason> get slotGroupAndReasons => $_getList(0);
|
||||
|
||||
@$pb.TagNumber(2)
|
||||
$fixnum.Int64 get estimatedNeededDurationInMinutes => $_getI64(1);
|
||||
@$pb.TagNumber(2)
|
||||
set estimatedNeededDurationInMinutes($fixnum.Int64 value) => $_setInt64(1, value);
|
||||
@$pb.TagNumber(2)
|
||||
$core.bool hasEstimatedNeededDurationInMinutes() => $_has(1);
|
||||
@$pb.TagNumber(2)
|
||||
void clearEstimatedNeededDurationInMinutes() => $_clearField(2);
|
||||
}
|
||||
|
||||
/// BookAppointment
|
||||
class BookAppointmentRequest extends $pb.GeneratedMessage {
|
||||
factory BookAppointmentRequest({
|
||||
|
||||
@@ -76,7 +76,7 @@ class SiteServiceClient extends $grpc.Client {
|
||||
return $createUnaryCall(_$getAvailableSlots, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseFuture<$0.GetAvailableSlotsResponse> getAllSlots($0.GetAvailableSlotsRequest request, {$grpc.CallOptions? options,}) {
|
||||
$grpc.ResponseFuture<$0.GetAllSlotsResponse> getAllSlots($0.GetAvailableSlotsRequest request, {$grpc.CallOptions? options,}) {
|
||||
return $createUnaryCall(_$getAllSlots, request, options: options);
|
||||
}
|
||||
|
||||
@@ -154,10 +154,10 @@ class SiteServiceClient extends $grpc.Client {
|
||||
'/api.SiteService/GetAvailableSlots',
|
||||
($0.GetAvailableSlotsRequest value) => value.writeToBuffer(),
|
||||
$0.GetAvailableSlotsResponse.fromBuffer);
|
||||
static final _$getAllSlots = $grpc.ClientMethod<$0.GetAvailableSlotsRequest, $0.GetAvailableSlotsResponse>(
|
||||
static final _$getAllSlots = $grpc.ClientMethod<$0.GetAvailableSlotsRequest, $0.GetAllSlotsResponse>(
|
||||
'/api.SiteService/GetAllSlots',
|
||||
($0.GetAvailableSlotsRequest value) => value.writeToBuffer(),
|
||||
$0.GetAvailableSlotsResponse.fromBuffer);
|
||||
$0.GetAllSlotsResponse.fromBuffer);
|
||||
static final _$listUserSites = $grpc.ClientMethod<$0.ListUserSitesRequest, $0.ListUserSitesResponse>(
|
||||
'/api.SiteService/ListUserSites',
|
||||
($0.ListUserSitesRequest value) => value.writeToBuffer(),
|
||||
@@ -270,13 +270,13 @@ abstract class SiteServiceBase extends $grpc.Service {
|
||||
false,
|
||||
($core.List<$core.int> value) => $0.GetAvailableSlotsRequest.fromBuffer(value),
|
||||
($0.GetAvailableSlotsResponse value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$0.GetAvailableSlotsRequest, $0.GetAvailableSlotsResponse>(
|
||||
$addMethod($grpc.ServiceMethod<$0.GetAvailableSlotsRequest, $0.GetAllSlotsResponse>(
|
||||
'GetAllSlots',
|
||||
getAllSlots_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $0.GetAvailableSlotsRequest.fromBuffer(value),
|
||||
($0.GetAvailableSlotsResponse value) => value.writeToBuffer()));
|
||||
($0.GetAllSlotsResponse value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$0.ListUserSitesRequest, $0.ListUserSitesResponse>(
|
||||
'ListUserSites',
|
||||
listUserSites_Pre,
|
||||
@@ -394,11 +394,11 @@ abstract class SiteServiceBase extends $grpc.Service {
|
||||
|
||||
$async.Future<$0.GetAvailableSlotsResponse> getAvailableSlots($grpc.ServiceCall call, $0.GetAvailableSlotsRequest request);
|
||||
|
||||
$async.Future<$0.GetAvailableSlotsResponse> getAllSlots_Pre($grpc.ServiceCall $call, $async.Future<$0.GetAvailableSlotsRequest> $request) async {
|
||||
$async.Future<$0.GetAllSlotsResponse> getAllSlots_Pre($grpc.ServiceCall $call, $async.Future<$0.GetAvailableSlotsRequest> $request) async {
|
||||
return getAllSlots($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$0.GetAvailableSlotsResponse> getAllSlots($grpc.ServiceCall call, $0.GetAvailableSlotsRequest request);
|
||||
$async.Future<$0.GetAllSlotsResponse> getAllSlots($grpc.ServiceCall call, $0.GetAvailableSlotsRequest request);
|
||||
|
||||
$async.Future<$0.ListUserSitesResponse> listUserSites_Pre($grpc.ServiceCall $call, $async.Future<$0.ListUserSitesRequest> $request) async {
|
||||
return listUserSites($call, await $request);
|
||||
|
||||
@@ -482,6 +482,36 @@ final $typed_data.Uint8List getAvailableSlotsResponseDescriptor = $convert.base6
|
||||
'xvdEdyb3VwUgpTbG90R3JvdXBzEkoKIEVzdGltYXRlZE5lZWRlZER1cmF0aW9uSW5NaW51dGVz'
|
||||
'GAIgASgEUiBFc3RpbWF0ZWROZWVkZWREdXJhdGlvbkluTWludXRlcw==');
|
||||
|
||||
@$core.Deprecated('Use slotGroupAndReasonDescriptor instead')
|
||||
const SlotGroupAndReason$json = {
|
||||
'1': 'SlotGroupAndReason',
|
||||
'2': [
|
||||
{'1': 'Slotgroup', '3': 1, '4': 1, '5': 11, '6': '.api.SlotGroup', '10': 'Slotgroup'},
|
||||
{'1': 'Reason', '3': 2, '4': 1, '5': 9, '10': 'Reason'},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `SlotGroupAndReason`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List slotGroupAndReasonDescriptor = $convert.base64Decode(
|
||||
'ChJTbG90R3JvdXBBbmRSZWFzb24SLAoJU2xvdGdyb3VwGAEgASgLMg4uYXBpLlNsb3RHcm91cF'
|
||||
'IJU2xvdGdyb3VwEhYKBlJlYXNvbhgCIAEoCVIGUmVhc29u');
|
||||
|
||||
@$core.Deprecated('Use getAllSlotsResponseDescriptor instead')
|
||||
const GetAllSlotsResponse$json = {
|
||||
'1': 'GetAllSlotsResponse',
|
||||
'2': [
|
||||
{'1': 'SlotGroupAndReasons', '3': 1, '4': 3, '5': 11, '6': '.api.SlotGroupAndReason', '10': 'SlotGroupAndReasons'},
|
||||
{'1': 'EstimatedNeededDurationInMinutes', '3': 2, '4': 1, '5': 4, '10': 'EstimatedNeededDurationInMinutes'},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `GetAllSlotsResponse`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List getAllSlotsResponseDescriptor = $convert.base64Decode(
|
||||
'ChNHZXRBbGxTbG90c1Jlc3BvbnNlEkkKE1Nsb3RHcm91cEFuZFJlYXNvbnMYASADKAsyFy5hcG'
|
||||
'kuU2xvdEdyb3VwQW5kUmVhc29uUhNTbG90R3JvdXBBbmRSZWFzb25zEkoKIEVzdGltYXRlZE5l'
|
||||
'ZWRlZER1cmF0aW9uSW5NaW51dGVzGAIgASgEUiBFc3RpbWF0ZWROZWVkZWREdXJhdGlvbkluTW'
|
||||
'ludXRlcw==');
|
||||
|
||||
@$core.Deprecated('Use bookAppointmentRequestDescriptor instead')
|
||||
const BookAppointmentRequest$json = {
|
||||
'1': 'BookAppointmentRequest',
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
name: dart_core_sdk
|
||||
description: dart libs from core model proto files
|
||||
version: 1.11.0-SNAPSHOT-250722132710
|
||||
version: 1.11.0-SNAPSHOT-250723091451
|
||||
homepage: ''
|
||||
publish_to: ''
|
||||
repository: ''
|
||||
|
||||
Reference in New Issue
Block a user