@@ -3387,7 +3387,7 @@ proto.cc.arduino.cli.commands.v1.BoardListRequest.prototype.setFqbn = function(v
33873387 * @private {!Array<number>}
33883388 * @const
33893389 */
3390- proto . cc . arduino . cli . commands . v1 . BoardListResponse . repeatedFields_ = [ 1 ] ;
3390+ proto . cc . arduino . cli . commands . v1 . BoardListResponse . repeatedFields_ = [ 1 , 2 ] ;
33913391
33923392
33933393
@@ -3421,7 +3421,8 @@ proto.cc.arduino.cli.commands.v1.BoardListResponse.prototype.toObject = function
34213421proto . cc . arduino . cli . commands . v1 . BoardListResponse . toObject = function ( includeInstance , msg ) {
34223422 var f , obj = {
34233423 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
34253426 } ;
34263427
34273428 if ( includeInstance ) {
@@ -3463,6 +3464,10 @@ proto.cc.arduino.cli.commands.v1.BoardListResponse.deserializeBinaryFromReader =
34633464 reader . readMessage ( value , proto . cc . arduino . cli . commands . v1 . DetectedPort . deserializeBinaryFromReader ) ;
34643465 msg . addPorts ( value ) ;
34653466 break ;
3467+ case 2 :
3468+ var value = /** @type {string } */ ( reader . readString ( ) ) ;
3469+ msg . addWarnings ( value ) ;
3470+ break ;
34663471 default :
34673472 reader . skipField ( ) ;
34683473 break ;
@@ -3500,6 +3505,13 @@ proto.cc.arduino.cli.commands.v1.BoardListResponse.serializeBinaryToWriter = fun
35003505 proto . cc . arduino . cli . commands . v1 . DetectedPort . serializeBinaryToWriter
35013506 ) ;
35023507 }
3508+ f = message . getWarningsList ( ) ;
3509+ if ( f . length > 0 ) {
3510+ writer . writeRepeatedString (
3511+ 2 ,
3512+ f
3513+ ) ;
3514+ }
35033515} ;
35043516
35053517
@@ -3541,6 +3553,43 @@ proto.cc.arduino.cli.commands.v1.BoardListResponse.prototype.clearPortsList = fu
35413553} ;
35423554
35433555
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+
35443593
35453594/**
35463595 * List of repeated fields within this message type.
0 commit comments