You've already forked dart-core-sdk
Latest generation
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
# CHANGELOG
|
||||
|
||||
Lib version: 1.11.0-SNAPSHOT-250616124109
|
||||
Lib version: 1.11.0-SNAPSHOT-250616135939
|
||||
|
||||
@@ -1418,12 +1418,12 @@ class ProjectAuthorisation extends $pb.GeneratedMessage {
|
||||
|
||||
class ProjectConstraint extends $pb.GeneratedMessage {
|
||||
factory ProjectConstraint({
|
||||
$core.Iterable<SegmentationConstraint>? segmentationConstraints,
|
||||
$core.Iterable<SegmentationFilter>? segmentationFilters,
|
||||
Period? minNoticePeriod,
|
||||
Period? maxBookingPeriod,
|
||||
}) {
|
||||
final result = create();
|
||||
if (segmentationConstraints != null) result.segmentationConstraints.addAll(segmentationConstraints);
|
||||
if (segmentationFilters != null) result.segmentationFilters.addAll(segmentationFilters);
|
||||
if (minNoticePeriod != null) result.minNoticePeriod = minNoticePeriod;
|
||||
if (maxBookingPeriod != null) result.maxBookingPeriod = maxBookingPeriod;
|
||||
return result;
|
||||
@@ -1435,7 +1435,7 @@ class ProjectConstraint extends $pb.GeneratedMessage {
|
||||
factory ProjectConstraint.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ProjectConstraint', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
..pc<SegmentationConstraint>(1, _omitFieldNames ? '' : 'SegmentationConstraints', $pb.PbFieldType.PM, protoName: 'SegmentationConstraints', subBuilder: SegmentationConstraint.create)
|
||||
..pc<SegmentationFilter>(1, _omitFieldNames ? '' : 'SegmentationFilters', $pb.PbFieldType.PM, protoName: 'SegmentationFilters', subBuilder: SegmentationFilter.create)
|
||||
..aOM<Period>(2, _omitFieldNames ? '' : 'MinNoticePeriod', protoName: 'MinNoticePeriod', subBuilder: Period.create)
|
||||
..aOM<Period>(3, _omitFieldNames ? '' : 'MaxBookingPeriod', protoName: 'MaxBookingPeriod', subBuilder: Period.create)
|
||||
..hasRequiredFields = false
|
||||
@@ -1460,7 +1460,7 @@ class ProjectConstraint extends $pb.GeneratedMessage {
|
||||
|
||||
/// Specific Segmentation constraints applicable for the project.
|
||||
@$pb.TagNumber(1)
|
||||
$pb.PbList<SegmentationConstraint> get segmentationConstraints => $_getList(0);
|
||||
$pb.PbList<SegmentationFilter> get segmentationFilters => $_getList(0);
|
||||
|
||||
/// Minimal notice delay to book or cancel an appointment.
|
||||
@$pb.TagNumber(2)
|
||||
@@ -1487,73 +1487,6 @@ class ProjectConstraint extends $pb.GeneratedMessage {
|
||||
Period ensureMaxBookingPeriod() => $_ensure(2);
|
||||
}
|
||||
|
||||
class SegmentationConstraint extends $pb.GeneratedMessage {
|
||||
factory SegmentationConstraint({
|
||||
$core.String? segmentationID,
|
||||
$core.Iterable<$core.String>? restrictedValueIDs,
|
||||
$core.bool? allAndFutureValues,
|
||||
}) {
|
||||
final result = create();
|
||||
if (segmentationID != null) result.segmentationID = segmentationID;
|
||||
if (restrictedValueIDs != null) result.restrictedValueIDs.addAll(restrictedValueIDs);
|
||||
if (allAndFutureValues != null) result.allAndFutureValues = allAndFutureValues;
|
||||
return result;
|
||||
}
|
||||
|
||||
SegmentationConstraint._();
|
||||
|
||||
factory SegmentationConstraint.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
||||
factory SegmentationConstraint.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SegmentationConstraint', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'SegmentationID', protoName: 'SegmentationID')
|
||||
..pPS(2, _omitFieldNames ? '' : 'RestrictedValueIDs', protoName: 'RestrictedValueIDs')
|
||||
..aOB(3, _omitFieldNames ? '' : 'AllAndFutureValues', protoName: 'AllAndFutureValues')
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
SegmentationConstraint clone() => SegmentationConstraint()..mergeFromMessage(this);
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
SegmentationConstraint copyWith(void Function(SegmentationConstraint) updates) => super.copyWith((message) => updates(message as SegmentationConstraint)) as SegmentationConstraint;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static SegmentationConstraint create() => SegmentationConstraint._();
|
||||
@$core.override
|
||||
SegmentationConstraint createEmptyInstance() => create();
|
||||
static $pb.PbList<SegmentationConstraint> createRepeated() => $pb.PbList<SegmentationConstraint>();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static SegmentationConstraint getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<SegmentationConstraint>(create);
|
||||
static SegmentationConstraint? _defaultInstance;
|
||||
|
||||
/// Identifier of the Segmentation key to constraint.
|
||||
@$pb.TagNumber(1)
|
||||
$core.String get segmentationID => $_getSZ(0);
|
||||
@$pb.TagNumber(1)
|
||||
set segmentationID($core.String value) => $_setString(0, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasSegmentationID() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearSegmentationID() => $_clearField(1);
|
||||
|
||||
/// If some Segmentation values are restricted, define here the identifiers to keep.
|
||||
@$pb.TagNumber(2)
|
||||
$pb.PbList<$core.String> get restrictedValueIDs => $_getList(1);
|
||||
|
||||
/// Set to not apply Segmentation value restriction and keep all the values.
|
||||
@$pb.TagNumber(3)
|
||||
$core.bool get allAndFutureValues => $_getBF(2);
|
||||
@$pb.TagNumber(3)
|
||||
set allAndFutureValues($core.bool value) => $_setBool(2, value);
|
||||
@$pb.TagNumber(3)
|
||||
$core.bool hasAllAndFutureValues() => $_has(2);
|
||||
@$pb.TagNumber(3)
|
||||
void clearAllAndFutureValues() => $_clearField(3);
|
||||
}
|
||||
|
||||
class ActorAuthorisation extends $pb.GeneratedMessage {
|
||||
factory ActorAuthorisation({
|
||||
ActorConstraint? unloadingConstraint,
|
||||
|
||||
@@ -455,7 +455,7 @@ final $typed_data.Uint8List projectAuthorisationDescriptor = $convert.base64Deco
|
||||
const ProjectConstraint$json = {
|
||||
'1': 'ProjectConstraint',
|
||||
'2': [
|
||||
{'1': 'SegmentationConstraints', '3': 1, '4': 3, '5': 11, '6': '.api.SegmentationConstraint', '8': {}, '10': 'SegmentationConstraints'},
|
||||
{'1': 'SegmentationFilters', '3': 1, '4': 3, '5': 11, '6': '.api.SegmentationFilter', '8': {}, '10': 'SegmentationFilters'},
|
||||
{'1': 'MinNoticePeriod', '3': 2, '4': 1, '5': 11, '6': '.api.Period', '10': 'MinNoticePeriod'},
|
||||
{'1': 'MaxBookingPeriod', '3': 3, '4': 1, '5': 11, '6': '.api.Period', '10': 'MaxBookingPeriod'},
|
||||
],
|
||||
@@ -463,27 +463,11 @@ const ProjectConstraint$json = {
|
||||
|
||||
/// Descriptor for `ProjectConstraint`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List projectConstraintDescriptor = $convert.base64Decode(
|
||||
'ChFQcm9qZWN0Q29uc3RyYWludBJpChdTZWdtZW50YXRpb25Db25zdHJhaW50cxgBIAMoCzIbLm'
|
||||
'FwaS5TZWdtZW50YXRpb25Db25zdHJhaW50QhLqwRgOU2VnbWVudGF0aW9uSURSF1NlZ21lbnRh'
|
||||
'dGlvbkNvbnN0cmFpbnRzEjUKD01pbk5vdGljZVBlcmlvZBgCIAEoCzILLmFwaS5QZXJpb2RSD0'
|
||||
'1pbk5vdGljZVBlcmlvZBI3ChBNYXhCb29raW5nUGVyaW9kGAMgASgLMgsuYXBpLlBlcmlvZFIQ'
|
||||
'TWF4Qm9va2luZ1BlcmlvZA==');
|
||||
|
||||
@$core.Deprecated('Use segmentationConstraintDescriptor instead')
|
||||
const SegmentationConstraint$json = {
|
||||
'1': 'SegmentationConstraint',
|
||||
'2': [
|
||||
{'1': 'SegmentationID', '3': 1, '4': 1, '5': 9, '10': 'SegmentationID'},
|
||||
{'1': 'RestrictedValueIDs', '3': 2, '4': 3, '5': 9, '10': 'RestrictedValueIDs'},
|
||||
{'1': 'AllAndFutureValues', '3': 3, '4': 1, '5': 8, '10': 'AllAndFutureValues'},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `SegmentationConstraint`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List segmentationConstraintDescriptor = $convert.base64Decode(
|
||||
'ChZTZWdtZW50YXRpb25Db25zdHJhaW50EiYKDlNlZ21lbnRhdGlvbklEGAEgASgJUg5TZWdtZW'
|
||||
'50YXRpb25JRBIuChJSZXN0cmljdGVkVmFsdWVJRHMYAiADKAlSElJlc3RyaWN0ZWRWYWx1ZUlE'
|
||||
'cxIuChJBbGxBbmRGdXR1cmVWYWx1ZXMYAyABKAhSEkFsbEFuZEZ1dHVyZVZhbHVlcw==');
|
||||
'ChFQcm9qZWN0Q29uc3RyYWludBJdChNTZWdtZW50YXRpb25GaWx0ZXJzGAEgAygLMhcuYXBpLl'
|
||||
'NlZ21lbnRhdGlvbkZpbHRlckIS6sEYDlNlZ21lbnRhdGlvbklEUhNTZWdtZW50YXRpb25GaWx0'
|
||||
'ZXJzEjUKD01pbk5vdGljZVBlcmlvZBgCIAEoCzILLmFwaS5QZXJpb2RSD01pbk5vdGljZVBlcm'
|
||||
'lvZBI3ChBNYXhCb29raW5nUGVyaW9kGAMgASgLMgsuYXBpLlBlcmlvZFIQTWF4Qm9va2luZ1Bl'
|
||||
'cmlvZA==');
|
||||
|
||||
@$core.Deprecated('Use actorAuthorisationDescriptor instead')
|
||||
const ActorAuthorisation$json = {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
name: dart_core_sdk
|
||||
description: dart libs from core model proto files
|
||||
version: 1.11.0-SNAPSHOT-250616124109
|
||||
version: 1.11.0-SNAPSHOT-250616135939
|
||||
homepage: ''
|
||||
publish_to: ''
|
||||
repository: ''
|
||||
|
||||
Reference in New Issue
Block a user