@@ -498,7 +498,8 @@ proto.cc.arduino.cli.commands.v1.BoardDetailsRequest.prototype.toObject = functi
498
498
proto . cc . arduino . cli . commands . v1 . BoardDetailsRequest . toObject = function ( includeInstance , msg ) {
499
499
var f , obj = {
500
500
instance : ( f = msg . getInstance ( ) ) && cc_arduino_cli_commands_v1_common_pb . Instance . toObject ( includeInstance , f ) ,
501
- fqbn : jspb . Message . getFieldWithDefault ( msg , 2 , "" )
501
+ fqbn : jspb . Message . getFieldWithDefault ( msg , 2 , "" ) ,
502
+ doNotExpandBuildProperties : jspb . Message . getBooleanFieldWithDefault ( msg , 3 , false )
502
503
} ;
503
504
504
505
if ( includeInstance ) {
@@ -544,6 +545,10 @@ proto.cc.arduino.cli.commands.v1.BoardDetailsRequest.deserializeBinaryFromReader
544
545
var value = /** @type {string } */ ( reader . readString ( ) ) ;
545
546
msg . setFqbn ( value ) ;
546
547
break ;
548
+ case 3 :
549
+ var value = /** @type {boolean } */ ( reader . readBool ( ) ) ;
550
+ msg . setDoNotExpandBuildProperties ( value ) ;
551
+ break ;
547
552
default :
548
553
reader . skipField ( ) ;
549
554
break ;
@@ -588,6 +593,13 @@ proto.cc.arduino.cli.commands.v1.BoardDetailsRequest.serializeBinaryToWriter = f
588
593
f
589
594
) ;
590
595
}
596
+ f = message . getDoNotExpandBuildProperties ( ) ;
597
+ if ( f ) {
598
+ writer . writeBool (
599
+ 3 ,
600
+ f
601
+ ) ;
602
+ }
591
603
} ;
592
604
593
605
@@ -646,13 +658,31 @@ proto.cc.arduino.cli.commands.v1.BoardDetailsRequest.prototype.setFqbn = functio
646
658
} ;
647
659
648
660
661
+ /**
662
+ * optional bool do_not_expand_build_properties = 3;
663
+ * @return {boolean }
664
+ */
665
+ proto . cc . arduino . cli . commands . v1 . BoardDetailsRequest . prototype . getDoNotExpandBuildProperties = function ( ) {
666
+ return /** @type {boolean } */ ( jspb . Message . getBooleanFieldWithDefault ( this , 3 , false ) ) ;
667
+ } ;
668
+
669
+
670
+ /**
671
+ * @param {boolean } value
672
+ * @return {!proto.cc.arduino.cli.commands.v1.BoardDetailsRequest } returns this
673
+ */
674
+ proto . cc . arduino . cli . commands . v1 . BoardDetailsRequest . prototype . setDoNotExpandBuildProperties = function ( value ) {
675
+ return jspb . Message . setProto3BooleanField ( this , 3 , value ) ;
676
+ } ;
677
+
678
+
649
679
650
680
/**
651
681
* List of repeated fields within this message type.
652
682
* @private {!Array<number>}
653
683
* @const
654
684
*/
655
- proto . cc . arduino . cli . commands . v1 . BoardDetailsResponse . repeatedFields_ = [ 10 , 11 , 13 , 15 ] ;
685
+ proto . cc . arduino . cli . commands . v1 . BoardDetailsResponse . repeatedFields_ = [ 10 , 11 , 13 , 15 , 16 ] ;
656
686
657
687
658
688
@@ -702,7 +732,8 @@ proto.cc.arduino.cli.commands.v1.BoardDetailsResponse.toObject = function(includ
702
732
cc_arduino_cli_commands_v1_common_pb . Programmer . toObject , includeInstance ) ,
703
733
debuggingSupported : jspb . Message . getBooleanFieldWithDefault ( msg , 14 , false ) ,
704
734
identificationPropertiesList : jspb . Message . toObjectList ( msg . getIdentificationPropertiesList ( ) ,
705
- proto . cc . arduino . cli . commands . v1 . BoardIdentificationProperties . toObject , includeInstance )
735
+ proto . cc . arduino . cli . commands . v1 . BoardIdentificationProperties . toObject , includeInstance ) ,
736
+ buildPropertiesList : ( f = jspb . Message . getRepeatedField ( msg , 16 ) ) == null ? undefined : f
706
737
} ;
707
738
708
739
if ( includeInstance ) {
@@ -801,6 +832,10 @@ proto.cc.arduino.cli.commands.v1.BoardDetailsResponse.deserializeBinaryFromReade
801
832
reader . readMessage ( value , proto . cc . arduino . cli . commands . v1 . BoardIdentificationProperties . deserializeBinaryFromReader ) ;
802
833
msg . addIdentificationProperties ( value ) ;
803
834
break ;
835
+ case 16 :
836
+ var value = /** @type {string } */ ( reader . readString ( ) ) ;
837
+ msg . addBuildProperties ( value ) ;
838
+ break ;
804
839
default :
805
840
reader . skipField ( ) ;
806
841
break ;
@@ -934,6 +969,13 @@ proto.cc.arduino.cli.commands.v1.BoardDetailsResponse.serializeBinaryToWriter =
934
969
proto . cc . arduino . cli . commands . v1 . BoardIdentificationProperties . serializeBinaryToWriter
935
970
) ;
936
971
}
972
+ f = message . getBuildPropertiesList ( ) ;
973
+ if ( f . length > 0 ) {
974
+ writer . writeRepeatedString (
975
+ 16 ,
976
+ f
977
+ ) ;
978
+ }
937
979
} ;
938
980
939
981
@@ -1307,6 +1349,43 @@ proto.cc.arduino.cli.commands.v1.BoardDetailsResponse.prototype.clearIdentificat
1307
1349
} ;
1308
1350
1309
1351
1352
+ /**
1353
+ * repeated string build_properties = 16;
1354
+ * @return {!Array<string> }
1355
+ */
1356
+ proto . cc . arduino . cli . commands . v1 . BoardDetailsResponse . prototype . getBuildPropertiesList = function ( ) {
1357
+ return /** @type {!Array<string> } */ ( jspb . Message . getRepeatedField ( this , 16 ) ) ;
1358
+ } ;
1359
+
1360
+
1361
+ /**
1362
+ * @param {!Array<string> } value
1363
+ * @return {!proto.cc.arduino.cli.commands.v1.BoardDetailsResponse } returns this
1364
+ */
1365
+ proto . cc . arduino . cli . commands . v1 . BoardDetailsResponse . prototype . setBuildPropertiesList = function ( value ) {
1366
+ return jspb . Message . setField ( this , 16 , value || [ ] ) ;
1367
+ } ;
1368
+
1369
+
1370
+ /**
1371
+ * @param {string } value
1372
+ * @param {number= } opt_index
1373
+ * @return {!proto.cc.arduino.cli.commands.v1.BoardDetailsResponse } returns this
1374
+ */
1375
+ proto . cc . arduino . cli . commands . v1 . BoardDetailsResponse . prototype . addBuildProperties = function ( value , opt_index ) {
1376
+ return jspb . Message . addToRepeatedField ( this , 16 , value , opt_index ) ;
1377
+ } ;
1378
+
1379
+
1380
+ /**
1381
+ * Clears the list making it empty but non-null.
1382
+ * @return {!proto.cc.arduino.cli.commands.v1.BoardDetailsResponse } returns this
1383
+ */
1384
+ proto . cc . arduino . cli . commands . v1 . BoardDetailsResponse . prototype . clearBuildPropertiesList = function ( ) {
1385
+ return this . setBuildPropertiesList ( [ ] ) ;
1386
+ } ;
1387
+
1388
+
1310
1389
1311
1390
1312
1391
0 commit comments