You've already forked dart-core-sdk
650 lines
28 KiB
Dart
650 lines
28 KiB
Dart
// This is a generated file - do not edit.
|
|
//
|
|
// Generated from appointmentAction.proto.
|
|
|
|
// @dart = 3.3
|
|
|
|
// ignore_for_file: annotate_overrides, camel_case_types, comment_references
|
|
// 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;
|
|
|
|
import 'package:protobuf/protobuf.dart' as $pb;
|
|
|
|
import 'collabShared.pb.dart' as $1;
|
|
import 'repositoryShared.pb.dart' as $3;
|
|
import 'shared.pb.dart' as $2;
|
|
import 'slotbooking.pb.dart' as $0;
|
|
|
|
export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;
|
|
|
|
///
|
|
/// Notify : Push the appointment event to partner apps
|
|
class AppointmentNotifyPayload extends $pb.GeneratedMessage {
|
|
factory AppointmentNotifyPayload({
|
|
$0.AppointmentType? appointmentType,
|
|
$core.Iterable<$0.SegmentationSelection>? segmentationSelections,
|
|
$0.Slot? slot,
|
|
$1.AppointmentStatusStruct? status,
|
|
$core.String? creationDate,
|
|
$core.Iterable<$2.MetadataElement>? metaData,
|
|
$core.Iterable<$2.AttachmentSummary>? attachments,
|
|
$core.int? attachmentNumber,
|
|
$core.String? reason,
|
|
$core.bool? instructionAck,
|
|
$core.Iterable<$2.MetadataElement>? carrierInformation,
|
|
$core.String? timeZone,
|
|
$0.AppointmentContent? loading,
|
|
$0.AppointmentContent? unloading,
|
|
$core.Iterable<$core.String>? attendees,
|
|
$core.Iterable<$core.String>? removedAttendees,
|
|
}) {
|
|
final result = create();
|
|
if (appointmentType != null) result.appointmentType = appointmentType;
|
|
if (segmentationSelections != null) result.segmentationSelections.addAll(segmentationSelections);
|
|
if (slot != null) result.slot = slot;
|
|
if (status != null) result.status = status;
|
|
if (creationDate != null) result.creationDate = creationDate;
|
|
if (metaData != null) result.metaData.addAll(metaData);
|
|
if (attachments != null) result.attachments.addAll(attachments);
|
|
if (attachmentNumber != null) result.attachmentNumber = attachmentNumber;
|
|
if (reason != null) result.reason = reason;
|
|
if (instructionAck != null) result.instructionAck = instructionAck;
|
|
if (carrierInformation != null) result.carrierInformation.addAll(carrierInformation);
|
|
if (timeZone != null) result.timeZone = timeZone;
|
|
if (loading != null) result.loading = loading;
|
|
if (unloading != null) result.unloading = unloading;
|
|
if (attendees != null) result.attendees.addAll(attendees);
|
|
if (removedAttendees != null) result.removedAttendees.addAll(removedAttendees);
|
|
return result;
|
|
}
|
|
|
|
AppointmentNotifyPayload._();
|
|
|
|
factory AppointmentNotifyPayload.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
|
factory AppointmentNotifyPayload.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AppointmentNotifyPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
|
..e<$0.AppointmentType>(1, _omitFieldNames ? '' : 'AppointmentType', $pb.PbFieldType.OE, protoName: 'AppointmentType', defaultOrMaker: $0.AppointmentType.APPOINTMENT_TYPE_UNKNOWN, valueOf: $0.AppointmentType.valueOf, enumValues: $0.AppointmentType.values)
|
|
..pc<$0.SegmentationSelection>(4, _omitFieldNames ? '' : 'SegmentationSelections', $pb.PbFieldType.PM, protoName: 'SegmentationSelections', subBuilder: $0.SegmentationSelection.create)
|
|
..aOM<$0.Slot>(6, _omitFieldNames ? '' : 'Slot', protoName: 'Slot', subBuilder: $0.Slot.create)
|
|
..aOM<$1.AppointmentStatusStruct>(8, _omitFieldNames ? '' : 'Status', protoName: 'Status', subBuilder: $1.AppointmentStatusStruct.create)
|
|
..aOS(9, _omitFieldNames ? '' : 'CreationDate', protoName: 'CreationDate')
|
|
..pc<$2.MetadataElement>(10, _omitFieldNames ? '' : 'MetaData', $pb.PbFieldType.PM, protoName: 'MetaData', subBuilder: $2.MetadataElement.create)
|
|
..pc<$2.AttachmentSummary>(13, _omitFieldNames ? '' : 'Attachments', $pb.PbFieldType.PM, protoName: 'Attachments', subBuilder: $2.AttachmentSummary.create)
|
|
..a<$core.int>(14, _omitFieldNames ? '' : 'AttachmentNumber', $pb.PbFieldType.O3, protoName: 'AttachmentNumber')
|
|
..aOS(17, _omitFieldNames ? '' : 'Reason', protoName: 'Reason')
|
|
..aOB(18, _omitFieldNames ? '' : 'InstructionAck', protoName: 'InstructionAck')
|
|
..pc<$2.MetadataElement>(19, _omitFieldNames ? '' : 'CarrierInformation', $pb.PbFieldType.PM, protoName: 'CarrierInformation', subBuilder: $2.MetadataElement.create)
|
|
..aOS(20, _omitFieldNames ? '' : 'TimeZone', protoName: 'TimeZone')
|
|
..aOM<$0.AppointmentContent>(21, _omitFieldNames ? '' : 'Loading', protoName: 'Loading', subBuilder: $0.AppointmentContent.create)
|
|
..aOM<$0.AppointmentContent>(22, _omitFieldNames ? '' : 'Unloading', protoName: 'Unloading', subBuilder: $0.AppointmentContent.create)
|
|
..pPS(23, _omitFieldNames ? '' : 'Attendees', protoName: 'Attendees')
|
|
..pPS(24, _omitFieldNames ? '' : 'RemovedAttendees', protoName: 'RemovedAttendees')
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
AppointmentNotifyPayload clone() => AppointmentNotifyPayload()..mergeFromMessage(this);
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
AppointmentNotifyPayload copyWith(void Function(AppointmentNotifyPayload) updates) => super.copyWith((message) => updates(message as AppointmentNotifyPayload)) as AppointmentNotifyPayload;
|
|
|
|
@$core.override
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static AppointmentNotifyPayload create() => AppointmentNotifyPayload._();
|
|
@$core.override
|
|
AppointmentNotifyPayload createEmptyInstance() => create();
|
|
static $pb.PbList<AppointmentNotifyPayload> createRepeated() => $pb.PbList<AppointmentNotifyPayload>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static AppointmentNotifyPayload getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<AppointmentNotifyPayload>(create);
|
|
static AppointmentNotifyPayload? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
$0.AppointmentType get appointmentType => $_getN(0);
|
|
@$pb.TagNumber(1)
|
|
set appointmentType($0.AppointmentType value) => $_setField(1, value);
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasAppointmentType() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearAppointmentType() => $_clearField(1);
|
|
|
|
/// repeated AppointmentCommission Commissions = 2;
|
|
@$pb.TagNumber(4)
|
|
$pb.PbList<$0.SegmentationSelection> get segmentationSelections => $_getList(1);
|
|
|
|
@$pb.TagNumber(6)
|
|
$0.Slot get slot => $_getN(2);
|
|
@$pb.TagNumber(6)
|
|
set slot($0.Slot value) => $_setField(6, value);
|
|
@$pb.TagNumber(6)
|
|
$core.bool hasSlot() => $_has(2);
|
|
@$pb.TagNumber(6)
|
|
void clearSlot() => $_clearField(6);
|
|
@$pb.TagNumber(6)
|
|
$0.Slot ensureSlot() => $_ensure(2);
|
|
|
|
/// repeated string Emails = 7;
|
|
/// repeated string RemovedEmails = 16;
|
|
@$pb.TagNumber(8)
|
|
$1.AppointmentStatusStruct get status => $_getN(3);
|
|
@$pb.TagNumber(8)
|
|
set status($1.AppointmentStatusStruct value) => $_setField(8, value);
|
|
@$pb.TagNumber(8)
|
|
$core.bool hasStatus() => $_has(3);
|
|
@$pb.TagNumber(8)
|
|
void clearStatus() => $_clearField(8);
|
|
@$pb.TagNumber(8)
|
|
$1.AppointmentStatusStruct ensureStatus() => $_ensure(3);
|
|
|
|
@$pb.TagNumber(9)
|
|
$core.String get creationDate => $_getSZ(4);
|
|
@$pb.TagNumber(9)
|
|
set creationDate($core.String value) => $_setString(4, value);
|
|
@$pb.TagNumber(9)
|
|
$core.bool hasCreationDate() => $_has(4);
|
|
@$pb.TagNumber(9)
|
|
void clearCreationDate() => $_clearField(9);
|
|
|
|
@$pb.TagNumber(10)
|
|
$pb.PbList<$2.MetadataElement> get metaData => $_getList(5);
|
|
|
|
/// string CarrierID = 11;
|
|
/// string CarrierName = 12;
|
|
@$pb.TagNumber(13)
|
|
$pb.PbList<$2.AttachmentSummary> get attachments => $_getList(6);
|
|
|
|
@$pb.TagNumber(14)
|
|
$core.int get attachmentNumber => $_getIZ(7);
|
|
@$pb.TagNumber(14)
|
|
set attachmentNumber($core.int value) => $_setSignedInt32(7, value);
|
|
@$pb.TagNumber(14)
|
|
$core.bool hasAttachmentNumber() => $_has(7);
|
|
@$pb.TagNumber(14)
|
|
void clearAttachmentNumber() => $_clearField(14);
|
|
|
|
@$pb.TagNumber(17)
|
|
$core.String get reason => $_getSZ(8);
|
|
@$pb.TagNumber(17)
|
|
set reason($core.String value) => $_setString(8, value);
|
|
@$pb.TagNumber(17)
|
|
$core.bool hasReason() => $_has(8);
|
|
@$pb.TagNumber(17)
|
|
void clearReason() => $_clearField(17);
|
|
|
|
@$pb.TagNumber(18)
|
|
$core.bool get instructionAck => $_getBF(9);
|
|
@$pb.TagNumber(18)
|
|
set instructionAck($core.bool value) => $_setBool(9, value);
|
|
@$pb.TagNumber(18)
|
|
$core.bool hasInstructionAck() => $_has(9);
|
|
@$pb.TagNumber(18)
|
|
void clearInstructionAck() => $_clearField(18);
|
|
|
|
@$pb.TagNumber(19)
|
|
$pb.PbList<$2.MetadataElement> get carrierInformation => $_getList(10);
|
|
|
|
@$pb.TagNumber(20)
|
|
$core.String get timeZone => $_getSZ(11);
|
|
@$pb.TagNumber(20)
|
|
set timeZone($core.String value) => $_setString(11, value);
|
|
@$pb.TagNumber(20)
|
|
$core.bool hasTimeZone() => $_has(11);
|
|
@$pb.TagNumber(20)
|
|
void clearTimeZone() => $_clearField(20);
|
|
|
|
@$pb.TagNumber(21)
|
|
$0.AppointmentContent get loading => $_getN(12);
|
|
@$pb.TagNumber(21)
|
|
set loading($0.AppointmentContent value) => $_setField(21, value);
|
|
@$pb.TagNumber(21)
|
|
$core.bool hasLoading() => $_has(12);
|
|
@$pb.TagNumber(21)
|
|
void clearLoading() => $_clearField(21);
|
|
@$pb.TagNumber(21)
|
|
$0.AppointmentContent ensureLoading() => $_ensure(12);
|
|
|
|
@$pb.TagNumber(22)
|
|
$0.AppointmentContent get unloading => $_getN(13);
|
|
@$pb.TagNumber(22)
|
|
set unloading($0.AppointmentContent value) => $_setField(22, value);
|
|
@$pb.TagNumber(22)
|
|
$core.bool hasUnloading() => $_has(13);
|
|
@$pb.TagNumber(22)
|
|
void clearUnloading() => $_clearField(22);
|
|
@$pb.TagNumber(22)
|
|
$0.AppointmentContent ensureUnloading() => $_ensure(13);
|
|
|
|
@$pb.TagNumber(23)
|
|
$pb.PbList<$core.String> get attendees => $_getList(14);
|
|
|
|
@$pb.TagNumber(24)
|
|
$pb.PbList<$core.String> get removedAttendees => $_getList(15);
|
|
}
|
|
|
|
class AppointmentNotify extends $pb.GeneratedMessage {
|
|
factory AppointmentNotify({
|
|
$2.CommandHeader? header,
|
|
$2.EntityID? iD,
|
|
AppointmentNotifyPayload? payload,
|
|
AppointmentNotifyPayload? eventPayload,
|
|
AppointmentNotifyPayload? previousPayload,
|
|
}) {
|
|
final result = create();
|
|
if (header != null) result.header = header;
|
|
if (iD != null) result.iD = iD;
|
|
if (payload != null) result.payload = payload;
|
|
if (eventPayload != null) result.eventPayload = eventPayload;
|
|
if (previousPayload != null) result.previousPayload = previousPayload;
|
|
return result;
|
|
}
|
|
|
|
AppointmentNotify._();
|
|
|
|
factory AppointmentNotify.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
|
factory AppointmentNotify.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AppointmentNotify', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
|
..aOM<$2.CommandHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $2.CommandHeader.create)
|
|
..aOM<$2.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $2.EntityID.create)
|
|
..aOM<AppointmentNotifyPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: AppointmentNotifyPayload.create)
|
|
..aOM<AppointmentNotifyPayload>(4, _omitFieldNames ? '' : 'EventPayload', protoName: 'EventPayload', subBuilder: AppointmentNotifyPayload.create)
|
|
..aOM<AppointmentNotifyPayload>(5, _omitFieldNames ? '' : 'PreviousPayload', protoName: 'PreviousPayload', subBuilder: AppointmentNotifyPayload.create)
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
AppointmentNotify clone() => AppointmentNotify()..mergeFromMessage(this);
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
AppointmentNotify copyWith(void Function(AppointmentNotify) updates) => super.copyWith((message) => updates(message as AppointmentNotify)) as AppointmentNotify;
|
|
|
|
@$core.override
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static AppointmentNotify create() => AppointmentNotify._();
|
|
@$core.override
|
|
AppointmentNotify createEmptyInstance() => create();
|
|
static $pb.PbList<AppointmentNotify> createRepeated() => $pb.PbList<AppointmentNotify>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static AppointmentNotify getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<AppointmentNotify>(create);
|
|
static AppointmentNotify? _defaultInstance;
|
|
|
|
/// option (triggerEventFilters) = "All";
|
|
@$pb.TagNumber(1)
|
|
$2.CommandHeader get header => $_getN(0);
|
|
@$pb.TagNumber(1)
|
|
set header($2.CommandHeader value) => $_setField(1, value);
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasHeader() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearHeader() => $_clearField(1);
|
|
@$pb.TagNumber(1)
|
|
$2.CommandHeader ensureHeader() => $_ensure(0);
|
|
|
|
@$pb.TagNumber(2)
|
|
$2.EntityID get iD => $_getN(1);
|
|
@$pb.TagNumber(2)
|
|
set iD($2.EntityID value) => $_setField(2, value);
|
|
@$pb.TagNumber(2)
|
|
$core.bool hasID() => $_has(1);
|
|
@$pb.TagNumber(2)
|
|
void clearID() => $_clearField(2);
|
|
@$pb.TagNumber(2)
|
|
$2.EntityID ensureID() => $_ensure(1);
|
|
|
|
@$pb.TagNumber(3)
|
|
AppointmentNotifyPayload get payload => $_getN(2);
|
|
@$pb.TagNumber(3)
|
|
set payload(AppointmentNotifyPayload value) => $_setField(3, value);
|
|
@$pb.TagNumber(3)
|
|
$core.bool hasPayload() => $_has(2);
|
|
@$pb.TagNumber(3)
|
|
void clearPayload() => $_clearField(3);
|
|
@$pb.TagNumber(3)
|
|
AppointmentNotifyPayload ensurePayload() => $_ensure(2);
|
|
|
|
@$pb.TagNumber(4)
|
|
AppointmentNotifyPayload get eventPayload => $_getN(3);
|
|
@$pb.TagNumber(4)
|
|
set eventPayload(AppointmentNotifyPayload value) => $_setField(4, value);
|
|
@$pb.TagNumber(4)
|
|
$core.bool hasEventPayload() => $_has(3);
|
|
@$pb.TagNumber(4)
|
|
void clearEventPayload() => $_clearField(4);
|
|
@$pb.TagNumber(4)
|
|
AppointmentNotifyPayload ensureEventPayload() => $_ensure(3);
|
|
|
|
@$pb.TagNumber(5)
|
|
AppointmentNotifyPayload get previousPayload => $_getN(4);
|
|
@$pb.TagNumber(5)
|
|
set previousPayload(AppointmentNotifyPayload value) => $_setField(5, value);
|
|
@$pb.TagNumber(5)
|
|
$core.bool hasPreviousPayload() => $_has(4);
|
|
@$pb.TagNumber(5)
|
|
void clearPreviousPayload() => $_clearField(5);
|
|
@$pb.TagNumber(5)
|
|
AppointmentNotifyPayload ensurePreviousPayload() => $_ensure(4);
|
|
}
|
|
|
|
///
|
|
/// Mail : Push the appointment event to watchers
|
|
class AppointmentMailPayload extends $pb.GeneratedMessage {
|
|
factory AppointmentMailPayload({
|
|
$0.AppointmentType? appointmentType,
|
|
$core.Iterable<$0.SegmentationSelection>? segmentationSelections,
|
|
$0.Slot? slot,
|
|
$1.AppointmentStatusStruct? status,
|
|
$core.String? creationDate,
|
|
$core.Iterable<$2.MetadataElement>? metaData,
|
|
$core.Iterable<$2.AttachmentSummary>? attachments,
|
|
$core.int? attachmentNumber,
|
|
$core.String? reason,
|
|
$3.Address? address,
|
|
$core.Iterable<$2.MetadataElement>? carrierInformation,
|
|
$core.String? siteName,
|
|
$0.AppointmentContent? loading,
|
|
$0.AppointmentContent? unloading,
|
|
$core.Iterable<$core.String>? attendees,
|
|
$core.Iterable<$core.String>? removedAttendees,
|
|
}) {
|
|
final result = create();
|
|
if (appointmentType != null) result.appointmentType = appointmentType;
|
|
if (segmentationSelections != null) result.segmentationSelections.addAll(segmentationSelections);
|
|
if (slot != null) result.slot = slot;
|
|
if (status != null) result.status = status;
|
|
if (creationDate != null) result.creationDate = creationDate;
|
|
if (metaData != null) result.metaData.addAll(metaData);
|
|
if (attachments != null) result.attachments.addAll(attachments);
|
|
if (attachmentNumber != null) result.attachmentNumber = attachmentNumber;
|
|
if (reason != null) result.reason = reason;
|
|
if (address != null) result.address = address;
|
|
if (carrierInformation != null) result.carrierInformation.addAll(carrierInformation);
|
|
if (siteName != null) result.siteName = siteName;
|
|
if (loading != null) result.loading = loading;
|
|
if (unloading != null) result.unloading = unloading;
|
|
if (attendees != null) result.attendees.addAll(attendees);
|
|
if (removedAttendees != null) result.removedAttendees.addAll(removedAttendees);
|
|
return result;
|
|
}
|
|
|
|
AppointmentMailPayload._();
|
|
|
|
factory AppointmentMailPayload.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
|
factory AppointmentMailPayload.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AppointmentMailPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
|
..e<$0.AppointmentType>(1, _omitFieldNames ? '' : 'AppointmentType', $pb.PbFieldType.OE, protoName: 'AppointmentType', defaultOrMaker: $0.AppointmentType.APPOINTMENT_TYPE_UNKNOWN, valueOf: $0.AppointmentType.valueOf, enumValues: $0.AppointmentType.values)
|
|
..pc<$0.SegmentationSelection>(4, _omitFieldNames ? '' : 'SegmentationSelections', $pb.PbFieldType.PM, protoName: 'SegmentationSelections', subBuilder: $0.SegmentationSelection.create)
|
|
..aOM<$0.Slot>(6, _omitFieldNames ? '' : 'Slot', protoName: 'Slot', subBuilder: $0.Slot.create)
|
|
..aOM<$1.AppointmentStatusStruct>(8, _omitFieldNames ? '' : 'Status', protoName: 'Status', subBuilder: $1.AppointmentStatusStruct.create)
|
|
..aOS(9, _omitFieldNames ? '' : 'CreationDate', protoName: 'CreationDate')
|
|
..pc<$2.MetadataElement>(10, _omitFieldNames ? '' : 'MetaData', $pb.PbFieldType.PM, protoName: 'MetaData', subBuilder: $2.MetadataElement.create)
|
|
..pc<$2.AttachmentSummary>(13, _omitFieldNames ? '' : 'Attachments', $pb.PbFieldType.PM, protoName: 'Attachments', subBuilder: $2.AttachmentSummary.create)
|
|
..a<$core.int>(14, _omitFieldNames ? '' : 'AttachmentNumber', $pb.PbFieldType.O3, protoName: 'AttachmentNumber')
|
|
..aOS(17, _omitFieldNames ? '' : 'Reason', protoName: 'Reason')
|
|
..aOM<$3.Address>(18, _omitFieldNames ? '' : 'Address', protoName: 'Address', subBuilder: $3.Address.create)
|
|
..pc<$2.MetadataElement>(19, _omitFieldNames ? '' : 'CarrierInformation', $pb.PbFieldType.PM, protoName: 'CarrierInformation', subBuilder: $2.MetadataElement.create)
|
|
..aOS(20, _omitFieldNames ? '' : 'SiteName', protoName: 'SiteName')
|
|
..aOM<$0.AppointmentContent>(21, _omitFieldNames ? '' : 'Loading', protoName: 'Loading', subBuilder: $0.AppointmentContent.create)
|
|
..aOM<$0.AppointmentContent>(22, _omitFieldNames ? '' : 'Unloading', protoName: 'Unloading', subBuilder: $0.AppointmentContent.create)
|
|
..pPS(23, _omitFieldNames ? '' : 'Attendees', protoName: 'Attendees')
|
|
..pPS(24, _omitFieldNames ? '' : 'RemovedAttendees', protoName: 'RemovedAttendees')
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
AppointmentMailPayload clone() => AppointmentMailPayload()..mergeFromMessage(this);
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
AppointmentMailPayload copyWith(void Function(AppointmentMailPayload) updates) => super.copyWith((message) => updates(message as AppointmentMailPayload)) as AppointmentMailPayload;
|
|
|
|
@$core.override
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static AppointmentMailPayload create() => AppointmentMailPayload._();
|
|
@$core.override
|
|
AppointmentMailPayload createEmptyInstance() => create();
|
|
static $pb.PbList<AppointmentMailPayload> createRepeated() => $pb.PbList<AppointmentMailPayload>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static AppointmentMailPayload getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<AppointmentMailPayload>(create);
|
|
static AppointmentMailPayload? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
$0.AppointmentType get appointmentType => $_getN(0);
|
|
@$pb.TagNumber(1)
|
|
set appointmentType($0.AppointmentType value) => $_setField(1, value);
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasAppointmentType() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearAppointmentType() => $_clearField(1);
|
|
|
|
/// repeated AppointmentCommission Commissions = 2;
|
|
@$pb.TagNumber(4)
|
|
$pb.PbList<$0.SegmentationSelection> get segmentationSelections => $_getList(1);
|
|
|
|
@$pb.TagNumber(6)
|
|
$0.Slot get slot => $_getN(2);
|
|
@$pb.TagNumber(6)
|
|
set slot($0.Slot value) => $_setField(6, value);
|
|
@$pb.TagNumber(6)
|
|
$core.bool hasSlot() => $_has(2);
|
|
@$pb.TagNumber(6)
|
|
void clearSlot() => $_clearField(6);
|
|
@$pb.TagNumber(6)
|
|
$0.Slot ensureSlot() => $_ensure(2);
|
|
|
|
/// repeated string Emails = 7;
|
|
/// repeated string RemovedEmails = 16;
|
|
@$pb.TagNumber(8)
|
|
$1.AppointmentStatusStruct get status => $_getN(3);
|
|
@$pb.TagNumber(8)
|
|
set status($1.AppointmentStatusStruct value) => $_setField(8, value);
|
|
@$pb.TagNumber(8)
|
|
$core.bool hasStatus() => $_has(3);
|
|
@$pb.TagNumber(8)
|
|
void clearStatus() => $_clearField(8);
|
|
@$pb.TagNumber(8)
|
|
$1.AppointmentStatusStruct ensureStatus() => $_ensure(3);
|
|
|
|
@$pb.TagNumber(9)
|
|
$core.String get creationDate => $_getSZ(4);
|
|
@$pb.TagNumber(9)
|
|
set creationDate($core.String value) => $_setString(4, value);
|
|
@$pb.TagNumber(9)
|
|
$core.bool hasCreationDate() => $_has(4);
|
|
@$pb.TagNumber(9)
|
|
void clearCreationDate() => $_clearField(9);
|
|
|
|
@$pb.TagNumber(10)
|
|
$pb.PbList<$2.MetadataElement> get metaData => $_getList(5);
|
|
|
|
/// string CarrierID = 11;
|
|
/// string CarrierName = 12;
|
|
@$pb.TagNumber(13)
|
|
$pb.PbList<$2.AttachmentSummary> get attachments => $_getList(6);
|
|
|
|
@$pb.TagNumber(14)
|
|
$core.int get attachmentNumber => $_getIZ(7);
|
|
@$pb.TagNumber(14)
|
|
set attachmentNumber($core.int value) => $_setSignedInt32(7, value);
|
|
@$pb.TagNumber(14)
|
|
$core.bool hasAttachmentNumber() => $_has(7);
|
|
@$pb.TagNumber(14)
|
|
void clearAttachmentNumber() => $_clearField(14);
|
|
|
|
@$pb.TagNumber(17)
|
|
$core.String get reason => $_getSZ(8);
|
|
@$pb.TagNumber(17)
|
|
set reason($core.String value) => $_setString(8, value);
|
|
@$pb.TagNumber(17)
|
|
$core.bool hasReason() => $_has(8);
|
|
@$pb.TagNumber(17)
|
|
void clearReason() => $_clearField(17);
|
|
|
|
/// Address of the appointment site
|
|
@$pb.TagNumber(18)
|
|
$3.Address get address => $_getN(9);
|
|
@$pb.TagNumber(18)
|
|
set address($3.Address value) => $_setField(18, value);
|
|
@$pb.TagNumber(18)
|
|
$core.bool hasAddress() => $_has(9);
|
|
@$pb.TagNumber(18)
|
|
void clearAddress() => $_clearField(18);
|
|
@$pb.TagNumber(18)
|
|
$3.Address ensureAddress() => $_ensure(9);
|
|
|
|
@$pb.TagNumber(19)
|
|
$pb.PbList<$2.MetadataElement> get carrierInformation => $_getList(10);
|
|
|
|
/// Name of the appointment site
|
|
@$pb.TagNumber(20)
|
|
$core.String get siteName => $_getSZ(11);
|
|
@$pb.TagNumber(20)
|
|
set siteName($core.String value) => $_setString(11, value);
|
|
@$pb.TagNumber(20)
|
|
$core.bool hasSiteName() => $_has(11);
|
|
@$pb.TagNumber(20)
|
|
void clearSiteName() => $_clearField(20);
|
|
|
|
@$pb.TagNumber(21)
|
|
$0.AppointmentContent get loading => $_getN(12);
|
|
@$pb.TagNumber(21)
|
|
set loading($0.AppointmentContent value) => $_setField(21, value);
|
|
@$pb.TagNumber(21)
|
|
$core.bool hasLoading() => $_has(12);
|
|
@$pb.TagNumber(21)
|
|
void clearLoading() => $_clearField(21);
|
|
@$pb.TagNumber(21)
|
|
$0.AppointmentContent ensureLoading() => $_ensure(12);
|
|
|
|
@$pb.TagNumber(22)
|
|
$0.AppointmentContent get unloading => $_getN(13);
|
|
@$pb.TagNumber(22)
|
|
set unloading($0.AppointmentContent value) => $_setField(22, value);
|
|
@$pb.TagNumber(22)
|
|
$core.bool hasUnloading() => $_has(13);
|
|
@$pb.TagNumber(22)
|
|
void clearUnloading() => $_clearField(22);
|
|
@$pb.TagNumber(22)
|
|
$0.AppointmentContent ensureUnloading() => $_ensure(13);
|
|
|
|
@$pb.TagNumber(23)
|
|
$pb.PbList<$core.String> get attendees => $_getList(14);
|
|
|
|
@$pb.TagNumber(24)
|
|
$pb.PbList<$core.String> get removedAttendees => $_getList(15);
|
|
}
|
|
|
|
class AppointmentMail extends $pb.GeneratedMessage {
|
|
factory AppointmentMail({
|
|
$2.CommandHeader? header,
|
|
$2.EntityID? iD,
|
|
AppointmentMailPayload? payload,
|
|
AppointmentMailPayload? eventPayload,
|
|
AppointmentMailPayload? previousPayload,
|
|
}) {
|
|
final result = create();
|
|
if (header != null) result.header = header;
|
|
if (iD != null) result.iD = iD;
|
|
if (payload != null) result.payload = payload;
|
|
if (eventPayload != null) result.eventPayload = eventPayload;
|
|
if (previousPayload != null) result.previousPayload = previousPayload;
|
|
return result;
|
|
}
|
|
|
|
AppointmentMail._();
|
|
|
|
factory AppointmentMail.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
|
factory AppointmentMail.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
|
|
|
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AppointmentMail', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
|
..aOM<$2.CommandHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $2.CommandHeader.create)
|
|
..aOM<$2.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $2.EntityID.create)
|
|
..aOM<AppointmentMailPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: AppointmentMailPayload.create)
|
|
..aOM<AppointmentMailPayload>(4, _omitFieldNames ? '' : 'EventPayload', protoName: 'EventPayload', subBuilder: AppointmentMailPayload.create)
|
|
..aOM<AppointmentMailPayload>(5, _omitFieldNames ? '' : 'PreviousPayload', protoName: 'PreviousPayload', subBuilder: AppointmentMailPayload.create)
|
|
..hasRequiredFields = false
|
|
;
|
|
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
AppointmentMail clone() => AppointmentMail()..mergeFromMessage(this);
|
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
|
AppointmentMail copyWith(void Function(AppointmentMail) updates) => super.copyWith((message) => updates(message as AppointmentMail)) as AppointmentMail;
|
|
|
|
@$core.override
|
|
$pb.BuilderInfo get info_ => _i;
|
|
|
|
@$core.pragma('dart2js:noInline')
|
|
static AppointmentMail create() => AppointmentMail._();
|
|
@$core.override
|
|
AppointmentMail createEmptyInstance() => create();
|
|
static $pb.PbList<AppointmentMail> createRepeated() => $pb.PbList<AppointmentMail>();
|
|
@$core.pragma('dart2js:noInline')
|
|
static AppointmentMail getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<AppointmentMail>(create);
|
|
static AppointmentMail? _defaultInstance;
|
|
|
|
@$pb.TagNumber(1)
|
|
$2.CommandHeader get header => $_getN(0);
|
|
@$pb.TagNumber(1)
|
|
set header($2.CommandHeader value) => $_setField(1, value);
|
|
@$pb.TagNumber(1)
|
|
$core.bool hasHeader() => $_has(0);
|
|
@$pb.TagNumber(1)
|
|
void clearHeader() => $_clearField(1);
|
|
@$pb.TagNumber(1)
|
|
$2.CommandHeader ensureHeader() => $_ensure(0);
|
|
|
|
@$pb.TagNumber(2)
|
|
$2.EntityID get iD => $_getN(1);
|
|
@$pb.TagNumber(2)
|
|
set iD($2.EntityID value) => $_setField(2, value);
|
|
@$pb.TagNumber(2)
|
|
$core.bool hasID() => $_has(1);
|
|
@$pb.TagNumber(2)
|
|
void clearID() => $_clearField(2);
|
|
@$pb.TagNumber(2)
|
|
$2.EntityID ensureID() => $_ensure(1);
|
|
|
|
@$pb.TagNumber(3)
|
|
AppointmentMailPayload get payload => $_getN(2);
|
|
@$pb.TagNumber(3)
|
|
set payload(AppointmentMailPayload value) => $_setField(3, value);
|
|
@$pb.TagNumber(3)
|
|
$core.bool hasPayload() => $_has(2);
|
|
@$pb.TagNumber(3)
|
|
void clearPayload() => $_clearField(3);
|
|
@$pb.TagNumber(3)
|
|
AppointmentMailPayload ensurePayload() => $_ensure(2);
|
|
|
|
@$pb.TagNumber(4)
|
|
AppointmentMailPayload get eventPayload => $_getN(3);
|
|
@$pb.TagNumber(4)
|
|
set eventPayload(AppointmentMailPayload value) => $_setField(4, value);
|
|
@$pb.TagNumber(4)
|
|
$core.bool hasEventPayload() => $_has(3);
|
|
@$pb.TagNumber(4)
|
|
void clearEventPayload() => $_clearField(4);
|
|
@$pb.TagNumber(4)
|
|
AppointmentMailPayload ensureEventPayload() => $_ensure(3);
|
|
|
|
@$pb.TagNumber(5)
|
|
AppointmentMailPayload get previousPayload => $_getN(4);
|
|
@$pb.TagNumber(5)
|
|
set previousPayload(AppointmentMailPayload value) => $_setField(5, value);
|
|
@$pb.TagNumber(5)
|
|
$core.bool hasPreviousPayload() => $_has(4);
|
|
@$pb.TagNumber(5)
|
|
void clearPreviousPayload() => $_clearField(5);
|
|
@$pb.TagNumber(5)
|
|
AppointmentMailPayload ensurePreviousPayload() => $_ensure(4);
|
|
}
|
|
|
|
|
|
const $core.bool _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
|
|
const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');
|