Skip to content

Automated Protos Update #150

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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