diff --git a/lib/src/gen/app/data/v1/data.pb.dart b/lib/src/gen/app/data/v1/data.pb.dart index 03d1fa27dd..fdf3603b23 100644 --- a/lib/src/gen/app/data/v1/data.pb.dart +++ b/lib/src/gen/app/data/v1/data.pb.dart @@ -1054,6 +1054,7 @@ class TabularDataByMQLRequest extends $pb.GeneratedMessage { factory TabularDataByMQLRequest({ $core.String? organizationId, $core.String? mqlQuery, + $core.Iterable<$core.List<$core.int>>? mqlBinary, }) { final $result = create(); if (organizationId != null) { @@ -1062,6 +1063,9 @@ class TabularDataByMQLRequest extends $pb.GeneratedMessage { if (mqlQuery != null) { $result.mqlQuery = mqlQuery; } + if (mqlBinary != null) { + $result.mqlBinary.addAll(mqlBinary); + } return $result; } TabularDataByMQLRequest._() : super(); @@ -1071,6 +1075,7 @@ class TabularDataByMQLRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TabularDataByMQLRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.data.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'organizationId') ..aOS(2, _omitFieldNames ? '' : 'mqlQuery') + ..p<$core.List<$core.int>>(3, _omitFieldNames ? '' : 'mqlBinary', $pb.PbFieldType.PY) ..hasRequiredFields = false ; @@ -1104,8 +1109,7 @@ class TabularDataByMQLRequest extends $pb.GeneratedMessage { @$pb.TagNumber(1) void clearOrganizationId() => clearField(1); - /// mql_query accepts a MongoDB aggregation pipeline, to be run on the "sensorData.readings" - /// namespace, which holds the Viam organization's tabular data. + /// mql_query is deprecated. @$pb.TagNumber(2) $core.String get mqlQuery => $_getSZ(1); @$pb.TagNumber(2) @@ -1114,6 +1118,12 @@ class TabularDataByMQLRequest extends $pb.GeneratedMessage { $core.bool hasMqlQuery() => $_has(1); @$pb.TagNumber(2) void clearMqlQuery() => clearField(2); + + /// mql_binary accepts a MongoDB aggregation pipeline as a list of BSON documents, where each + /// document is one stage in the pipeline. The pipeline is run on the "sensorData.readings" + /// namespace, which holds the Viam organization's tabular data. + @$pb.TagNumber(3) + $core.List<$core.List<$core.int>> get mqlBinary => $_getList(2); } /// TabularDataByMQLResponse provides unified tabular data and metadata, queried with MQL. diff --git a/lib/src/gen/app/data/v1/data.pbjson.dart b/lib/src/gen/app/data/v1/data.pbjson.dart index ed85b92235..d2e3e18a7d 100644 --- a/lib/src/gen/app/data/v1/data.pbjson.dart +++ b/lib/src/gen/app/data/v1/data.pbjson.dart @@ -267,13 +267,15 @@ const TabularDataByMQLRequest$json = { '2': [ {'1': 'organization_id', '3': 1, '4': 1, '5': 9, '10': 'organizationId'}, {'1': 'mql_query', '3': 2, '4': 1, '5': 9, '10': 'mqlQuery'}, + {'1': 'mql_binary', '3': 3, '4': 3, '5': 12, '10': 'mqlBinary'}, ], }; /// Descriptor for `TabularDataByMQLRequest`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List tabularDataByMQLRequestDescriptor = $convert.base64Decode( 'ChdUYWJ1bGFyRGF0YUJ5TVFMUmVxdWVzdBInCg9vcmdhbml6YXRpb25faWQYASABKAlSDm9yZ2' - 'FuaXphdGlvbklkEhsKCW1xbF9xdWVyeRgCIAEoCVIIbXFsUXVlcnk='); + 'FuaXphdGlvbklkEhsKCW1xbF9xdWVyeRgCIAEoCVIIbXFsUXVlcnkSHQoKbXFsX2JpbmFyeRgD' + 'IAMoDFIJbXFsQmluYXJ5'); @$core.Deprecated('Use tabularDataByMQLResponseDescriptor instead') const TabularDataByMQLResponse$json = {