@@ -52,7 +52,7 @@ goog.exportSymbol('proto.cc.arduino.cli.commands.v1.UserField', null, global);
52
52
* @constructor
53
53
*/
54
54
proto . cc . arduino . cli . commands . v1 . UploadRequest = function ( opt_data ) {
55
- jspb . Message . initialize ( this , opt_data , 0 , - 1 , null , null ) ;
55
+ jspb . Message . initialize ( this , opt_data , 0 , - 1 , proto . cc . arduino . cli . commands . v1 . UploadRequest . repeatedFields_ , null ) ;
56
56
} ;
57
57
goog . inherits ( proto . cc . arduino . cli . commands . v1 . UploadRequest , jspb . Message ) ;
58
58
if ( goog . DEBUG && ! COMPILED ) {
@@ -136,7 +136,7 @@ if (goog.DEBUG && !COMPILED) {
136
136
* @constructor
137
137
*/
138
138
proto . cc . arduino . cli . commands . v1 . UploadUsingProgrammerRequest = function ( opt_data ) {
139
- jspb . Message . initialize ( this , opt_data , 0 , - 1 , null , null ) ;
139
+ jspb . Message . initialize ( this , opt_data , 0 , - 1 , proto . cc . arduino . cli . commands . v1 . UploadUsingProgrammerRequest . repeatedFields_ , null ) ;
140
140
} ;
141
141
goog . inherits ( proto . cc . arduino . cli . commands . v1 . UploadUsingProgrammerRequest , jspb . Message ) ;
142
142
if ( goog . DEBUG && ! COMPILED ) {
@@ -178,7 +178,7 @@ if (goog.DEBUG && !COMPILED) {
178
178
* @constructor
179
179
*/
180
180
proto . cc . arduino . cli . commands . v1 . BurnBootloaderRequest = function ( opt_data ) {
181
- jspb . Message . initialize ( this , opt_data , 0 , - 1 , null , null ) ;
181
+ jspb . Message . initialize ( this , opt_data , 0 , - 1 , proto . cc . arduino . cli . commands . v1 . BurnBootloaderRequest . repeatedFields_ , null ) ;
182
182
} ;
183
183
goog . inherits ( proto . cc . arduino . cli . commands . v1 . BurnBootloaderRequest , jspb . Message ) ;
184
184
if ( goog . DEBUG && ! COMPILED ) {
@@ -315,6 +315,13 @@ if (goog.DEBUG && !COMPILED) {
315
315
proto . cc . arduino . cli . commands . v1 . SupportedUserFieldsResponse . displayName = 'proto.cc.arduino.cli.commands.v1.SupportedUserFieldsResponse' ;
316
316
}
317
317
318
+ /**
319
+ * List of repeated fields within this message type.
320
+ * @private {!Array<number>}
321
+ * @const
322
+ */
323
+ proto . cc . arduino . cli . commands . v1 . UploadRequest . repeatedFields_ = [ 12 ] ;
324
+
318
325
319
326
320
327
if ( jspb . Message . GENERATE_TO_OBJECT ) {
@@ -356,7 +363,8 @@ proto.cc.arduino.cli.commands.v1.UploadRequest.toObject = function(includeInstan
356
363
importDir : jspb . Message . getFieldWithDefault ( msg , 8 , "" ) ,
357
364
programmer : jspb . Message . getFieldWithDefault ( msg , 9 , "" ) ,
358
365
dryRun : jspb . Message . getBooleanFieldWithDefault ( msg , 10 , false ) ,
359
- userFieldsMap : ( f = msg . getUserFieldsMap ( ) ) ? f . toObject ( includeInstance , undefined ) : [ ]
366
+ userFieldsMap : ( f = msg . getUserFieldsMap ( ) ) ? f . toObject ( includeInstance , undefined ) : [ ] ,
367
+ uploadPropertiesList : ( f = jspb . Message . getRepeatedField ( msg , 12 ) ) == null ? undefined : f
360
368
} ;
361
369
362
370
if ( includeInstance ) {
@@ -441,6 +449,10 @@ proto.cc.arduino.cli.commands.v1.UploadRequest.deserializeBinaryFromReader = fun
441
449
jspb . Map . deserializeBinary ( message , reader , jspb . BinaryReader . prototype . readString , jspb . BinaryReader . prototype . readString , null , "" , "" ) ;
442
450
} ) ;
443
451
break ;
452
+ case 12 :
453
+ var value = /** @type {string } */ ( reader . readString ( ) ) ;
454
+ msg . addUploadProperties ( value ) ;
455
+ break ;
444
456
default :
445
457
reader . skipField ( ) ;
446
458
break ;
@@ -546,6 +558,13 @@ proto.cc.arduino.cli.commands.v1.UploadRequest.serializeBinaryToWriter = functio
546
558
if ( f && f . getLength ( ) > 0 ) {
547
559
f . serializeBinary ( 11 , writer , jspb . BinaryWriter . prototype . writeString , jspb . BinaryWriter . prototype . writeString ) ;
548
560
}
561
+ f = message . getUploadPropertiesList ( ) ;
562
+ if ( f . length > 0 ) {
563
+ writer . writeRepeatedString (
564
+ 12 ,
565
+ f
566
+ ) ;
567
+ }
549
568
} ;
550
569
551
570
@@ -789,6 +808,43 @@ proto.cc.arduino.cli.commands.v1.UploadRequest.prototype.clearUserFieldsMap = fu
789
808
return this ; } ;
790
809
791
810
811
+ /**
812
+ * repeated string upload_properties = 12;
813
+ * @return {!Array<string> }
814
+ */
815
+ proto . cc . arduino . cli . commands . v1 . UploadRequest . prototype . getUploadPropertiesList = function ( ) {
816
+ return /** @type {!Array<string> } */ ( jspb . Message . getRepeatedField ( this , 12 ) ) ;
817
+ } ;
818
+
819
+
820
+ /**
821
+ * @param {!Array<string> } value
822
+ * @return {!proto.cc.arduino.cli.commands.v1.UploadRequest } returns this
823
+ */
824
+ proto . cc . arduino . cli . commands . v1 . UploadRequest . prototype . setUploadPropertiesList = function ( value ) {
825
+ return jspb . Message . setField ( this , 12 , value || [ ] ) ;
826
+ } ;
827
+
828
+
829
+ /**
830
+ * @param {string } value
831
+ * @param {number= } opt_index
832
+ * @return {!proto.cc.arduino.cli.commands.v1.UploadRequest } returns this
833
+ */
834
+ proto . cc . arduino . cli . commands . v1 . UploadRequest . prototype . addUploadProperties = function ( value , opt_index ) {
835
+ return jspb . Message . addToRepeatedField ( this , 12 , value , opt_index ) ;
836
+ } ;
837
+
838
+
839
+ /**
840
+ * Clears the list making it empty but non-null.
841
+ * @return {!proto.cc.arduino.cli.commands.v1.UploadRequest } returns this
842
+ */
843
+ proto . cc . arduino . cli . commands . v1 . UploadRequest . prototype . clearUploadPropertiesList = function ( ) {
844
+ return this . setUploadPropertiesList ( [ ] ) ;
845
+ } ;
846
+
847
+
792
848
793
849
/**
794
850
* Oneof group definitions for this message. Each group defines the field
@@ -1364,6 +1420,13 @@ proto.cc.arduino.cli.commands.v1.ProgrammerIsRequiredForUploadError.serializeBin
1364
1420
1365
1421
1366
1422
1423
+ /**
1424
+ * List of repeated fields within this message type.
1425
+ * @private {!Array<number>}
1426
+ * @const
1427
+ */
1428
+ proto . cc . arduino . cli . commands . v1 . UploadUsingProgrammerRequest . repeatedFields_ = [ 12 ] ;
1429
+
1367
1430
1368
1431
1369
1432
if ( jspb . Message . GENERATE_TO_OBJECT ) {
@@ -1405,7 +1468,8 @@ proto.cc.arduino.cli.commands.v1.UploadUsingProgrammerRequest.toObject = functio
1405
1468
importDir : jspb . Message . getFieldWithDefault ( msg , 8 , "" ) ,
1406
1469
programmer : jspb . Message . getFieldWithDefault ( msg , 9 , "" ) ,
1407
1470
dryRun : jspb . Message . getBooleanFieldWithDefault ( msg , 10 , false ) ,
1408
- userFieldsMap : ( f = msg . getUserFieldsMap ( ) ) ? f . toObject ( includeInstance , undefined ) : [ ]
1471
+ userFieldsMap : ( f = msg . getUserFieldsMap ( ) ) ? f . toObject ( includeInstance , undefined ) : [ ] ,
1472
+ uploadPropertiesList : ( f = jspb . Message . getRepeatedField ( msg , 12 ) ) == null ? undefined : f
1409
1473
} ;
1410
1474
1411
1475
if ( includeInstance ) {
@@ -1490,6 +1554,10 @@ proto.cc.arduino.cli.commands.v1.UploadUsingProgrammerRequest.deserializeBinaryF
1490
1554
jspb . Map . deserializeBinary ( message , reader , jspb . BinaryReader . prototype . readString , jspb . BinaryReader . prototype . readString , null , "" , "" ) ;
1491
1555
} ) ;
1492
1556
break ;
1557
+ case 12 :
1558
+ var value = /** @type {string } */ ( reader . readString ( ) ) ;
1559
+ msg . addUploadProperties ( value ) ;
1560
+ break ;
1493
1561
default :
1494
1562
reader . skipField ( ) ;
1495
1563
break ;
@@ -1595,6 +1663,13 @@ proto.cc.arduino.cli.commands.v1.UploadUsingProgrammerRequest.serializeBinaryToW
1595
1663
if ( f && f . getLength ( ) > 0 ) {
1596
1664
f . serializeBinary ( 11 , writer , jspb . BinaryWriter . prototype . writeString , jspb . BinaryWriter . prototype . writeString ) ;
1597
1665
}
1666
+ f = message . getUploadPropertiesList ( ) ;
1667
+ if ( f . length > 0 ) {
1668
+ writer . writeRepeatedString (
1669
+ 12 ,
1670
+ f
1671
+ ) ;
1672
+ }
1598
1673
} ;
1599
1674
1600
1675
@@ -1838,6 +1913,43 @@ proto.cc.arduino.cli.commands.v1.UploadUsingProgrammerRequest.prototype.clearUse
1838
1913
return this ; } ;
1839
1914
1840
1915
1916
+ /**
1917
+ * repeated string upload_properties = 12;
1918
+ * @return {!Array<string> }
1919
+ */
1920
+ proto . cc . arduino . cli . commands . v1 . UploadUsingProgrammerRequest . prototype . getUploadPropertiesList = function ( ) {
1921
+ return /** @type {!Array<string> } */ ( jspb . Message . getRepeatedField ( this , 12 ) ) ;
1922
+ } ;
1923
+
1924
+
1925
+ /**
1926
+ * @param {!Array<string> } value
1927
+ * @return {!proto.cc.arduino.cli.commands.v1.UploadUsingProgrammerRequest } returns this
1928
+ */
1929
+ proto . cc . arduino . cli . commands . v1 . UploadUsingProgrammerRequest . prototype . setUploadPropertiesList = function ( value ) {
1930
+ return jspb . Message . setField ( this , 12 , value || [ ] ) ;
1931
+ } ;
1932
+
1933
+
1934
+ /**
1935
+ * @param {string } value
1936
+ * @param {number= } opt_index
1937
+ * @return {!proto.cc.arduino.cli.commands.v1.UploadUsingProgrammerRequest } returns this
1938
+ */
1939
+ proto . cc . arduino . cli . commands . v1 . UploadUsingProgrammerRequest . prototype . addUploadProperties = function ( value , opt_index ) {
1940
+ return jspb . Message . addToRepeatedField ( this , 12 , value , opt_index ) ;
1941
+ } ;
1942
+
1943
+
1944
+ /**
1945
+ * Clears the list making it empty but non-null.
1946
+ * @return {!proto.cc.arduino.cli.commands.v1.UploadUsingProgrammerRequest } returns this
1947
+ */
1948
+ proto . cc . arduino . cli . commands . v1 . UploadUsingProgrammerRequest . prototype . clearUploadPropertiesList = function ( ) {
1949
+ return this . setUploadPropertiesList ( [ ] ) ;
1950
+ } ;
1951
+
1952
+
1841
1953
1842
1954
/**
1843
1955
* Oneof group definitions for this message. Each group defines the field
@@ -2109,6 +2221,13 @@ proto.cc.arduino.cli.commands.v1.UploadUsingProgrammerResponse.prototype.hasErrS
2109
2221
2110
2222
2111
2223
2224
+ /**
2225
+ * List of repeated fields within this message type.
2226
+ * @private {!Array<number>}
2227
+ * @const
2228
+ */
2229
+ proto . cc . arduino . cli . commands . v1 . BurnBootloaderRequest . repeatedFields_ = [ 12 ] ;
2230
+
2112
2231
2113
2232
2114
2233
if ( jspb . Message . GENERATE_TO_OBJECT ) {
@@ -2147,7 +2266,8 @@ proto.cc.arduino.cli.commands.v1.BurnBootloaderRequest.toObject = function(inclu
2147
2266
verify : jspb . Message . getBooleanFieldWithDefault ( msg , 5 , false ) ,
2148
2267
programmer : jspb . Message . getFieldWithDefault ( msg , 6 , "" ) ,
2149
2268
dryRun : jspb . Message . getBooleanFieldWithDefault ( msg , 7 , false ) ,
2150
- userFieldsMap : ( f = msg . getUserFieldsMap ( ) ) ? f . toObject ( includeInstance , undefined ) : [ ]
2269
+ userFieldsMap : ( f = msg . getUserFieldsMap ( ) ) ? f . toObject ( includeInstance , undefined ) : [ ] ,
2270
+ uploadPropertiesList : ( f = jspb . Message . getRepeatedField ( msg , 12 ) ) == null ? undefined : f
2151
2271
} ;
2152
2272
2153
2273
if ( includeInstance ) {
@@ -2220,6 +2340,10 @@ proto.cc.arduino.cli.commands.v1.BurnBootloaderRequest.deserializeBinaryFromRead
2220
2340
jspb . Map . deserializeBinary ( message , reader , jspb . BinaryReader . prototype . readString , jspb . BinaryReader . prototype . readString , null , "" , "" ) ;
2221
2341
} ) ;
2222
2342
break ;
2343
+ case 12 :
2344
+ var value = /** @type {string } */ ( reader . readString ( ) ) ;
2345
+ msg . addUploadProperties ( value ) ;
2346
+ break ;
2223
2347
default :
2224
2348
reader . skipField ( ) ;
2225
2349
break ;
@@ -2304,6 +2428,13 @@ proto.cc.arduino.cli.commands.v1.BurnBootloaderRequest.serializeBinaryToWriter =
2304
2428
if ( f && f . getLength ( ) > 0 ) {
2305
2429
f . serializeBinary ( 11 , writer , jspb . BinaryWriter . prototype . writeString , jspb . BinaryWriter . prototype . writeString ) ;
2306
2430
}
2431
+ f = message . getUploadPropertiesList ( ) ;
2432
+ if ( f . length > 0 ) {
2433
+ writer . writeRepeatedString (
2434
+ 12 ,
2435
+ f
2436
+ ) ;
2437
+ }
2307
2438
} ;
2308
2439
2309
2440
@@ -2493,6 +2624,43 @@ proto.cc.arduino.cli.commands.v1.BurnBootloaderRequest.prototype.clearUserFields
2493
2624
return this ; } ;
2494
2625
2495
2626
2627
+ /**
2628
+ * repeated string upload_properties = 12;
2629
+ * @return {!Array<string> }
2630
+ */
2631
+ proto . cc . arduino . cli . commands . v1 . BurnBootloaderRequest . prototype . getUploadPropertiesList = function ( ) {
2632
+ return /** @type {!Array<string> } */ ( jspb . Message . getRepeatedField ( this , 12 ) ) ;
2633
+ } ;
2634
+
2635
+
2636
+ /**
2637
+ * @param {!Array<string> } value
2638
+ * @return {!proto.cc.arduino.cli.commands.v1.BurnBootloaderRequest } returns this
2639
+ */
2640
+ proto . cc . arduino . cli . commands . v1 . BurnBootloaderRequest . prototype . setUploadPropertiesList = function ( value ) {
2641
+ return jspb . Message . setField ( this , 12 , value || [ ] ) ;
2642
+ } ;
2643
+
2644
+
2645
+ /**
2646
+ * @param {string } value
2647
+ * @param {number= } opt_index
2648
+ * @return {!proto.cc.arduino.cli.commands.v1.BurnBootloaderRequest } returns this
2649
+ */
2650
+ proto . cc . arduino . cli . commands . v1 . BurnBootloaderRequest . prototype . addUploadProperties = function ( value , opt_index ) {
2651
+ return jspb . Message . addToRepeatedField ( this , 12 , value , opt_index ) ;
2652
+ } ;
2653
+
2654
+
2655
+ /**
2656
+ * Clears the list making it empty but non-null.
2657
+ * @return {!proto.cc.arduino.cli.commands.v1.BurnBootloaderRequest } returns this
2658
+ */
2659
+ proto . cc . arduino . cli . commands . v1 . BurnBootloaderRequest . prototype . clearUploadPropertiesList = function ( ) {
2660
+ return this . setUploadPropertiesList ( [ ] ) ;
2661
+ } ;
2662
+
2663
+
2496
2664
2497
2665
/**
2498
2666
* Oneof group definitions for this message. Each group defines the field
0 commit comments