Latest generation

This commit is contained in:
ci core model
2026-08-28 09:16:46 +00:00
parent 61e6cb2bc6
commit 105838c1f1
8 changed files with 611 additions and 2 deletions

View File

@@ -1,3 +1,3 @@
# CHANGELOG
Lib version: 1.15.0-SNAPSHOT-260828074504
Lib version: 1.15.0-SNAPSHOT-260828091600

View File

@@ -886,6 +886,288 @@ class GetKPIDataResult extends $pb.GeneratedMessage {
$pb.PbList<KpiDataSerie> get series => $_getList(1);
}
/// GetKPIDataSimpleJSONQuery is the request for GetKPIDataSimpleJSON.
/// Unlike GetKPIDataQuery it has no ChartType (irrelevant for a datasource)
/// and exposes top-level DateRangeStart/DateRangeEnd for easy Grafana integration.
class GetKPIDataSimpleJSONQuery extends $pb.GeneratedMessage {
factory GetKPIDataSimpleJSONQuery({
$0.QueryProjectHeader? header,
CHQueryType? queryType,
$core.String? queryBlock,
CHFilter? filter,
$core.Iterable<CHDimension>? dimensions,
$core.Iterable<CHMetric>? metrics,
$core.String? targetTimeZone,
$core.String? kpiGroupName,
$core.String? dateRangeStart,
$core.String? dateRangeEnd,
}) {
final result = create();
if (header != null) result.header = header;
if (queryType != null) result.queryType = queryType;
if (queryBlock != null) result.queryBlock = queryBlock;
if (filter != null) result.filter = filter;
if (dimensions != null) result.dimensions.addAll(dimensions);
if (metrics != null) result.metrics.addAll(metrics);
if (targetTimeZone != null) result.targetTimeZone = targetTimeZone;
if (kpiGroupName != null) result.kpiGroupName = kpiGroupName;
if (dateRangeStart != null) result.dateRangeStart = dateRangeStart;
if (dateRangeEnd != null) result.dateRangeEnd = dateRangeEnd;
return result;
}
GetKPIDataSimpleJSONQuery._();
factory GetKPIDataSimpleJSONQuery.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory GetKPIDataSimpleJSONQuery.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetKPIDataSimpleJSONQuery', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
..aOM<$0.QueryProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $0.QueryProjectHeader.create)
..e<CHQueryType>(2, _omitFieldNames ? '' : 'QueryType', $pb.PbFieldType.OE, protoName: 'QueryType', defaultOrMaker: CHQueryType.CH_QUERY_TYPE_UNKNOWN, valueOf: CHQueryType.valueOf, enumValues: CHQueryType.values)
..aOS(3, _omitFieldNames ? '' : 'QueryBlock', protoName: 'QueryBlock')
..aOM<CHFilter>(4, _omitFieldNames ? '' : 'Filter', protoName: 'Filter', subBuilder: CHFilter.create)
..pc<CHDimension>(5, _omitFieldNames ? '' : 'Dimensions', $pb.PbFieldType.PM, protoName: 'Dimensions', subBuilder: CHDimension.create)
..pc<CHMetric>(6, _omitFieldNames ? '' : 'Metrics', $pb.PbFieldType.PM, protoName: 'Metrics', subBuilder: CHMetric.create)
..aOS(7, _omitFieldNames ? '' : 'TargetTimeZone', protoName: 'TargetTimeZone')
..aOS(8, _omitFieldNames ? '' : 'KpiGroupName', protoName: 'KpiGroupName')
..aOS(9, _omitFieldNames ? '' : 'DateRangeStart', protoName: 'DateRangeStart')
..aOS(10, _omitFieldNames ? '' : 'DateRangeEnd', protoName: 'DateRangeEnd')
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
GetKPIDataSimpleJSONQuery clone() => GetKPIDataSimpleJSONQuery()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
GetKPIDataSimpleJSONQuery copyWith(void Function(GetKPIDataSimpleJSONQuery) updates) => super.copyWith((message) => updates(message as GetKPIDataSimpleJSONQuery)) as GetKPIDataSimpleJSONQuery;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static GetKPIDataSimpleJSONQuery create() => GetKPIDataSimpleJSONQuery._();
@$core.override
GetKPIDataSimpleJSONQuery createEmptyInstance() => create();
static $pb.PbList<GetKPIDataSimpleJSONQuery> createRepeated() => $pb.PbList<GetKPIDataSimpleJSONQuery>();
@$core.pragma('dart2js:noInline')
static GetKPIDataSimpleJSONQuery getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<GetKPIDataSimpleJSONQuery>(create);
static GetKPIDataSimpleJSONQuery? _defaultInstance;
@$pb.TagNumber(1)
$0.QueryProjectHeader get header => $_getN(0);
@$pb.TagNumber(1)
set header($0.QueryProjectHeader value) => $_setField(1, value);
@$pb.TagNumber(1)
$core.bool hasHeader() => $_has(0);
@$pb.TagNumber(1)
void clearHeader() => $_clearField(1);
@$pb.TagNumber(1)
$0.QueryProjectHeader ensureHeader() => $_ensure(0);
@$pb.TagNumber(2)
CHQueryType get queryType => $_getN(1);
@$pb.TagNumber(2)
set queryType(CHQueryType value) => $_setField(2, value);
@$pb.TagNumber(2)
$core.bool hasQueryType() => $_has(1);
@$pb.TagNumber(2)
void clearQueryType() => $_clearField(2);
@$pb.TagNumber(3)
$core.String get queryBlock => $_getSZ(2);
@$pb.TagNumber(3)
set queryBlock($core.String value) => $_setString(2, value);
@$pb.TagNumber(3)
$core.bool hasQueryBlock() => $_has(2);
@$pb.TagNumber(3)
void clearQueryBlock() => $_clearField(3);
@$pb.TagNumber(4)
CHFilter get filter => $_getN(3);
@$pb.TagNumber(4)
set filter(CHFilter value) => $_setField(4, value);
@$pb.TagNumber(4)
$core.bool hasFilter() => $_has(3);
@$pb.TagNumber(4)
void clearFilter() => $_clearField(4);
@$pb.TagNumber(4)
CHFilter ensureFilter() => $_ensure(3);
@$pb.TagNumber(5)
$pb.PbList<CHDimension> get dimensions => $_getList(4);
@$pb.TagNumber(6)
$pb.PbList<CHMetric> get metrics => $_getList(5);
@$pb.TagNumber(7)
$core.String get targetTimeZone => $_getSZ(6);
@$pb.TagNumber(7)
set targetTimeZone($core.String value) => $_setString(6, value);
@$pb.TagNumber(7)
$core.bool hasTargetTimeZone() => $_has(6);
@$pb.TagNumber(7)
void clearTargetTimeZone() => $_clearField(7);
@$pb.TagNumber(8)
$core.String get kpiGroupName => $_getSZ(7);
@$pb.TagNumber(8)
set kpiGroupName($core.String value) => $_setString(7, value);
@$pb.TagNumber(8)
$core.bool hasKpiGroupName() => $_has(7);
@$pb.TagNumber(8)
void clearKpiGroupName() => $_clearField(8);
/// DateRangeStart / DateRangeEnd are the Grafana time-picker range (ISO 8601).
/// When set, they are applied as StartDate/EndDate on every date-type filter
/// dimension that does not already define explicit date bounds.
@$pb.TagNumber(9)
$core.String get dateRangeStart => $_getSZ(8);
@$pb.TagNumber(9)
set dateRangeStart($core.String value) => $_setString(8, value);
@$pb.TagNumber(9)
$core.bool hasDateRangeStart() => $_has(8);
@$pb.TagNumber(9)
void clearDateRangeStart() => $_clearField(9);
@$pb.TagNumber(10)
$core.String get dateRangeEnd => $_getSZ(9);
@$pb.TagNumber(10)
set dateRangeEnd($core.String value) => $_setString(9, value);
@$pb.TagNumber(10)
$core.bool hasDateRangeEnd() => $_has(9);
@$pb.TagNumber(10)
void clearDateRangeEnd() => $_clearField(10);
}
/// SimpleJSONColumn is a column header in the SimpleJSON table format (Grafana-compatible).
class SimpleJSONColumn extends $pb.GeneratedMessage {
factory SimpleJSONColumn({
$core.String? text,
$core.String? type,
}) {
final result = create();
if (text != null) result.text = text;
if (type != null) result.type = type;
return result;
}
SimpleJSONColumn._();
factory SimpleJSONColumn.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory SimpleJSONColumn.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SimpleJSONColumn', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'Text', protoName: 'Text')
..aOS(2, _omitFieldNames ? '' : 'Type', protoName: 'Type')
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
SimpleJSONColumn clone() => SimpleJSONColumn()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
SimpleJSONColumn copyWith(void Function(SimpleJSONColumn) updates) => super.copyWith((message) => updates(message as SimpleJSONColumn)) as SimpleJSONColumn;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static SimpleJSONColumn create() => SimpleJSONColumn._();
@$core.override
SimpleJSONColumn createEmptyInstance() => create();
static $pb.PbList<SimpleJSONColumn> createRepeated() => $pb.PbList<SimpleJSONColumn>();
@$core.pragma('dart2js:noInline')
static SimpleJSONColumn getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<SimpleJSONColumn>(create);
static SimpleJSONColumn? _defaultInstance;
/// Text is the column label displayed in Grafana.
@$pb.TagNumber(1)
$core.String get text => $_getSZ(0);
@$pb.TagNumber(1)
set text($core.String value) => $_setString(0, value);
@$pb.TagNumber(1)
$core.bool hasText() => $_has(0);
@$pb.TagNumber(1)
void clearText() => $_clearField(1);
/// Type is the column value type: "string", "number", or "time".
@$pb.TagNumber(2)
$core.String get type => $_getSZ(1);
@$pb.TagNumber(2)
set type($core.String value) => $_setString(1, value);
@$pb.TagNumber(2)
$core.bool hasType() => $_has(1);
@$pb.TagNumber(2)
void clearType() => $_clearField(2);
}
/// GetKPIDataSimpleJSONResult returns KPI data as a SimpleJSON table, compatible with
/// Grafana's SimpleJSON datasource and the Infinity datasource (table mode).
class GetKPIDataSimpleJSONResult extends $pb.GeneratedMessage {
factory GetKPIDataSimpleJSONResult({
$core.Iterable<SimpleJSONColumn>? columns,
$core.String? rowsJSON,
$core.String? type,
}) {
final result = create();
if (columns != null) result.columns.addAll(columns);
if (rowsJSON != null) result.rowsJSON = rowsJSON;
if (type != null) result.type = type;
return result;
}
GetKPIDataSimpleJSONResult._();
factory GetKPIDataSimpleJSONResult.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory GetKPIDataSimpleJSONResult.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetKPIDataSimpleJSONResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
..pc<SimpleJSONColumn>(1, _omitFieldNames ? '' : 'Columns', $pb.PbFieldType.PM, protoName: 'Columns', subBuilder: SimpleJSONColumn.create)
..aOS(2, _omitFieldNames ? '' : 'RowsJSON', protoName: 'RowsJSON')
..aOS(3, _omitFieldNames ? '' : 'Type', protoName: 'Type')
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
GetKPIDataSimpleJSONResult clone() => GetKPIDataSimpleJSONResult()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
GetKPIDataSimpleJSONResult copyWith(void Function(GetKPIDataSimpleJSONResult) updates) => super.copyWith((message) => updates(message as GetKPIDataSimpleJSONResult)) as GetKPIDataSimpleJSONResult;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static GetKPIDataSimpleJSONResult create() => GetKPIDataSimpleJSONResult._();
@$core.override
GetKPIDataSimpleJSONResult createEmptyInstance() => create();
static $pb.PbList<GetKPIDataSimpleJSONResult> createRepeated() => $pb.PbList<GetKPIDataSimpleJSONResult>();
@$core.pragma('dart2js:noInline')
static GetKPIDataSimpleJSONResult getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<GetKPIDataSimpleJSONResult>(create);
static GetKPIDataSimpleJSONResult? _defaultInstance;
@$pb.TagNumber(1)
$pb.PbList<SimpleJSONColumn> get columns => $_getList(0);
/// RowsJSON is a JSON-encoded array of arrays: each inner array is one data row
/// whose values align positionally with Columns.
/// Example: [[\"J006-tbu-B191\",100.0],[\"J007-abc\",50.0]]
@$pb.TagNumber(2)
$core.String get rowsJSON => $_getSZ(1);
@$pb.TagNumber(2)
set rowsJSON($core.String value) => $_setString(1, value);
@$pb.TagNumber(2)
$core.bool hasRowsJSON() => $_has(1);
@$pb.TagNumber(2)
void clearRowsJSON() => $_clearField(2);
@$pb.TagNumber(3)
$core.String get type => $_getSZ(2);
@$pb.TagNumber(3)
set type($core.String value) => $_setString(2, value);
@$pb.TagNumber(3)
$core.bool hasType() => $_has(2);
@$pb.TagNumber(3)
void clearType() => $_clearField(3);
}
class EntityBlockFilter extends $pb.GeneratedMessage {
factory EntityBlockFilter({
$core.String? entityName,

View File

@@ -284,6 +284,67 @@ final $typed_data.Uint8List getKPIDataResultDescriptor = $convert.base64Decode(
'dGl0eSIsICJWYWx1ZXMiOiBbIjEyIiwgIjk5IiwgIjc0Il19LCB7Ik5hbWUiOiAiVm9sdW1lIi'
'wgIlZhbHVlcyI6IFsiMzQiLCAiMjMiLCAiNjUiXX1dfVIGU2VyaWVz');
@$core.Deprecated('Use getKPIDataSimpleJSONQueryDescriptor instead')
const GetKPIDataSimpleJSONQuery$json = {
'1': 'GetKPIDataSimpleJSONQuery',
'2': [
{'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.QueryProjectHeader', '10': 'Header'},
{'1': 'QueryType', '3': 2, '4': 1, '5': 14, '6': '.api.CHQueryType', '10': 'QueryType'},
{'1': 'QueryBlock', '3': 3, '4': 1, '5': 9, '10': 'QueryBlock'},
{'1': 'Filter', '3': 4, '4': 1, '5': 11, '6': '.api.CHFilter', '10': 'Filter'},
{'1': 'Dimensions', '3': 5, '4': 3, '5': 11, '6': '.api.CHDimension', '10': 'Dimensions'},
{'1': 'Metrics', '3': 6, '4': 3, '5': 11, '6': '.api.CHMetric', '10': 'Metrics'},
{'1': 'TargetTimeZone', '3': 7, '4': 1, '5': 9, '10': 'TargetTimeZone'},
{'1': 'KpiGroupName', '3': 8, '4': 1, '5': 9, '10': 'KpiGroupName'},
{'1': 'DateRangeStart', '3': 9, '4': 1, '5': 9, '10': 'DateRangeStart'},
{'1': 'DateRangeEnd', '3': 10, '4': 1, '5': 9, '10': 'DateRangeEnd'},
],
};
/// Descriptor for `GetKPIDataSimpleJSONQuery`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List getKPIDataSimpleJSONQueryDescriptor = $convert.base64Decode(
'ChlHZXRLUElEYXRhU2ltcGxlSlNPTlF1ZXJ5Ei8KBkhlYWRlchgBIAEoCzIXLmFwaS5RdWVyeV'
'Byb2plY3RIZWFkZXJSBkhlYWRlchIuCglRdWVyeVR5cGUYAiABKA4yEC5hcGkuQ0hRdWVyeVR5'
'cGVSCVF1ZXJ5VHlwZRIeCgpRdWVyeUJsb2NrGAMgASgJUgpRdWVyeUJsb2NrEiUKBkZpbHRlch'
'gEIAEoCzINLmFwaS5DSEZpbHRlclIGRmlsdGVyEjAKCkRpbWVuc2lvbnMYBSADKAsyEC5hcGku'
'Q0hEaW1lbnNpb25SCkRpbWVuc2lvbnMSJwoHTWV0cmljcxgGIAMoCzINLmFwaS5DSE1ldHJpY1'
'IHTWV0cmljcxImCg5UYXJnZXRUaW1lWm9uZRgHIAEoCVIOVGFyZ2V0VGltZVpvbmUSIgoMS3Bp'
'R3JvdXBOYW1lGAggASgJUgxLcGlHcm91cE5hbWUSJgoORGF0ZVJhbmdlU3RhcnQYCSABKAlSDk'
'RhdGVSYW5nZVN0YXJ0EiIKDERhdGVSYW5nZUVuZBgKIAEoCVIMRGF0ZVJhbmdlRW5k');
@$core.Deprecated('Use simpleJSONColumnDescriptor instead')
const SimpleJSONColumn$json = {
'1': 'SimpleJSONColumn',
'2': [
{'1': 'Text', '3': 1, '4': 1, '5': 9, '10': 'Text'},
{'1': 'Type', '3': 2, '4': 1, '5': 9, '10': 'Type'},
],
};
/// Descriptor for `SimpleJSONColumn`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List simpleJSONColumnDescriptor = $convert.base64Decode(
'ChBTaW1wbGVKU09OQ29sdW1uEhIKBFRleHQYASABKAlSBFRleHQSEgoEVHlwZRgCIAEoCVIEVH'
'lwZQ==');
@$core.Deprecated('Use getKPIDataSimpleJSONResultDescriptor instead')
const GetKPIDataSimpleJSONResult$json = {
'1': 'GetKPIDataSimpleJSONResult',
'2': [
{'1': 'Columns', '3': 1, '4': 3, '5': 11, '6': '.api.SimpleJSONColumn', '8': {}, '10': 'Columns'},
{'1': 'RowsJSON', '3': 2, '4': 1, '5': 9, '8': {}, '10': 'RowsJSON'},
{'1': 'Type', '3': 3, '4': 1, '5': 9, '8': {}, '10': 'Type'},
],
};
/// Descriptor for `GetKPIDataSimpleJSONResult`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List getKPIDataSimpleJSONResultDescriptor = $convert.base64Decode(
'ChpHZXRLUElEYXRhU2ltcGxlSlNPTlJlc3VsdBJuCgdDb2x1bW5zGAEgAygLMhUuYXBpLlNpbX'
'BsZUpTT05Db2x1bW5CPZJBOjI4Q29sdW1uIGRlZmluaXRpb25zIHdpdGggaW5mZXJyZWQgdHlw'
'ZXMgKHN0cmluZyAvIG51bWJlcilSB0NvbHVtbnMSXwoIUm93c0pTT04YAiABKAlCQ5JBQDI+Sl'
'NPTi1lbmNvZGVkIHJvd3MgYXJyYXkgKGFycmF5IG9mIGFycmF5cyBhbGlnbmVkIHdpdGggQ29s'
'dW1ucylSCFJvd3NKU09OEicKBFR5cGUYAyABKAlCE5JBEDIOQWx3YXlzICJ0YWJsZSJSBFR5cG'
'U=');
@$core.Deprecated('Use entityBlockFilterDescriptor instead')
const EntityBlockFilter$json = {
'1': 'EntityBlockFilter',

View File

@@ -436,6 +436,185 @@ class GetKpisResult extends $pb.GeneratedMessage {
$pb.PbList<Kpi> get kpis => $_getList(0);
}
class GetKpisWithSelectionRequest extends $pb.GeneratedMessage {
factory GetKpisWithSelectionRequest({
$1.RequestProjectHeader? header,
$core.String? domain,
$core.String? group,
$core.bool? isMetric,
$core.bool? isDimension,
$core.bool? isDate,
$core.bool? isCount,
$core.bool? onlyQueryable,
$core.Iterable<$core.String>? selectedKpis,
}) {
final result = create();
if (header != null) result.header = header;
if (domain != null) result.domain = domain;
if (group != null) result.group = group;
if (isMetric != null) result.isMetric = isMetric;
if (isDimension != null) result.isDimension = isDimension;
if (isDate != null) result.isDate = isDate;
if (isCount != null) result.isCount = isCount;
if (onlyQueryable != null) result.onlyQueryable = onlyQueryable;
if (selectedKpis != null) result.selectedKpis.addAll(selectedKpis);
return result;
}
GetKpisWithSelectionRequest._();
factory GetKpisWithSelectionRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory GetKpisWithSelectionRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetKpisWithSelectionRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
..aOM<$1.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.RequestProjectHeader.create)
..aOS(2, _omitFieldNames ? '' : 'Domain', protoName: 'Domain')
..aOS(3, _omitFieldNames ? '' : 'Group', protoName: 'Group')
..aOB(4, _omitFieldNames ? '' : 'isMetric', protoName: 'isMetric')
..aOB(5, _omitFieldNames ? '' : 'isDimension', protoName: 'isDimension')
..aOB(6, _omitFieldNames ? '' : 'isDate', protoName: 'isDate')
..aOB(7, _omitFieldNames ? '' : 'isCount', protoName: 'isCount')
..aOB(8, _omitFieldNames ? '' : 'OnlyQueryable', protoName: 'OnlyQueryable')
..pPS(9, _omitFieldNames ? '' : 'SelectedKpis', protoName: 'SelectedKpis')
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
GetKpisWithSelectionRequest clone() => GetKpisWithSelectionRequest()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
GetKpisWithSelectionRequest copyWith(void Function(GetKpisWithSelectionRequest) updates) => super.copyWith((message) => updates(message as GetKpisWithSelectionRequest)) as GetKpisWithSelectionRequest;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static GetKpisWithSelectionRequest create() => GetKpisWithSelectionRequest._();
@$core.override
GetKpisWithSelectionRequest createEmptyInstance() => create();
static $pb.PbList<GetKpisWithSelectionRequest> createRepeated() => $pb.PbList<GetKpisWithSelectionRequest>();
@$core.pragma('dart2js:noInline')
static GetKpisWithSelectionRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<GetKpisWithSelectionRequest>(create);
static GetKpisWithSelectionRequest? _defaultInstance;
@$pb.TagNumber(1)
$1.RequestProjectHeader get header => $_getN(0);
@$pb.TagNumber(1)
set header($1.RequestProjectHeader value) => $_setField(1, value);
@$pb.TagNumber(1)
$core.bool hasHeader() => $_has(0);
@$pb.TagNumber(1)
void clearHeader() => $_clearField(1);
@$pb.TagNumber(1)
$1.RequestProjectHeader ensureHeader() => $_ensure(0);
@$pb.TagNumber(2)
$core.String get domain => $_getSZ(1);
@$pb.TagNumber(2)
set domain($core.String value) => $_setString(1, value);
@$pb.TagNumber(2)
$core.bool hasDomain() => $_has(1);
@$pb.TagNumber(2)
void clearDomain() => $_clearField(2);
/// Widget analysis criterion, executionflow for Order and stock for Stock
@$pb.TagNumber(3)
$core.String get group => $_getSZ(2);
@$pb.TagNumber(3)
set group($core.String value) => $_setString(2, value);
@$pb.TagNumber(3)
$core.bool hasGroup() => $_has(2);
@$pb.TagNumber(3)
void clearGroup() => $_clearField(3);
@$pb.TagNumber(4)
$core.bool get isMetric => $_getBF(3);
@$pb.TagNumber(4)
set isMetric($core.bool value) => $_setBool(3, value);
@$pb.TagNumber(4)
$core.bool hasIsMetric() => $_has(3);
@$pb.TagNumber(4)
void clearIsMetric() => $_clearField(4);
@$pb.TagNumber(5)
$core.bool get isDimension => $_getBF(4);
@$pb.TagNumber(5)
set isDimension($core.bool value) => $_setBool(4, value);
@$pb.TagNumber(5)
$core.bool hasIsDimension() => $_has(4);
@$pb.TagNumber(5)
void clearIsDimension() => $_clearField(5);
@$pb.TagNumber(6)
$core.bool get isDate => $_getBF(5);
@$pb.TagNumber(6)
set isDate($core.bool value) => $_setBool(5, value);
@$pb.TagNumber(6)
$core.bool hasIsDate() => $_has(5);
@$pb.TagNumber(6)
void clearIsDate() => $_clearField(6);
@$pb.TagNumber(7)
$core.bool get isCount => $_getBF(6);
@$pb.TagNumber(7)
set isCount($core.bool value) => $_setBool(6, value);
@$pb.TagNumber(7)
$core.bool hasIsCount() => $_has(6);
@$pb.TagNumber(7)
void clearIsCount() => $_clearField(7);
@$pb.TagNumber(8)
$core.bool get onlyQueryable => $_getBF(7);
@$pb.TagNumber(8)
set onlyQueryable($core.bool value) => $_setBool(7, value);
@$pb.TagNumber(8)
$core.bool hasOnlyQueryable() => $_has(7);
@$pb.TagNumber(8)
void clearOnlyQueryable() => $_clearField(8);
@$pb.TagNumber(9)
$pb.PbList<$core.String> get selectedKpis => $_getList(8);
}
class GetKpisWithSelectionResult extends $pb.GeneratedMessage {
factory GetKpisWithSelectionResult({
$core.Iterable<Kpi>? kpis,
}) {
final result = create();
if (kpis != null) result.kpis.addAll(kpis);
return result;
}
GetKpisWithSelectionResult._();
factory GetKpisWithSelectionResult.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory GetKpisWithSelectionResult.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetKpisWithSelectionResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
..pc<Kpi>(1, _omitFieldNames ? '' : 'Kpis', $pb.PbFieldType.PM, protoName: 'Kpis', subBuilder: Kpi.create)
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
GetKpisWithSelectionResult clone() => GetKpisWithSelectionResult()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
GetKpisWithSelectionResult copyWith(void Function(GetKpisWithSelectionResult) updates) => super.copyWith((message) => updates(message as GetKpisWithSelectionResult)) as GetKpisWithSelectionResult;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static GetKpisWithSelectionResult create() => GetKpisWithSelectionResult._();
@$core.override
GetKpisWithSelectionResult createEmptyInstance() => create();
static $pb.PbList<GetKpisWithSelectionResult> createRepeated() => $pb.PbList<GetKpisWithSelectionResult>();
@$core.pragma('dart2js:noInline')
static GetKpisWithSelectionResult getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<GetKpisWithSelectionResult>(create);
static GetKpisWithSelectionResult? _defaultInstance;
@$pb.TagNumber(1)
$pb.PbList<Kpi> get kpis => $_getList(0);
}
class GetKpiTableStructureRequest extends $pb.GeneratedMessage {
factory GetKpiTableStructureRequest({
$core.String? rscID,

View File

@@ -36,6 +36,10 @@ class KpiServiceClient extends $grpc.Client {
return $createUnaryCall(_$getKpis, request, options: options);
}
$grpc.ResponseFuture<$0.GetKpisWithSelectionResult> getKpisWithSelection($0.GetKpisWithSelectionRequest request, {$grpc.CallOptions? options,}) {
return $createUnaryCall(_$getKpisWithSelection, request, options: options);
}
$grpc.ResponseFuture<$0.GetKpiTableStructureResult> getKpiTableStructure($0.GetKpiTableStructureRequest request, {$grpc.CallOptions? options,}) {
return $createUnaryCall(_$getKpiTableStructure, request, options: options);
}
@@ -74,6 +78,10 @@ class KpiServiceClient extends $grpc.Client {
'/api.KpiService/GetKpis',
($0.GetKpisRequest value) => value.writeToBuffer(),
$0.GetKpisResult.fromBuffer);
static final _$getKpisWithSelection = $grpc.ClientMethod<$0.GetKpisWithSelectionRequest, $0.GetKpisWithSelectionResult>(
'/api.KpiService/GetKpisWithSelection',
($0.GetKpisWithSelectionRequest value) => value.writeToBuffer(),
$0.GetKpisWithSelectionResult.fromBuffer);
static final _$getKpiTableStructure = $grpc.ClientMethod<$0.GetKpiTableStructureRequest, $0.GetKpiTableStructureResult>(
'/api.KpiService/GetKpiTableStructure',
($0.GetKpiTableStructureRequest value) => value.writeToBuffer(),
@@ -120,6 +128,13 @@ abstract class KpiServiceBase extends $grpc.Service {
false,
($core.List<$core.int> value) => $0.GetKpisRequest.fromBuffer(value),
($0.GetKpisResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.GetKpisWithSelectionRequest, $0.GetKpisWithSelectionResult>(
'GetKpisWithSelection',
getKpisWithSelection_Pre,
false,
false,
($core.List<$core.int> value) => $0.GetKpisWithSelectionRequest.fromBuffer(value),
($0.GetKpisWithSelectionResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.GetKpiTableStructureRequest, $0.GetKpiTableStructureResult>(
'GetKpiTableStructure',
getKpiTableStructure_Pre,
@@ -184,6 +199,12 @@ abstract class KpiServiceBase extends $grpc.Service {
$async.Future<$0.GetKpisResult> getKpis($grpc.ServiceCall call, $0.GetKpisRequest request);
$async.Future<$0.GetKpisWithSelectionResult> getKpisWithSelection_Pre($grpc.ServiceCall $call, $async.Future<$0.GetKpisWithSelectionRequest> $request) async {
return getKpisWithSelection($call, await $request);
}
$async.Future<$0.GetKpisWithSelectionResult> getKpisWithSelection($grpc.ServiceCall call, $0.GetKpisWithSelectionRequest request);
$async.Future<$0.GetKpiTableStructureResult> getKpiTableStructure_Pre($grpc.ServiceCall $call, $async.Future<$0.GetKpiTableStructureRequest> $request) async {
return getKpiTableStructure($call, await $request);
}

View File

@@ -120,6 +120,51 @@ const GetKpisResult$json = {
final $typed_data.Uint8List getKpisResultDescriptor = $convert.base64Decode(
'Cg1HZXRLcGlzUmVzdWx0EhwKBEtwaXMYASADKAsyCC5hcGkuS3BpUgRLcGlz');
@$core.Deprecated('Use getKpisWithSelectionRequestDescriptor instead')
const GetKpisWithSelectionRequest$json = {
'1': 'GetKpisWithSelectionRequest',
'2': [
{'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestProjectHeader', '8': {}, '10': 'Header'},
{'1': 'Domain', '3': 2, '4': 1, '5': 9, '8': {}, '10': 'Domain'},
{'1': 'Group', '3': 3, '4': 1, '5': 9, '8': {}, '10': 'Group'},
{'1': 'isMetric', '3': 4, '4': 1, '5': 8, '10': 'isMetric'},
{'1': 'isDimension', '3': 5, '4': 1, '5': 8, '10': 'isDimension'},
{'1': 'isDate', '3': 6, '4': 1, '5': 8, '10': 'isDate'},
{'1': 'isCount', '3': 7, '4': 1, '5': 8, '10': 'isCount'},
{'1': 'OnlyQueryable', '3': 8, '4': 1, '5': 8, '10': 'OnlyQueryable'},
{'1': 'SelectedKpis', '3': 9, '4': 3, '5': 9, '8': {}, '10': 'SelectedKpis'},
],
'7': {},
};
/// Descriptor for `GetKpisWithSelectionRequest`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List getKpisWithSelectionRequestDescriptor = $convert.base64Decode(
'ChtHZXRLcGlzV2l0aFNlbGVjdGlvblJlcXVlc3QSPAoGSGVhZGVyGAEgASgLMhkuYXBpLlJlcX'
'Vlc3RQcm9qZWN0SGVhZGVyQgm6gQEFigECEAFSBkhlYWRlchI3CgZEb21haW4YAiABKAlCH5JB'
'BzoFdHJhZGW6gQERcg9SBXRyYWRlUgZjb2xsYWJSBkRvbWFpbhLbAQoFR3JvdXAYAyABKAlCxA'
'GSQVwySVdpZGdldCBhbmFseXNpcyBjcml0ZXJpb24sIGV4ZWN1dGlvbmZsb3csIHN0b2NrLCBt'
'b3ZlbWVudCBvciBoYW5kbGluZ3VuaXRKDyJleGVjdXRpb25mbG93IrqBAWFyX1INZXhlY3V0aW'
'9uZmxvd1IFc3RvY2tSCG1vdmVtZW50UgxoYW5kbGluZ3VuaXRSBWFjdG9yUgRpdGVtUg5zdG9j'
'a19leHRlbmRlZFIFY2xhaW1SC2FwcG9pbnRtZW50UgVHcm91cBIaCghpc01ldHJpYxgEIAEoCF'
'IIaXNNZXRyaWMSIAoLaXNEaW1lbnNpb24YBSABKAhSC2lzRGltZW5zaW9uEhYKBmlzRGF0ZRgG'
'IAEoCFIGaXNEYXRlEhgKB2lzQ291bnQYByABKAhSB2lzQ291bnQSJAoNT25seVF1ZXJ5YWJsZR'
'gIIAEoCFINT25seVF1ZXJ5YWJsZRJLCgxTZWxlY3RlZEtwaXMYCSADKAlCJ5JBJDIiTGlzdCBv'
'ZiBhbHJlYWR5IHNlbGVjdGVkIEtQSSBuYW1lc1IMU2VsZWN0ZWRLcGlzOg6SQQsKCdIBBkhlYW'
'Rlcg==');
@$core.Deprecated('Use getKpisWithSelectionResultDescriptor instead')
const GetKpisWithSelectionResult$json = {
'1': 'GetKpisWithSelectionResult',
'2': [
{'1': 'Kpis', '3': 1, '4': 3, '5': 11, '6': '.api.Kpi', '10': 'Kpis'},
],
};
/// Descriptor for `GetKpisWithSelectionResult`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List getKpisWithSelectionResultDescriptor = $convert.base64Decode(
'ChpHZXRLcGlzV2l0aFNlbGVjdGlvblJlc3VsdBIcCgRLcGlzGAEgAygLMgguYXBpLktwaVIES3'
'Bpcw==');
@$core.Deprecated('Use getKpiTableStructureRequestDescriptor instead')
const GetKpiTableStructureRequest$json = {
'1': 'GetKpiTableStructureRequest',

View File

@@ -63,6 +63,10 @@ class StockQueryClient extends $grpc.Client {
return $createUnaryCall(_$getKPIDataForUser, request, options: options);
}
$grpc.ResponseFuture<$2.GetKPIDataSimpleJSONResult> getKPIDataSimpleJSON($2.GetKPIDataSimpleJSONQuery request, {$grpc.CallOptions? options,}) {
return $createUnaryCall(_$getKPIDataSimpleJSON, request, options: options);
}
$grpc.ResponseFuture<$2.ExtractKPIResult> extractKPI($2.ExtractKPIQuery request, {$grpc.CallOptions? options,}) {
return $createUnaryCall(_$extractKPI, request, options: options);
}
@@ -105,6 +109,10 @@ class StockQueryClient extends $grpc.Client {
'/api.StockQuery/GetKPIDataForUser',
($2.GetKPIDataForUserQuery value) => value.writeToBuffer(),
$2.GetKPIDataResult.fromBuffer);
static final _$getKPIDataSimpleJSON = $grpc.ClientMethod<$2.GetKPIDataSimpleJSONQuery, $2.GetKPIDataSimpleJSONResult>(
'/api.StockQuery/GetKPIDataSimpleJSON',
($2.GetKPIDataSimpleJSONQuery value) => value.writeToBuffer(),
$2.GetKPIDataSimpleJSONResult.fromBuffer);
static final _$extractKPI = $grpc.ClientMethod<$2.ExtractKPIQuery, $2.ExtractKPIResult>(
'/api.StockQuery/ExtractKPI',
($2.ExtractKPIQuery value) => value.writeToBuffer(),
@@ -170,6 +178,13 @@ abstract class StockQueryServiceBase extends $grpc.Service {
false,
($core.List<$core.int> value) => $2.GetKPIDataForUserQuery.fromBuffer(value),
($2.GetKPIDataResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$2.GetKPIDataSimpleJSONQuery, $2.GetKPIDataSimpleJSONResult>(
'GetKPIDataSimpleJSON',
getKPIDataSimpleJSON_Pre,
false,
false,
($core.List<$core.int> value) => $2.GetKPIDataSimpleJSONQuery.fromBuffer(value),
($2.GetKPIDataSimpleJSONResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$2.ExtractKPIQuery, $2.ExtractKPIResult>(
'ExtractKPI',
extractKPI_Pre,
@@ -236,6 +251,12 @@ abstract class StockQueryServiceBase extends $grpc.Service {
$async.Future<$2.GetKPIDataResult> getKPIDataForUser($grpc.ServiceCall call, $2.GetKPIDataForUserQuery request);
$async.Future<$2.GetKPIDataSimpleJSONResult> getKPIDataSimpleJSON_Pre($grpc.ServiceCall $call, $async.Future<$2.GetKPIDataSimpleJSONQuery> $request) async {
return getKPIDataSimpleJSON($call, await $request);
}
$async.Future<$2.GetKPIDataSimpleJSONResult> getKPIDataSimpleJSON($grpc.ServiceCall call, $2.GetKPIDataSimpleJSONQuery request);
$async.Future<$2.ExtractKPIResult> extractKPI_Pre($grpc.ServiceCall $call, $async.Future<$2.ExtractKPIQuery> $request) async {
return extractKPI($call, await $request);
}

View File

@@ -1,6 +1,6 @@
name: dart_core_sdk
description: dart libs from core model proto files
version: 1.15.0-SNAPSHOT-260828074504
version: 1.15.0-SNAPSHOT-260828091600
homepage: ''
publish_to: ''
repository: ''