From 7e03578bd625f2747391e59b29ca26b8a3f763d1 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 22 Oct 2024 14:55:03 -0400 Subject: [PATCH] [WORKFLOW] Updating protos from viamrobotics/api, commit: 1013a483823ca4ef3a319d0526721427edd0dab9 (#280) Co-authored-by: viambot --- lib/src/gen/app/data/v1/data.pb.dart | 16 ++++++++++++++++ lib/src/gen/app/data/v1/data.pbjson.dart | 6 ++++-- lib/src/utils.dart | 2 +- 3 files changed, 21 insertions(+), 3 deletions(-) diff --git a/lib/src/gen/app/data/v1/data.pb.dart b/lib/src/gen/app/data/v1/data.pb.dart index 237bcd2fb5..807cff5908 100644 --- a/lib/src/gen/app/data/v1/data.pb.dart +++ b/lib/src/gen/app/data/v1/data.pb.dart @@ -1008,11 +1008,15 @@ class TabularDataBySQLRequest extends $pb.GeneratedMessage { class TabularDataBySQLResponse extends $pb.GeneratedMessage { factory TabularDataBySQLResponse({ $core.Iterable<$43.Struct>? data, + $core.Iterable<$core.List<$core.int>>? rawData, }) { final $result = create(); if (data != null) { $result.data.addAll(data); } + if (rawData != null) { + $result.rawData.addAll(rawData); + } return $result; } TabularDataBySQLResponse._() : super(); @@ -1021,6 +1025,7 @@ class TabularDataBySQLResponse extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TabularDataBySQLResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.data.v1'), createEmptyInstance: create) ..pc<$43.Struct>(1, _omitFieldNames ? '' : 'data', $pb.PbFieldType.PM, subBuilder: $43.Struct.create) + ..p<$core.List<$core.int>>(2, _omitFieldNames ? '' : 'rawData', $pb.PbFieldType.PY) ..hasRequiredFields = false ; @@ -1047,6 +1052,9 @@ class TabularDataBySQLResponse extends $pb.GeneratedMessage { @$pb.TagNumber(1) $core.List<$43.Struct> get data => $_getList(0); + + @$pb.TagNumber(2) + $core.List<$core.List<$core.int>> get rawData => $_getList(1); } /// TabularDataByMQLRequest requests tabular data using an MQL query. @@ -1115,11 +1123,15 @@ class TabularDataByMQLRequest extends $pb.GeneratedMessage { class TabularDataByMQLResponse extends $pb.GeneratedMessage { factory TabularDataByMQLResponse({ $core.Iterable<$43.Struct>? data, + $core.Iterable<$core.List<$core.int>>? rawData, }) { final $result = create(); if (data != null) { $result.data.addAll(data); } + if (rawData != null) { + $result.rawData.addAll(rawData); + } return $result; } TabularDataByMQLResponse._() : super(); @@ -1128,6 +1140,7 @@ class TabularDataByMQLResponse extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TabularDataByMQLResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.data.v1'), createEmptyInstance: create) ..pc<$43.Struct>(1, _omitFieldNames ? '' : 'data', $pb.PbFieldType.PM, subBuilder: $43.Struct.create) + ..p<$core.List<$core.int>>(2, _omitFieldNames ? '' : 'rawData', $pb.PbFieldType.PY) ..hasRequiredFields = false ; @@ -1154,6 +1167,9 @@ class TabularDataByMQLResponse extends $pb.GeneratedMessage { @$pb.TagNumber(1) $core.List<$43.Struct> get data => $_getList(0); + + @$pb.TagNumber(2) + $core.List<$core.List<$core.int>> get rawData => $_getList(1); } /// BinaryData contains data and metadata associated with binary data. diff --git a/lib/src/gen/app/data/v1/data.pbjson.dart b/lib/src/gen/app/data/v1/data.pbjson.dart index 3c84ad41bd..e90186e5d4 100644 --- a/lib/src/gen/app/data/v1/data.pbjson.dart +++ b/lib/src/gen/app/data/v1/data.pbjson.dart @@ -253,13 +253,14 @@ const TabularDataBySQLResponse$json = { '1': 'TabularDataBySQLResponse', '2': [ {'1': 'data', '3': 1, '4': 3, '5': 11, '6': '.google.protobuf.Struct', '10': 'data'}, + {'1': 'raw_data', '3': 2, '4': 3, '5': 12, '10': 'rawData'}, ], }; /// Descriptor for `TabularDataBySQLResponse`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List tabularDataBySQLResponseDescriptor = $convert.base64Decode( 'ChhUYWJ1bGFyRGF0YUJ5U1FMUmVzcG9uc2USKwoEZGF0YRgBIAMoCzIXLmdvb2dsZS5wcm90b2' - 'J1Zi5TdHJ1Y3RSBGRhdGE='); + 'J1Zi5TdHJ1Y3RSBGRhdGESGQoIcmF3X2RhdGEYAiADKAxSB3Jhd0RhdGE='); @$core.Deprecated('Use tabularDataByMQLRequestDescriptor instead') const TabularDataByMQLRequest$json = { @@ -285,13 +286,14 @@ const TabularDataByMQLResponse$json = { '1': 'TabularDataByMQLResponse', '2': [ {'1': 'data', '3': 1, '4': 3, '5': 11, '6': '.google.protobuf.Struct', '10': 'data'}, + {'1': 'raw_data', '3': 2, '4': 3, '5': 12, '10': 'rawData'}, ], }; /// Descriptor for `TabularDataByMQLResponse`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List tabularDataByMQLResponseDescriptor = $convert.base64Decode( 'ChhUYWJ1bGFyRGF0YUJ5TVFMUmVzcG9uc2USKwoEZGF0YRgBIAMoCzIXLmdvb2dsZS5wcm90b2' - 'J1Zi5TdHJ1Y3RSBGRhdGE='); + 'J1Zi5TdHJ1Y3RSBGRhdGESGQoIcmF3X2RhdGEYAiADKAxSB3Jhd0RhdGE='); @$core.Deprecated('Use binaryDataDescriptor instead') const BinaryData$json = { diff --git a/lib/src/utils.dart b/lib/src/utils.dart index de8ba9f040..8a05f2d807 100644 --- a/lib/src/utils.dart +++ b/lib/src/utils.dart @@ -94,6 +94,6 @@ grpc_duration.Duration durationToProto(Duration duration) { String getVersionMetadata() { const String sdkVersion = 'v0.0.23'; - const String apiTag = 'v0.1.348'; + const String apiTag = 'v0.1.349'; return 'flutter;$sdkVersion;$apiTag'; }