You've already forked dart-core-sdk
Latest generation
This commit is contained in:
@@ -103,7 +103,7 @@ class Appointment extends $pb.GeneratedMessage {
|
||||
class AppointmentPayload extends $pb.GeneratedMessage {
|
||||
factory AppointmentPayload({
|
||||
$70.AppointmentType? appointmentType,
|
||||
$core.Iterable<$75.Commission>? commissions,
|
||||
$core.Iterable<$70.Commission>? commissions,
|
||||
$core.Iterable<$70.QuantityByUnit>? quantitiesByUnits,
|
||||
$core.Iterable<$70.Segmentation>? segmentations,
|
||||
$core.Iterable<$70.CarrierInformationWithValue>? carrierInformation,
|
||||
@@ -148,7 +148,7 @@ class AppointmentPayload extends $pb.GeneratedMessage {
|
||||
|
||||
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)
|
||||
..pc<$75.Commission>(2, _omitFieldNames ? '' : 'Commissions', $pb.PbFieldType.PM, protoName: 'Commissions', subBuilder: $75.Commission.create)
|
||||
..pc<$70.Commission>(2, _omitFieldNames ? '' : 'Commissions', $pb.PbFieldType.PM, protoName: 'Commissions', subBuilder: $70.Commission.create)
|
||||
..pc<$70.QuantityByUnit>(3, _omitFieldNames ? '' : 'QuantitiesByUnits', $pb.PbFieldType.PM, protoName: 'QuantitiesByUnits', subBuilder: $70.QuantityByUnit.create)
|
||||
..pc<$70.Segmentation>(4, _omitFieldNames ? '' : 'Segmentations', $pb.PbFieldType.PM, protoName: 'Segmentations', subBuilder: $70.Segmentation.create)
|
||||
..pc<$70.CarrierInformationWithValue>(5, _omitFieldNames ? '' : 'CarrierInformation', $pb.PbFieldType.PM, protoName: 'CarrierInformation', subBuilder: $70.CarrierInformationWithValue.create)
|
||||
@@ -187,7 +187,7 @@ class AppointmentPayload extends $pb.GeneratedMessage {
|
||||
/// List of the orders and projects for which the appointment is made, with the quantities
|
||||
/// TODO ??
|
||||
@$pb.TagNumber(2)
|
||||
$pb.PbList<$75.Commission> get commissions => $_getList(1);
|
||||
$pb.PbList<$70.Commission> get commissions => $_getList(1);
|
||||
|
||||
/// Cumulative quantity for all the commissions
|
||||
@$pb.TagNumber(3)
|
||||
|
||||
@@ -13,7 +13,6 @@ import 'dart:core' as $core;
|
||||
|
||||
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;
|
||||
@@ -24,7 +23,7 @@ export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;
|
||||
class AppointmentCreatedPayload extends $pb.GeneratedMessage {
|
||||
factory AppointmentCreatedPayload({
|
||||
$70.AppointmentType? appointmentType,
|
||||
$core.Iterable<$75.Commission>? commissions,
|
||||
$core.Iterable<$70.Commission>? commissions,
|
||||
$core.Iterable<$70.QuantityByUnit>? quantitiesByUnits,
|
||||
$core.Iterable<$70.Segmentation>? segmentations,
|
||||
$core.Iterable<$70.CarrierInformationWithValue>? carrierInformation,
|
||||
@@ -61,7 +60,7 @@ class AppointmentCreatedPayload extends $pb.GeneratedMessage {
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AppointmentCreatedPayload', 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)
|
||||
..pc<$75.Commission>(2, _omitFieldNames ? '' : 'Commissions', $pb.PbFieldType.PM, protoName: 'Commissions', subBuilder: $75.Commission.create)
|
||||
..pc<$70.Commission>(2, _omitFieldNames ? '' : 'Commissions', $pb.PbFieldType.PM, protoName: 'Commissions', subBuilder: $70.Commission.create)
|
||||
..pc<$70.QuantityByUnit>(3, _omitFieldNames ? '' : 'QuantitiesByUnits', $pb.PbFieldType.PM, protoName: 'QuantitiesByUnits', subBuilder: $70.QuantityByUnit.create)
|
||||
..pc<$70.Segmentation>(4, _omitFieldNames ? '' : 'Segmentations', $pb.PbFieldType.PM, protoName: 'Segmentations', subBuilder: $70.Segmentation.create)
|
||||
..pc<$70.CarrierInformationWithValue>(5, _omitFieldNames ? '' : 'CarrierInformation', $pb.PbFieldType.PM, protoName: 'CarrierInformation', subBuilder: $70.CarrierInformationWithValue.create)
|
||||
@@ -98,7 +97,7 @@ class AppointmentCreatedPayload extends $pb.GeneratedMessage {
|
||||
/// List of the orders and projects for which the appointment is made, with the quantities
|
||||
/// TODO ??
|
||||
@$pb.TagNumber(2)
|
||||
$pb.PbList<$75.Commission> get commissions => $_getList(1);
|
||||
$pb.PbList<$70.Commission> get commissions => $_getList(1);
|
||||
|
||||
/// Cumulative quantity for all the commissions
|
||||
@$pb.TagNumber(3)
|
||||
|
||||
@@ -17,7 +17,6 @@ import 'collabShared.pbenum.dart';
|
||||
import 'google/protobuf/struct.pb.dart' as $79;
|
||||
import 'shared.pb.dart' as $3;
|
||||
import 'shared.pbenum.dart' as $3;
|
||||
import 'slotbooking.pb.dart' as $70;
|
||||
|
||||
export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;
|
||||
|
||||
@@ -694,75 +693,6 @@ class AppointmentStatusStruct extends $pb.GeneratedMessage {
|
||||
void clearVersion() => $_clearField(4);
|
||||
}
|
||||
|
||||
class Commission extends $pb.GeneratedMessage {
|
||||
factory Commission({
|
||||
$core.String? projectID,
|
||||
$core.String? orderID,
|
||||
$core.Iterable<$70.QuantityByUnit>? quantities,
|
||||
}) {
|
||||
final $result = create();
|
||||
if (projectID != null) {
|
||||
$result.projectID = projectID;
|
||||
}
|
||||
if (orderID != null) {
|
||||
$result.orderID = orderID;
|
||||
}
|
||||
if (quantities != null) {
|
||||
$result.quantities.addAll(quantities);
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
Commission._() : super();
|
||||
factory Commission.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
||||
factory Commission.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Commission', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'ProjectID', protoName: 'ProjectID')
|
||||
..aOS(2, _omitFieldNames ? '' : 'OrderID', protoName: 'OrderID')
|
||||
..pc<$70.QuantityByUnit>(3, _omitFieldNames ? '' : 'Quantities', $pb.PbFieldType.PM, protoName: 'Quantities', subBuilder: $70.QuantityByUnit.create)
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
Commission clone() => Commission()..mergeFromMessage(this);
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
Commission copyWith(void Function(Commission) updates) => super.copyWith((message) => updates(message as Commission)) as Commission;
|
||||
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static Commission create() => Commission._();
|
||||
Commission createEmptyInstance() => create();
|
||||
static $pb.PbList<Commission> createRepeated() => $pb.PbList<Commission>();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static Commission getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Commission>(create);
|
||||
static Commission? _defaultInstance;
|
||||
|
||||
/// Identifier for the project associated with the order
|
||||
@$pb.TagNumber(1)
|
||||
$core.String get projectID => $_getSZ(0);
|
||||
@$pb.TagNumber(1)
|
||||
set projectID($core.String v) { $_setString(0, v); }
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasProjectID() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearProjectID() => $_clearField(1);
|
||||
|
||||
/// ID of the order, might be null for standalone
|
||||
@$pb.TagNumber(2)
|
||||
$core.String get orderID => $_getSZ(1);
|
||||
@$pb.TagNumber(2)
|
||||
set orderID($core.String v) { $_setString(1, v); }
|
||||
@$pb.TagNumber(2)
|
||||
$core.bool hasOrderID() => $_has(1);
|
||||
@$pb.TagNumber(2)
|
||||
void clearOrderID() => $_clearField(2);
|
||||
|
||||
/// Volumetry inside the truck, should have at least one item listed
|
||||
@$pb.TagNumber(3)
|
||||
$pb.PbList<$70.QuantityByUnit> get quantities => $_getList(2);
|
||||
}
|
||||
|
||||
|
||||
const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
|
||||
const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');
|
||||
|
||||
@@ -218,19 +218,3 @@ final $typed_data.Uint8List appointmentStatusStructDescriptor = $convert.base64D
|
||||
'bkRhdGUYAyABKAlCCPpCBXID0AEBUgxDcmVhdGlvbkRhdGUSGAoHVmVyc2lvbhgEIAEoDVIHVm'
|
||||
'Vyc2lvbg==');
|
||||
|
||||
@$core.Deprecated('Use commissionDescriptor instead')
|
||||
const Commission$json = {
|
||||
'1': 'Commission',
|
||||
'2': [
|
||||
{'1': 'ProjectID', '3': 1, '4': 1, '5': 9, '8': {}, '10': 'ProjectID'},
|
||||
{'1': 'OrderID', '3': 2, '4': 1, '5': 9, '10': 'OrderID'},
|
||||
{'1': 'Quantities', '3': 3, '4': 3, '5': 11, '6': '.api.QuantityByUnit', '8': {}, '10': 'Quantities'},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `Commission`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List commissionDescriptor = $convert.base64Decode(
|
||||
'CgpDb21taXNzaW9uEiUKCVByb2plY3RJRBgBIAEoCUIH+kIEcgIQAVIJUHJvamVjdElEEhgKB0'
|
||||
'9yZGVySUQYAiABKAlSB09yZGVySUQSPQoKUXVhbnRpdGllcxgDIAMoCzITLmFwaS5RdWFudGl0'
|
||||
'eUJ5VW5pdEII+kIFkgECCAFSClF1YW50aXRpZXM=');
|
||||
|
||||
|
||||
@@ -14,7 +14,6 @@ import 'dart:core' as $core;
|
||||
import 'package:fixnum/fixnum.dart' as $fixnum;
|
||||
import 'package:protobuf/protobuf.dart' as $pb;
|
||||
|
||||
import 'collabShared.pb.dart' as $75;
|
||||
import 'repositoryShared.pb.dart' as $69;
|
||||
import 'shared.pb.dart' as $3;
|
||||
import 'slotbooking.pb.dart' as $70;
|
||||
@@ -1134,7 +1133,7 @@ class GetAvailableSlotsRequest extends $pb.GeneratedMessage {
|
||||
factory GetAvailableSlotsRequest({
|
||||
$3.RequestSiteHeader? header,
|
||||
$70.AppointmentType? appointmentType,
|
||||
$core.Iterable<$75.Commission>? commissions,
|
||||
$core.Iterable<$70.Commission>? commissions,
|
||||
$core.Iterable<$70.Segmentation>? segmentations,
|
||||
$core.String? startDate,
|
||||
$core.String? endDate,
|
||||
@@ -1167,7 +1166,7 @@ class GetAvailableSlotsRequest extends $pb.GeneratedMessage {
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetAvailableSlotsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
..aOM<$3.RequestSiteHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestSiteHeader.create)
|
||||
..e<$70.AppointmentType>(2, _omitFieldNames ? '' : 'AppointmentType', $pb.PbFieldType.OE, protoName: 'AppointmentType', defaultOrMaker: $70.AppointmentType.APPOINTMENTTYPE_UNKNOWN, valueOf: $70.AppointmentType.valueOf, enumValues: $70.AppointmentType.values)
|
||||
..pc<$75.Commission>(3, _omitFieldNames ? '' : 'Commissions', $pb.PbFieldType.PM, protoName: 'Commissions', subBuilder: $75.Commission.create)
|
||||
..pc<$70.Commission>(3, _omitFieldNames ? '' : 'Commissions', $pb.PbFieldType.PM, protoName: 'Commissions', subBuilder: $70.Commission.create)
|
||||
..pc<$70.Segmentation>(4, _omitFieldNames ? '' : 'Segmentations', $pb.PbFieldType.PM, protoName: 'Segmentations', subBuilder: $70.Segmentation.create)
|
||||
..aOS(5, _omitFieldNames ? '' : 'StartDate', protoName: 'StartDate')
|
||||
..aOS(6, _omitFieldNames ? '' : 'EndDate', protoName: 'EndDate')
|
||||
@@ -1212,7 +1211,7 @@ class GetAvailableSlotsRequest extends $pb.GeneratedMessage {
|
||||
|
||||
/// List of the orders and projects for which the appointment is made, with the quantities
|
||||
@$pb.TagNumber(3)
|
||||
$pb.PbList<$75.Commission> get commissions => $_getList(2);
|
||||
$pb.PbList<$70.Commission> get commissions => $_getList(2);
|
||||
|
||||
/// Set of segmentation constraining the slot booking
|
||||
@$pb.TagNumber(4)
|
||||
@@ -1241,11 +1240,11 @@ class GetAvailableSlotsRequest extends $pb.GeneratedMessage {
|
||||
|
||||
class GetAvailableSlotsResponse extends $pb.GeneratedMessage {
|
||||
factory GetAvailableSlotsResponse({
|
||||
$core.Iterable<$70.Slot>? slots,
|
||||
$core.Iterable<$70.SlotGroup>? slotGroups,
|
||||
}) {
|
||||
final $result = create();
|
||||
if (slots != null) {
|
||||
$result.slots.addAll(slots);
|
||||
if (slotGroups != null) {
|
||||
$result.slotGroups.addAll(slotGroups);
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
@@ -1254,7 +1253,7 @@ class GetAvailableSlotsResponse extends $pb.GeneratedMessage {
|
||||
factory GetAvailableSlotsResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetAvailableSlotsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
..pc<$70.Slot>(1, _omitFieldNames ? '' : 'Slots', $pb.PbFieldType.PM, protoName: 'Slots', subBuilder: $70.Slot.create)
|
||||
..pc<$70.SlotGroup>(1, _omitFieldNames ? '' : 'SlotGroups', $pb.PbFieldType.PM, protoName: 'SlotGroups', subBuilder: $70.SlotGroup.create)
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@@ -1274,7 +1273,7 @@ class GetAvailableSlotsResponse extends $pb.GeneratedMessage {
|
||||
static GetAvailableSlotsResponse? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(1)
|
||||
$pb.PbList<$70.Slot> get slots => $_getList(0);
|
||||
$pb.PbList<$70.SlotGroup> get slotGroups => $_getList(0);
|
||||
}
|
||||
|
||||
/// BookAppointment
|
||||
@@ -1282,7 +1281,7 @@ class BookAppointmentRequest extends $pb.GeneratedMessage {
|
||||
factory BookAppointmentRequest({
|
||||
$3.RequestSiteHeader? header,
|
||||
$70.AppointmentType? appointmentType,
|
||||
$core.Iterable<$75.Commission>? commissions,
|
||||
$core.Iterable<$70.Commission>? commissions,
|
||||
$core.Iterable<$70.Segmentation>? segmentations,
|
||||
$core.Iterable<$70.CarrierInformation>? carrierInformation,
|
||||
$70.Slot? slot,
|
||||
@@ -1319,7 +1318,7 @@ class BookAppointmentRequest extends $pb.GeneratedMessage {
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'BookAppointmentRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
..aOM<$3.RequestSiteHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestSiteHeader.create)
|
||||
..e<$70.AppointmentType>(2, _omitFieldNames ? '' : 'AppointmentType', $pb.PbFieldType.OE, protoName: 'AppointmentType', defaultOrMaker: $70.AppointmentType.APPOINTMENTTYPE_UNKNOWN, valueOf: $70.AppointmentType.valueOf, enumValues: $70.AppointmentType.values)
|
||||
..pc<$75.Commission>(3, _omitFieldNames ? '' : 'Commissions', $pb.PbFieldType.PM, protoName: 'Commissions', subBuilder: $75.Commission.create)
|
||||
..pc<$70.Commission>(3, _omitFieldNames ? '' : 'Commissions', $pb.PbFieldType.PM, protoName: 'Commissions', subBuilder: $70.Commission.create)
|
||||
..pc<$70.Segmentation>(4, _omitFieldNames ? '' : 'Segmentations', $pb.PbFieldType.PM, protoName: 'Segmentations', subBuilder: $70.Segmentation.create)
|
||||
..pc<$70.CarrierInformation>(5, _omitFieldNames ? '' : 'CarrierInformation', $pb.PbFieldType.PM, protoName: 'CarrierInformation', subBuilder: $70.CarrierInformation.create)
|
||||
..aOM<$70.Slot>(6, _omitFieldNames ? '' : 'Slot', protoName: 'Slot', subBuilder: $70.Slot.create)
|
||||
@@ -1365,7 +1364,7 @@ class BookAppointmentRequest extends $pb.GeneratedMessage {
|
||||
|
||||
/// List of the orders and projects for which the appointment is made, with the quantities
|
||||
@$pb.TagNumber(3)
|
||||
$pb.PbList<$75.Commission> get commissions => $_getList(2);
|
||||
$pb.PbList<$70.Commission> get commissions => $_getList(2);
|
||||
|
||||
/// Set of segmentation constraining the slot booking
|
||||
@$pb.TagNumber(4)
|
||||
|
||||
@@ -307,14 +307,14 @@ final $typed_data.Uint8List getAvailableSlotsRequestDescriptor = $convert.base64
|
||||
const GetAvailableSlotsResponse$json = {
|
||||
'1': 'GetAvailableSlotsResponse',
|
||||
'2': [
|
||||
{'1': 'Slots', '3': 1, '4': 3, '5': 11, '6': '.api.Slot', '10': 'Slots'},
|
||||
{'1': 'SlotGroups', '3': 1, '4': 3, '5': 11, '6': '.api.SlotGroup', '10': 'SlotGroups'},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `GetAvailableSlotsResponse`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List getAvailableSlotsResponseDescriptor = $convert.base64Decode(
|
||||
'ChlHZXRBdmFpbGFibGVTbG90c1Jlc3BvbnNlEh8KBVNsb3RzGAEgAygLMgkuYXBpLlNsb3RSBV'
|
||||
'Nsb3Rz');
|
||||
'ChlHZXRBdmFpbGFibGVTbG90c1Jlc3BvbnNlEi4KClNsb3RHcm91cHMYASADKAsyDi5hcGkuU2'
|
||||
'xvdEdyb3VwUgpTbG90R3JvdXBz');
|
||||
|
||||
@$core.Deprecated('Use bookAppointmentRequestDescriptor instead')
|
||||
const BookAppointmentRequest$json = {
|
||||
|
||||
@@ -1840,6 +1840,192 @@ class SegmentationActorConstraint extends $pb.GeneratedMessage {
|
||||
void clearAttributePath() => $_clearField(5);
|
||||
}
|
||||
|
||||
class Commission extends $pb.GeneratedMessage {
|
||||
factory Commission({
|
||||
$core.String? projectID,
|
||||
$core.String? orderID,
|
||||
$core.Iterable<QuantityByUnit>? quantities,
|
||||
}) {
|
||||
final $result = create();
|
||||
if (projectID != null) {
|
||||
$result.projectID = projectID;
|
||||
}
|
||||
if (orderID != null) {
|
||||
$result.orderID = orderID;
|
||||
}
|
||||
if (quantities != null) {
|
||||
$result.quantities.addAll(quantities);
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
Commission._() : super();
|
||||
factory Commission.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
||||
factory Commission.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Commission', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'ProjectID', protoName: 'ProjectID')
|
||||
..aOS(2, _omitFieldNames ? '' : 'OrderID', protoName: 'OrderID')
|
||||
..pc<QuantityByUnit>(3, _omitFieldNames ? '' : 'Quantities', $pb.PbFieldType.PM, protoName: 'Quantities', subBuilder: QuantityByUnit.create)
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
Commission clone() => Commission()..mergeFromMessage(this);
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
Commission copyWith(void Function(Commission) updates) => super.copyWith((message) => updates(message as Commission)) as Commission;
|
||||
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static Commission create() => Commission._();
|
||||
Commission createEmptyInstance() => create();
|
||||
static $pb.PbList<Commission> createRepeated() => $pb.PbList<Commission>();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static Commission getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Commission>(create);
|
||||
static Commission? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(1)
|
||||
$core.String get projectID => $_getSZ(0);
|
||||
@$pb.TagNumber(1)
|
||||
set projectID($core.String v) { $_setString(0, v); }
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasProjectID() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearProjectID() => $_clearField(1);
|
||||
|
||||
@$pb.TagNumber(2)
|
||||
$core.String get orderID => $_getSZ(1);
|
||||
@$pb.TagNumber(2)
|
||||
set orderID($core.String v) { $_setString(1, v); }
|
||||
@$pb.TagNumber(2)
|
||||
$core.bool hasOrderID() => $_has(1);
|
||||
@$pb.TagNumber(2)
|
||||
void clearOrderID() => $_clearField(2);
|
||||
|
||||
@$pb.TagNumber(3)
|
||||
$pb.PbList<QuantityByUnit> get quantities => $_getList(2);
|
||||
}
|
||||
|
||||
class Booking extends $pb.GeneratedMessage {
|
||||
factory Booking({
|
||||
AppointmentType? appointmentType,
|
||||
$core.Iterable<Commission>? commissions,
|
||||
$core.Iterable<Segmentation>? segmentations,
|
||||
$core.Iterable<Slot>? slots,
|
||||
}) {
|
||||
final $result = create();
|
||||
if (appointmentType != null) {
|
||||
$result.appointmentType = appointmentType;
|
||||
}
|
||||
if (commissions != null) {
|
||||
$result.commissions.addAll(commissions);
|
||||
}
|
||||
if (segmentations != null) {
|
||||
$result.segmentations.addAll(segmentations);
|
||||
}
|
||||
if (slots != null) {
|
||||
$result.slots.addAll(slots);
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
Booking._() : super();
|
||||
factory Booking.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
||||
factory Booking.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Booking', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
..e<AppointmentType>(1, _omitFieldNames ? '' : 'AppointmentType', $pb.PbFieldType.OE, protoName: 'AppointmentType', defaultOrMaker: AppointmentType.APPOINTMENTTYPE_UNKNOWN, valueOf: AppointmentType.valueOf, enumValues: AppointmentType.values)
|
||||
..pc<Commission>(2, _omitFieldNames ? '' : 'Commissions', $pb.PbFieldType.PM, protoName: 'Commissions', subBuilder: Commission.create)
|
||||
..pc<Segmentation>(3, _omitFieldNames ? '' : 'Segmentations', $pb.PbFieldType.PM, protoName: 'Segmentations', subBuilder: Segmentation.create)
|
||||
..pc<Slot>(4, _omitFieldNames ? '' : 'Slots', $pb.PbFieldType.PM, protoName: 'Slots', subBuilder: Slot.create)
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
Booking clone() => Booking()..mergeFromMessage(this);
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
Booking copyWith(void Function(Booking) updates) => super.copyWith((message) => updates(message as Booking)) as Booking;
|
||||
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static Booking create() => Booking._();
|
||||
Booking createEmptyInstance() => create();
|
||||
static $pb.PbList<Booking> createRepeated() => $pb.PbList<Booking>();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static Booking getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Booking>(create);
|
||||
static Booking? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(1)
|
||||
AppointmentType get appointmentType => $_getN(0);
|
||||
@$pb.TagNumber(1)
|
||||
set appointmentType(AppointmentType v) { $_setField(1, v); }
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasAppointmentType() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearAppointmentType() => $_clearField(1);
|
||||
|
||||
@$pb.TagNumber(2)
|
||||
$pb.PbList<Commission> get commissions => $_getList(1);
|
||||
|
||||
@$pb.TagNumber(3)
|
||||
$pb.PbList<Segmentation> get segmentations => $_getList(2);
|
||||
|
||||
@$pb.TagNumber(4)
|
||||
$pb.PbList<Slot> get slots => $_getList(3);
|
||||
}
|
||||
|
||||
class SlotGroup extends $pb.GeneratedMessage {
|
||||
factory SlotGroup({
|
||||
$core.Iterable<Slot>? slots,
|
||||
$core.int? availability,
|
||||
}) {
|
||||
final $result = create();
|
||||
if (slots != null) {
|
||||
$result.slots.addAll(slots);
|
||||
}
|
||||
if (availability != null) {
|
||||
$result.availability = availability;
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
SlotGroup._() : super();
|
||||
factory SlotGroup.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
|
||||
factory SlotGroup.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SlotGroup', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
..pc<Slot>(1, _omitFieldNames ? '' : 'Slots', $pb.PbFieldType.PM, protoName: 'Slots', subBuilder: Slot.create)
|
||||
..a<$core.int>(2, _omitFieldNames ? '' : 'Availability', $pb.PbFieldType.OU3, protoName: 'Availability')
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
SlotGroup clone() => SlotGroup()..mergeFromMessage(this);
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
SlotGroup copyWith(void Function(SlotGroup) updates) => super.copyWith((message) => updates(message as SlotGroup)) as SlotGroup;
|
||||
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static SlotGroup create() => SlotGroup._();
|
||||
SlotGroup createEmptyInstance() => create();
|
||||
static $pb.PbList<SlotGroup> createRepeated() => $pb.PbList<SlotGroup>();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static SlotGroup getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<SlotGroup>(create);
|
||||
static SlotGroup? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(1)
|
||||
$pb.PbList<Slot> get slots => $_getList(0);
|
||||
|
||||
@$pb.TagNumber(2)
|
||||
$core.int get availability => $_getIZ(1);
|
||||
@$pb.TagNumber(2)
|
||||
set availability($core.int v) { $_setUnsignedInt32(1, v); }
|
||||
@$pb.TagNumber(2)
|
||||
$core.bool hasAvailability() => $_has(1);
|
||||
@$pb.TagNumber(2)
|
||||
void clearAvailability() => $_clearField(2);
|
||||
}
|
||||
|
||||
|
||||
const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
|
||||
const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');
|
||||
|
||||
@@ -535,3 +535,51 @@ final $typed_data.Uint8List segmentationActorConstraintDescriptor = $convert.bas
|
||||
'kuU2VnbWVudGF0aW9uQ29uc3RyYWludFR5cGVSBFR5cGUSJAoNQXR0cmlidXRlUGF0aBgFIAEo'
|
||||
'CVINQXR0cmlidXRlUGF0aA==');
|
||||
|
||||
@$core.Deprecated('Use commissionDescriptor instead')
|
||||
const Commission$json = {
|
||||
'1': 'Commission',
|
||||
'2': [
|
||||
{'1': 'ProjectID', '3': 1, '4': 1, '5': 9, '8': {}, '10': 'ProjectID'},
|
||||
{'1': 'OrderID', '3': 2, '4': 1, '5': 9, '10': 'OrderID'},
|
||||
{'1': 'Quantities', '3': 3, '4': 3, '5': 11, '6': '.api.QuantityByUnit', '8': {}, '10': 'Quantities'},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `Commission`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List commissionDescriptor = $convert.base64Decode(
|
||||
'CgpDb21taXNzaW9uEiUKCVByb2plY3RJRBgBIAEoCUIH+kIEcgIQAVIJUHJvamVjdElEEhgKB0'
|
||||
'9yZGVySUQYAiABKAlSB09yZGVySUQSPQoKUXVhbnRpdGllcxgDIAMoCzITLmFwaS5RdWFudGl0'
|
||||
'eUJ5VW5pdEII+kIFkgECCAFSClF1YW50aXRpZXM=');
|
||||
|
||||
@$core.Deprecated('Use bookingDescriptor instead')
|
||||
const Booking$json = {
|
||||
'1': 'Booking',
|
||||
'2': [
|
||||
{'1': 'AppointmentType', '3': 1, '4': 1, '5': 14, '6': '.api.AppointmentType', '10': 'AppointmentType'},
|
||||
{'1': 'Commissions', '3': 2, '4': 3, '5': 11, '6': '.api.Commission', '10': 'Commissions'},
|
||||
{'1': 'Segmentations', '3': 3, '4': 3, '5': 11, '6': '.api.Segmentation', '10': 'Segmentations'},
|
||||
{'1': 'Slots', '3': 4, '4': 3, '5': 11, '6': '.api.Slot', '10': 'Slots'},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `Booking`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List bookingDescriptor = $convert.base64Decode(
|
||||
'CgdCb29raW5nEj4KD0FwcG9pbnRtZW50VHlwZRgBIAEoDjIULmFwaS5BcHBvaW50bWVudFR5cG'
|
||||
'VSD0FwcG9pbnRtZW50VHlwZRIxCgtDb21taXNzaW9ucxgCIAMoCzIPLmFwaS5Db21taXNzaW9u'
|
||||
'UgtDb21taXNzaW9ucxI3Cg1TZWdtZW50YXRpb25zGAMgAygLMhEuYXBpLlNlZ21lbnRhdGlvbl'
|
||||
'INU2VnbWVudGF0aW9ucxIfCgVTbG90cxgEIAMoCzIJLmFwaS5TbG90UgVTbG90cw==');
|
||||
|
||||
@$core.Deprecated('Use slotGroupDescriptor instead')
|
||||
const SlotGroup$json = {
|
||||
'1': 'SlotGroup',
|
||||
'2': [
|
||||
{'1': 'Slots', '3': 1, '4': 3, '5': 11, '6': '.api.Slot', '10': 'Slots'},
|
||||
{'1': 'Availability', '3': 2, '4': 1, '5': 13, '10': 'Availability'},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `SlotGroup`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List slotGroupDescriptor = $convert.base64Decode(
|
||||
'CglTbG90R3JvdXASHwoFU2xvdHMYASADKAsyCS5hcGkuU2xvdFIFU2xvdHMSIgoMQXZhaWxhYm'
|
||||
'lsaXR5GAIgASgNUgxBdmFpbGFiaWxpdHk=');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user