From 5a8e7c7690d803a1d676a7e4a30ef9807cd17294 Mon Sep 17 00:00:00 2001 From: Daniel Ponte Date: Wed, 14 Aug 2024 08:29:53 -0400 Subject: [PATCH] protoc --- lib/pb/stillbox.pb.dart | 24 +++++++++++++++++++----- lib/pb/stillbox.pbjson.dart | 10 +++++++--- 2 files changed, 26 insertions(+), 8 deletions(-) diff --git a/lib/pb/stillbox.pb.dart b/lib/pb/stillbox.pb.dart index fb3bc72..ffea5ba 100644 --- a/lib/pb/stillbox.pb.dart +++ b/lib/pb/stillbox.pb.dart @@ -150,6 +150,7 @@ class Call extends $pb.GeneratedMessage { $core.Iterable<$fixnum.Int64>? frequencies, $core.Iterable<$core.int>? patches, $core.Iterable<$core.int>? sources, + $core.int? duration, $core.List<$core.int>? audio, }) { final $result = create(); @@ -183,6 +184,9 @@ class Call extends $pb.GeneratedMessage { if (sources != null) { $result.sources.addAll(sources); } + if (duration != null) { + $result.duration = duration; + } if (audio != null) { $result.audio = audio; } @@ -203,7 +207,8 @@ class Call extends $pb.GeneratedMessage { ..p<$fixnum.Int64>(8, _omitFieldNames ? '' : 'frequencies', $pb.PbFieldType.K6) ..p<$core.int>(9, _omitFieldNames ? '' : 'patches', $pb.PbFieldType.K3) ..p<$core.int>(10, _omitFieldNames ? '' : 'sources', $pb.PbFieldType.K3) - ..a<$core.List<$core.int>>(11, _omitFieldNames ? '' : 'audio', $pb.PbFieldType.OY) + ..a<$core.int>(11, _omitFieldNames ? '' : 'duration', $pb.PbFieldType.O3) + ..a<$core.List<$core.int>>(12, _omitFieldNames ? '' : 'audio', $pb.PbFieldType.OY) ..hasRequiredFields = false ; @@ -303,13 +308,22 @@ class Call extends $pb.GeneratedMessage { $core.List<$core.int> get sources => $_getList(9); @$pb.TagNumber(11) - $core.List<$core.int> get audio => $_getN(10); + $core.int get duration => $_getIZ(10); @$pb.TagNumber(11) - set audio($core.List<$core.int> v) { $_setBytes(10, v); } + set duration($core.int v) { $_setSignedInt32(10, v); } @$pb.TagNumber(11) - $core.bool hasAudio() => $_has(10); + $core.bool hasDuration() => $_has(10); @$pb.TagNumber(11) - void clearAudio() => clearField(11); + void clearDuration() => clearField(11); + + @$pb.TagNumber(12) + $core.List<$core.int> get audio => $_getN(11); + @$pb.TagNumber(12) + set audio($core.List<$core.int> v) { $_setBytes(11, v); } + @$pb.TagNumber(12) + $core.bool hasAudio() => $_has(11); + @$pb.TagNumber(12) + void clearAudio() => clearField(12); } class UserPopup extends $pb.GeneratedMessage { diff --git a/lib/pb/stillbox.pbjson.dart b/lib/pb/stillbox.pbjson.dart index f5cf222..adcd6bd 100644 --- a/lib/pb/stillbox.pbjson.dart +++ b/lib/pb/stillbox.pbjson.dart @@ -63,7 +63,11 @@ const Call$json = { {'1': 'frequencies', '3': 8, '4': 3, '5': 3, '10': 'frequencies'}, {'1': 'patches', '3': 9, '4': 3, '5': 5, '10': 'patches'}, {'1': 'sources', '3': 10, '4': 3, '5': 5, '10': 'sources'}, - {'1': 'audio', '3': 11, '4': 1, '5': 12, '10': 'audio'}, + {'1': 'duration', '3': 11, '4': 1, '5': 5, '9': 0, '10': 'duration', '17': true}, + {'1': 'audio', '3': 12, '4': 1, '5': 12, '10': 'audio'}, + ], + '8': [ + {'1': '_duration'}, ], }; @@ -74,8 +78,8 @@ final $typed_data.Uint8List callDescriptor = $convert.base64Decode( 'cFIIZGF0ZVRpbWUSFgoGc3lzdGVtGAQgASgFUgZzeXN0ZW0SHAoJdGFsa2dyb3VwGAUgASgFUg' 'l0YWxrZ3JvdXASFgoGc291cmNlGAYgASgFUgZzb3VyY2USHAoJZnJlcXVlbmN5GAcgASgDUglm' 'cmVxdWVuY3kSIAoLZnJlcXVlbmNpZXMYCCADKANSC2ZyZXF1ZW5jaWVzEhgKB3BhdGNoZXMYCS' - 'ADKAVSB3BhdGNoZXMSGAoHc291cmNlcxgKIAMoBVIHc291cmNlcxIUCgVhdWRpbxgLIAEoDFIF' - 'YXVkaW8='); + 'ADKAVSB3BhdGNoZXMSGAoHc291cmNlcxgKIAMoBVIHc291cmNlcxIfCghkdXJhdGlvbhgLIAEo' + 'BUgAUghkdXJhdGlvbogBARIUCgVhdWRpbxgMIAEoDFIFYXVkaW9CCwoJX2R1cmF0aW9u'); @$core.Deprecated('Use userPopupDescriptor instead') const UserPopup$json = {