You've already forked dart-core-sdk
Latest generation
This commit is contained in:
@@ -5,9 +5,10 @@
|
||||
// @dart = 3.3
|
||||
|
||||
// ignore_for_file: annotate_overrides, camel_case_types, comment_references
|
||||
// ignore_for_file: constant_identifier_names, library_prefixes
|
||||
// ignore_for_file: non_constant_identifier_names, prefer_final_fields
|
||||
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import
|
||||
// ignore_for_file: constant_identifier_names
|
||||
// ignore_for_file: curly_braces_in_flow_control_structures
|
||||
// ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
|
||||
// ignore_for_file: non_constant_identifier_names
|
||||
|
||||
import 'dart:core' as $core;
|
||||
|
||||
@@ -16,7 +17,6 @@ import 'package:protobuf/protobuf.dart' as $pb;
|
||||
import 'collabShared.pb.dart' as $75;
|
||||
import 'shared.pb.dart' as $3;
|
||||
import 'slotbooking.pb.dart' as $70;
|
||||
import 'slotbooking.pbenum.dart' as $70;
|
||||
|
||||
export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;
|
||||
|
||||
@@ -28,21 +28,17 @@ class Appointment extends $pb.GeneratedMessage {
|
||||
$3.EntityID? iD,
|
||||
AppointmentPayload? payload,
|
||||
}) {
|
||||
final $result = create();
|
||||
if (lastEventHeader != null) {
|
||||
$result.lastEventHeader = lastEventHeader;
|
||||
}
|
||||
if (iD != null) {
|
||||
$result.iD = iD;
|
||||
}
|
||||
if (payload != null) {
|
||||
$result.payload = payload;
|
||||
}
|
||||
return $result;
|
||||
final result = create();
|
||||
if (lastEventHeader != null) result.lastEventHeader = lastEventHeader;
|
||||
if (iD != null) result.iD = iD;
|
||||
if (payload != null) result.payload = payload;
|
||||
return result;
|
||||
}
|
||||
Appointment._() : super();
|
||||
factory Appointment.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
||||
factory Appointment.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
||||
|
||||
Appointment._();
|
||||
|
||||
factory Appointment.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
||||
factory Appointment.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Appointment', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
..aOM<$3.EventHeader>(1, _omitFieldNames ? '' : 'LastEventHeader', protoName: 'LastEventHeader', subBuilder: $3.EventHeader.create)
|
||||
@@ -56,10 +52,12 @@ class Appointment extends $pb.GeneratedMessage {
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
Appointment copyWith(void Function(Appointment) updates) => super.copyWith((message) => updates(message as Appointment)) as Appointment;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static Appointment create() => Appointment._();
|
||||
@$core.override
|
||||
Appointment createEmptyInstance() => create();
|
||||
static $pb.PbList<Appointment> createRepeated() => $pb.PbList<Appointment>();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
@@ -69,7 +67,7 @@ class Appointment extends $pb.GeneratedMessage {
|
||||
@$pb.TagNumber(1)
|
||||
$3.EventHeader get lastEventHeader => $_getN(0);
|
||||
@$pb.TagNumber(1)
|
||||
set lastEventHeader($3.EventHeader v) { $_setField(1, v); }
|
||||
set lastEventHeader($3.EventHeader value) => $_setField(1, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasLastEventHeader() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
@@ -80,7 +78,7 @@ class Appointment extends $pb.GeneratedMessage {
|
||||
@$pb.TagNumber(2)
|
||||
$3.EntityID get iD => $_getN(1);
|
||||
@$pb.TagNumber(2)
|
||||
set iD($3.EntityID v) { $_setField(2, v); }
|
||||
set iD($3.EntityID value) => $_setField(2, value);
|
||||
@$pb.TagNumber(2)
|
||||
$core.bool hasID() => $_has(1);
|
||||
@$pb.TagNumber(2)
|
||||
@@ -91,7 +89,7 @@ class Appointment extends $pb.GeneratedMessage {
|
||||
@$pb.TagNumber(3)
|
||||
AppointmentPayload get payload => $_getN(2);
|
||||
@$pb.TagNumber(3)
|
||||
set payload(AppointmentPayload v) { $_setField(3, v); }
|
||||
set payload(AppointmentPayload value) => $_setField(3, value);
|
||||
@$pb.TagNumber(3)
|
||||
$core.bool hasPayload() => $_has(2);
|
||||
@$pb.TagNumber(3)
|
||||
@@ -112,39 +110,23 @@ class AppointmentPayload extends $pb.GeneratedMessage {
|
||||
$75.AppointmentStatusStruct? status,
|
||||
$core.String? creationDate,
|
||||
}) {
|
||||
final $result = create();
|
||||
if (appointmentType != null) {
|
||||
$result.appointmentType = appointmentType;
|
||||
}
|
||||
if (commissions != null) {
|
||||
$result.commissions.addAll(commissions);
|
||||
}
|
||||
if (quantitiesByUnits != null) {
|
||||
$result.quantitiesByUnits.addAll(quantitiesByUnits);
|
||||
}
|
||||
if (segmentations != null) {
|
||||
$result.segmentations.addAll(segmentations);
|
||||
}
|
||||
if (carrierInformation != null) {
|
||||
$result.carrierInformation.addAll(carrierInformation);
|
||||
}
|
||||
if (slot != null) {
|
||||
$result.slot = slot;
|
||||
}
|
||||
if (emails != null) {
|
||||
$result.emails.addAll(emails);
|
||||
}
|
||||
if (status != null) {
|
||||
$result.status = status;
|
||||
}
|
||||
if (creationDate != null) {
|
||||
$result.creationDate = creationDate;
|
||||
}
|
||||
return $result;
|
||||
final result = create();
|
||||
if (appointmentType != null) result.appointmentType = appointmentType;
|
||||
if (commissions != null) result.commissions.addAll(commissions);
|
||||
if (quantitiesByUnits != null) result.quantitiesByUnits.addAll(quantitiesByUnits);
|
||||
if (segmentations != null) result.segmentations.addAll(segmentations);
|
||||
if (carrierInformation != null) result.carrierInformation.addAll(carrierInformation);
|
||||
if (slot != null) result.slot = slot;
|
||||
if (emails != null) result.emails.addAll(emails);
|
||||
if (status != null) result.status = status;
|
||||
if (creationDate != null) result.creationDate = creationDate;
|
||||
return result;
|
||||
}
|
||||
AppointmentPayload._() : super();
|
||||
factory AppointmentPayload.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
||||
factory AppointmentPayload.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
||||
|
||||
AppointmentPayload._();
|
||||
|
||||
factory AppointmentPayload.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
||||
factory AppointmentPayload.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AppointmentPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
..e<$70.AppointmentType>(1, _omitFieldNames ? '' : 'AppointmentType', $pb.PbFieldType.OE, protoName: 'AppointmentType', defaultOrMaker: $70.AppointmentType.APPOINTMENTTYPE_UNKNOWN, valueOf: $70.AppointmentType.valueOf, enumValues: $70.AppointmentType.values)
|
||||
@@ -164,10 +146,12 @@ class AppointmentPayload extends $pb.GeneratedMessage {
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
AppointmentPayload copyWith(void Function(AppointmentPayload) updates) => super.copyWith((message) => updates(message as AppointmentPayload)) as AppointmentPayload;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static AppointmentPayload create() => AppointmentPayload._();
|
||||
@$core.override
|
||||
AppointmentPayload createEmptyInstance() => create();
|
||||
static $pb.PbList<AppointmentPayload> createRepeated() => $pb.PbList<AppointmentPayload>();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
@@ -178,7 +162,7 @@ class AppointmentPayload extends $pb.GeneratedMessage {
|
||||
@$pb.TagNumber(1)
|
||||
$70.AppointmentType get appointmentType => $_getN(0);
|
||||
@$pb.TagNumber(1)
|
||||
set appointmentType($70.AppointmentType v) { $_setField(1, v); }
|
||||
set appointmentType($70.AppointmentType value) => $_setField(1, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasAppointmentType() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
@@ -205,7 +189,7 @@ class AppointmentPayload extends $pb.GeneratedMessage {
|
||||
@$pb.TagNumber(6)
|
||||
$70.Slot get slot => $_getN(5);
|
||||
@$pb.TagNumber(6)
|
||||
set slot($70.Slot v) { $_setField(6, v); }
|
||||
set slot($70.Slot value) => $_setField(6, value);
|
||||
@$pb.TagNumber(6)
|
||||
$core.bool hasSlot() => $_has(5);
|
||||
@$pb.TagNumber(6)
|
||||
@@ -222,7 +206,7 @@ class AppointmentPayload extends $pb.GeneratedMessage {
|
||||
@$pb.TagNumber(8)
|
||||
$75.AppointmentStatusStruct get status => $_getN(7);
|
||||
@$pb.TagNumber(8)
|
||||
set status($75.AppointmentStatusStruct v) { $_setField(8, v); }
|
||||
set status($75.AppointmentStatusStruct value) => $_setField(8, value);
|
||||
@$pb.TagNumber(8)
|
||||
$core.bool hasStatus() => $_has(7);
|
||||
@$pb.TagNumber(8)
|
||||
@@ -234,7 +218,7 @@ class AppointmentPayload extends $pb.GeneratedMessage {
|
||||
@$pb.TagNumber(9)
|
||||
$core.String get creationDate => $_getSZ(8);
|
||||
@$pb.TagNumber(9)
|
||||
set creationDate($core.String v) { $_setString(8, v); }
|
||||
set creationDate($core.String value) => $_setString(8, value);
|
||||
@$pb.TagNumber(9)
|
||||
$core.bool hasCreationDate() => $_has(8);
|
||||
@$pb.TagNumber(9)
|
||||
@@ -247,21 +231,17 @@ class AppointmentTriplet extends $pb.GeneratedMessage {
|
||||
Appointment? previous,
|
||||
Appointment? lastEvent,
|
||||
}) {
|
||||
final $result = create();
|
||||
if (current != null) {
|
||||
$result.current = current;
|
||||
}
|
||||
if (previous != null) {
|
||||
$result.previous = previous;
|
||||
}
|
||||
if (lastEvent != null) {
|
||||
$result.lastEvent = lastEvent;
|
||||
}
|
||||
return $result;
|
||||
final result = create();
|
||||
if (current != null) result.current = current;
|
||||
if (previous != null) result.previous = previous;
|
||||
if (lastEvent != null) result.lastEvent = lastEvent;
|
||||
return result;
|
||||
}
|
||||
AppointmentTriplet._() : super();
|
||||
factory AppointmentTriplet.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
||||
factory AppointmentTriplet.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
||||
|
||||
AppointmentTriplet._();
|
||||
|
||||
factory AppointmentTriplet.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
||||
factory AppointmentTriplet.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AppointmentTriplet', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
..aOM<Appointment>(1, _omitFieldNames ? '' : 'Current', protoName: 'Current', subBuilder: Appointment.create)
|
||||
@@ -275,10 +255,12 @@ class AppointmentTriplet extends $pb.GeneratedMessage {
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
AppointmentTriplet copyWith(void Function(AppointmentTriplet) updates) => super.copyWith((message) => updates(message as AppointmentTriplet)) as AppointmentTriplet;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static AppointmentTriplet create() => AppointmentTriplet._();
|
||||
@$core.override
|
||||
AppointmentTriplet createEmptyInstance() => create();
|
||||
static $pb.PbList<AppointmentTriplet> createRepeated() => $pb.PbList<AppointmentTriplet>();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
@@ -288,7 +270,7 @@ class AppointmentTriplet extends $pb.GeneratedMessage {
|
||||
@$pb.TagNumber(1)
|
||||
Appointment get current => $_getN(0);
|
||||
@$pb.TagNumber(1)
|
||||
set current(Appointment v) { $_setField(1, v); }
|
||||
set current(Appointment value) => $_setField(1, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasCurrent() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
@@ -299,7 +281,7 @@ class AppointmentTriplet extends $pb.GeneratedMessage {
|
||||
@$pb.TagNumber(2)
|
||||
Appointment get previous => $_getN(1);
|
||||
@$pb.TagNumber(2)
|
||||
set previous(Appointment v) { $_setField(2, v); }
|
||||
set previous(Appointment value) => $_setField(2, value);
|
||||
@$pb.TagNumber(2)
|
||||
$core.bool hasPrevious() => $_has(1);
|
||||
@$pb.TagNumber(2)
|
||||
@@ -310,7 +292,7 @@ class AppointmentTriplet extends $pb.GeneratedMessage {
|
||||
@$pb.TagNumber(3)
|
||||
Appointment get lastEvent => $_getN(2);
|
||||
@$pb.TagNumber(3)
|
||||
set lastEvent(Appointment v) { $_setField(3, v); }
|
||||
set lastEvent(Appointment value) => $_setField(3, value);
|
||||
@$pb.TagNumber(3)
|
||||
$core.bool hasLastEvent() => $_has(2);
|
||||
@$pb.TagNumber(3)
|
||||
@@ -320,5 +302,5 @@ class AppointmentTriplet extends $pb.GeneratedMessage {
|
||||
}
|
||||
|
||||
|
||||
const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
|
||||
const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');
|
||||
const $core.bool _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
|
||||
const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');
|
||||
|
||||
Reference in New Issue
Block a user