@@ -339,7 +339,8 @@ proto.cc.arduino.cli.commands.v1.PlatformInstallRequest.toObject = function(incl
339
339
platformPackage : jspb . Message . getFieldWithDefault ( msg , 2 , "" ) ,
340
340
architecture : jspb . Message . getFieldWithDefault ( msg , 3 , "" ) ,
341
341
version : jspb . Message . getFieldWithDefault ( msg , 4 , "" ) ,
342
- skipPostInstall : jspb . Message . getBooleanFieldWithDefault ( msg , 5 , false )
342
+ skipPostInstall : jspb . Message . getBooleanFieldWithDefault ( msg , 5 , false ) ,
343
+ noOverwrite : jspb . Message . getBooleanFieldWithDefault ( msg , 6 , false )
343
344
} ;
344
345
345
346
if ( includeInstance ) {
@@ -397,6 +398,10 @@ proto.cc.arduino.cli.commands.v1.PlatformInstallRequest.deserializeBinaryFromRea
397
398
var value = /** @type {boolean } */ ( reader . readBool ( ) ) ;
398
399
msg . setSkipPostInstall ( value ) ;
399
400
break ;
401
+ case 6 :
402
+ var value = /** @type {boolean } */ ( reader . readBool ( ) ) ;
403
+ msg . setNoOverwrite ( value ) ;
404
+ break ;
400
405
default :
401
406
reader . skipField ( ) ;
402
407
break ;
@@ -462,6 +467,13 @@ proto.cc.arduino.cli.commands.v1.PlatformInstallRequest.serializeBinaryToWriter
462
467
f
463
468
) ;
464
469
}
470
+ f = message . getNoOverwrite ( ) ;
471
+ if ( f ) {
472
+ writer . writeBool (
473
+ 6 ,
474
+ f
475
+ ) ;
476
+ }
465
477
} ;
466
478
467
479
@@ -574,6 +586,24 @@ proto.cc.arduino.cli.commands.v1.PlatformInstallRequest.prototype.setSkipPostIns
574
586
} ;
575
587
576
588
589
+ /**
590
+ * optional bool no_overwrite = 6;
591
+ * @return {boolean }
592
+ */
593
+ proto . cc . arduino . cli . commands . v1 . PlatformInstallRequest . prototype . getNoOverwrite = function ( ) {
594
+ return /** @type {boolean } */ ( jspb . Message . getBooleanFieldWithDefault ( this , 6 , false ) ) ;
595
+ } ;
596
+
597
+
598
+ /**
599
+ * @param {boolean } value
600
+ * @return {!proto.cc.arduino.cli.commands.v1.PlatformInstallRequest } returns this
601
+ */
602
+ proto . cc . arduino . cli . commands . v1 . PlatformInstallRequest . prototype . setNoOverwrite = function ( value ) {
603
+ return jspb . Message . setProto3BooleanField ( this , 6 , value ) ;
604
+ } ;
605
+
606
+
577
607
578
608
579
609
0 commit comments