@@ -3387,7 +3387,7 @@ proto.cc.arduino.cli.commands.v1.BoardListRequest.prototype.setFqbn = function(v
3387
3387
* @private {!Array<number>}
3388
3388
* @const
3389
3389
*/
3390
- proto . cc . arduino . cli . commands . v1 . BoardListResponse . repeatedFields_ = [ 1 ] ;
3390
+ proto . cc . arduino . cli . commands . v1 . BoardListResponse . repeatedFields_ = [ 1 , 2 ] ;
3391
3391
3392
3392
3393
3393
@@ -3421,7 +3421,8 @@ proto.cc.arduino.cli.commands.v1.BoardListResponse.prototype.toObject = function
3421
3421
proto . cc . arduino . cli . commands . v1 . BoardListResponse . toObject = function ( includeInstance , msg ) {
3422
3422
var f , obj = {
3423
3423
portsList : jspb . Message . toObjectList ( msg . getPortsList ( ) ,
3424
- proto . cc . arduino . cli . commands . v1 . DetectedPort . toObject , includeInstance )
3424
+ proto . cc . arduino . cli . commands . v1 . DetectedPort . toObject , includeInstance ) ,
3425
+ warningsList : ( f = jspb . Message . getRepeatedField ( msg , 2 ) ) == null ? undefined : f
3425
3426
} ;
3426
3427
3427
3428
if ( includeInstance ) {
@@ -3463,6 +3464,10 @@ proto.cc.arduino.cli.commands.v1.BoardListResponse.deserializeBinaryFromReader =
3463
3464
reader . readMessage ( value , proto . cc . arduino . cli . commands . v1 . DetectedPort . deserializeBinaryFromReader ) ;
3464
3465
msg . addPorts ( value ) ;
3465
3466
break ;
3467
+ case 2 :
3468
+ var value = /** @type {string } */ ( reader . readString ( ) ) ;
3469
+ msg . addWarnings ( value ) ;
3470
+ break ;
3466
3471
default :
3467
3472
reader . skipField ( ) ;
3468
3473
break ;
@@ -3500,6 +3505,13 @@ proto.cc.arduino.cli.commands.v1.BoardListResponse.serializeBinaryToWriter = fun
3500
3505
proto . cc . arduino . cli . commands . v1 . DetectedPort . serializeBinaryToWriter
3501
3506
) ;
3502
3507
}
3508
+ f = message . getWarningsList ( ) ;
3509
+ if ( f . length > 0 ) {
3510
+ writer . writeRepeatedString (
3511
+ 2 ,
3512
+ f
3513
+ ) ;
3514
+ }
3503
3515
} ;
3504
3516
3505
3517
@@ -3541,6 +3553,43 @@ proto.cc.arduino.cli.commands.v1.BoardListResponse.prototype.clearPortsList = fu
3541
3553
} ;
3542
3554
3543
3555
3556
+ /**
3557
+ * repeated string warnings = 2;
3558
+ * @return {!Array<string> }
3559
+ */
3560
+ proto . cc . arduino . cli . commands . v1 . BoardListResponse . prototype . getWarningsList = function ( ) {
3561
+ return /** @type {!Array<string> } */ ( jspb . Message . getRepeatedField ( this , 2 ) ) ;
3562
+ } ;
3563
+
3564
+
3565
+ /**
3566
+ * @param {!Array<string> } value
3567
+ * @return {!proto.cc.arduino.cli.commands.v1.BoardListResponse } returns this
3568
+ */
3569
+ proto . cc . arduino . cli . commands . v1 . BoardListResponse . prototype . setWarningsList = function ( value ) {
3570
+ return jspb . Message . setField ( this , 2 , value || [ ] ) ;
3571
+ } ;
3572
+
3573
+
3574
+ /**
3575
+ * @param {string } value
3576
+ * @param {number= } opt_index
3577
+ * @return {!proto.cc.arduino.cli.commands.v1.BoardListResponse } returns this
3578
+ */
3579
+ proto . cc . arduino . cli . commands . v1 . BoardListResponse . prototype . addWarnings = function ( value , opt_index ) {
3580
+ return jspb . Message . addToRepeatedField ( this , 2 , value , opt_index ) ;
3581
+ } ;
3582
+
3583
+
3584
+ /**
3585
+ * Clears the list making it empty but non-null.
3586
+ * @return {!proto.cc.arduino.cli.commands.v1.BoardListResponse } returns this
3587
+ */
3588
+ proto . cc . arduino . cli . commands . v1 . BoardListResponse . prototype . clearWarningsList = function ( ) {
3589
+ return this . setWarningsList ( [ ] ) ;
3590
+ } ;
3591
+
3592
+
3544
3593
3545
3594
/**
3546
3595
* List of repeated fields within this message type.
0 commit comments