You've already forked dart-core-sdk
Latest generation
This commit is contained in:
237
lib/site.pb.dart
237
lib/site.pb.dart
@@ -12,7 +12,6 @@
|
||||
|
||||
import 'dart:core' as $core;
|
||||
|
||||
import 'package:fixnum/fixnum.dart' as $fixnum;
|
||||
import 'package:protobuf/protobuf.dart' as $pb;
|
||||
|
||||
import 'metadatadef.pb.dart' as $4;
|
||||
@@ -1430,242 +1429,6 @@ class DeleteInstructionDocumentResponse extends $pb.GeneratedMessage {
|
||||
static DeleteInstructionDocumentResponse? _defaultInstance;
|
||||
}
|
||||
|
||||
/// GetAvailableSlots
|
||||
class GetAvailableSlotsRequest extends $pb.GeneratedMessage {
|
||||
factory GetAvailableSlotsRequest({
|
||||
$3.RequestProjectHeader? header,
|
||||
$3.AppointmentType? appointmentType,
|
||||
$core.Iterable<$2.Commission>? commissions,
|
||||
$core.Iterable<$2.SegmentationSelection>? segmentationSelections,
|
||||
$core.String? startDate,
|
||||
$core.String? endDate,
|
||||
$core.Iterable<$core.String>? skippedAppointmentIDs,
|
||||
$core.String? actorID,
|
||||
$core.Iterable<$3.MetadataElement>? carrierInformation,
|
||||
$core.Iterable<$3.MetadataElement>? metaData,
|
||||
}) {
|
||||
final result = create();
|
||||
if (header != null) result.header = header;
|
||||
if (appointmentType != null) result.appointmentType = appointmentType;
|
||||
if (commissions != null) result.commissions.addAll(commissions);
|
||||
if (segmentationSelections != null) result.segmentationSelections.addAll(segmentationSelections);
|
||||
if (startDate != null) result.startDate = startDate;
|
||||
if (endDate != null) result.endDate = endDate;
|
||||
if (skippedAppointmentIDs != null) result.skippedAppointmentIDs.addAll(skippedAppointmentIDs);
|
||||
if (actorID != null) result.actorID = actorID;
|
||||
if (carrierInformation != null) result.carrierInformation.addAll(carrierInformation);
|
||||
if (metaData != null) result.metaData.addAll(metaData);
|
||||
return result;
|
||||
}
|
||||
|
||||
GetAvailableSlotsRequest._();
|
||||
|
||||
factory GetAvailableSlotsRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
||||
factory GetAvailableSlotsRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetAvailableSlotsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
..aOM<$3.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestProjectHeader.create)
|
||||
..e<$3.AppointmentType>(2, _omitFieldNames ? '' : 'AppointmentType', $pb.PbFieldType.OE, protoName: 'AppointmentType', defaultOrMaker: $3.AppointmentType.APPOINTMENT_TYPE_UNKNOWN, valueOf: $3.AppointmentType.valueOf, enumValues: $3.AppointmentType.values)
|
||||
..pc<$2.Commission>(3, _omitFieldNames ? '' : 'Commissions', $pb.PbFieldType.PM, protoName: 'Commissions', subBuilder: $2.Commission.create)
|
||||
..pc<$2.SegmentationSelection>(4, _omitFieldNames ? '' : 'SegmentationSelections', $pb.PbFieldType.PM, protoName: 'SegmentationSelections', subBuilder: $2.SegmentationSelection.create)
|
||||
..aOS(5, _omitFieldNames ? '' : 'StartDate', protoName: 'StartDate')
|
||||
..aOS(6, _omitFieldNames ? '' : 'EndDate', protoName: 'EndDate')
|
||||
..pPS(7, _omitFieldNames ? '' : 'SkippedAppointmentIDs', protoName: 'SkippedAppointmentIDs')
|
||||
..aOS(8, _omitFieldNames ? '' : 'ActorID', protoName: 'ActorID')
|
||||
..pc<$3.MetadataElement>(9, _omitFieldNames ? '' : 'CarrierInformation', $pb.PbFieldType.PM, protoName: 'CarrierInformation', subBuilder: $3.MetadataElement.create)
|
||||
..pc<$3.MetadataElement>(10, _omitFieldNames ? '' : 'MetaData', $pb.PbFieldType.PM, protoName: 'MetaData', subBuilder: $3.MetadataElement.create)
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
GetAvailableSlotsRequest clone() => GetAvailableSlotsRequest()..mergeFromMessage(this);
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
GetAvailableSlotsRequest copyWith(void Function(GetAvailableSlotsRequest) updates) => super.copyWith((message) => updates(message as GetAvailableSlotsRequest)) as GetAvailableSlotsRequest;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static GetAvailableSlotsRequest create() => GetAvailableSlotsRequest._();
|
||||
@$core.override
|
||||
GetAvailableSlotsRequest createEmptyInstance() => create();
|
||||
static $pb.PbList<GetAvailableSlotsRequest> createRepeated() => $pb.PbList<GetAvailableSlotsRequest>();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static GetAvailableSlotsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<GetAvailableSlotsRequest>(create);
|
||||
static GetAvailableSlotsRequest? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(1)
|
||||
$3.RequestProjectHeader get header => $_getN(0);
|
||||
@$pb.TagNumber(1)
|
||||
set header($3.RequestProjectHeader value) => $_setField(1, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasHeader() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearHeader() => $_clearField(1);
|
||||
@$pb.TagNumber(1)
|
||||
$3.RequestProjectHeader ensureHeader() => $_ensure(0);
|
||||
|
||||
/// Type of appointment : Loading / Unloading / Both
|
||||
@$pb.TagNumber(2)
|
||||
$3.AppointmentType get appointmentType => $_getN(1);
|
||||
@$pb.TagNumber(2)
|
||||
set appointmentType($3.AppointmentType value) => $_setField(2, value);
|
||||
@$pb.TagNumber(2)
|
||||
$core.bool hasAppointmentType() => $_has(1);
|
||||
@$pb.TagNumber(2)
|
||||
void clearAppointmentType() => $_clearField(2);
|
||||
|
||||
/// List of the orders and projects for which the appointment is made, with the quantities
|
||||
@$pb.TagNumber(3)
|
||||
$pb.PbList<$2.Commission> get commissions => $_getList(2);
|
||||
|
||||
/// Set of segmentation constraining the slot booking
|
||||
@$pb.TagNumber(4)
|
||||
$pb.PbList<$2.SegmentationSelection> get segmentationSelections => $_getList(3);
|
||||
|
||||
@$pb.TagNumber(5)
|
||||
$core.String get startDate => $_getSZ(4);
|
||||
@$pb.TagNumber(5)
|
||||
set startDate($core.String value) => $_setString(4, value);
|
||||
@$pb.TagNumber(5)
|
||||
$core.bool hasStartDate() => $_has(4);
|
||||
@$pb.TagNumber(5)
|
||||
void clearStartDate() => $_clearField(5);
|
||||
|
||||
@$pb.TagNumber(6)
|
||||
$core.String get endDate => $_getSZ(5);
|
||||
@$pb.TagNumber(6)
|
||||
set endDate($core.String value) => $_setString(5, value);
|
||||
@$pb.TagNumber(6)
|
||||
$core.bool hasEndDate() => $_has(5);
|
||||
@$pb.TagNumber(6)
|
||||
void clearEndDate() => $_clearField(6);
|
||||
|
||||
/// Optional, needed to skip counting those appointments in the capacity rules
|
||||
@$pb.TagNumber(7)
|
||||
$pb.PbList<$core.String> get skippedAppointmentIDs => $_getList(6);
|
||||
|
||||
@$pb.TagNumber(8)
|
||||
$core.String get actorID => $_getSZ(7);
|
||||
@$pb.TagNumber(8)
|
||||
set actorID($core.String value) => $_setString(7, value);
|
||||
@$pb.TagNumber(8)
|
||||
$core.bool hasActorID() => $_has(7);
|
||||
@$pb.TagNumber(8)
|
||||
void clearActorID() => $_clearField(8);
|
||||
|
||||
/// Carrier information metadata
|
||||
@$pb.TagNumber(9)
|
||||
$pb.PbList<$3.MetadataElement> get carrierInformation => $_getList(8);
|
||||
|
||||
@$pb.TagNumber(10)
|
||||
$pb.PbList<$3.MetadataElement> get metaData => $_getList(9);
|
||||
}
|
||||
|
||||
class GetAvailableSlotsResponse extends $pb.GeneratedMessage {
|
||||
factory GetAvailableSlotsResponse({
|
||||
$core.Iterable<$2.SlotGroup>? slotGroups,
|
||||
$fixnum.Int64? estimatedNeededDurationInMinutes,
|
||||
}) {
|
||||
final result = create();
|
||||
if (slotGroups != null) result.slotGroups.addAll(slotGroups);
|
||||
if (estimatedNeededDurationInMinutes != null) result.estimatedNeededDurationInMinutes = estimatedNeededDurationInMinutes;
|
||||
return result;
|
||||
}
|
||||
|
||||
GetAvailableSlotsResponse._();
|
||||
|
||||
factory GetAvailableSlotsResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
||||
factory GetAvailableSlotsResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetAvailableSlotsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
..pc<$2.SlotGroup>(1, _omitFieldNames ? '' : 'SlotGroups', $pb.PbFieldType.PM, protoName: 'SlotGroups', subBuilder: $2.SlotGroup.create)
|
||||
..a<$fixnum.Int64>(2, _omitFieldNames ? '' : 'EstimatedNeededDurationInMinutes', $pb.PbFieldType.OU6, protoName: 'EstimatedNeededDurationInMinutes', defaultOrMaker: $fixnum.Int64.ZERO)
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
GetAvailableSlotsResponse clone() => GetAvailableSlotsResponse()..mergeFromMessage(this);
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
GetAvailableSlotsResponse copyWith(void Function(GetAvailableSlotsResponse) updates) => super.copyWith((message) => updates(message as GetAvailableSlotsResponse)) as GetAvailableSlotsResponse;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static GetAvailableSlotsResponse create() => GetAvailableSlotsResponse._();
|
||||
@$core.override
|
||||
GetAvailableSlotsResponse createEmptyInstance() => create();
|
||||
static $pb.PbList<GetAvailableSlotsResponse> createRepeated() => $pb.PbList<GetAvailableSlotsResponse>();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static GetAvailableSlotsResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<GetAvailableSlotsResponse>(create);
|
||||
static GetAvailableSlotsResponse? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(1)
|
||||
$pb.PbList<$2.SlotGroup> get slotGroups => $_getList(0);
|
||||
|
||||
@$pb.TagNumber(2)
|
||||
$fixnum.Int64 get estimatedNeededDurationInMinutes => $_getI64(1);
|
||||
@$pb.TagNumber(2)
|
||||
set estimatedNeededDurationInMinutes($fixnum.Int64 value) => $_setInt64(1, value);
|
||||
@$pb.TagNumber(2)
|
||||
$core.bool hasEstimatedNeededDurationInMinutes() => $_has(1);
|
||||
@$pb.TagNumber(2)
|
||||
void clearEstimatedNeededDurationInMinutes() => $_clearField(2);
|
||||
}
|
||||
|
||||
class GetAllSlotsResponse extends $pb.GeneratedMessage {
|
||||
factory GetAllSlotsResponse({
|
||||
$core.Iterable<$2.SlotGroupAndReason>? slotGroupAndReasons,
|
||||
$fixnum.Int64? estimatedNeededDurationInMinutes,
|
||||
}) {
|
||||
final result = create();
|
||||
if (slotGroupAndReasons != null) result.slotGroupAndReasons.addAll(slotGroupAndReasons);
|
||||
if (estimatedNeededDurationInMinutes != null) result.estimatedNeededDurationInMinutes = estimatedNeededDurationInMinutes;
|
||||
return result;
|
||||
}
|
||||
|
||||
GetAllSlotsResponse._();
|
||||
|
||||
factory GetAllSlotsResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
||||
factory GetAllSlotsResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetAllSlotsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
..pc<$2.SlotGroupAndReason>(1, _omitFieldNames ? '' : 'SlotGroupAndReasons', $pb.PbFieldType.PM, protoName: 'SlotGroupAndReasons', subBuilder: $2.SlotGroupAndReason.create)
|
||||
..a<$fixnum.Int64>(2, _omitFieldNames ? '' : 'EstimatedNeededDurationInMinutes', $pb.PbFieldType.OU6, protoName: 'EstimatedNeededDurationInMinutes', defaultOrMaker: $fixnum.Int64.ZERO)
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
GetAllSlotsResponse clone() => GetAllSlotsResponse()..mergeFromMessage(this);
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
GetAllSlotsResponse copyWith(void Function(GetAllSlotsResponse) updates) => super.copyWith((message) => updates(message as GetAllSlotsResponse)) as GetAllSlotsResponse;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static GetAllSlotsResponse create() => GetAllSlotsResponse._();
|
||||
@$core.override
|
||||
GetAllSlotsResponse createEmptyInstance() => create();
|
||||
static $pb.PbList<GetAllSlotsResponse> createRepeated() => $pb.PbList<GetAllSlotsResponse>();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static GetAllSlotsResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<GetAllSlotsResponse>(create);
|
||||
static GetAllSlotsResponse? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(1)
|
||||
$pb.PbList<$2.SlotGroupAndReason> get slotGroupAndReasons => $_getList(0);
|
||||
|
||||
@$pb.TagNumber(2)
|
||||
$fixnum.Int64 get estimatedNeededDurationInMinutes => $_getI64(1);
|
||||
@$pb.TagNumber(2)
|
||||
set estimatedNeededDurationInMinutes($fixnum.Int64 value) => $_setInt64(1, value);
|
||||
@$pb.TagNumber(2)
|
||||
$core.bool hasEstimatedNeededDurationInMinutes() => $_has(1);
|
||||
@$pb.TagNumber(2)
|
||||
void clearEstimatedNeededDurationInMinutes() => $_clearField(2);
|
||||
}
|
||||
|
||||
/// CheckAppointmentCommission
|
||||
class CheckAppointmentCommissionRequest extends $pb.GeneratedMessage {
|
||||
factory CheckAppointmentCommissionRequest({
|
||||
|
||||
Reference in New Issue
Block a user