Latest generation

This commit is contained in:
ci core model
2025-05-23 14:36:58 +00:00
parent 8552245da5
commit d9f728e845
9 changed files with 712 additions and 54 deletions

View File

@@ -20,7 +20,7 @@ export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;
class AppointmentByIdQuery extends $pb.GeneratedMessage {
factory AppointmentByIdQuery({
$3.QueryProjectHeader? header,
$3.QuerySiteHeader? header,
$core.Iterable<$3.EntityID>? iDs,
}) {
final $result = create();
@@ -37,7 +37,7 @@ class AppointmentByIdQuery extends $pb.GeneratedMessage {
factory AppointmentByIdQuery.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AppointmentByIdQuery', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
..aOM<$3.QueryProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.QueryProjectHeader.create)
..aOM<$3.QuerySiteHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.QuerySiteHeader.create)
..pc<$3.EntityID>(2, _omitFieldNames ? '' : 'IDs', $pb.PbFieldType.PM, protoName: 'IDs', subBuilder: $3.EntityID.create)
..hasRequiredFields = false
;
@@ -58,15 +58,15 @@ class AppointmentByIdQuery extends $pb.GeneratedMessage {
static AppointmentByIdQuery? _defaultInstance;
@$pb.TagNumber(1)
$3.QueryProjectHeader get header => $_getN(0);
$3.QuerySiteHeader get header => $_getN(0);
@$pb.TagNumber(1)
set header($3.QueryProjectHeader v) { $_setField(1, v); }
set header($3.QuerySiteHeader v) { $_setField(1, v); }
@$pb.TagNumber(1)
$core.bool hasHeader() => $_has(0);
@$pb.TagNumber(1)
void clearHeader() => $_clearField(1);
@$pb.TagNumber(1)
$3.QueryProjectHeader ensureHeader() => $_ensure(0);
$3.QuerySiteHeader ensureHeader() => $_ensure(0);
@$pb.TagNumber(2)
$pb.PbList<$3.EntityID> get iDs => $_getList(1);
@@ -128,7 +128,7 @@ class AppointmentByIdResult extends $pb.GeneratedMessage {
class AppointmentByFilterQuery extends $pb.GeneratedMessage {
factory AppointmentByFilterQuery({
$3.QueryProjectHeader? header,
$3.QuerySiteHeader? header,
$core.String? limitFilter,
$core.String? queryContext,
$core.Iterable<$3.BlockFilter>? blockFilters,
@@ -153,7 +153,7 @@ class AppointmentByFilterQuery extends $pb.GeneratedMessage {
factory AppointmentByFilterQuery.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AppointmentByFilterQuery', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
..aOM<$3.QueryProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.QueryProjectHeader.create)
..aOM<$3.QuerySiteHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.QuerySiteHeader.create)
..aOS(4, _omitFieldNames ? '' : 'limitFilter', protoName: 'limitFilter')
..aOS(5, _omitFieldNames ? '' : 'queryContext', protoName: 'queryContext')
..pc<$3.BlockFilter>(6, _omitFieldNames ? '' : 'BlockFilters', $pb.PbFieldType.PM, protoName: 'BlockFilters', subBuilder: $3.BlockFilter.create)
@@ -176,15 +176,15 @@ class AppointmentByFilterQuery extends $pb.GeneratedMessage {
static AppointmentByFilterQuery? _defaultInstance;
@$pb.TagNumber(1)
$3.QueryProjectHeader get header => $_getN(0);
$3.QuerySiteHeader get header => $_getN(0);
@$pb.TagNumber(1)
set header($3.QueryProjectHeader v) { $_setField(1, v); }
set header($3.QuerySiteHeader v) { $_setField(1, v); }
@$pb.TagNumber(1)
$core.bool hasHeader() => $_has(0);
@$pb.TagNumber(1)
void clearHeader() => $_clearField(1);
@$pb.TagNumber(1)
$3.QueryProjectHeader ensureHeader() => $_ensure(0);
$3.QuerySiteHeader ensureHeader() => $_ensure(0);
/// Number of maximum result
@$pb.TagNumber(4)
@@ -280,7 +280,7 @@ class AppointmentByFilterResult extends $pb.GeneratedMessage {
class AppointmentByMatchQuery extends $pb.GeneratedMessage {
factory AppointmentByMatchQuery({
$3.QueryProjectHeader? header,
$3.QuerySiteHeader? header,
$core.Iterable<$3.BlockFilter>? blockFilters,
$core.Iterable<$3.MatchField>? matchFields,
}) {
@@ -301,7 +301,7 @@ class AppointmentByMatchQuery extends $pb.GeneratedMessage {
factory AppointmentByMatchQuery.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AppointmentByMatchQuery', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
..aOM<$3.QueryProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.QueryProjectHeader.create)
..aOM<$3.QuerySiteHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.QuerySiteHeader.create)
..pc<$3.BlockFilter>(5, _omitFieldNames ? '' : 'BlockFilters', $pb.PbFieldType.PM, protoName: 'BlockFilters', subBuilder: $3.BlockFilter.create)
..pc<$3.MatchField>(6, _omitFieldNames ? '' : 'MatchFields', $pb.PbFieldType.PM, protoName: 'MatchFields', subBuilder: $3.MatchField.create)
..hasRequiredFields = false
@@ -323,15 +323,15 @@ class AppointmentByMatchQuery extends $pb.GeneratedMessage {
static AppointmentByMatchQuery? _defaultInstance;
@$pb.TagNumber(1)
$3.QueryProjectHeader get header => $_getN(0);
$3.QuerySiteHeader get header => $_getN(0);
@$pb.TagNumber(1)
set header($3.QueryProjectHeader v) { $_setField(1, v); }
set header($3.QuerySiteHeader v) { $_setField(1, v); }
@$pb.TagNumber(1)
$core.bool hasHeader() => $_has(0);
@$pb.TagNumber(1)
void clearHeader() => $_clearField(1);
@$pb.TagNumber(1)
$3.QueryProjectHeader ensureHeader() => $_ensure(0);
$3.QuerySiteHeader ensureHeader() => $_ensure(0);
/// list of blockFilters structure for Find query, each element (BlockFilter) in the list is an "OR" part of the query, if not empty, simpleFilters (deprecated) & rangeFilters (deprecated) will be ignored
@$pb.TagNumber(5)

View File

@@ -43,17 +43,17 @@ class AppointmentQueryClient extends $grpc.Client {
'/api.AppointmentQuery/FindMatchingFieldValues',
($8.AppointmentByMatchQuery value) => value.writeToBuffer(),
($core.List<$core.int> value) => $8.AppointmentByMatchResult.fromBuffer(value));
static final _$findMatchingFieldElements = $grpc.ClientMethod<$3.ElementByMatchQuery, $3.ElementByMatchResult>(
static final _$findMatchingFieldElements = $grpc.ClientMethod<$3.ElementByMatchSiteQuery, $3.ElementByMatchResult>(
'/api.AppointmentQuery/FindMatchingFieldElements',
($3.ElementByMatchQuery value) => value.writeToBuffer(),
($3.ElementByMatchSiteQuery value) => value.writeToBuffer(),
($core.List<$core.int> value) => $3.ElementByMatchResult.fromBuffer(value));
static final _$extract = $grpc.ClientMethod<$3.ExtractQuery, $3.ExtractResult>(
static final _$extract = $grpc.ClientMethod<$3.ExtractSiteQuery, $3.ExtractResult>(
'/api.AppointmentQuery/Extract',
($3.ExtractQuery value) => value.writeToBuffer(),
($3.ExtractSiteQuery value) => value.writeToBuffer(),
($core.List<$core.int> value) => $3.ExtractResult.fromBuffer(value));
static final _$getKPIData = $grpc.ClientMethod<$9.GetKPIDataQuery, $9.GetKPIDataResult>(
static final _$getKPIData = $grpc.ClientMethod<$9.GetKPIDataSiteQuery, $9.GetKPIDataResult>(
'/api.AppointmentQuery/GetKPIData',
($9.GetKPIDataQuery value) => value.writeToBuffer(),
($9.GetKPIDataSiteQuery value) => value.writeToBuffer(),
($core.List<$core.int> value) => $9.GetKPIDataResult.fromBuffer(value));
static final _$countLines = $grpc.ClientMethod<$3.CountLinesQuery, $3.CountLinesResult>(
'/api.AppointmentQuery/CountLines',
@@ -74,15 +74,15 @@ class AppointmentQueryClient extends $grpc.Client {
return $createUnaryCall(_$findMatchingFieldValues, request, options: options);
}
$grpc.ResponseFuture<$3.ElementByMatchResult> findMatchingFieldElements($3.ElementByMatchQuery request, {$grpc.CallOptions? options}) {
$grpc.ResponseFuture<$3.ElementByMatchResult> findMatchingFieldElements($3.ElementByMatchSiteQuery request, {$grpc.CallOptions? options}) {
return $createUnaryCall(_$findMatchingFieldElements, request, options: options);
}
$grpc.ResponseFuture<$3.ExtractResult> extract($3.ExtractQuery request, {$grpc.CallOptions? options}) {
$grpc.ResponseFuture<$3.ExtractResult> extract($3.ExtractSiteQuery request, {$grpc.CallOptions? options}) {
return $createUnaryCall(_$extract, request, options: options);
}
$grpc.ResponseFuture<$9.GetKPIDataResult> getKPIData($9.GetKPIDataQuery request, {$grpc.CallOptions? options}) {
$grpc.ResponseFuture<$9.GetKPIDataResult> getKPIData($9.GetKPIDataSiteQuery request, {$grpc.CallOptions? options}) {
return $createUnaryCall(_$getKPIData, request, options: options);
}
@@ -117,26 +117,26 @@ abstract class AppointmentQueryServiceBase extends $grpc.Service {
false,
($core.List<$core.int> value) => $8.AppointmentByMatchQuery.fromBuffer(value),
($8.AppointmentByMatchResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$3.ElementByMatchQuery, $3.ElementByMatchResult>(
$addMethod($grpc.ServiceMethod<$3.ElementByMatchSiteQuery, $3.ElementByMatchResult>(
'FindMatchingFieldElements',
findMatchingFieldElements_Pre,
false,
false,
($core.List<$core.int> value) => $3.ElementByMatchQuery.fromBuffer(value),
($core.List<$core.int> value) => $3.ElementByMatchSiteQuery.fromBuffer(value),
($3.ElementByMatchResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$3.ExtractQuery, $3.ExtractResult>(
$addMethod($grpc.ServiceMethod<$3.ExtractSiteQuery, $3.ExtractResult>(
'Extract',
extract_Pre,
false,
false,
($core.List<$core.int> value) => $3.ExtractQuery.fromBuffer(value),
($core.List<$core.int> value) => $3.ExtractSiteQuery.fromBuffer(value),
($3.ExtractResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$9.GetKPIDataQuery, $9.GetKPIDataResult>(
$addMethod($grpc.ServiceMethod<$9.GetKPIDataSiteQuery, $9.GetKPIDataResult>(
'GetKPIData',
getKPIData_Pre,
false,
false,
($core.List<$core.int> value) => $9.GetKPIDataQuery.fromBuffer(value),
($core.List<$core.int> value) => $9.GetKPIDataSiteQuery.fromBuffer(value),
($9.GetKPIDataResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$3.CountLinesQuery, $3.CountLinesResult>(
'CountLines',
@@ -159,15 +159,15 @@ abstract class AppointmentQueryServiceBase extends $grpc.Service {
return findMatchingFieldValues($call, await $request);
}
$async.Future<$3.ElementByMatchResult> findMatchingFieldElements_Pre($grpc.ServiceCall $call, $async.Future<$3.ElementByMatchQuery> $request) async {
$async.Future<$3.ElementByMatchResult> findMatchingFieldElements_Pre($grpc.ServiceCall $call, $async.Future<$3.ElementByMatchSiteQuery> $request) async {
return findMatchingFieldElements($call, await $request);
}
$async.Future<$3.ExtractResult> extract_Pre($grpc.ServiceCall $call, $async.Future<$3.ExtractQuery> $request) async {
$async.Future<$3.ExtractResult> extract_Pre($grpc.ServiceCall $call, $async.Future<$3.ExtractSiteQuery> $request) async {
return extract($call, await $request);
}
$async.Future<$9.GetKPIDataResult> getKPIData_Pre($grpc.ServiceCall $call, $async.Future<$9.GetKPIDataQuery> $request) async {
$async.Future<$9.GetKPIDataResult> getKPIData_Pre($grpc.ServiceCall $call, $async.Future<$9.GetKPIDataSiteQuery> $request) async {
return getKPIData($call, await $request);
}
@@ -178,8 +178,8 @@ abstract class AppointmentQueryServiceBase extends $grpc.Service {
$async.Future<$8.AppointmentByIdResult> getByIds($grpc.ServiceCall call, $8.AppointmentByIdQuery request);
$async.Future<$8.AppointmentByFilterResult> find($grpc.ServiceCall call, $8.AppointmentByFilterQuery request);
$async.Future<$8.AppointmentByMatchResult> findMatchingFieldValues($grpc.ServiceCall call, $8.AppointmentByMatchQuery request);
$async.Future<$3.ElementByMatchResult> findMatchingFieldElements($grpc.ServiceCall call, $3.ElementByMatchQuery request);
$async.Future<$3.ExtractResult> extract($grpc.ServiceCall call, $3.ExtractQuery request);
$async.Future<$9.GetKPIDataResult> getKPIData($grpc.ServiceCall call, $9.GetKPIDataQuery request);
$async.Future<$3.ElementByMatchResult> findMatchingFieldElements($grpc.ServiceCall call, $3.ElementByMatchSiteQuery request);
$async.Future<$3.ExtractResult> extract($grpc.ServiceCall call, $3.ExtractSiteQuery request);
$async.Future<$9.GetKPIDataResult> getKPIData($grpc.ServiceCall call, $9.GetKPIDataSiteQuery request);
$async.Future<$3.CountLinesResult> countLines($grpc.ServiceCall call, $3.CountLinesQuery request);
}

View File

@@ -17,7 +17,7 @@ import 'dart:typed_data' as $typed_data;
const AppointmentByIdQuery$json = {
'1': 'AppointmentByIdQuery',
'2': [
{'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.QueryProjectHeader', '8': {}, '10': 'Header'},
{'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.QuerySiteHeader', '8': {}, '10': 'Header'},
{'1': 'IDs', '3': 2, '4': 3, '5': 11, '6': '.api.EntityID', '8': {}, '10': 'IDs'},
],
'7': {},
@@ -25,9 +25,9 @@ const AppointmentByIdQuery$json = {
/// Descriptor for `AppointmentByIdQuery`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List appointmentByIdQueryDescriptor = $convert.base64Decode(
'ChRBcHBvaW50bWVudEJ5SWRRdWVyeRI5CgZIZWFkZXIYASABKAsyFy5hcGkuUXVlcnlQcm9qZW'
'N0SGVhZGVyQgj6QgWKAQIQAVIGSGVhZGVyEikKA0lEcxgCIAMoCzINLmFwaS5FbnRpdHlJREII'
'+kIFkgECCAFSA0lEczodkkERCg/SAQZIZWFkZXLSAQNJRHOiuxgFUXVlcnk=');
'ChRBcHBvaW50bWVudEJ5SWRRdWVyeRI2CgZIZWFkZXIYASABKAsyFC5hcGkuUXVlcnlTaXRlSG'
'VhZGVyQgj6QgWKAQIQAVIGSGVhZGVyEikKA0lEcxgCIAMoCzINLmFwaS5FbnRpdHlJREII+kIF'
'kgECCAFSA0lEczodkkERCg/SAQZIZWFkZXLSAQNJRHOiuxgFUXVlcnk=');
@$core.Deprecated('Use appointmentByIdResultDescriptor instead')
const AppointmentByIdResult$json = {
@@ -49,7 +49,7 @@ final $typed_data.Uint8List appointmentByIdResultDescriptor = $convert.base64Dec
const AppointmentByFilterQuery$json = {
'1': 'AppointmentByFilterQuery',
'2': [
{'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.QueryProjectHeader', '8': {}, '10': 'Header'},
{'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.QuerySiteHeader', '8': {}, '10': 'Header'},
{'1': 'limitFilter', '3': 4, '4': 1, '5': 9, '8': {}, '10': 'limitFilter'},
{'1': 'queryContext', '3': 5, '4': 1, '5': 9, '10': 'queryContext'},
{'1': 'BlockFilters', '3': 6, '4': 3, '5': 11, '6': '.api.BlockFilter', '10': 'BlockFilters'},
@@ -59,11 +59,11 @@ const AppointmentByFilterQuery$json = {
/// Descriptor for `AppointmentByFilterQuery`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List appointmentByFilterQueryDescriptor = $convert.base64Decode(
'ChhBcHBvaW50bWVudEJ5RmlsdGVyUXVlcnkSPAoGSGVhZGVyGAEgASgLMhcuYXBpLlF1ZXJ5UH'
'JvamVjdEhlYWRlckILkkEA+kIFigECEAFSBkhlYWRlchJGCgtsaW1pdEZpbHRlchgEIAEoCUIk'
'kkEhMhhOdW1iZXIgb2YgbWF4aW11bSByZXN1bHRKBSI1MDAiUgtsaW1pdEZpbHRlchIiCgxxdW'
'VyeUNvbnRleHQYBSABKAlSDHF1ZXJ5Q29udGV4dBI0CgxCbG9ja0ZpbHRlcnMYBiADKAsyEC5h'
'cGkuQmxvY2tGaWx0ZXJSDEJsb2NrRmlsdGVyczoOkkELCgnSAQZIZWFkZXI=');
'ChhBcHBvaW50bWVudEJ5RmlsdGVyUXVlcnkSOQoGSGVhZGVyGAEgASgLMhQuYXBpLlF1ZXJ5U2'
'l0ZUhlYWRlckILkkEA+kIFigECEAFSBkhlYWRlchJGCgtsaW1pdEZpbHRlchgEIAEoCUIkkkEh'
'MhhOdW1iZXIgb2YgbWF4aW11bSByZXN1bHRKBSI1MDAiUgtsaW1pdEZpbHRlchIiCgxxdWVyeU'
'NvbnRleHQYBSABKAlSDHF1ZXJ5Q29udGV4dBI0CgxCbG9ja0ZpbHRlcnMYBiADKAsyEC5hcGku'
'QmxvY2tGaWx0ZXJSDEJsb2NrRmlsdGVyczoOkkELCgnSAQZIZWFkZXI=');
@$core.Deprecated('Use appointmentByFilterResultDescriptor instead')
const AppointmentByFilterResult$json = {
@@ -85,7 +85,7 @@ final $typed_data.Uint8List appointmentByFilterResultDescriptor = $convert.base6
const AppointmentByMatchQuery$json = {
'1': 'AppointmentByMatchQuery',
'2': [
{'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.QueryProjectHeader', '8': {}, '10': 'Header'},
{'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.QuerySiteHeader', '8': {}, '10': 'Header'},
{'1': 'BlockFilters', '3': 5, '4': 3, '5': 11, '6': '.api.BlockFilter', '10': 'BlockFilters'},
{'1': 'MatchFields', '3': 6, '4': 3, '5': 11, '6': '.api.MatchField', '8': {}, '10': 'MatchFields'},
],
@@ -94,11 +94,11 @@ const AppointmentByMatchQuery$json = {
/// Descriptor for `AppointmentByMatchQuery`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List appointmentByMatchQueryDescriptor = $convert.base64Decode(
'ChdBcHBvaW50bWVudEJ5TWF0Y2hRdWVyeRI5CgZIZWFkZXIYASABKAsyFy5hcGkuUXVlcnlQcm'
'9qZWN0SGVhZGVyQgj6QgWKAQIQAVIGSGVhZGVyEjQKDEJsb2NrRmlsdGVycxgFIAMoCzIQLmFw'
'aS5CbG9ja0ZpbHRlclIMQmxvY2tGaWx0ZXJzEmkKC01hdGNoRmllbGRzGAYgAygLMg8uYXBpLk'
'1hdGNoRmllbGRCNpJBMzIxTWF0Y2hGaWVsZCBsaXN0IHN0cnVjdHVyZSwgZm9yIEZpbmRNYXRj'
'aGluZyBxdWVyeVILTWF0Y2hGaWVsZHM6DpJBCwoJ0gEGSGVhZGVy');
'ChdBcHBvaW50bWVudEJ5TWF0Y2hRdWVyeRI2CgZIZWFkZXIYASABKAsyFC5hcGkuUXVlcnlTaX'
'RlSGVhZGVyQgj6QgWKAQIQAVIGSGVhZGVyEjQKDEJsb2NrRmlsdGVycxgFIAMoCzIQLmFwaS5C'
'bG9ja0ZpbHRlclIMQmxvY2tGaWx0ZXJzEmkKC01hdGNoRmllbGRzGAYgAygLMg8uYXBpLk1hdG'
'NoRmllbGRCNpJBMzIxTWF0Y2hGaWVsZCBsaXN0IHN0cnVjdHVyZSwgZm9yIEZpbmRNYXRjaGlu'
'ZyBxdWVyeVILTWF0Y2hGaWVsZHM6DpJBCwoJ0gEGSGVhZGVy');
@$core.Deprecated('Use appointmentByMatchResultDescriptor instead')
const AppointmentByMatchResult$json = {

View File

@@ -704,6 +704,168 @@ class GetKPIDataQuery extends $pb.GeneratedMessage {
void clearKpiGroupName() => $_clearField(10);
}
class GetKPIDataSiteQuery extends $pb.GeneratedMessage {
factory GetKPIDataSiteQuery({
$3.QuerySiteHeader? header,
CHChartType? chartType,
CHQueryType? queryType,
$core.String? queryBlock,
$core.Iterable<CHDimension>? dimensions,
$core.Iterable<CHMetric>? metrics,
CHFilter? filter,
$core.String? targetTimeZone,
KpiDataResultFormat? resultFormat,
$core.String? kpiGroupName,
}) {
final $result = create();
if (header != null) {
$result.header = header;
}
if (chartType != null) {
$result.chartType = chartType;
}
if (queryType != null) {
$result.queryType = queryType;
}
if (queryBlock != null) {
$result.queryBlock = queryBlock;
}
if (dimensions != null) {
$result.dimensions.addAll(dimensions);
}
if (metrics != null) {
$result.metrics.addAll(metrics);
}
if (filter != null) {
$result.filter = filter;
}
if (targetTimeZone != null) {
$result.targetTimeZone = targetTimeZone;
}
if (resultFormat != null) {
$result.resultFormat = resultFormat;
}
if (kpiGroupName != null) {
$result.kpiGroupName = kpiGroupName;
}
return $result;
}
GetKPIDataSiteQuery._() : super();
factory GetKPIDataSiteQuery.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
factory GetKPIDataSiteQuery.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetKPIDataSiteQuery', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
..aOM<$3.QuerySiteHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.QuerySiteHeader.create)
..e<CHChartType>(2, _omitFieldNames ? '' : 'ChartType', $pb.PbFieldType.OE, protoName: 'ChartType', defaultOrMaker: CHChartType.CH_CHART_TYPE_UNKNOWN, valueOf: CHChartType.valueOf, enumValues: CHChartType.values)
..e<CHQueryType>(3, _omitFieldNames ? '' : 'QueryType', $pb.PbFieldType.OE, protoName: 'QueryType', defaultOrMaker: CHQueryType.CH_QUERY_TYPE_UNKNOWN, valueOf: CHQueryType.valueOf, enumValues: CHQueryType.values)
..aOS(4, _omitFieldNames ? '' : 'QueryBlock', protoName: 'QueryBlock')
..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)
..aOM<CHFilter>(7, _omitFieldNames ? '' : 'Filter', protoName: 'Filter', subBuilder: CHFilter.create)
..aOS(8, _omitFieldNames ? '' : 'TargetTimeZone', protoName: 'TargetTimeZone')
..e<KpiDataResultFormat>(9, _omitFieldNames ? '' : 'ResultFormat', $pb.PbFieldType.OE, protoName: 'ResultFormat', defaultOrMaker: KpiDataResultFormat.KPIDATA_RESULT_FORMAT_RAW, valueOf: KpiDataResultFormat.valueOf, enumValues: KpiDataResultFormat.values)
..aOS(10, _omitFieldNames ? '' : 'KpiGroupName', protoName: 'KpiGroupName')
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
GetKPIDataSiteQuery clone() => GetKPIDataSiteQuery()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
GetKPIDataSiteQuery copyWith(void Function(GetKPIDataSiteQuery) updates) => super.copyWith((message) => updates(message as GetKPIDataSiteQuery)) as GetKPIDataSiteQuery;
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static GetKPIDataSiteQuery create() => GetKPIDataSiteQuery._();
GetKPIDataSiteQuery createEmptyInstance() => create();
static $pb.PbList<GetKPIDataSiteQuery> createRepeated() => $pb.PbList<GetKPIDataSiteQuery>();
@$core.pragma('dart2js:noInline')
static GetKPIDataSiteQuery getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<GetKPIDataSiteQuery>(create);
static GetKPIDataSiteQuery? _defaultInstance;
@$pb.TagNumber(1)
$3.QuerySiteHeader get header => $_getN(0);
@$pb.TagNumber(1)
set header($3.QuerySiteHeader v) { $_setField(1, v); }
@$pb.TagNumber(1)
$core.bool hasHeader() => $_has(0);
@$pb.TagNumber(1)
void clearHeader() => $_clearField(1);
@$pb.TagNumber(1)
$3.QuerySiteHeader ensureHeader() => $_ensure(0);
@$pb.TagNumber(2)
CHChartType get chartType => $_getN(1);
@$pb.TagNumber(2)
set chartType(CHChartType v) { $_setField(2, v); }
@$pb.TagNumber(2)
$core.bool hasChartType() => $_has(1);
@$pb.TagNumber(2)
void clearChartType() => $_clearField(2);
@$pb.TagNumber(3)
CHQueryType get queryType => $_getN(2);
@$pb.TagNumber(3)
set queryType(CHQueryType v) { $_setField(3, v); }
@$pb.TagNumber(3)
$core.bool hasQueryType() => $_has(2);
@$pb.TagNumber(3)
void clearQueryType() => $_clearField(3);
@$pb.TagNumber(4)
$core.String get queryBlock => $_getSZ(3);
@$pb.TagNumber(4)
set queryBlock($core.String v) { $_setString(3, v); }
@$pb.TagNumber(4)
$core.bool hasQueryBlock() => $_has(3);
@$pb.TagNumber(4)
void clearQueryBlock() => $_clearField(4);
@$pb.TagNumber(5)
$pb.PbList<CHDimension> get dimensions => $_getList(4);
@$pb.TagNumber(6)
$pb.PbList<CHMetric> get metrics => $_getList(5);
@$pb.TagNumber(7)
CHFilter get filter => $_getN(6);
@$pb.TagNumber(7)
set filter(CHFilter v) { $_setField(7, v); }
@$pb.TagNumber(7)
$core.bool hasFilter() => $_has(6);
@$pb.TagNumber(7)
void clearFilter() => $_clearField(7);
@$pb.TagNumber(7)
CHFilter ensureFilter() => $_ensure(6);
@$pb.TagNumber(8)
$core.String get targetTimeZone => $_getSZ(7);
@$pb.TagNumber(8)
set targetTimeZone($core.String v) { $_setString(7, v); }
@$pb.TagNumber(8)
$core.bool hasTargetTimeZone() => $_has(7);
@$pb.TagNumber(8)
void clearTargetTimeZone() => $_clearField(8);
@$pb.TagNumber(9)
KpiDataResultFormat get resultFormat => $_getN(8);
@$pb.TagNumber(9)
set resultFormat(KpiDataResultFormat v) { $_setField(9, v); }
@$pb.TagNumber(9)
$core.bool hasResultFormat() => $_has(8);
@$pb.TagNumber(9)
void clearResultFormat() => $_clearField(9);
@$pb.TagNumber(10)
$core.String get kpiGroupName => $_getSZ(9);
@$pb.TagNumber(10)
set kpiGroupName($core.String v) { $_setString(9, v); }
@$pb.TagNumber(10)
$core.bool hasKpiGroupName() => $_has(9);
@$pb.TagNumber(10)
void clearKpiGroupName() => $_clearField(10);
}
class GetKPIDataForUserQuery extends $pb.GeneratedMessage {
factory GetKPIDataForUserQuery({
$core.String? projectID,

View File

@@ -218,6 +218,45 @@ final $typed_data.Uint8List getKPIDataQueryDescriptor = $convert.base64Decode(
'CUNoYXJ0VHlwZdIBCVF1ZXJ5VHlwZdIBClF1ZXJ5QmxvY2vSAQdNZXRyaWNz0gEMS3BpR3JvdX'
'BOYW1l');
@$core.Deprecated('Use getKPIDataSiteQueryDescriptor instead')
const GetKPIDataSiteQuery$json = {
'1': 'GetKPIDataSiteQuery',
'2': [
{'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.QuerySiteHeader', '8': {}, '10': 'Header'},
{'1': 'ChartType', '3': 2, '4': 1, '5': 14, '6': '.api.CHChartType', '8': {}, '10': 'ChartType'},
{'1': 'QueryType', '3': 3, '4': 1, '5': 14, '6': '.api.CHQueryType', '8': {}, '10': 'QueryType'},
{'1': 'QueryBlock', '3': 4, '4': 1, '5': 9, '8': {}, '10': 'QueryBlock'},
{'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': 'Filter', '3': 7, '4': 1, '5': 11, '6': '.api.CHFilter', '10': 'Filter'},
{'1': 'TargetTimeZone', '3': 8, '4': 1, '5': 9, '8': {}, '10': 'TargetTimeZone'},
{'1': 'ResultFormat', '3': 9, '4': 1, '5': 14, '6': '.api.KpiDataResultFormat', '8': {}, '10': 'ResultFormat'},
{'1': 'KpiGroupName', '3': 10, '4': 1, '5': 9, '8': {}, '10': 'KpiGroupName'},
],
'7': {},
};
/// Descriptor for `GetKPIDataSiteQuery`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List getKPIDataSiteQueryDescriptor = $convert.base64Decode(
'ChNHZXRLUElEYXRhU2l0ZVF1ZXJ5EjYKBkhlYWRlchgBIAEoCzIULmFwaS5RdWVyeVNpdGVIZW'
'FkZXJCCPpCBYoBAhABUgZIZWFkZXISOAoJQ2hhcnRUeXBlGAIgASgOMhAuYXBpLkNIQ2hhcnRU'
'eXBlQgj6QgWCAQIQAVIJQ2hhcnRUeXBlEjgKCVF1ZXJ5VHlwZRgDIAEoDjIQLmFwaS5DSFF1ZX'
'J5VHlwZUII+kIFggECEAFSCVF1ZXJ5VHlwZRInCgpRdWVyeUJsb2NrGAQgASgJQgf6QgRyAhAB'
'UgpRdWVyeUJsb2NrEjAKCkRpbWVuc2lvbnMYBSADKAsyEC5hcGkuQ0hEaW1lbnNpb25SCkRpbW'
'Vuc2lvbnMSJwoHTWV0cmljcxgGIAMoCzINLmFwaS5DSE1ldHJpY1IHTWV0cmljcxIlCgZGaWx0'
'ZXIYByABKAsyDS5hcGkuQ0hGaWx0ZXJSBkZpbHRlchKwAQoOVGFyZ2V0VGltZVpvbmUYCCABKA'
'lChwGSQXoyaFRhcmdldCB1c2VyIHRpbWUgem9uZSAgPGEgaHJlZj0naHR0cHM6Ly9lbi53aWtp'
'cGVkaWEub3JnL3dpa2kvTGlzdF9vZl90el9kYXRhYmFzZV90aW1lX3pvbmVzJz5mb3JtYXQ8L2'
'E+Sg4iRXVyb3BlL1BhcmlzIvpCB3IFEAHgAQFSDlRhcmdldFRpbWVab25lEnoKDFJlc3VsdEZv'
'cm1hdBgJIAEoDjIYLmFwaS5LcGlEYXRhUmVzdWx0Rm9ybWF0QjySQTkyF1Jlc3VsdCBmb3JtYX'
'Qgc2VsZWN0aW9uSh4iS1BJREFUQV9SRVNVTFRfRk9STUFUX1NFUklFUyJSDFJlc3VsdEZvcm1h'
'dBLJAQoMS3BpR3JvdXBOYW1lGAogASgJQqQBkkFKMjdOYW1lIG9mIHRoZSBhbmFseXNpcyBjcm'
'l0ZXJpb24gdG8gZ2V0IHRoZSBrcGkgZGF0YSBmcm9tSg8iZXhlY3V0aW9uZmxvdyL6QlRyUlIN'
'ZXhlY3V0aW9uZmxvd1IFc3RvY2tSCG1vdmVtZW50UgxoYW5kbGluZ3VuaXRSBWFjdG9yUgRpdG'
'VtUg5zdG9ja19leHRlbmRlZFIFY2xhaW1SDEtwaUdyb3VwTmFtZTpMkkFJCkfSAQZIZWFkZXLS'
'AQlDaGFydFR5cGXSAQlRdWVyeVR5cGXSAQpRdWVyeUJsb2Nr0gEHTWV0cmljc9IBDEtwaUdyb3'
'VwTmFtZQ==');
@$core.Deprecated('Use getKPIDataForUserQueryDescriptor instead')
const GetKPIDataForUserQuery$json = {
'1': 'GetKPIDataForUserQuery',

View File

@@ -1048,6 +1048,97 @@ class QueryProjectHeader extends $pb.GeneratedMessage {
void clearLocalizedLabel() => $_clearField(5);
}
/// Header for all query site messages
class QuerySiteHeader extends $pb.GeneratedMessage {
factory QuerySiteHeader({
$core.String? siteID,
$core.String? pagingState,
$core.String? limit,
$core.bool? localizedLabel,
}) {
final $result = create();
if (siteID != null) {
$result.siteID = siteID;
}
if (pagingState != null) {
$result.pagingState = pagingState;
}
if (limit != null) {
$result.limit = limit;
}
if (localizedLabel != null) {
$result.localizedLabel = localizedLabel;
}
return $result;
}
QuerySiteHeader._() : super();
factory QuerySiteHeader.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
factory QuerySiteHeader.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'QuerySiteHeader', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'SiteID', protoName: 'SiteID')
..aOS(3, _omitFieldNames ? '' : 'PagingState', protoName: 'PagingState')
..aOS(4, _omitFieldNames ? '' : 'Limit', protoName: 'Limit')
..aOB(5, _omitFieldNames ? '' : 'LocalizedLabel', protoName: 'LocalizedLabel')
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
QuerySiteHeader clone() => QuerySiteHeader()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
QuerySiteHeader copyWith(void Function(QuerySiteHeader) updates) => super.copyWith((message) => updates(message as QuerySiteHeader)) as QuerySiteHeader;
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static QuerySiteHeader create() => QuerySiteHeader._();
QuerySiteHeader createEmptyInstance() => create();
static $pb.PbList<QuerySiteHeader> createRepeated() => $pb.PbList<QuerySiteHeader>();
@$core.pragma('dart2js:noInline')
static QuerySiteHeader getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<QuerySiteHeader>(create);
static QuerySiteHeader? _defaultInstance;
/// Identifier of the site
@$pb.TagNumber(1)
$core.String get siteID => $_getSZ(0);
@$pb.TagNumber(1)
set siteID($core.String v) { $_setString(0, v); }
@$pb.TagNumber(1)
$core.bool hasSiteID() => $_has(0);
@$pb.TagNumber(1)
void clearSiteID() => $_clearField(1);
/// Number of elements displayed
@$pb.TagNumber(3)
$core.String get pagingState => $_getSZ(1);
@$pb.TagNumber(3)
set pagingState($core.String v) { $_setString(1, v); }
@$pb.TagNumber(3)
$core.bool hasPagingState() => $_has(1);
@$pb.TagNumber(3)
void clearPagingState() => $_clearField(3);
/// Number of additional elements to display
@$pb.TagNumber(4)
$core.String get limit => $_getSZ(2);
@$pb.TagNumber(4)
set limit($core.String v) { $_setString(2, v); }
@$pb.TagNumber(4)
$core.bool hasLimit() => $_has(2);
@$pb.TagNumber(4)
void clearLimit() => $_clearField(4);
/// Return the message in the user's language
@$pb.TagNumber(5)
$core.bool get localizedLabel => $_getBF(3);
@$pb.TagNumber(5)
set localizedLabel($core.bool v) { $_setBool(3, v); }
@$pb.TagNumber(5)
$core.bool hasLocalizedLabel() => $_has(3);
@$pb.TagNumber(5)
void clearLocalizedLabel() => $_clearField(5);
}
class ResultHeader extends $pb.GeneratedMessage {
factory ResultHeader({
$core.String? pagingState,
@@ -5294,6 +5385,190 @@ class ExtractQuery extends $pb.GeneratedMessage {
void clearTimeFormat() => $_clearField(13);
}
class ExtractSiteQuery extends $pb.GeneratedMessage {
factory ExtractSiteQuery({
QuerySiteHeader? header,
$core.String? userId,
$core.Iterable<BlockFilter>? blockFilters,
$core.Iterable<$core.String>? fields,
$core.String? listSeparator,
$core.String? decimalSeparator,
$core.Iterable<$core.String>? columnNames,
$core.Iterable<$core.MapEntry<$core.String, TranslationMap>>? columnTranslationMaps,
$core.Iterable<$core.MapEntry<$core.int, ExtractColumnFormat>>? columnFormats,
$core.String? targetTimeZone,
$core.String? dateFormat,
$core.String? numberFormat,
TimeFormat? timeFormat,
}) {
final $result = create();
if (header != null) {
$result.header = header;
}
if (userId != null) {
$result.userId = userId;
}
if (blockFilters != null) {
$result.blockFilters.addAll(blockFilters);
}
if (fields != null) {
$result.fields.addAll(fields);
}
if (listSeparator != null) {
$result.listSeparator = listSeparator;
}
if (decimalSeparator != null) {
$result.decimalSeparator = decimalSeparator;
}
if (columnNames != null) {
$result.columnNames.addAll(columnNames);
}
if (columnTranslationMaps != null) {
$result.columnTranslationMaps.addEntries(columnTranslationMaps);
}
if (columnFormats != null) {
$result.columnFormats.addEntries(columnFormats);
}
if (targetTimeZone != null) {
$result.targetTimeZone = targetTimeZone;
}
if (dateFormat != null) {
$result.dateFormat = dateFormat;
}
if (numberFormat != null) {
$result.numberFormat = numberFormat;
}
if (timeFormat != null) {
$result.timeFormat = timeFormat;
}
return $result;
}
ExtractSiteQuery._() : super();
factory ExtractSiteQuery.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
factory ExtractSiteQuery.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ExtractSiteQuery', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
..aOM<QuerySiteHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: QuerySiteHeader.create)
..aOS(2, _omitFieldNames ? '' : 'UserId', protoName: 'UserId')
..pc<BlockFilter>(3, _omitFieldNames ? '' : 'BlockFilters', $pb.PbFieldType.PM, protoName: 'BlockFilters', subBuilder: BlockFilter.create)
..pPS(4, _omitFieldNames ? '' : 'Fields', protoName: 'Fields')
..aOS(5, _omitFieldNames ? '' : 'ListSeparator', protoName: 'ListSeparator')
..aOS(6, _omitFieldNames ? '' : 'DecimalSeparator', protoName: 'DecimalSeparator')
..pPS(7, _omitFieldNames ? '' : 'ColumnNames', protoName: 'ColumnNames')
..m<$core.String, TranslationMap>(8, _omitFieldNames ? '' : 'ColumnTranslationMaps', protoName: 'ColumnTranslationMaps', entryClassName: 'ExtractSiteQuery.ColumnTranslationMapsEntry', keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.OM, valueCreator: TranslationMap.create, valueDefaultOrMaker: TranslationMap.getDefault, packageName: const $pb.PackageName('api'))
..m<$core.int, ExtractColumnFormat>(9, _omitFieldNames ? '' : 'ColumnFormats', protoName: 'ColumnFormats', entryClassName: 'ExtractSiteQuery.ColumnFormatsEntry', keyFieldType: $pb.PbFieldType.O3, valueFieldType: $pb.PbFieldType.OM, valueCreator: ExtractColumnFormat.create, valueDefaultOrMaker: ExtractColumnFormat.getDefault, packageName: const $pb.PackageName('api'))
..aOS(10, _omitFieldNames ? '' : 'TargetTimeZone', protoName: 'TargetTimeZone')
..aOS(11, _omitFieldNames ? '' : 'DateFormat', protoName: 'DateFormat')
..aOS(12, _omitFieldNames ? '' : 'NumberFormat', protoName: 'NumberFormat')
..e<TimeFormat>(13, _omitFieldNames ? '' : 'TimeFormat', $pb.PbFieldType.OE, protoName: 'TimeFormat', defaultOrMaker: TimeFormat.H12, valueOf: TimeFormat.valueOf, enumValues: TimeFormat.values)
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
ExtractSiteQuery clone() => ExtractSiteQuery()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
ExtractSiteQuery copyWith(void Function(ExtractSiteQuery) updates) => super.copyWith((message) => updates(message as ExtractSiteQuery)) as ExtractSiteQuery;
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static ExtractSiteQuery create() => ExtractSiteQuery._();
ExtractSiteQuery createEmptyInstance() => create();
static $pb.PbList<ExtractSiteQuery> createRepeated() => $pb.PbList<ExtractSiteQuery>();
@$core.pragma('dart2js:noInline')
static ExtractSiteQuery getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ExtractSiteQuery>(create);
static ExtractSiteQuery? _defaultInstance;
@$pb.TagNumber(1)
QuerySiteHeader get header => $_getN(0);
@$pb.TagNumber(1)
set header(QuerySiteHeader v) { $_setField(1, v); }
@$pb.TagNumber(1)
$core.bool hasHeader() => $_has(0);
@$pb.TagNumber(1)
void clearHeader() => $_clearField(1);
@$pb.TagNumber(1)
QuerySiteHeader ensureHeader() => $_ensure(0);
@$pb.TagNumber(2)
$core.String get userId => $_getSZ(1);
@$pb.TagNumber(2)
set userId($core.String v) { $_setString(1, v); }
@$pb.TagNumber(2)
$core.bool hasUserId() => $_has(1);
@$pb.TagNumber(2)
void clearUserId() => $_clearField(2);
@$pb.TagNumber(3)
$pb.PbList<BlockFilter> get blockFilters => $_getList(2);
@$pb.TagNumber(4)
$pb.PbList<$core.String> get fields => $_getList(3);
@$pb.TagNumber(5)
$core.String get listSeparator => $_getSZ(4);
@$pb.TagNumber(5)
set listSeparator($core.String v) { $_setString(4, v); }
@$pb.TagNumber(5)
$core.bool hasListSeparator() => $_has(4);
@$pb.TagNumber(5)
void clearListSeparator() => $_clearField(5);
@$pb.TagNumber(6)
$core.String get decimalSeparator => $_getSZ(5);
@$pb.TagNumber(6)
set decimalSeparator($core.String v) { $_setString(5, v); }
@$pb.TagNumber(6)
$core.bool hasDecimalSeparator() => $_has(5);
@$pb.TagNumber(6)
void clearDecimalSeparator() => $_clearField(6);
@$pb.TagNumber(7)
$pb.PbList<$core.String> get columnNames => $_getList(6);
@$pb.TagNumber(8)
$pb.PbMap<$core.String, TranslationMap> get columnTranslationMaps => $_getMap(7);
@$pb.TagNumber(9)
$pb.PbMap<$core.int, ExtractColumnFormat> get columnFormats => $_getMap(8);
@$pb.TagNumber(10)
$core.String get targetTimeZone => $_getSZ(9);
@$pb.TagNumber(10)
set targetTimeZone($core.String v) { $_setString(9, v); }
@$pb.TagNumber(10)
$core.bool hasTargetTimeZone() => $_has(9);
@$pb.TagNumber(10)
void clearTargetTimeZone() => $_clearField(10);
@$pb.TagNumber(11)
$core.String get dateFormat => $_getSZ(10);
@$pb.TagNumber(11)
set dateFormat($core.String v) { $_setString(10, v); }
@$pb.TagNumber(11)
$core.bool hasDateFormat() => $_has(10);
@$pb.TagNumber(11)
void clearDateFormat() => $_clearField(11);
@$pb.TagNumber(12)
$core.String get numberFormat => $_getSZ(11);
@$pb.TagNumber(12)
set numberFormat($core.String v) { $_setString(11, v); }
@$pb.TagNumber(12)
$core.bool hasNumberFormat() => $_has(11);
@$pb.TagNumber(12)
void clearNumberFormat() => $_clearField(12);
@$pb.TagNumber(13)
TimeFormat get timeFormat => $_getN(12);
@$pb.TagNumber(13)
set timeFormat(TimeFormat v) { $_setField(13, v); }
@$pb.TagNumber(13)
$core.bool hasTimeFormat() => $_has(12);
@$pb.TagNumber(13)
void clearTimeFormat() => $_clearField(13);
}
class ExtractResult extends $pb.GeneratedMessage {
factory ExtractResult({
WorkflowExecutionResult? workflowExecution,
@@ -5842,6 +6117,78 @@ class ElementByMatchQuery extends $pb.GeneratedMessage {
MatchElementField ensureMatchElementField() => $_ensure(2);
}
class ElementByMatchSiteQuery extends $pb.GeneratedMessage {
factory ElementByMatchSiteQuery({
QuerySiteHeader? header,
$core.Iterable<BlockFilter>? blockFilters,
MatchElementField? matchElementField,
}) {
final $result = create();
if (header != null) {
$result.header = header;
}
if (blockFilters != null) {
$result.blockFilters.addAll(blockFilters);
}
if (matchElementField != null) {
$result.matchElementField = matchElementField;
}
return $result;
}
ElementByMatchSiteQuery._() : super();
factory ElementByMatchSiteQuery.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
factory ElementByMatchSiteQuery.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ElementByMatchSiteQuery', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
..aOM<QuerySiteHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: QuerySiteHeader.create)
..pc<BlockFilter>(2, _omitFieldNames ? '' : 'BlockFilters', $pb.PbFieldType.PM, protoName: 'BlockFilters', subBuilder: BlockFilter.create)
..aOM<MatchElementField>(3, _omitFieldNames ? '' : 'MatchElementField', protoName: 'MatchElementField', subBuilder: MatchElementField.create)
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
ElementByMatchSiteQuery clone() => ElementByMatchSiteQuery()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
ElementByMatchSiteQuery copyWith(void Function(ElementByMatchSiteQuery) updates) => super.copyWith((message) => updates(message as ElementByMatchSiteQuery)) as ElementByMatchSiteQuery;
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static ElementByMatchSiteQuery create() => ElementByMatchSiteQuery._();
ElementByMatchSiteQuery createEmptyInstance() => create();
static $pb.PbList<ElementByMatchSiteQuery> createRepeated() => $pb.PbList<ElementByMatchSiteQuery>();
@$core.pragma('dart2js:noInline')
static ElementByMatchSiteQuery getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ElementByMatchSiteQuery>(create);
static ElementByMatchSiteQuery? _defaultInstance;
@$pb.TagNumber(1)
QuerySiteHeader get header => $_getN(0);
@$pb.TagNumber(1)
set header(QuerySiteHeader v) { $_setField(1, v); }
@$pb.TagNumber(1)
$core.bool hasHeader() => $_has(0);
@$pb.TagNumber(1)
void clearHeader() => $_clearField(1);
@$pb.TagNumber(1)
QuerySiteHeader ensureHeader() => $_ensure(0);
/// list of blockFilters structure for Find query, each element (BlockFilter) in the list is an "OR" part of the query
@$pb.TagNumber(2)
$pb.PbList<BlockFilter> get blockFilters => $_getList(1);
/// MatchElementField structure, containing wanted match string, and the fields to get.
@$pb.TagNumber(3)
MatchElementField get matchElementField => $_getN(2);
@$pb.TagNumber(3)
set matchElementField(MatchElementField v) { $_setField(3, v); }
@$pb.TagNumber(3)
$core.bool hasMatchElementField() => $_has(2);
@$pb.TagNumber(3)
void clearMatchElementField() => $_clearField(3);
@$pb.TagNumber(3)
MatchElementField ensureMatchElementField() => $_ensure(2);
}
class ElementByMatchResult extends $pb.GeneratedMessage {
factory ElementByMatchResult({
$core.Iterable<MatchFieldElementResult>? matchResults,

View File

@@ -692,6 +692,28 @@ final $typed_data.Uint8List queryProjectHeaderDescriptor = $convert.base64Decode
'biB0aGUgdXNlcidzIGxhbmd1YWdlUg5Mb2NhbGl6ZWRMYWJlbDoRkkEOCgzSAQlQcm9qZWN0SU'
'Q=');
@$core.Deprecated('Use querySiteHeaderDescriptor instead')
const QuerySiteHeader$json = {
'1': 'QuerySiteHeader',
'2': [
{'1': 'SiteID', '3': 1, '4': 1, '5': 9, '8': {}, '10': 'SiteID'},
{'1': 'PagingState', '3': 3, '4': 1, '5': 9, '8': {}, '10': 'PagingState'},
{'1': 'Limit', '3': 4, '4': 1, '5': 9, '8': {}, '10': 'Limit'},
{'1': 'LocalizedLabel', '3': 5, '4': 1, '5': 8, '8': {}, '10': 'LocalizedLabel'},
],
'7': {},
};
/// Descriptor for `QuerySiteHeader`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List querySiteHeaderDescriptor = $convert.base64Decode(
'Cg9RdWVyeVNpdGVIZWFkZXISPgoGU2l0ZUlEGAEgASgJQiaSQRgyFklkZW50aWZpZXIgb2YgdG'
'hlIHNpdGX6QghyBhABugEBIFIGU2l0ZUlEEnkKC1BhZ2luZ1N0YXRlGAMgASgJQleSQVQyTFN0'
'YXJ0IHBvc2l0aW9uIG9mIHRoZSBxdWVyeSByZXN1bHQgcGFnZS4gUGFnaW5hdGlvbiBkaXNhYm'
'xlZCBpZiBlcXVhbCB0byAtMS5KBCI1MCJSC1BhZ2luZ1N0YXRlEkAKBUxpbWl0GAQgASgJQiqS'
'QScyH0xlbmd0aCBvZiB0aGUgcXVlcnkgcmVzdWx0IHBhZ2VKBCI1MCJSBUxpbWl0ElYKDkxvY2'
'FsaXplZExhYmVsGAUgASgIQi6SQSsyKVJldHVybiB0aGUgbWVzc2FnZSBpbiB0aGUgdXNlcidz'
'IGxhbmd1YWdlUg5Mb2NhbGl6ZWRMYWJlbDoOkkELCgnSAQZTaXRlSUQ=');
@$core.Deprecated('Use resultHeaderDescriptor instead')
const ResultHeader$json = {
'1': 'ResultHeader',
@@ -1726,6 +1748,75 @@ final $typed_data.Uint8List extractQueryDescriptor = $convert.base64Decode(
'kkFNCkvSAQZIZWFkZXLSAQZVc2VySWTSAQZGaWVsZHPSAQ1MaXN0U2VwYXJhdG9y0gEQRGVjaW'
'1hbFNlcGFyYXRvctIBCkNvbHVtbk5hbWU=');
@$core.Deprecated('Use extractSiteQueryDescriptor instead')
const ExtractSiteQuery$json = {
'1': 'ExtractSiteQuery',
'2': [
{'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.QuerySiteHeader', '8': {}, '10': 'Header'},
{'1': 'UserId', '3': 2, '4': 1, '5': 9, '8': {}, '10': 'UserId'},
{'1': 'BlockFilters', '3': 3, '4': 3, '5': 11, '6': '.api.BlockFilter', '10': 'BlockFilters'},
{'1': 'Fields', '3': 4, '4': 3, '5': 9, '10': 'Fields'},
{'1': 'ListSeparator', '3': 5, '4': 1, '5': 9, '8': {}, '10': 'ListSeparator'},
{'1': 'DecimalSeparator', '3': 6, '4': 1, '5': 9, '8': {}, '10': 'DecimalSeparator'},
{'1': 'ColumnNames', '3': 7, '4': 3, '5': 9, '10': 'ColumnNames'},
{'1': 'ColumnTranslationMaps', '3': 8, '4': 3, '5': 11, '6': '.api.ExtractSiteQuery.ColumnTranslationMapsEntry', '10': 'ColumnTranslationMaps'},
{'1': 'ColumnFormats', '3': 9, '4': 3, '5': 11, '6': '.api.ExtractSiteQuery.ColumnFormatsEntry', '10': 'ColumnFormats'},
{'1': 'TargetTimeZone', '3': 10, '4': 1, '5': 9, '8': {}, '10': 'TargetTimeZone'},
{'1': 'DateFormat', '3': 11, '4': 1, '5': 9, '8': {}, '10': 'DateFormat'},
{'1': 'NumberFormat', '3': 12, '4': 1, '5': 9, '8': {}, '10': 'NumberFormat'},
{'1': 'TimeFormat', '3': 13, '4': 1, '5': 14, '6': '.api.TimeFormat', '8': {}, '10': 'TimeFormat'},
],
'3': [ExtractSiteQuery_ColumnTranslationMapsEntry$json, ExtractSiteQuery_ColumnFormatsEntry$json],
'7': {},
};
@$core.Deprecated('Use extractSiteQueryDescriptor instead')
const ExtractSiteQuery_ColumnTranslationMapsEntry$json = {
'1': 'ColumnTranslationMapsEntry',
'2': [
{'1': 'key', '3': 1, '4': 1, '5': 9, '10': 'key'},
{'1': 'value', '3': 2, '4': 1, '5': 11, '6': '.api.TranslationMap', '10': 'value'},
],
'7': {'7': true},
};
@$core.Deprecated('Use extractSiteQueryDescriptor instead')
const ExtractSiteQuery_ColumnFormatsEntry$json = {
'1': 'ColumnFormatsEntry',
'2': [
{'1': 'key', '3': 1, '4': 1, '5': 5, '10': 'key'},
{'1': 'value', '3': 2, '4': 1, '5': 11, '6': '.api.ExtractColumnFormat', '10': 'value'},
],
'7': {'7': true},
};
/// Descriptor for `ExtractSiteQuery`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List extractSiteQueryDescriptor = $convert.base64Decode(
'ChBFeHRyYWN0U2l0ZVF1ZXJ5EjYKBkhlYWRlchgBIAEoCzIULmFwaS5RdWVyeVNpdGVIZWFkZX'
'JCCPpCBYoBAhABUgZIZWFkZXISHwoGVXNlcklkGAIgASgJQgf6QgRyAhABUgZVc2VySWQSNAoM'
'QmxvY2tGaWx0ZXJzGAMgAygLMhAuYXBpLkJsb2NrRmlsdGVyUgxCbG9ja0ZpbHRlcnMSFgoGRm'
'llbGRzGAQgAygJUgZGaWVsZHMSLQoNTGlzdFNlcGFyYXRvchgFIAEoCUIH+kIEcgIQAVINTGlz'
'dFNlcGFyYXRvchIzChBEZWNpbWFsU2VwYXJhdG9yGAYgASgJQgf6QgRyAhABUhBEZWNpbWFsU2'
'VwYXJhdG9yEiAKC0NvbHVtbk5hbWVzGAcgAygJUgtDb2x1bW5OYW1lcxJmChVDb2x1bW5UcmFu'
'c2xhdGlvbk1hcHMYCCADKAsyMC5hcGkuRXh0cmFjdFNpdGVRdWVyeS5Db2x1bW5UcmFuc2xhdG'
'lvbk1hcHNFbnRyeVIVQ29sdW1uVHJhbnNsYXRpb25NYXBzEk4KDUNvbHVtbkZvcm1hdHMYCSAD'
'KAsyKC5hcGkuRXh0cmFjdFNpdGVRdWVyeS5Db2x1bW5Gb3JtYXRzRW50cnlSDUNvbHVtbkZvcm'
'1hdHMSsAEKDlRhcmdldFRpbWVab25lGAogASgJQocBkkF6MmhUYXJnZXQgdXNlciB0aW1lIHpv'
'bmUgIDxhIGhyZWY9J2h0dHBzOi8vZW4ud2lraXBlZGlhLm9yZy93aWtpL0xpc3Rfb2ZfdHpfZG'
'F0YWJhc2VfdGltZV96b25lcyc+Zm9ybWF0PC9hPkoOIkV1cm9wZS9QYXJpcyL6QgdyBRAB4AEB'
'Ug5UYXJnZXRUaW1lWm9uZRKHAQoKRGF0ZUZvcm1hdBgLIAEoCUJnkkFkMllMYW5ndWFnZSBjb2'
'RlIHRvIGZvcm1hdCBkYXRlcyAgPGEgaHJlZj0naHR0cHM6Ly9lbi53aWtpcGVkaWEub3JnL3dp'
'a2kvSVNPXzYzOSc+Zm9ybWF0PC9hPkoHImVuLVVTIlIKRGF0ZUZvcm1hdBKMAQoMTnVtYmVyRm'
'9ybWF0GAwgASgJQmiSQWUyWkxhbmd1YWdlIGNvZGUgdG8gZm9ybWF0IG51bWJlcnMgPGEgaHJl'
'Zj0naHR0cHM6Ly9lbi53aWtpcGVkaWEub3JnL3dpa2kvSVNPXzYzOSc+Zm9ybWF0PC9hPkoHIm'
'VuLVVTIlIMTnVtYmVyRm9ybWF0EkwKClRpbWVGb3JtYXQYDSABKA4yDy5hcGkuVGltZUZvcm1h'
'dEIbkkEYMhZIb3VyIGNsb2NrIHRpbWUgZm9ybWF0UgpUaW1lRm9ybWF0Gl0KGkNvbHVtblRyYW'
'5zbGF0aW9uTWFwc0VudHJ5EhAKA2tleRgBIAEoCVIDa2V5EikKBXZhbHVlGAIgASgLMhMuYXBp'
'LlRyYW5zbGF0aW9uTWFwUgV2YWx1ZToCOAEaWgoSQ29sdW1uRm9ybWF0c0VudHJ5EhAKA2tleR'
'gBIAEoBVIDa2V5Ei4KBXZhbHVlGAIgASgLMhguYXBpLkV4dHJhY3RDb2x1bW5Gb3JtYXRSBXZh'
'bHVlOgI4ATpQkkFNCkvSAQZIZWFkZXLSAQZVc2VySWTSAQZGaWVsZHPSAQ1MaXN0U2VwYXJhdG'
'9y0gEQRGVjaW1hbFNlcGFyYXRvctIBCkNvbHVtbk5hbWU=');
@$core.Deprecated('Use extractResultDescriptor instead')
const ExtractResult$json = {
'1': 'ExtractResult',
@@ -1860,6 +1951,25 @@ final $typed_data.Uint8List elementByMatchQueryDescriptor = $convert.base64Decod
'kuTWF0Y2hFbGVtZW50RmllbGRCCPpCBYoBAhABUhFNYXRjaEVsZW1lbnRGaWVsZDoOkkELCgnS'
'AQZIZWFkZXI=');
@$core.Deprecated('Use elementByMatchSiteQueryDescriptor instead')
const ElementByMatchSiteQuery$json = {
'1': 'ElementByMatchSiteQuery',
'2': [
{'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.QuerySiteHeader', '8': {}, '10': 'Header'},
{'1': 'BlockFilters', '3': 2, '4': 3, '5': 11, '6': '.api.BlockFilter', '10': 'BlockFilters'},
{'1': 'MatchElementField', '3': 3, '4': 1, '5': 11, '6': '.api.MatchElementField', '8': {}, '10': 'MatchElementField'},
],
'7': {},
};
/// Descriptor for `ElementByMatchSiteQuery`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List elementByMatchSiteQueryDescriptor = $convert.base64Decode(
'ChdFbGVtZW50QnlNYXRjaFNpdGVRdWVyeRI2CgZIZWFkZXIYASABKAsyFC5hcGkuUXVlcnlTaX'
'RlSGVhZGVyQgj6QgWKAQIQAVIGSGVhZGVyEjQKDEJsb2NrRmlsdGVycxgCIAMoCzIQLmFwaS5C'
'bG9ja0ZpbHRlclIMQmxvY2tGaWx0ZXJzEk4KEU1hdGNoRWxlbWVudEZpZWxkGAMgASgLMhYuYX'
'BpLk1hdGNoRWxlbWVudEZpZWxkQgj6QgWKAQIQAVIRTWF0Y2hFbGVtZW50RmllbGQ6DpJBCwoJ'
'0gEGSGVhZGVy');
@$core.Deprecated('Use elementByMatchResultDescriptor instead')
const ElementByMatchResult$json = {
'1': 'ElementByMatchResult',