@@ -955,7 +955,8 @@ proto.cc.arduino.cli.commands.v1.Platform.toObject = function(includeInstance, m
955
955
email : jspb . Message . getFieldWithDefault ( msg , 7 , "" ) ,
956
956
boardsList : jspb . Message . toObjectList ( msg . getBoardsList ( ) ,
957
957
proto . cc . arduino . cli . commands . v1 . Board . toObject , includeInstance ) ,
958
- manuallyInstalled : jspb . Message . getBooleanFieldWithDefault ( msg , 9 , false )
958
+ manuallyInstalled : jspb . Message . getBooleanFieldWithDefault ( msg , 9 , false ) ,
959
+ deprecated : jspb . Message . getBooleanFieldWithDefault ( msg , 10 , false )
959
960
} ;
960
961
961
962
if ( includeInstance ) {
@@ -1029,6 +1030,10 @@ proto.cc.arduino.cli.commands.v1.Platform.deserializeBinaryFromReader = function
1029
1030
var value = /** @type {boolean } */ ( reader . readBool ( ) ) ;
1030
1031
msg . setManuallyInstalled ( value ) ;
1031
1032
break ;
1033
+ case 10 :
1034
+ var value = /** @type {boolean } */ ( reader . readBool ( ) ) ;
1035
+ msg . setDeprecated ( value ) ;
1036
+ break ;
1032
1037
default :
1033
1038
reader . skipField ( ) ;
1034
1039
break ;
@@ -1122,6 +1127,13 @@ proto.cc.arduino.cli.commands.v1.Platform.serializeBinaryToWriter = function(mes
1122
1127
f
1123
1128
) ;
1124
1129
}
1130
+ f = message . getDeprecated ( ) ;
1131
+ if ( f ) {
1132
+ writer . writeBool (
1133
+ 10 ,
1134
+ f
1135
+ ) ;
1136
+ }
1125
1137
} ;
1126
1138
1127
1139
@@ -1307,6 +1319,24 @@ proto.cc.arduino.cli.commands.v1.Platform.prototype.setManuallyInstalled = funct
1307
1319
} ;
1308
1320
1309
1321
1322
+ /**
1323
+ * optional bool deprecated = 10;
1324
+ * @return {boolean }
1325
+ */
1326
+ proto . cc . arduino . cli . commands . v1 . Platform . prototype . getDeprecated = function ( ) {
1327
+ return /** @type {boolean } */ ( jspb . Message . getBooleanFieldWithDefault ( this , 10 , false ) ) ;
1328
+ } ;
1329
+
1330
+
1331
+ /**
1332
+ * @param {boolean } value
1333
+ * @return {!proto.cc.arduino.cli.commands.v1.Platform } returns this
1334
+ */
1335
+ proto . cc . arduino . cli . commands . v1 . Platform . prototype . setDeprecated = function ( value ) {
1336
+ return jspb . Message . setProto3BooleanField ( this , 10 , value ) ;
1337
+ } ;
1338
+
1339
+
1310
1340
1311
1341
1312
1342
0 commit comments