You've already forked dart-core-sdk
Latest generation
This commit is contained in:
159
lib/site.pb.dart
159
lib/site.pb.dart
@@ -3184,9 +3184,158 @@ class SetSiteAliasRequest extends $pb.GeneratedMessage {
|
||||
SiteActor ensureSiteActor() => $_ensure(0);
|
||||
}
|
||||
|
||||
/// Authorisation
|
||||
class ProjectAuthorisationWithValue extends $pb.GeneratedMessage {
|
||||
factory ProjectAuthorisationWithValue({
|
||||
$core.String? projectID,
|
||||
ProjectConstraintWithValue? unloadingConstraint,
|
||||
ProjectConstraintWithValue? loadingConstraint,
|
||||
}) {
|
||||
final result = create();
|
||||
if (projectID != null) result.projectID = projectID;
|
||||
if (unloadingConstraint != null) result.unloadingConstraint = unloadingConstraint;
|
||||
if (loadingConstraint != null) result.loadingConstraint = loadingConstraint;
|
||||
return result;
|
||||
}
|
||||
|
||||
ProjectAuthorisationWithValue._();
|
||||
|
||||
factory ProjectAuthorisationWithValue.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
||||
factory ProjectAuthorisationWithValue.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ProjectAuthorisationWithValue', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'ProjectID', protoName: 'ProjectID')
|
||||
..aOM<ProjectConstraintWithValue>(2, _omitFieldNames ? '' : 'UnloadingConstraint', protoName: 'UnloadingConstraint', subBuilder: ProjectConstraintWithValue.create)
|
||||
..aOM<ProjectConstraintWithValue>(3, _omitFieldNames ? '' : 'LoadingConstraint', protoName: 'LoadingConstraint', subBuilder: ProjectConstraintWithValue.create)
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
ProjectAuthorisationWithValue clone() => ProjectAuthorisationWithValue()..mergeFromMessage(this);
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
ProjectAuthorisationWithValue copyWith(void Function(ProjectAuthorisationWithValue) updates) => super.copyWith((message) => updates(message as ProjectAuthorisationWithValue)) as ProjectAuthorisationWithValue;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static ProjectAuthorisationWithValue create() => ProjectAuthorisationWithValue._();
|
||||
@$core.override
|
||||
ProjectAuthorisationWithValue createEmptyInstance() => create();
|
||||
static $pb.PbList<ProjectAuthorisationWithValue> createRepeated() => $pb.PbList<ProjectAuthorisationWithValue>();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static ProjectAuthorisationWithValue getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ProjectAuthorisationWithValue>(create);
|
||||
static ProjectAuthorisationWithValue? _defaultInstance;
|
||||
|
||||
/// Identifier of the project.
|
||||
@$pb.TagNumber(1)
|
||||
$core.String get projectID => $_getSZ(0);
|
||||
@$pb.TagNumber(1)
|
||||
set projectID($core.String value) => $_setString(0, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasProjectID() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearProjectID() => $_clearField(1);
|
||||
|
||||
/// Constraints applied for reception appointment.
|
||||
@$pb.TagNumber(2)
|
||||
ProjectConstraintWithValue get unloadingConstraint => $_getN(1);
|
||||
@$pb.TagNumber(2)
|
||||
set unloadingConstraint(ProjectConstraintWithValue value) => $_setField(2, value);
|
||||
@$pb.TagNumber(2)
|
||||
$core.bool hasUnloadingConstraint() => $_has(1);
|
||||
@$pb.TagNumber(2)
|
||||
void clearUnloadingConstraint() => $_clearField(2);
|
||||
@$pb.TagNumber(2)
|
||||
ProjectConstraintWithValue ensureUnloadingConstraint() => $_ensure(1);
|
||||
|
||||
/// Constraints applied for expedition appointment.
|
||||
@$pb.TagNumber(3)
|
||||
ProjectConstraintWithValue get loadingConstraint => $_getN(2);
|
||||
@$pb.TagNumber(3)
|
||||
set loadingConstraint(ProjectConstraintWithValue value) => $_setField(3, value);
|
||||
@$pb.TagNumber(3)
|
||||
$core.bool hasLoadingConstraint() => $_has(2);
|
||||
@$pb.TagNumber(3)
|
||||
void clearLoadingConstraint() => $_clearField(3);
|
||||
@$pb.TagNumber(3)
|
||||
ProjectConstraintWithValue ensureLoadingConstraint() => $_ensure(2);
|
||||
}
|
||||
|
||||
class ProjectConstraintWithValue extends $pb.GeneratedMessage {
|
||||
factory ProjectConstraintWithValue({
|
||||
$core.Iterable<$2.Segmentation>? segmentationFilters,
|
||||
$3.Period? minNoticePeriod,
|
||||
$3.Period? maxBookingPeriod,
|
||||
}) {
|
||||
final result = create();
|
||||
if (segmentationFilters != null) result.segmentationFilters.addAll(segmentationFilters);
|
||||
if (minNoticePeriod != null) result.minNoticePeriod = minNoticePeriod;
|
||||
if (maxBookingPeriod != null) result.maxBookingPeriod = maxBookingPeriod;
|
||||
return result;
|
||||
}
|
||||
|
||||
ProjectConstraintWithValue._();
|
||||
|
||||
factory ProjectConstraintWithValue.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
||||
factory ProjectConstraintWithValue.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ProjectConstraintWithValue', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
..pc<$2.Segmentation>(1, _omitFieldNames ? '' : 'SegmentationFilters', $pb.PbFieldType.PM, protoName: 'SegmentationFilters', subBuilder: $2.Segmentation.create)
|
||||
..aOM<$3.Period>(2, _omitFieldNames ? '' : 'MinNoticePeriod', protoName: 'MinNoticePeriod', subBuilder: $3.Period.create)
|
||||
..aOM<$3.Period>(3, _omitFieldNames ? '' : 'MaxBookingPeriod', protoName: 'MaxBookingPeriod', subBuilder: $3.Period.create)
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
ProjectConstraintWithValue clone() => ProjectConstraintWithValue()..mergeFromMessage(this);
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
ProjectConstraintWithValue copyWith(void Function(ProjectConstraintWithValue) updates) => super.copyWith((message) => updates(message as ProjectConstraintWithValue)) as ProjectConstraintWithValue;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static ProjectConstraintWithValue create() => ProjectConstraintWithValue._();
|
||||
@$core.override
|
||||
ProjectConstraintWithValue createEmptyInstance() => create();
|
||||
static $pb.PbList<ProjectConstraintWithValue> createRepeated() => $pb.PbList<ProjectConstraintWithValue>();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static ProjectConstraintWithValue getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ProjectConstraintWithValue>(create);
|
||||
static ProjectConstraintWithValue? _defaultInstance;
|
||||
|
||||
/// Specific Segmentation constraints applicable for the project.
|
||||
@$pb.TagNumber(1)
|
||||
$pb.PbList<$2.Segmentation> get segmentationFilters => $_getList(0);
|
||||
|
||||
/// Minimal notice delay to book or cancel an appointment.
|
||||
@$pb.TagNumber(2)
|
||||
$3.Period get minNoticePeriod => $_getN(1);
|
||||
@$pb.TagNumber(2)
|
||||
set minNoticePeriod($3.Period value) => $_setField(2, value);
|
||||
@$pb.TagNumber(2)
|
||||
$core.bool hasMinNoticePeriod() => $_has(1);
|
||||
@$pb.TagNumber(2)
|
||||
void clearMinNoticePeriod() => $_clearField(2);
|
||||
@$pb.TagNumber(2)
|
||||
$3.Period ensureMinNoticePeriod() => $_ensure(1);
|
||||
|
||||
/// Maximal delay to book an appointment.
|
||||
@$pb.TagNumber(3)
|
||||
$3.Period get maxBookingPeriod => $_getN(2);
|
||||
@$pb.TagNumber(3)
|
||||
set maxBookingPeriod($3.Period value) => $_setField(3, value);
|
||||
@$pb.TagNumber(3)
|
||||
$core.bool hasMaxBookingPeriod() => $_has(2);
|
||||
@$pb.TagNumber(3)
|
||||
void clearMaxBookingPeriod() => $_clearField(3);
|
||||
@$pb.TagNumber(3)
|
||||
$3.Period ensureMaxBookingPeriod() => $_ensure(2);
|
||||
}
|
||||
|
||||
class SegmentationsSetting extends $pb.GeneratedMessage {
|
||||
factory SegmentationsSetting({
|
||||
$2.ProjectAuthorisation? authorisation,
|
||||
ProjectAuthorisationWithValue? authorisation,
|
||||
$core.String? name,
|
||||
$core.String? projectID,
|
||||
}) {
|
||||
@@ -3203,7 +3352,7 @@ class SegmentationsSetting extends $pb.GeneratedMessage {
|
||||
factory SegmentationsSetting.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SegmentationsSetting', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
..aOM<$2.ProjectAuthorisation>(1, _omitFieldNames ? '' : 'Authorisation', protoName: 'Authorisation', subBuilder: $2.ProjectAuthorisation.create)
|
||||
..aOM<ProjectAuthorisationWithValue>(1, _omitFieldNames ? '' : 'Authorisation', protoName: 'Authorisation', subBuilder: ProjectAuthorisationWithValue.create)
|
||||
..aOS(2, _omitFieldNames ? '' : 'Name', protoName: 'Name')
|
||||
..aOS(3, _omitFieldNames ? '' : 'ProjectID', protoName: 'ProjectID')
|
||||
..hasRequiredFields = false
|
||||
@@ -3227,15 +3376,15 @@ class SegmentationsSetting extends $pb.GeneratedMessage {
|
||||
static SegmentationsSetting? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(1)
|
||||
$2.ProjectAuthorisation get authorisation => $_getN(0);
|
||||
ProjectAuthorisationWithValue get authorisation => $_getN(0);
|
||||
@$pb.TagNumber(1)
|
||||
set authorisation($2.ProjectAuthorisation value) => $_setField(1, value);
|
||||
set authorisation(ProjectAuthorisationWithValue value) => $_setField(1, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasAuthorisation() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearAuthorisation() => $_clearField(1);
|
||||
@$pb.TagNumber(1)
|
||||
$2.ProjectAuthorisation ensureAuthorisation() => $_ensure(0);
|
||||
ProjectAuthorisationWithValue ensureAuthorisation() => $_ensure(0);
|
||||
|
||||
@$pb.TagNumber(2)
|
||||
$core.String get name => $_getSZ(1);
|
||||
|
||||
Reference in New Issue
Block a user