You've already forked dart-core-sdk
Latest generation
This commit is contained in:
@@ -1242,8 +1242,8 @@ final $typed_data.Uint8List appointmentCarrierDepartedEventDescriptor = $convert
|
||||
'Ch9BcHBvaW50bWVudENhcnJpZXJEZXBhcnRlZEV2ZW50EjIKBkhlYWRlchgBIAEoCzIQLmFwaS'
|
||||
'5FdmVudEhlYWRlckII+kIFigECEAFSBkhlYWRlchInCgJJRBgCIAEoCzINLmFwaS5FbnRpdHlJ'
|
||||
'REII+kIFigECEAFSAklEEkoKB1BheWxvYWQYAyABKAsyJi5hcGkuQXBwb2ludG1lbnRDYXJyaW'
|
||||
'VyRGVwYXJ0ZWRQYXlsb2FkQgj6QgWKAQIQAVIHUGF5bG9hZDo5kkEaChjSAQZIZWFkZXLSAQJJ'
|
||||
'RNIBB1BheWxvYWSiuxgFRXZlbnS6uxgPQ2FycmllckRlcGFydGVk');
|
||||
'VyRGVwYXJ0ZWRQYXlsb2FkQgj6QgWKAQIQAVIHUGF5bG9hZDpIkkEaChjSAQZIZWFkZXLSAQJJ'
|
||||
'RNIBB1BheWxvYWSiuxgFRXZlbnS6uxgPQ2FycmllckRlcGFydGVk2rsYC2xvY2tCb29raW5n');
|
||||
|
||||
@$core.Deprecated('Use appointmentCarrierDepartedRequestDescriptor instead')
|
||||
const AppointmentCarrierDepartedRequest$json = {
|
||||
|
||||
@@ -1243,6 +1243,99 @@ class CheckBookingAppointmentEditableResponse extends $pb.GeneratedMessage {
|
||||
void clearIsForceEditable() => $_clearField(4);
|
||||
}
|
||||
|
||||
/// CheckAppointmentEditable
|
||||
class LockBookingRequest extends $pb.GeneratedMessage {
|
||||
factory LockBookingRequest({
|
||||
$1.RequestProjectHeader? header,
|
||||
$1.EntityID? iD,
|
||||
}) {
|
||||
final result = create();
|
||||
if (header != null) result.header = header;
|
||||
if (iD != null) result.iD = iD;
|
||||
return result;
|
||||
}
|
||||
|
||||
LockBookingRequest._();
|
||||
|
||||
factory LockBookingRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
||||
factory LockBookingRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'LockBookingRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
..aOM<$1.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.RequestProjectHeader.create)
|
||||
..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
LockBookingRequest clone() => LockBookingRequest()..mergeFromMessage(this);
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
LockBookingRequest copyWith(void Function(LockBookingRequest) updates) => super.copyWith((message) => updates(message as LockBookingRequest)) as LockBookingRequest;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static LockBookingRequest create() => LockBookingRequest._();
|
||||
@$core.override
|
||||
LockBookingRequest createEmptyInstance() => create();
|
||||
static $pb.PbList<LockBookingRequest> createRepeated() => $pb.PbList<LockBookingRequest>();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static LockBookingRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<LockBookingRequest>(create);
|
||||
static LockBookingRequest? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(1)
|
||||
$1.RequestProjectHeader get header => $_getN(0);
|
||||
@$pb.TagNumber(1)
|
||||
set header($1.RequestProjectHeader value) => $_setField(1, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasHeader() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearHeader() => $_clearField(1);
|
||||
@$pb.TagNumber(1)
|
||||
$1.RequestProjectHeader ensureHeader() => $_ensure(0);
|
||||
|
||||
@$pb.TagNumber(2)
|
||||
$1.EntityID get iD => $_getN(1);
|
||||
@$pb.TagNumber(2)
|
||||
set iD($1.EntityID value) => $_setField(2, value);
|
||||
@$pb.TagNumber(2)
|
||||
$core.bool hasID() => $_has(1);
|
||||
@$pb.TagNumber(2)
|
||||
void clearID() => $_clearField(2);
|
||||
@$pb.TagNumber(2)
|
||||
$1.EntityID ensureID() => $_ensure(1);
|
||||
}
|
||||
|
||||
class LockBookingResponse extends $pb.GeneratedMessage {
|
||||
factory LockBookingResponse() => create();
|
||||
|
||||
LockBookingResponse._();
|
||||
|
||||
factory LockBookingResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
||||
factory LockBookingResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'LockBookingResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
LockBookingResponse clone() => LockBookingResponse()..mergeFromMessage(this);
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
LockBookingResponse copyWith(void Function(LockBookingResponse) updates) => super.copyWith((message) => updates(message as LockBookingResponse)) as LockBookingResponse;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static LockBookingResponse create() => LockBookingResponse._();
|
||||
@$core.override
|
||||
LockBookingResponse createEmptyInstance() => create();
|
||||
static $pb.PbList<LockBookingResponse> createRepeated() => $pb.PbList<LockBookingResponse>();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static LockBookingResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<LockBookingResponse>(create);
|
||||
static LockBookingResponse? _defaultInstance;
|
||||
}
|
||||
|
||||
|
||||
const $core.bool _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
|
||||
const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');
|
||||
|
||||
@@ -88,6 +88,10 @@ class BookingServiceClient extends $grpc.Client {
|
||||
return $createUnaryCall(_$checkAppointmentEditable, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseFuture<$0.LockBookingResponse> lockBooking($0.LockBookingRequest request, {$grpc.CallOptions? options,}) {
|
||||
return $createUnaryCall(_$lockBooking, request, options: options);
|
||||
}
|
||||
|
||||
// method descriptors
|
||||
|
||||
static final _$getAvailableSlots = $grpc.ClientMethod<$0.GetBookingSlotsRequest, $0.GetBookingSlotsResponse>(
|
||||
@@ -146,6 +150,10 @@ class BookingServiceClient extends $grpc.Client {
|
||||
'/api.BookingService/CheckAppointmentEditable',
|
||||
($0.CheckBookingAppointmentEditableRequest value) => value.writeToBuffer(),
|
||||
$0.CheckBookingAppointmentEditableResponse.fromBuffer);
|
||||
static final _$lockBooking = $grpc.ClientMethod<$0.LockBookingRequest, $0.LockBookingResponse>(
|
||||
'/api.BookingService/LockBooking',
|
||||
($0.LockBookingRequest value) => value.writeToBuffer(),
|
||||
$0.LockBookingResponse.fromBuffer);
|
||||
}
|
||||
|
||||
@$pb.GrpcServiceName('api.BookingService')
|
||||
@@ -251,6 +259,13 @@ abstract class BookingServiceBase extends $grpc.Service {
|
||||
false,
|
||||
($core.List<$core.int> value) => $0.CheckBookingAppointmentEditableRequest.fromBuffer(value),
|
||||
($0.CheckBookingAppointmentEditableResponse value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$0.LockBookingRequest, $0.LockBookingResponse>(
|
||||
'LockBooking',
|
||||
lockBooking_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $0.LockBookingRequest.fromBuffer(value),
|
||||
($0.LockBookingResponse value) => value.writeToBuffer()));
|
||||
}
|
||||
|
||||
$async.Future<$0.GetBookingSlotsResponse> getAvailableSlots_Pre($grpc.ServiceCall $call, $async.Future<$0.GetBookingSlotsRequest> $request) async {
|
||||
@@ -337,4 +352,10 @@ abstract class BookingServiceBase extends $grpc.Service {
|
||||
|
||||
$async.Future<$0.CheckBookingAppointmentEditableResponse> checkAppointmentEditable($grpc.ServiceCall call, $0.CheckBookingAppointmentEditableRequest request);
|
||||
|
||||
$async.Future<$0.LockBookingResponse> lockBooking_Pre($grpc.ServiceCall $call, $async.Future<$0.LockBookingRequest> $request) async {
|
||||
return lockBooking($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$0.LockBookingResponse> lockBooking($grpc.ServiceCall call, $0.LockBookingRequest request);
|
||||
|
||||
}
|
||||
|
||||
@@ -317,3 +317,28 @@ final $typed_data.Uint8List checkBookingAppointmentEditableResponseDescriptor =
|
||||
'gDIAEoCFIKSXNFZGl0YWJsZRIoCg9Jc0ZvcmNlRWRpdGFibGUYBCABKAhSD0lzRm9yY2VFZGl0'
|
||||
'YWJsZQ==');
|
||||
|
||||
@$core.Deprecated('Use lockBookingRequestDescriptor instead')
|
||||
const LockBookingRequest$json = {
|
||||
'1': 'LockBookingRequest',
|
||||
'2': [
|
||||
{'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestProjectHeader', '8': {}, '10': 'Header'},
|
||||
{'1': 'ID', '3': 2, '4': 1, '5': 11, '6': '.api.EntityID', '8': {}, '10': 'ID'},
|
||||
],
|
||||
'7': {},
|
||||
};
|
||||
|
||||
/// Descriptor for `LockBookingRequest`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List lockBookingRequestDescriptor = $convert.base64Decode(
|
||||
'ChJMb2NrQm9va2luZ1JlcXVlc3QSOwoGSGVhZGVyGAEgASgLMhkuYXBpLlJlcXVlc3RQcm9qZW'
|
||||
'N0SGVhZGVyQgj6QgWKAQIQAVIGSGVhZGVyEicKAklEGAIgASgLMg0uYXBpLkVudGl0eUlEQgj6'
|
||||
'QgWKAQIQAVICSUQ6E5JBEAoO0gEGSGVhZGVy0gECSUQ=');
|
||||
|
||||
@$core.Deprecated('Use lockBookingResponseDescriptor instead')
|
||||
const LockBookingResponse$json = {
|
||||
'1': 'LockBookingResponse',
|
||||
};
|
||||
|
||||
/// Descriptor for `LockBookingResponse`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List lockBookingResponseDescriptor = $convert.base64Decode(
|
||||
'ChNMb2NrQm9va2luZ1Jlc3BvbnNl');
|
||||
|
||||
|
||||
@@ -2013,6 +2013,7 @@ class Booking extends $pb.GeneratedMessage {
|
||||
AppointmentContent? loading,
|
||||
AppointmentContent? unloading,
|
||||
$core.String? lastUpdate,
|
||||
$core.bool? locked,
|
||||
}) {
|
||||
final result = create();
|
||||
if (appointmentType != null) result.appointmentType = appointmentType;
|
||||
@@ -2026,6 +2027,7 @@ class Booking extends $pb.GeneratedMessage {
|
||||
if (loading != null) result.loading = loading;
|
||||
if (unloading != null) result.unloading = unloading;
|
||||
if (lastUpdate != null) result.lastUpdate = lastUpdate;
|
||||
if (locked != null) result.locked = locked;
|
||||
return result;
|
||||
}
|
||||
|
||||
@@ -2046,6 +2048,7 @@ class Booking extends $pb.GeneratedMessage {
|
||||
..aOM<AppointmentContent>(9, _omitFieldNames ? '' : 'Loading', protoName: 'Loading', subBuilder: AppointmentContent.create)
|
||||
..aOM<AppointmentContent>(10, _omitFieldNames ? '' : 'Unloading', protoName: 'Unloading', subBuilder: AppointmentContent.create)
|
||||
..aOS(12, _omitFieldNames ? '' : 'LastUpdate', protoName: 'LastUpdate')
|
||||
..aOB(13, _omitFieldNames ? '' : 'Locked', protoName: 'Locked')
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@@ -2145,6 +2148,15 @@ class Booking extends $pb.GeneratedMessage {
|
||||
$core.bool hasLastUpdate() => $_has(10);
|
||||
@$pb.TagNumber(12)
|
||||
void clearLastUpdate() => $_clearField(12);
|
||||
|
||||
@$pb.TagNumber(13)
|
||||
$core.bool get locked => $_getBF(11);
|
||||
@$pb.TagNumber(13)
|
||||
set locked($core.bool value) => $_setBool(11, value);
|
||||
@$pb.TagNumber(13)
|
||||
$core.bool hasLocked() => $_has(11);
|
||||
@$pb.TagNumber(13)
|
||||
void clearLocked() => $_clearField(13);
|
||||
}
|
||||
|
||||
class SlotGroup extends $pb.GeneratedMessage {
|
||||
|
||||
@@ -623,6 +623,7 @@ const Booking$json = {
|
||||
{'1': 'Unloading', '3': 10, '4': 1, '5': 11, '6': '.api.AppointmentContent', '10': 'Unloading'},
|
||||
{'1': 'Reason', '3': 8, '4': 1, '5': 9, '10': 'Reason'},
|
||||
{'1': 'LastUpdate', '3': 12, '4': 1, '5': 9, '10': 'LastUpdate'},
|
||||
{'1': 'Locked', '3': 13, '4': 1, '5': 8, '10': 'Locked'},
|
||||
],
|
||||
};
|
||||
|
||||
@@ -637,7 +638,7 @@ final $typed_data.Uint8List bookingDescriptor = $convert.base64Decode(
|
||||
'GAcgAygJUgZFbWFpbHMSMQoHTG9hZGluZxgJIAEoCzIXLmFwaS5BcHBvaW50bWVudENvbnRlbn'
|
||||
'RSB0xvYWRpbmcSNQoJVW5sb2FkaW5nGAogASgLMhcuYXBpLkFwcG9pbnRtZW50Q29udGVudFIJ'
|
||||
'VW5sb2FkaW5nEhYKBlJlYXNvbhgIIAEoCVIGUmVhc29uEh4KCkxhc3RVcGRhdGUYDCABKAlSCk'
|
||||
'xhc3RVcGRhdGU=');
|
||||
'xhc3RVcGRhdGUSFgoGTG9ja2VkGA0gASgIUgZMb2NrZWQ=');
|
||||
|
||||
@$core.Deprecated('Use slotGroupDescriptor instead')
|
||||
const SlotGroup$json = {
|
||||
|
||||
Reference in New Issue
Block a user