Skip to content

Commit

Permalink
[WORKFLOW] Updating protos from viamrobotics/api, commit: 45a17ef014b…
Browse files Browse the repository at this point in the history
…1cf188ab40877adaa1cb2e6e2272f (viamrobotics#150)

Co-authored-by: viambot <viambot@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and viambot authored Nov 28, 2023
1 parent 4c03d62 commit 811ad9f
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
14 changes: 12 additions & 2 deletions lib/src/gen/app/data/v1/data.pb.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -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();
Expand All @@ -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
;

Expand Down Expand Up @@ -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)
Expand All @@ -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.
Expand Down
4 changes: 3 additions & 1 deletion lib/src/gen/app/data/v1/data.pbjson.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 811ad9f

Please sign in to comment.