You've already forked dart-core-sdk
Latest generation
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
# CHANGELOG
|
||||
|
||||
Lib version: 1.13.0-SNAPSHOT-260220091119
|
||||
Lib version: 1.13.0-SNAPSHOT-260223150731
|
||||
|
||||
@@ -16,8 +16,6 @@ import 'package:protobuf/protobuf.dart' as $pb;
|
||||
|
||||
export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;
|
||||
|
||||
export 'base.pbenum.dart';
|
||||
|
||||
class AdminAddress extends $pb.GeneratedMessage {
|
||||
factory AdminAddress({
|
||||
$core.String? city,
|
||||
|
||||
@@ -10,26 +10,3 @@
|
||||
// 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;
|
||||
|
||||
class ProjectType extends $pb.ProtobufEnum {
|
||||
static const ProjectType PROJECT_TYPE_UNKNOWN = ProjectType._(0, _omitEnumNames ? '' : 'PROJECT_TYPE_UNKNOWN');
|
||||
static const ProjectType PROJECT_TYPE_ACTIVITY = ProjectType._(1, _omitEnumNames ? '' : 'PROJECT_TYPE_ACTIVITY');
|
||||
static const ProjectType PROJECT_TYPE_SITE = ProjectType._(2, _omitEnumNames ? '' : 'PROJECT_TYPE_SITE');
|
||||
|
||||
static const $core.List<ProjectType> values = <ProjectType> [
|
||||
PROJECT_TYPE_UNKNOWN,
|
||||
PROJECT_TYPE_ACTIVITY,
|
||||
PROJECT_TYPE_SITE,
|
||||
];
|
||||
|
||||
static final $core.List<ProjectType?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 2);
|
||||
static ProjectType? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
|
||||
|
||||
const ProjectType._(super.value, super.name);
|
||||
}
|
||||
|
||||
|
||||
const $core.bool _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names');
|
||||
|
||||
@@ -14,21 +14,6 @@ import 'dart:convert' as $convert;
|
||||
import 'dart:core' as $core;
|
||||
import 'dart:typed_data' as $typed_data;
|
||||
|
||||
@$core.Deprecated('Use projectTypeDescriptor instead')
|
||||
const ProjectType$json = {
|
||||
'1': 'ProjectType',
|
||||
'2': [
|
||||
{'1': 'PROJECT_TYPE_UNKNOWN', '2': 0},
|
||||
{'1': 'PROJECT_TYPE_ACTIVITY', '2': 1},
|
||||
{'1': 'PROJECT_TYPE_SITE', '2': 2},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `ProjectType`. Decode as a `google.protobuf.EnumDescriptorProto`.
|
||||
final $typed_data.Uint8List projectTypeDescriptor = $convert.base64Decode(
|
||||
'CgtQcm9qZWN0VHlwZRIYChRQUk9KRUNUX1RZUEVfVU5LTk9XThAAEhkKFVBST0pFQ1RfVFlQRV'
|
||||
'9BQ1RJVklUWRABEhUKEVBST0pFQ1RfVFlQRV9TSVRFEAI=');
|
||||
|
||||
@$core.Deprecated('Use adminAddressDescriptor instead')
|
||||
const AdminAddress$json = {
|
||||
'1': 'AdminAddress',
|
||||
|
||||
@@ -434,6 +434,7 @@ class Options {
|
||||
static final kpiGroups = $pb.Extension<KPIGroups>(_omitMessageNames ? '' : 'google.protobuf.FileOptions', _omitFieldNames ? '' : 'kpiGroups', 50008, $pb.PbFieldType.OM, protoName: 'kpiGroups', defaultOrMaker: KPIGroups.getDefault, subBuilder: KPIGroups.create);
|
||||
static final version = $pb.Extension<$core.int>(_omitMessageNames ? '' : 'google.protobuf.FileOptions', _omitFieldNames ? '' : 'version', 50009, $pb.PbFieldType.OU3);
|
||||
static final entityRscType = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.FileOptions', _omitFieldNames ? '' : 'entityRscType', 50010, $pb.PbFieldType.OS, protoName: 'entityRscType');
|
||||
static final entityProjectTypes = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.FileOptions', _omitFieldNames ? '' : 'entityProjectTypes', 50011, $pb.PbFieldType.OS, protoName: 'entityProjectTypes');
|
||||
static final messageType = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.MessageOptions', _omitFieldNames ? '' : 'messageType', 50100, $pb.PbFieldType.OS, protoName: 'messageType');
|
||||
static final payload = $pb.Extension<$core.bool>(_omitMessageNames ? '' : 'google.protobuf.MessageOptions', _omitFieldNames ? '' : 'payload', 50101, $pb.PbFieldType.OB);
|
||||
static final action = $pb.Extension<$core.String>(_omitMessageNames ? '' : 'google.protobuf.MessageOptions', _omitFieldNames ? '' : 'action', 50102, $pb.PbFieldType.OS);
|
||||
@@ -495,6 +496,7 @@ class Options {
|
||||
registry.add(kpiGroups);
|
||||
registry.add(version);
|
||||
registry.add(entityRscType);
|
||||
registry.add(entityProjectTypes);
|
||||
registry.add(messageType);
|
||||
registry.add(payload);
|
||||
registry.add(action);
|
||||
|
||||
@@ -31,7 +31,7 @@ class ProjectCreation extends $pb.GeneratedMessage {
|
||||
$core.String? iD,
|
||||
$core.String? name,
|
||||
$core.Iterable<$1.Module>? modules,
|
||||
$3.ProjectType? type,
|
||||
$2.ProjectType? type,
|
||||
}) {
|
||||
final result = create();
|
||||
if (iD != null) result.iD = iD;
|
||||
@@ -50,7 +50,7 @@ class ProjectCreation extends $pb.GeneratedMessage {
|
||||
..aOS(1, _omitFieldNames ? '' : 'ID', protoName: 'ID')
|
||||
..aOS(2, _omitFieldNames ? '' : 'Name', protoName: 'Name')
|
||||
..pc<$1.Module>(3, _omitFieldNames ? '' : 'Modules', $pb.PbFieldType.PM, protoName: 'Modules', subBuilder: $1.Module.create)
|
||||
..e<$3.ProjectType>(4, _omitFieldNames ? '' : 'Type', $pb.PbFieldType.OE, protoName: 'Type', defaultOrMaker: $3.ProjectType.PROJECT_TYPE_UNKNOWN, valueOf: $3.ProjectType.valueOf, enumValues: $3.ProjectType.values)
|
||||
..e<$2.ProjectType>(4, _omitFieldNames ? '' : 'Type', $pb.PbFieldType.OE, protoName: 'Type', defaultOrMaker: $2.ProjectType.PROJECT_TYPE_UNKNOWN, valueOf: $2.ProjectType.valueOf, enumValues: $2.ProjectType.values)
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@@ -93,9 +93,9 @@ class ProjectCreation extends $pb.GeneratedMessage {
|
||||
$pb.PbList<$1.Module> get modules => $_getList(2);
|
||||
|
||||
@$pb.TagNumber(4)
|
||||
$3.ProjectType get type => $_getN(3);
|
||||
$2.ProjectType get type => $_getN(3);
|
||||
@$pb.TagNumber(4)
|
||||
set type($3.ProjectType value) => $_setField(4, value);
|
||||
set type($2.ProjectType value) => $_setField(4, value);
|
||||
@$pb.TagNumber(4)
|
||||
$core.bool hasType() => $_has(3);
|
||||
@$pb.TagNumber(4)
|
||||
@@ -109,7 +109,7 @@ class Project extends $pb.GeneratedMessage {
|
||||
$core.String? organisationID,
|
||||
ProjectStatusEnum? status,
|
||||
$core.Iterable<$1.Module>? modules,
|
||||
$3.ProjectType? type,
|
||||
$2.ProjectType? type,
|
||||
}) {
|
||||
final result = create();
|
||||
if (iD != null) result.iD = iD;
|
||||
@@ -132,7 +132,7 @@ class Project extends $pb.GeneratedMessage {
|
||||
..aOS(3, _omitFieldNames ? '' : 'OrganisationID', protoName: 'OrganisationID')
|
||||
..e<ProjectStatusEnum>(4, _omitFieldNames ? '' : 'status', $pb.PbFieldType.OE, defaultOrMaker: ProjectStatusEnum.PROJECT_STATUS_UNKNOWN, valueOf: ProjectStatusEnum.valueOf, enumValues: ProjectStatusEnum.values)
|
||||
..pc<$1.Module>(5, _omitFieldNames ? '' : 'Modules', $pb.PbFieldType.PM, protoName: 'Modules', subBuilder: $1.Module.create)
|
||||
..e<$3.ProjectType>(6, _omitFieldNames ? '' : 'Type', $pb.PbFieldType.OE, protoName: 'Type', defaultOrMaker: $3.ProjectType.PROJECT_TYPE_UNKNOWN, valueOf: $3.ProjectType.valueOf, enumValues: $3.ProjectType.values)
|
||||
..e<$2.ProjectType>(6, _omitFieldNames ? '' : 'Type', $pb.PbFieldType.OE, protoName: 'Type', defaultOrMaker: $2.ProjectType.PROJECT_TYPE_UNKNOWN, valueOf: $2.ProjectType.valueOf, enumValues: $2.ProjectType.values)
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@@ -193,9 +193,9 @@ class Project extends $pb.GeneratedMessage {
|
||||
$pb.PbList<$1.Module> get modules => $_getList(4);
|
||||
|
||||
@$pb.TagNumber(6)
|
||||
$3.ProjectType get type => $_getN(5);
|
||||
$2.ProjectType get type => $_getN(5);
|
||||
@$pb.TagNumber(6)
|
||||
set type($3.ProjectType value) => $_setField(6, value);
|
||||
set type($2.ProjectType value) => $_setField(6, value);
|
||||
@$pb.TagNumber(6)
|
||||
$core.bool hasType() => $_has(5);
|
||||
@$pb.TagNumber(6)
|
||||
@@ -315,7 +315,7 @@ class ListProjectRequest extends $pb.GeneratedMessage {
|
||||
$3.Paging? paging,
|
||||
$2.RequestOrganisationHeader? header,
|
||||
$core.bool? showInactiveProjects,
|
||||
$3.ProjectType? type,
|
||||
$2.ProjectType? type,
|
||||
}) {
|
||||
final result = create();
|
||||
if (paging != null) result.paging = paging;
|
||||
@@ -334,7 +334,7 @@ class ListProjectRequest extends $pb.GeneratedMessage {
|
||||
..aOM<$3.Paging>(3, _omitFieldNames ? '' : 'Paging', protoName: 'Paging', subBuilder: $3.Paging.create)
|
||||
..aOM<$2.RequestOrganisationHeader>(4, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $2.RequestOrganisationHeader.create)
|
||||
..aOB(5, _omitFieldNames ? '' : 'ShowInactiveProjects', protoName: 'ShowInactiveProjects')
|
||||
..e<$3.ProjectType>(6, _omitFieldNames ? '' : 'Type', $pb.PbFieldType.OE, protoName: 'Type', defaultOrMaker: $3.ProjectType.PROJECT_TYPE_UNKNOWN, valueOf: $3.ProjectType.valueOf, enumValues: $3.ProjectType.values)
|
||||
..e<$2.ProjectType>(6, _omitFieldNames ? '' : 'Type', $pb.PbFieldType.OE, protoName: 'Type', defaultOrMaker: $2.ProjectType.PROJECT_TYPE_UNKNOWN, valueOf: $2.ProjectType.valueOf, enumValues: $2.ProjectType.values)
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@@ -387,9 +387,9 @@ class ListProjectRequest extends $pb.GeneratedMessage {
|
||||
void clearShowInactiveProjects() => $_clearField(5);
|
||||
|
||||
@$pb.TagNumber(6)
|
||||
$3.ProjectType get type => $_getN(3);
|
||||
$2.ProjectType get type => $_getN(3);
|
||||
@$pb.TagNumber(6)
|
||||
set type($3.ProjectType value) => $_setField(6, value);
|
||||
set type($2.ProjectType value) => $_setField(6, value);
|
||||
@$pb.TagNumber(6)
|
||||
$core.bool hasType() => $_has(3);
|
||||
@$pb.TagNumber(6)
|
||||
@@ -399,7 +399,7 @@ class ListProjectRequest extends $pb.GeneratedMessage {
|
||||
class ListAllProjectRequest extends $pb.GeneratedMessage {
|
||||
factory ListAllProjectRequest({
|
||||
$core.bool? showInactiveProjects,
|
||||
$3.ProjectType? type,
|
||||
$2.ProjectType? type,
|
||||
}) {
|
||||
final result = create();
|
||||
if (showInactiveProjects != null) result.showInactiveProjects = showInactiveProjects;
|
||||
@@ -414,7 +414,7 @@ class ListAllProjectRequest extends $pb.GeneratedMessage {
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListAllProjectRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
..aOB(1, _omitFieldNames ? '' : 'ShowInactiveProjects', protoName: 'ShowInactiveProjects')
|
||||
..e<$3.ProjectType>(2, _omitFieldNames ? '' : 'Type', $pb.PbFieldType.OE, protoName: 'Type', defaultOrMaker: $3.ProjectType.PROJECT_TYPE_UNKNOWN, valueOf: $3.ProjectType.valueOf, enumValues: $3.ProjectType.values)
|
||||
..e<$2.ProjectType>(2, _omitFieldNames ? '' : 'Type', $pb.PbFieldType.OE, protoName: 'Type', defaultOrMaker: $2.ProjectType.PROJECT_TYPE_UNKNOWN, valueOf: $2.ProjectType.valueOf, enumValues: $2.ProjectType.values)
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@@ -445,9 +445,9 @@ class ListAllProjectRequest extends $pb.GeneratedMessage {
|
||||
void clearShowInactiveProjects() => $_clearField(1);
|
||||
|
||||
@$pb.TagNumber(2)
|
||||
$3.ProjectType get type => $_getN(1);
|
||||
$2.ProjectType get type => $_getN(1);
|
||||
@$pb.TagNumber(2)
|
||||
set type($3.ProjectType value) => $_setField(2, value);
|
||||
set type($2.ProjectType value) => $_setField(2, value);
|
||||
@$pb.TagNumber(2)
|
||||
$core.bool hasType() => $_has(1);
|
||||
@$pb.TagNumber(2)
|
||||
@@ -632,7 +632,7 @@ class UpdateProjectRequest extends $pb.GeneratedMessage {
|
||||
factory UpdateProjectRequest({
|
||||
$2.RequestProjectHeader? header,
|
||||
$core.String? name,
|
||||
$3.ProjectType? type,
|
||||
$2.ProjectType? type,
|
||||
}) {
|
||||
final result = create();
|
||||
if (header != null) result.header = header;
|
||||
@@ -649,7 +649,7 @@ class UpdateProjectRequest extends $pb.GeneratedMessage {
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateProjectRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
..aOM<$2.RequestProjectHeader>(2, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $2.RequestProjectHeader.create)
|
||||
..aOS(3, _omitFieldNames ? '' : 'Name', protoName: 'Name')
|
||||
..e<$3.ProjectType>(4, _omitFieldNames ? '' : 'Type', $pb.PbFieldType.OE, protoName: 'Type', defaultOrMaker: $3.ProjectType.PROJECT_TYPE_UNKNOWN, valueOf: $3.ProjectType.valueOf, enumValues: $3.ProjectType.values)
|
||||
..e<$2.ProjectType>(4, _omitFieldNames ? '' : 'Type', $pb.PbFieldType.OE, protoName: 'Type', defaultOrMaker: $2.ProjectType.PROJECT_TYPE_UNKNOWN, valueOf: $2.ProjectType.valueOf, enumValues: $2.ProjectType.values)
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@@ -691,9 +691,9 @@ class UpdateProjectRequest extends $pb.GeneratedMessage {
|
||||
void clearName() => $_clearField(3);
|
||||
|
||||
@$pb.TagNumber(4)
|
||||
$3.ProjectType get type => $_getN(2);
|
||||
$2.ProjectType get type => $_getN(2);
|
||||
@$pb.TagNumber(4)
|
||||
set type($3.ProjectType value) => $_setField(4, value);
|
||||
set type($2.ProjectType value) => $_setField(4, value);
|
||||
@$pb.TagNumber(4)
|
||||
$core.bool hasType() => $_has(2);
|
||||
@$pb.TagNumber(4)
|
||||
@@ -1249,7 +1249,7 @@ class IDName extends $pb.GeneratedMessage {
|
||||
$core.bool? isDisplayed,
|
||||
$core.String? partnerID,
|
||||
$core.String? defaultLanguageISO6391,
|
||||
$3.ProjectType? projectType,
|
||||
$2.ProjectType? projectType,
|
||||
}) {
|
||||
final result = create();
|
||||
if (iD != null) result.iD = iD;
|
||||
@@ -1272,7 +1272,7 @@ class IDName extends $pb.GeneratedMessage {
|
||||
..aOB(3, _omitFieldNames ? '' : 'IsDisplayed', protoName: 'IsDisplayed')
|
||||
..aOS(4, _omitFieldNames ? '' : 'PartnerID', protoName: 'PartnerID')
|
||||
..aOS(5, _omitFieldNames ? '' : 'DefaultLanguageISO6391', protoName: 'DefaultLanguageISO6391')
|
||||
..e<$3.ProjectType>(6, _omitFieldNames ? '' : 'ProjectType', $pb.PbFieldType.OE, protoName: 'ProjectType', defaultOrMaker: $3.ProjectType.PROJECT_TYPE_UNKNOWN, valueOf: $3.ProjectType.valueOf, enumValues: $3.ProjectType.values)
|
||||
..e<$2.ProjectType>(6, _omitFieldNames ? '' : 'ProjectType', $pb.PbFieldType.OE, protoName: 'ProjectType', defaultOrMaker: $2.ProjectType.PROJECT_TYPE_UNKNOWN, valueOf: $2.ProjectType.valueOf, enumValues: $2.ProjectType.values)
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@@ -1339,9 +1339,9 @@ class IDName extends $pb.GeneratedMessage {
|
||||
void clearDefaultLanguageISO6391() => $_clearField(5);
|
||||
|
||||
@$pb.TagNumber(6)
|
||||
$3.ProjectType get projectType => $_getN(5);
|
||||
$2.ProjectType get projectType => $_getN(5);
|
||||
@$pb.TagNumber(6)
|
||||
set projectType($3.ProjectType value) => $_setField(6, value);
|
||||
set projectType($2.ProjectType value) => $_setField(6, value);
|
||||
@$pb.TagNumber(6)
|
||||
$core.bool hasProjectType() => $_has(5);
|
||||
@$pb.TagNumber(6)
|
||||
|
||||
@@ -6266,6 +6266,124 @@ class Period extends $pb.GeneratedMessage {
|
||||
void clearUnit() => $_clearField(2);
|
||||
}
|
||||
|
||||
class EntityDefinition extends $pb.GeneratedMessage {
|
||||
factory EntityDefinition({
|
||||
EntityType? name,
|
||||
Domain? domain,
|
||||
$core.Iterable<ProjectType>? projectTypes,
|
||||
$core.bool? hasMetadata,
|
||||
$core.bool? hasDataRestriction,
|
||||
$core.bool? isIndexed,
|
||||
$core.Iterable<$core.String>? kpiGroups,
|
||||
$core.int? modelVersion,
|
||||
}) {
|
||||
final result = create();
|
||||
if (name != null) result.name = name;
|
||||
if (domain != null) result.domain = domain;
|
||||
if (projectTypes != null) result.projectTypes.addAll(projectTypes);
|
||||
if (hasMetadata != null) result.hasMetadata = hasMetadata;
|
||||
if (hasDataRestriction != null) result.hasDataRestriction = hasDataRestriction;
|
||||
if (isIndexed != null) result.isIndexed = isIndexed;
|
||||
if (kpiGroups != null) result.kpiGroups.addAll(kpiGroups);
|
||||
if (modelVersion != null) result.modelVersion = modelVersion;
|
||||
return result;
|
||||
}
|
||||
|
||||
EntityDefinition._();
|
||||
|
||||
factory EntityDefinition.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
||||
factory EntityDefinition.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EntityDefinition', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
..e<EntityType>(1, _omitFieldNames ? '' : 'Name', $pb.PbFieldType.OE, protoName: 'Name', defaultOrMaker: EntityType.ENTITY_TYPE_UNKNOWN, valueOf: EntityType.valueOf, enumValues: EntityType.values)
|
||||
..e<Domain>(2, _omitFieldNames ? '' : 'Domain', $pb.PbFieldType.OE, protoName: 'Domain', defaultOrMaker: Domain.DOMAIN_UNDEFINED, valueOf: Domain.valueOf, enumValues: Domain.values)
|
||||
..pc<ProjectType>(3, _omitFieldNames ? '' : 'ProjectTypes', $pb.PbFieldType.KE, protoName: 'ProjectTypes', valueOf: ProjectType.valueOf, enumValues: ProjectType.values, defaultEnumValue: ProjectType.PROJECT_TYPE_UNKNOWN)
|
||||
..aOB(4, _omitFieldNames ? '' : 'HasMetadata', protoName: 'HasMetadata')
|
||||
..aOB(5, _omitFieldNames ? '' : 'HasDataRestriction', protoName: 'HasDataRestriction')
|
||||
..aOB(6, _omitFieldNames ? '' : 'IsIndexed', protoName: 'IsIndexed')
|
||||
..pPS(7, _omitFieldNames ? '' : 'KpiGroups', protoName: 'KpiGroups')
|
||||
..a<$core.int>(8, _omitFieldNames ? '' : 'ModelVersion', $pb.PbFieldType.OU3, protoName: 'ModelVersion')
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
EntityDefinition clone() => EntityDefinition()..mergeFromMessage(this);
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
EntityDefinition copyWith(void Function(EntityDefinition) updates) => super.copyWith((message) => updates(message as EntityDefinition)) as EntityDefinition;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static EntityDefinition create() => EntityDefinition._();
|
||||
@$core.override
|
||||
EntityDefinition createEmptyInstance() => create();
|
||||
static $pb.PbList<EntityDefinition> createRepeated() => $pb.PbList<EntityDefinition>();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static EntityDefinition getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<EntityDefinition>(create);
|
||||
static EntityDefinition? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(1)
|
||||
EntityType get name => $_getN(0);
|
||||
@$pb.TagNumber(1)
|
||||
set name(EntityType value) => $_setField(1, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasName() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearName() => $_clearField(1);
|
||||
|
||||
@$pb.TagNumber(2)
|
||||
Domain get domain => $_getN(1);
|
||||
@$pb.TagNumber(2)
|
||||
set domain(Domain value) => $_setField(2, value);
|
||||
@$pb.TagNumber(2)
|
||||
$core.bool hasDomain() => $_has(1);
|
||||
@$pb.TagNumber(2)
|
||||
void clearDomain() => $_clearField(2);
|
||||
|
||||
@$pb.TagNumber(3)
|
||||
$pb.PbList<ProjectType> get projectTypes => $_getList(2);
|
||||
|
||||
@$pb.TagNumber(4)
|
||||
$core.bool get hasMetadata => $_getBF(3);
|
||||
@$pb.TagNumber(4)
|
||||
set hasMetadata($core.bool value) => $_setBool(3, value);
|
||||
@$pb.TagNumber(4)
|
||||
$core.bool hasHasMetadata() => $_has(3);
|
||||
@$pb.TagNumber(4)
|
||||
void clearHasMetadata() => $_clearField(4);
|
||||
|
||||
@$pb.TagNumber(5)
|
||||
$core.bool get hasDataRestriction => $_getBF(4);
|
||||
@$pb.TagNumber(5)
|
||||
set hasDataRestriction($core.bool value) => $_setBool(4, value);
|
||||
@$pb.TagNumber(5)
|
||||
$core.bool hasHasDataRestriction() => $_has(4);
|
||||
@$pb.TagNumber(5)
|
||||
void clearHasDataRestriction() => $_clearField(5);
|
||||
|
||||
@$pb.TagNumber(6)
|
||||
$core.bool get isIndexed => $_getBF(5);
|
||||
@$pb.TagNumber(6)
|
||||
set isIndexed($core.bool value) => $_setBool(5, value);
|
||||
@$pb.TagNumber(6)
|
||||
$core.bool hasIsIndexed() => $_has(5);
|
||||
@$pb.TagNumber(6)
|
||||
void clearIsIndexed() => $_clearField(6);
|
||||
|
||||
@$pb.TagNumber(7)
|
||||
$pb.PbList<$core.String> get kpiGroups => $_getList(6);
|
||||
|
||||
@$pb.TagNumber(8)
|
||||
$core.int get modelVersion => $_getIZ(7);
|
||||
@$pb.TagNumber(8)
|
||||
set modelVersion($core.int value) => $_setUnsignedInt32(7, value);
|
||||
@$pb.TagNumber(8)
|
||||
$core.bool hasModelVersion() => $_has(7);
|
||||
@$pb.TagNumber(8)
|
||||
void clearModelVersion() => $_clearField(8);
|
||||
}
|
||||
|
||||
|
||||
const $core.bool _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
|
||||
const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');
|
||||
|
||||
@@ -283,6 +283,9 @@ class EntityType extends $pb.ProtobufEnum {
|
||||
/// Collab
|
||||
static const EntityType ENTITY_TYPE_CLAIM = EntityType._(10, _omitEnumNames ? '' : 'ENTITY_TYPE_CLAIM');
|
||||
static const EntityType ENTITY_TYPE_APPOINTMENT = EntityType._(12, _omitEnumNames ? '' : 'ENTITY_TYPE_APPOINTMENT');
|
||||
static const EntityType ENTITY_TYPE_NOTIF = EntityType._(14, _omitEnumNames ? '' : 'ENTITY_TYPE_NOTIF');
|
||||
/// Core
|
||||
static const EntityType ENTITY_TYPE_PLATFORMLOG = EntityType._(13, _omitEnumNames ? '' : 'ENTITY_TYPE_PLATFORMLOG');
|
||||
|
||||
static const $core.List<EntityType> values = <EntityType> [
|
||||
ENTITY_TYPE_UNKNOWN,
|
||||
@@ -298,9 +301,11 @@ class EntityType extends $pb.ProtobufEnum {
|
||||
ENTITY_TYPE_MOVEMENT,
|
||||
ENTITY_TYPE_CLAIM,
|
||||
ENTITY_TYPE_APPOINTMENT,
|
||||
ENTITY_TYPE_NOTIF,
|
||||
ENTITY_TYPE_PLATFORMLOG,
|
||||
];
|
||||
|
||||
static final $core.List<EntityType?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 12);
|
||||
static final $core.List<EntityType?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 14);
|
||||
static EntityType? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
|
||||
|
||||
const EntityType._(super.value, super.name);
|
||||
@@ -550,6 +555,42 @@ class PeriodUnit extends $pb.ProtobufEnum {
|
||||
const PeriodUnit._(super.value, super.name);
|
||||
}
|
||||
|
||||
class Domain extends $pb.ProtobufEnum {
|
||||
static const Domain DOMAIN_UNDEFINED = Domain._(0, _omitEnumNames ? '' : 'DOMAIN_UNDEFINED');
|
||||
static const Domain DOMAIN_TRADE = Domain._(1, _omitEnumNames ? '' : 'DOMAIN_TRADE');
|
||||
static const Domain DOMAIN_COLLAB = Domain._(2, _omitEnumNames ? '' : 'DOMAIN_COLLAB');
|
||||
static const Domain DOMAIN_CORE = Domain._(3, _omitEnumNames ? '' : 'DOMAIN_CORE');
|
||||
|
||||
static const $core.List<Domain> values = <Domain> [
|
||||
DOMAIN_UNDEFINED,
|
||||
DOMAIN_TRADE,
|
||||
DOMAIN_COLLAB,
|
||||
DOMAIN_CORE,
|
||||
];
|
||||
|
||||
static final $core.List<Domain?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 3);
|
||||
static Domain? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
|
||||
|
||||
const Domain._(super.value, super.name);
|
||||
}
|
||||
|
||||
class ProjectType extends $pb.ProtobufEnum {
|
||||
static const ProjectType PROJECT_TYPE_UNKNOWN = ProjectType._(0, _omitEnumNames ? '' : 'PROJECT_TYPE_UNKNOWN');
|
||||
static const ProjectType PROJECT_TYPE_ACTIVITY = ProjectType._(1, _omitEnumNames ? '' : 'PROJECT_TYPE_ACTIVITY');
|
||||
static const ProjectType PROJECT_TYPE_SITE = ProjectType._(2, _omitEnumNames ? '' : 'PROJECT_TYPE_SITE');
|
||||
|
||||
static const $core.List<ProjectType> values = <ProjectType> [
|
||||
PROJECT_TYPE_UNKNOWN,
|
||||
PROJECT_TYPE_ACTIVITY,
|
||||
PROJECT_TYPE_SITE,
|
||||
];
|
||||
|
||||
static final $core.List<ProjectType?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 2);
|
||||
static ProjectType? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
|
||||
|
||||
const ProjectType._(super.value, super.name);
|
||||
}
|
||||
|
||||
class ExtractColumnFormat_type extends $pb.ProtobufEnum {
|
||||
static const ExtractColumnFormat_type UNKNOWN = ExtractColumnFormat_type._(0, _omitEnumNames ? '' : 'UNKNOWN');
|
||||
static const ExtractColumnFormat_type DATE = ExtractColumnFormat_type._(1, _omitEnumNames ? '' : 'DATE');
|
||||
|
||||
@@ -226,6 +226,8 @@ const EntityType$json = {
|
||||
{'1': 'ENTITY_TYPE_MOVEMENT', '2': 11},
|
||||
{'1': 'ENTITY_TYPE_CLAIM', '2': 10},
|
||||
{'1': 'ENTITY_TYPE_APPOINTMENT', '2': 12},
|
||||
{'1': 'ENTITY_TYPE_NOTIF', '2': 14},
|
||||
{'1': 'ENTITY_TYPE_PLATFORMLOG', '2': 13},
|
||||
],
|
||||
};
|
||||
|
||||
@@ -237,7 +239,8 @@ final $typed_data.Uint8List entityTypeDescriptor = $convert.base64Decode(
|
||||
'USFQoRRU5USVRZX1RZUEVfT1JERVIQBhIXChNFTlRJVFlfVFlQRV9QQVJUTkVSEAcSFQoRRU5U'
|
||||
'SVRZX1RZUEVfU1RPQ0sQCBIYChRFTlRJVFlfVFlQRV9UUkFDS0lORxAJEhgKFEVOVElUWV9UWV'
|
||||
'BFX01PVkVNRU5UEAsSFQoRRU5USVRZX1RZUEVfQ0xBSU0QChIbChdFTlRJVFlfVFlQRV9BUFBP'
|
||||
'SU5UTUVOVBAM');
|
||||
'SU5UTUVOVBAMEhUKEUVOVElUWV9UWVBFX05PVElGEA4SGwoXRU5USVRZX1RZUEVfUExBVEZPUk'
|
||||
'1MT0cQDQ==');
|
||||
|
||||
@$core.Deprecated('Use claimEntityTypeDescriptor instead')
|
||||
const ClaimEntityType$json = {
|
||||
@@ -442,6 +445,37 @@ final $typed_data.Uint8List periodUnitDescriptor = $convert.base64Decode(
|
||||
'dPUktfSE9VUhABEhgKFFBFUklPRF9VTklUX1dPUktfREFZEAISHAoYUEVSSU9EX1VOSVRfQ0FM'
|
||||
'RU5EQVJfREFZEAM=');
|
||||
|
||||
@$core.Deprecated('Use domainDescriptor instead')
|
||||
const Domain$json = {
|
||||
'1': 'Domain',
|
||||
'2': [
|
||||
{'1': 'DOMAIN_UNDEFINED', '2': 0},
|
||||
{'1': 'DOMAIN_TRADE', '2': 1},
|
||||
{'1': 'DOMAIN_COLLAB', '2': 2},
|
||||
{'1': 'DOMAIN_CORE', '2': 3},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `Domain`. Decode as a `google.protobuf.EnumDescriptorProto`.
|
||||
final $typed_data.Uint8List domainDescriptor = $convert.base64Decode(
|
||||
'CgZEb21haW4SFAoQRE9NQUlOX1VOREVGSU5FRBAAEhAKDERPTUFJTl9UUkFERRABEhEKDURPTU'
|
||||
'FJTl9DT0xMQUIQAhIPCgtET01BSU5fQ09SRRAD');
|
||||
|
||||
@$core.Deprecated('Use projectTypeDescriptor instead')
|
||||
const ProjectType$json = {
|
||||
'1': 'ProjectType',
|
||||
'2': [
|
||||
{'1': 'PROJECT_TYPE_UNKNOWN', '2': 0},
|
||||
{'1': 'PROJECT_TYPE_ACTIVITY', '2': 1},
|
||||
{'1': 'PROJECT_TYPE_SITE', '2': 2},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `ProjectType`. Decode as a `google.protobuf.EnumDescriptorProto`.
|
||||
final $typed_data.Uint8List projectTypeDescriptor = $convert.base64Decode(
|
||||
'CgtQcm9qZWN0VHlwZRIYChRQUk9KRUNUX1RZUEVfVU5LTk9XThAAEhkKFVBST0pFQ1RfVFlQRV'
|
||||
'9BQ1RJVklUWRABEhUKEVBST0pFQ1RfVFlQRV9TSVRFEAI=');
|
||||
|
||||
@$core.Deprecated('Use requestHeaderDescriptor instead')
|
||||
const RequestHeader$json = {
|
||||
'1': 'RequestHeader',
|
||||
@@ -2083,3 +2117,27 @@ final $typed_data.Uint8List periodDescriptor = $convert.base64Decode(
|
||||
'CgZQZXJpb2QSFAoFVmFsdWUYASABKANSBVZhbHVlEiMKBFVuaXQYAiABKA4yDy5hcGkuUGVyaW'
|
||||
'9kVW5pdFIEVW5pdA==');
|
||||
|
||||
@$core.Deprecated('Use entityDefinitionDescriptor instead')
|
||||
const EntityDefinition$json = {
|
||||
'1': 'EntityDefinition',
|
||||
'2': [
|
||||
{'1': 'Name', '3': 1, '4': 1, '5': 14, '6': '.api.EntityType', '10': 'Name'},
|
||||
{'1': 'Domain', '3': 2, '4': 1, '5': 14, '6': '.api.Domain', '10': 'Domain'},
|
||||
{'1': 'ProjectTypes', '3': 3, '4': 3, '5': 14, '6': '.api.ProjectType', '10': 'ProjectTypes'},
|
||||
{'1': 'HasMetadata', '3': 4, '4': 1, '5': 8, '10': 'HasMetadata'},
|
||||
{'1': 'HasDataRestriction', '3': 5, '4': 1, '5': 8, '10': 'HasDataRestriction'},
|
||||
{'1': 'IsIndexed', '3': 6, '4': 1, '5': 8, '10': 'IsIndexed'},
|
||||
{'1': 'KpiGroups', '3': 7, '4': 3, '5': 9, '10': 'KpiGroups'},
|
||||
{'1': 'ModelVersion', '3': 8, '4': 1, '5': 13, '10': 'ModelVersion'},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `EntityDefinition`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List entityDefinitionDescriptor = $convert.base64Decode(
|
||||
'ChBFbnRpdHlEZWZpbml0aW9uEiMKBE5hbWUYASABKA4yDy5hcGkuRW50aXR5VHlwZVIETmFtZR'
|
||||
'IjCgZEb21haW4YAiABKA4yCy5hcGkuRG9tYWluUgZEb21haW4SNAoMUHJvamVjdFR5cGVzGAMg'
|
||||
'AygOMhAuYXBpLlByb2plY3RUeXBlUgxQcm9qZWN0VHlwZXMSIAoLSGFzTWV0YWRhdGEYBCABKA'
|
||||
'hSC0hhc01ldGFkYXRhEi4KEkhhc0RhdGFSZXN0cmljdGlvbhgFIAEoCFISSGFzRGF0YVJlc3Ry'
|
||||
'aWN0aW9uEhwKCUlzSW5kZXhlZBgGIAEoCFIJSXNJbmRleGVkEhwKCUtwaUdyb3VwcxgHIAMoCV'
|
||||
'IJS3BpR3JvdXBzEiIKDE1vZGVsVmVyc2lvbhgIIAEoDVIMTW9kZWxWZXJzaW9u');
|
||||
|
||||
|
||||
@@ -14,7 +14,6 @@ import 'dart:core' as $core;
|
||||
|
||||
import 'package:protobuf/protobuf.dart' as $pb;
|
||||
|
||||
import 'base.pbenum.dart' as $4;
|
||||
import 'clickhouse.pb.dart' as $3;
|
||||
import 'module.pb.dart' as $2;
|
||||
import 'shared.pb.dart' as $1;
|
||||
@@ -148,7 +147,7 @@ class StartWorkflowCreateProjectRequest extends $pb.GeneratedMessage {
|
||||
$core.String? userSub,
|
||||
$core.String? managerEmail,
|
||||
$core.Iterable<$2.Module>? modules,
|
||||
$4.ProjectType? projectType,
|
||||
$1.ProjectType? projectType,
|
||||
$core.String? projectName,
|
||||
}) {
|
||||
final result = create();
|
||||
@@ -173,7 +172,7 @@ class StartWorkflowCreateProjectRequest extends $pb.GeneratedMessage {
|
||||
..aOS(3, _omitFieldNames ? '' : 'UserSub', protoName: 'UserSub')
|
||||
..aOS(4, _omitFieldNames ? '' : 'ManagerEmail', protoName: 'ManagerEmail')
|
||||
..pc<$2.Module>(5, _omitFieldNames ? '' : 'Modules', $pb.PbFieldType.PM, protoName: 'Modules', subBuilder: $2.Module.create)
|
||||
..e<$4.ProjectType>(6, _omitFieldNames ? '' : 'ProjectType', $pb.PbFieldType.OE, protoName: 'ProjectType', defaultOrMaker: $4.ProjectType.PROJECT_TYPE_UNKNOWN, valueOf: $4.ProjectType.valueOf, enumValues: $4.ProjectType.values)
|
||||
..e<$1.ProjectType>(6, _omitFieldNames ? '' : 'ProjectType', $pb.PbFieldType.OE, protoName: 'ProjectType', defaultOrMaker: $1.ProjectType.PROJECT_TYPE_UNKNOWN, valueOf: $1.ProjectType.valueOf, enumValues: $1.ProjectType.values)
|
||||
..aOS(7, _omitFieldNames ? '' : 'ProjectName', protoName: 'ProjectName')
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
@@ -235,9 +234,9 @@ class StartWorkflowCreateProjectRequest extends $pb.GeneratedMessage {
|
||||
$pb.PbList<$2.Module> get modules => $_getList(4);
|
||||
|
||||
@$pb.TagNumber(6)
|
||||
$4.ProjectType get projectType => $_getN(5);
|
||||
$1.ProjectType get projectType => $_getN(5);
|
||||
@$pb.TagNumber(6)
|
||||
set projectType($4.ProjectType value) => $_setField(6, value);
|
||||
set projectType($1.ProjectType value) => $_setField(6, value);
|
||||
@$pb.TagNumber(6)
|
||||
$core.bool hasProjectType() => $_has(5);
|
||||
@$pb.TagNumber(6)
|
||||
@@ -306,7 +305,7 @@ class StartWorkflowDeleteProjectRequest extends $pb.GeneratedMessage {
|
||||
$core.String? organisationId,
|
||||
$core.String? projectId,
|
||||
$core.String? userId,
|
||||
$4.ProjectType? projectType,
|
||||
$1.ProjectType? projectType,
|
||||
}) {
|
||||
final result = create();
|
||||
if (organisationId != null) result.organisationId = organisationId;
|
||||
@@ -325,7 +324,7 @@ class StartWorkflowDeleteProjectRequest extends $pb.GeneratedMessage {
|
||||
..aOS(1, _omitFieldNames ? '' : 'OrganisationId', protoName: 'OrganisationId')
|
||||
..aOS(2, _omitFieldNames ? '' : 'ProjectId', protoName: 'ProjectId')
|
||||
..aOS(3, _omitFieldNames ? '' : 'UserId', protoName: 'UserId')
|
||||
..e<$4.ProjectType>(4, _omitFieldNames ? '' : 'ProjectType', $pb.PbFieldType.OE, protoName: 'ProjectType', defaultOrMaker: $4.ProjectType.PROJECT_TYPE_UNKNOWN, valueOf: $4.ProjectType.valueOf, enumValues: $4.ProjectType.values)
|
||||
..e<$1.ProjectType>(4, _omitFieldNames ? '' : 'ProjectType', $pb.PbFieldType.OE, protoName: 'ProjectType', defaultOrMaker: $1.ProjectType.PROJECT_TYPE_UNKNOWN, valueOf: $1.ProjectType.valueOf, enumValues: $1.ProjectType.values)
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@@ -374,9 +373,9 @@ class StartWorkflowDeleteProjectRequest extends $pb.GeneratedMessage {
|
||||
void clearUserId() => $_clearField(3);
|
||||
|
||||
@$pb.TagNumber(4)
|
||||
$4.ProjectType get projectType => $_getN(3);
|
||||
$1.ProjectType get projectType => $_getN(3);
|
||||
@$pb.TagNumber(4)
|
||||
set projectType($4.ProjectType value) => $_setField(4, value);
|
||||
set projectType($1.ProjectType value) => $_setField(4, value);
|
||||
@$pb.TagNumber(4)
|
||||
$core.bool hasProjectType() => $_has(3);
|
||||
@$pb.TagNumber(4)
|
||||
@@ -435,7 +434,7 @@ class StartWorkflowDeleteCoreRequest extends $pb.GeneratedMessage {
|
||||
factory StartWorkflowDeleteCoreRequest({
|
||||
$core.String? organisationId,
|
||||
$core.String? projectId,
|
||||
$4.ProjectType? projectType,
|
||||
$1.ProjectType? projectType,
|
||||
}) {
|
||||
final result = create();
|
||||
if (organisationId != null) result.organisationId = organisationId;
|
||||
@@ -452,7 +451,7 @@ class StartWorkflowDeleteCoreRequest extends $pb.GeneratedMessage {
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StartWorkflowDeleteCoreRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'OrganisationId', protoName: 'OrganisationId')
|
||||
..aOS(2, _omitFieldNames ? '' : 'ProjectId', protoName: 'ProjectId')
|
||||
..e<$4.ProjectType>(3, _omitFieldNames ? '' : 'ProjectType', $pb.PbFieldType.OE, protoName: 'ProjectType', defaultOrMaker: $4.ProjectType.PROJECT_TYPE_UNKNOWN, valueOf: $4.ProjectType.valueOf, enumValues: $4.ProjectType.values)
|
||||
..e<$1.ProjectType>(3, _omitFieldNames ? '' : 'ProjectType', $pb.PbFieldType.OE, protoName: 'ProjectType', defaultOrMaker: $1.ProjectType.PROJECT_TYPE_UNKNOWN, valueOf: $1.ProjectType.valueOf, enumValues: $1.ProjectType.values)
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@@ -492,9 +491,9 @@ class StartWorkflowDeleteCoreRequest extends $pb.GeneratedMessage {
|
||||
void clearProjectId() => $_clearField(2);
|
||||
|
||||
@$pb.TagNumber(3)
|
||||
$4.ProjectType get projectType => $_getN(2);
|
||||
$1.ProjectType get projectType => $_getN(2);
|
||||
@$pb.TagNumber(3)
|
||||
set projectType($4.ProjectType value) => $_setField(3, value);
|
||||
set projectType($1.ProjectType value) => $_setField(3, value);
|
||||
@$pb.TagNumber(3)
|
||||
$core.bool hasProjectType() => $_has(2);
|
||||
@$pb.TagNumber(3)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
name: dart_core_sdk
|
||||
description: dart libs from core model proto files
|
||||
version: 1.13.0-SNAPSHOT-260220091119
|
||||
version: 1.13.0-SNAPSHOT-260223150731
|
||||
homepage: ''
|
||||
publish_to: ''
|
||||
repository: ''
|
||||
|
||||
Reference in New Issue
Block a user