You've already forked dart-core-sdk
Latest generation
This commit is contained in:
@@ -24,7 +24,6 @@ export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;
|
||||
class AppointmentCreatedPayload extends $pb.GeneratedMessage {
|
||||
factory AppointmentCreatedPayload({
|
||||
$1.AppointmentType? appointmentType,
|
||||
$core.Iterable<$1.SegmentationSelection>? segmentationSelections,
|
||||
$1.Slot? slot,
|
||||
$core.Iterable<$2.MetadataElement>? metaData,
|
||||
$core.String? reason,
|
||||
@@ -38,10 +37,10 @@ class AppointmentCreatedPayload extends $pb.GeneratedMessage {
|
||||
$1.AppointmentContent? loading,
|
||||
$1.AppointmentContent? unloading,
|
||||
$core.Iterable<$core.String>? attendees,
|
||||
$core.Iterable<$2.MetadataElement>? segmentationKeys,
|
||||
}) {
|
||||
final result = create();
|
||||
if (appointmentType != null) result.appointmentType = appointmentType;
|
||||
if (segmentationSelections != null) result.segmentationSelections.addAll(segmentationSelections);
|
||||
if (slot != null) result.slot = slot;
|
||||
if (metaData != null) result.metaData.addAll(metaData);
|
||||
if (reason != null) result.reason = reason;
|
||||
@@ -54,6 +53,7 @@ class AppointmentCreatedPayload extends $pb.GeneratedMessage {
|
||||
if (loading != null) result.loading = loading;
|
||||
if (unloading != null) result.unloading = unloading;
|
||||
if (attendees != null) result.attendees.addAll(attendees);
|
||||
if (segmentationKeys != null) result.segmentationKeys.addAll(segmentationKeys);
|
||||
return result;
|
||||
}
|
||||
|
||||
@@ -64,7 +64,6 @@ class AppointmentCreatedPayload extends $pb.GeneratedMessage {
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AppointmentCreatedPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
..e<$1.AppointmentType>(1, _omitFieldNames ? '' : 'AppointmentType', $pb.PbFieldType.OE, protoName: 'AppointmentType', defaultOrMaker: $1.AppointmentType.APPOINTMENT_TYPE_UNKNOWN, valueOf: $1.AppointmentType.valueOf, enumValues: $1.AppointmentType.values)
|
||||
..pc<$1.SegmentationSelection>(4, _omitFieldNames ? '' : 'SegmentationSelections', $pb.PbFieldType.PM, protoName: 'SegmentationSelections', subBuilder: $1.SegmentationSelection.create)
|
||||
..aOM<$1.Slot>(6, _omitFieldNames ? '' : 'Slot', protoName: 'Slot', subBuilder: $1.Slot.create)
|
||||
..pc<$2.MetadataElement>(8, _omitFieldNames ? '' : 'MetaData', $pb.PbFieldType.PM, protoName: 'MetaData', subBuilder: $2.MetadataElement.create)
|
||||
..aOS(12, _omitFieldNames ? '' : 'Reason', protoName: 'Reason')
|
||||
@@ -77,6 +76,7 @@ class AppointmentCreatedPayload extends $pb.GeneratedMessage {
|
||||
..aOM<$1.AppointmentContent>(25, _omitFieldNames ? '' : 'Loading', protoName: 'Loading', subBuilder: $1.AppointmentContent.create)
|
||||
..aOM<$1.AppointmentContent>(26, _omitFieldNames ? '' : 'Unloading', protoName: 'Unloading', subBuilder: $1.AppointmentContent.create)
|
||||
..pPS(27, _omitFieldNames ? '' : 'Attendees', protoName: 'Attendees')
|
||||
..pc<$2.MetadataElement>(28, _omitFieldNames ? '' : 'SegmentationKeys', $pb.PbFieldType.PM, protoName: 'SegmentationKeys', subBuilder: $2.MetadataElement.create)
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@@ -107,120 +107,119 @@ class AppointmentCreatedPayload extends $pb.GeneratedMessage {
|
||||
@$pb.TagNumber(1)
|
||||
void clearAppointmentType() => $_clearField(1);
|
||||
|
||||
/// Set of segmentation constraining the slot booking
|
||||
@$pb.TagNumber(4)
|
||||
$pb.PbList<$1.SegmentationSelection> get segmentationSelections => $_getList(1);
|
||||
|
||||
/// The slot booked for the appointment
|
||||
@$pb.TagNumber(6)
|
||||
$1.Slot get slot => $_getN(2);
|
||||
$1.Slot get slot => $_getN(1);
|
||||
@$pb.TagNumber(6)
|
||||
set slot($1.Slot value) => $_setField(6, value);
|
||||
@$pb.TagNumber(6)
|
||||
$core.bool hasSlot() => $_has(2);
|
||||
$core.bool hasSlot() => $_has(1);
|
||||
@$pb.TagNumber(6)
|
||||
void clearSlot() => $_clearField(6);
|
||||
@$pb.TagNumber(6)
|
||||
$1.Slot ensureSlot() => $_ensure(2);
|
||||
$1.Slot ensureSlot() => $_ensure(1);
|
||||
|
||||
@$pb.TagNumber(8)
|
||||
$pb.PbList<$2.MetadataElement> get metaData => $_getList(3);
|
||||
$pb.PbList<$2.MetadataElement> get metaData => $_getList(2);
|
||||
|
||||
/// string CarrierID = 10;
|
||||
/// string CarrierName = 11;
|
||||
@$pb.TagNumber(12)
|
||||
$core.String get reason => $_getSZ(4);
|
||||
$core.String get reason => $_getSZ(3);
|
||||
@$pb.TagNumber(12)
|
||||
set reason($core.String value) => $_setString(4, value);
|
||||
set reason($core.String value) => $_setString(3, value);
|
||||
@$pb.TagNumber(12)
|
||||
$core.bool hasReason() => $_has(4);
|
||||
$core.bool hasReason() => $_has(3);
|
||||
@$pb.TagNumber(12)
|
||||
void clearReason() => $_clearField(12);
|
||||
|
||||
@$pb.TagNumber(14)
|
||||
$core.bool get instructionAck => $_getBF(5);
|
||||
$core.bool get instructionAck => $_getBF(4);
|
||||
@$pb.TagNumber(14)
|
||||
set instructionAck($core.bool value) => $_setBool(5, value);
|
||||
set instructionAck($core.bool value) => $_setBool(4, value);
|
||||
@$pb.TagNumber(14)
|
||||
$core.bool hasInstructionAck() => $_has(5);
|
||||
$core.bool hasInstructionAck() => $_has(4);
|
||||
@$pb.TagNumber(14)
|
||||
void clearInstructionAck() => $_clearField(14);
|
||||
|
||||
/// Carrier information metadata
|
||||
@$pb.TagNumber(15)
|
||||
$pb.PbList<$2.MetadataElement> get carrierInformation => $_getList(6);
|
||||
$pb.PbList<$2.MetadataElement> get carrierInformation => $_getList(5);
|
||||
|
||||
@$core.Deprecated('This field is deprecated.')
|
||||
@$pb.TagNumber(16)
|
||||
$core.String get actorID => $_getSZ(7);
|
||||
$core.String get actorID => $_getSZ(6);
|
||||
@$core.Deprecated('This field is deprecated.')
|
||||
@$pb.TagNumber(16)
|
||||
set actorID($core.String value) => $_setString(7, value);
|
||||
set actorID($core.String value) => $_setString(6, value);
|
||||
@$core.Deprecated('This field is deprecated.')
|
||||
@$pb.TagNumber(16)
|
||||
$core.bool hasActorID() => $_has(7);
|
||||
$core.bool hasActorID() => $_has(6);
|
||||
@$core.Deprecated('This field is deprecated.')
|
||||
@$pb.TagNumber(16)
|
||||
void clearActorID() => $_clearField(16);
|
||||
|
||||
/// Address of the appointment site
|
||||
@$pb.TagNumber(17)
|
||||
$3.Address get address => $_getN(8);
|
||||
$3.Address get address => $_getN(7);
|
||||
@$pb.TagNumber(17)
|
||||
set address($3.Address value) => $_setField(17, value);
|
||||
@$pb.TagNumber(17)
|
||||
$core.bool hasAddress() => $_has(8);
|
||||
$core.bool hasAddress() => $_has(7);
|
||||
@$pb.TagNumber(17)
|
||||
void clearAddress() => $_clearField(17);
|
||||
@$pb.TagNumber(17)
|
||||
$3.Address ensureAddress() => $_ensure(8);
|
||||
$3.Address ensureAddress() => $_ensure(7);
|
||||
|
||||
/// Name of the appointment site
|
||||
@$pb.TagNumber(18)
|
||||
$core.String get siteName => $_getSZ(9);
|
||||
$core.String get siteName => $_getSZ(8);
|
||||
@$pb.TagNumber(18)
|
||||
set siteName($core.String value) => $_setString(9, value);
|
||||
set siteName($core.String value) => $_setString(8, value);
|
||||
@$pb.TagNumber(18)
|
||||
$core.bool hasSiteName() => $_has(9);
|
||||
$core.bool hasSiteName() => $_has(8);
|
||||
@$pb.TagNumber(18)
|
||||
void clearSiteName() => $_clearField(18);
|
||||
|
||||
/// time zone of the site on which the appointment is booked
|
||||
@$pb.TagNumber(20)
|
||||
$core.String get timeZone => $_getSZ(10);
|
||||
$core.String get timeZone => $_getSZ(9);
|
||||
@$pb.TagNumber(20)
|
||||
set timeZone($core.String value) => $_setString(10, value);
|
||||
set timeZone($core.String value) => $_setString(9, value);
|
||||
@$pb.TagNumber(20)
|
||||
$core.bool hasTimeZone() => $_has(10);
|
||||
$core.bool hasTimeZone() => $_has(9);
|
||||
@$pb.TagNumber(20)
|
||||
void clearTimeZone() => $_clearField(20);
|
||||
|
||||
/// Loading content
|
||||
@$pb.TagNumber(25)
|
||||
$1.AppointmentContent get loading => $_getN(11);
|
||||
$1.AppointmentContent get loading => $_getN(10);
|
||||
@$pb.TagNumber(25)
|
||||
set loading($1.AppointmentContent value) => $_setField(25, value);
|
||||
@$pb.TagNumber(25)
|
||||
$core.bool hasLoading() => $_has(11);
|
||||
$core.bool hasLoading() => $_has(10);
|
||||
@$pb.TagNumber(25)
|
||||
void clearLoading() => $_clearField(25);
|
||||
@$pb.TagNumber(25)
|
||||
$1.AppointmentContent ensureLoading() => $_ensure(11);
|
||||
$1.AppointmentContent ensureLoading() => $_ensure(10);
|
||||
|
||||
/// Unoading content
|
||||
@$pb.TagNumber(26)
|
||||
$1.AppointmentContent get unloading => $_getN(12);
|
||||
$1.AppointmentContent get unloading => $_getN(11);
|
||||
@$pb.TagNumber(26)
|
||||
set unloading($1.AppointmentContent value) => $_setField(26, value);
|
||||
@$pb.TagNumber(26)
|
||||
$core.bool hasUnloading() => $_has(12);
|
||||
$core.bool hasUnloading() => $_has(11);
|
||||
@$pb.TagNumber(26)
|
||||
void clearUnloading() => $_clearField(26);
|
||||
@$pb.TagNumber(26)
|
||||
$1.AppointmentContent ensureUnloading() => $_ensure(12);
|
||||
$1.AppointmentContent ensureUnloading() => $_ensure(11);
|
||||
|
||||
@$pb.TagNumber(27)
|
||||
$pb.PbList<$core.String> get attendees => $_getList(13);
|
||||
$pb.PbList<$core.String> get attendees => $_getList(12);
|
||||
|
||||
@$pb.TagNumber(28)
|
||||
$pb.PbList<$2.MetadataElement> get segmentationKeys => $_getList(13);
|
||||
}
|
||||
|
||||
/// Event message
|
||||
|
||||
Reference in New Issue
Block a user