@@ -733,7 +733,8 @@ proto.cc.arduino.cli.commands.v1.BoardDetailsResponse.toObject = function(includ
733
733
debuggingSupported : jspb . Message . getBooleanFieldWithDefault ( msg , 14 , false ) ,
734
734
identificationPropertiesList : jspb . Message . toObjectList ( msg . getIdentificationPropertiesList ( ) ,
735
735
proto . cc . arduino . cli . commands . v1 . BoardIdentificationProperties . toObject , includeInstance ) ,
736
- buildPropertiesList : ( f = jspb . Message . getRepeatedField ( msg , 16 ) ) == null ? undefined : f
736
+ buildPropertiesList : ( f = jspb . Message . getRepeatedField ( msg , 16 ) ) == null ? undefined : f ,
737
+ defaultProgrammerId : jspb . Message . getFieldWithDefault ( msg , 17 , "" )
737
738
} ;
738
739
739
740
if ( includeInstance ) {
@@ -836,6 +837,10 @@ proto.cc.arduino.cli.commands.v1.BoardDetailsResponse.deserializeBinaryFromReade
836
837
var value = /** @type {string } */ ( reader . readString ( ) ) ;
837
838
msg . addBuildProperties ( value ) ;
838
839
break ;
840
+ case 17 :
841
+ var value = /** @type {string } */ ( reader . readString ( ) ) ;
842
+ msg . setDefaultProgrammerId ( value ) ;
843
+ break ;
839
844
default :
840
845
reader . skipField ( ) ;
841
846
break ;
@@ -976,6 +981,13 @@ proto.cc.arduino.cli.commands.v1.BoardDetailsResponse.serializeBinaryToWriter =
976
981
f
977
982
) ;
978
983
}
984
+ f = message . getDefaultProgrammerId ( ) ;
985
+ if ( f . length > 0 ) {
986
+ writer . writeString (
987
+ 17 ,
988
+ f
989
+ ) ;
990
+ }
979
991
} ;
980
992
981
993
@@ -1386,6 +1398,24 @@ proto.cc.arduino.cli.commands.v1.BoardDetailsResponse.prototype.clearBuildProper
1386
1398
} ;
1387
1399
1388
1400
1401
+ /**
1402
+ * optional string default_programmer_id = 17;
1403
+ * @return {string }
1404
+ */
1405
+ proto . cc . arduino . cli . commands . v1 . BoardDetailsResponse . prototype . getDefaultProgrammerId = function ( ) {
1406
+ return /** @type {string } */ ( jspb . Message . getFieldWithDefault ( this , 17 , "" ) ) ;
1407
+ } ;
1408
+
1409
+
1410
+ /**
1411
+ * @param {string } value
1412
+ * @return {!proto.cc.arduino.cli.commands.v1.BoardDetailsResponse } returns this
1413
+ */
1414
+ proto . cc . arduino . cli . commands . v1 . BoardDetailsResponse . prototype . setDefaultProgrammerId = function ( value ) {
1415
+ return jspb . Message . setProto3StringField ( this , 17 , value ) ;
1416
+ } ;
1417
+
1418
+
1389
1419
1390
1420
1391
1421
@@ -4181,8 +4211,7 @@ proto.cc.arduino.cli.commands.v1.BoardListWatchRequest.prototype.toObject = func
4181
4211
*/
4182
4212
proto . cc . arduino . cli . commands . v1 . BoardListWatchRequest . toObject = function ( includeInstance , msg ) {
4183
4213
var f , obj = {
4184
- instance : ( f = msg . getInstance ( ) ) && cc_arduino_cli_commands_v1_common_pb . Instance . toObject ( includeInstance , f ) ,
4185
- interrupt : jspb . Message . getBooleanFieldWithDefault ( msg , 2 , false )
4214
+ instance : ( f = msg . getInstance ( ) ) && cc_arduino_cli_commands_v1_common_pb . Instance . toObject ( includeInstance , f )
4186
4215
} ;
4187
4216
4188
4217
if ( includeInstance ) {
@@ -4224,10 +4253,6 @@ proto.cc.arduino.cli.commands.v1.BoardListWatchRequest.deserializeBinaryFromRead
4224
4253
reader . readMessage ( value , cc_arduino_cli_commands_v1_common_pb . Instance . deserializeBinaryFromReader ) ;
4225
4254
msg . setInstance ( value ) ;
4226
4255
break ;
4227
- case 2 :
4228
- var value = /** @type {boolean } */ ( reader . readBool ( ) ) ;
4229
- msg . setInterrupt ( value ) ;
4230
- break ;
4231
4256
default :
4232
4257
reader . skipField ( ) ;
4233
4258
break ;
@@ -4265,13 +4290,6 @@ proto.cc.arduino.cli.commands.v1.BoardListWatchRequest.serializeBinaryToWriter =
4265
4290
cc_arduino_cli_commands_v1_common_pb . Instance . serializeBinaryToWriter
4266
4291
) ;
4267
4292
}
4268
- f = message . getInterrupt ( ) ;
4269
- if ( f ) {
4270
- writer . writeBool (
4271
- 2 ,
4272
- f
4273
- ) ;
4274
- }
4275
4293
} ;
4276
4294
4277
4295
@@ -4312,24 +4330,6 @@ proto.cc.arduino.cli.commands.v1.BoardListWatchRequest.prototype.hasInstance = f
4312
4330
} ;
4313
4331
4314
4332
4315
- /**
4316
- * optional bool interrupt = 2;
4317
- * @return {boolean }
4318
- */
4319
- proto . cc . arduino . cli . commands . v1 . BoardListWatchRequest . prototype . getInterrupt = function ( ) {
4320
- return /** @type {boolean } */ ( jspb . Message . getBooleanFieldWithDefault ( this , 2 , false ) ) ;
4321
- } ;
4322
-
4323
-
4324
- /**
4325
- * @param {boolean } value
4326
- * @return {!proto.cc.arduino.cli.commands.v1.BoardListWatchRequest } returns this
4327
- */
4328
- proto . cc . arduino . cli . commands . v1 . BoardListWatchRequest . prototype . setInterrupt = function ( value ) {
4329
- return jspb . Message . setProto3BooleanField ( this , 2 , value ) ;
4330
- } ;
4331
-
4332
-
4333
4333
4334
4334
4335
4335
0 commit comments