Skip to content

Commit

Permalink
[WORKFLOW] Updating protos from viamrobotics/api, commit: 1013a483823…
Browse files Browse the repository at this point in the history
…ca4ef3a319d0526721427edd0dab9 (#280)

Co-authored-by: viambot <[email protected]>
  • Loading branch information
github-actions[bot] and viambot authored Oct 22, 2024
1 parent b0464d8 commit 7e03578
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 3 deletions.
16 changes: 16 additions & 0 deletions lib/src/gen/app/data/v1/data.pb.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand All @@ -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
;

Expand All @@ -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.
Expand Down Expand Up @@ -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();
Expand All @@ -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
;

Expand All @@ -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.
Expand Down
6 changes: 4 additions & 2 deletions lib/src/gen/app/data/v1/data.pbjson.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand All @@ -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 = {
Expand Down
2 changes: 1 addition & 1 deletion lib/src/utils.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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';
}

0 comments on commit 7e03578

Please sign in to comment.