@@ -30,6 +30,7 @@ goog.exportSymbol('proto.cc.arduino.cli.commands.v1.DownloadProgressUpdate', nul
30
30
goog . exportSymbol ( 'proto.cc.arduino.cli.commands.v1.HelpResources' , null , global ) ;
31
31
goog . exportSymbol ( 'proto.cc.arduino.cli.commands.v1.InstalledPlatformReference' , null , global ) ;
32
32
goog . exportSymbol ( 'proto.cc.arduino.cli.commands.v1.Instance' , null , global ) ;
33
+ goog . exportSymbol ( 'proto.cc.arduino.cli.commands.v1.MissingProgrammerError' , null , global ) ;
33
34
goog . exportSymbol ( 'proto.cc.arduino.cli.commands.v1.Platform' , null , global ) ;
34
35
goog . exportSymbol ( 'proto.cc.arduino.cli.commands.v1.Profile' , null , global ) ;
35
36
goog . exportSymbol ( 'proto.cc.arduino.cli.commands.v1.Programmer' , null , global ) ;
@@ -181,6 +182,27 @@ if (goog.DEBUG && !COMPILED) {
181
182
*/
182
183
proto . cc . arduino . cli . commands . v1 . Programmer . displayName = 'proto.cc.arduino.cli.commands.v1.Programmer' ;
183
184
}
185
+ /**
186
+ * Generated by JsPbCodeGenerator.
187
+ * @param {Array= } opt_data Optional initial data array, typically from a
188
+ * server response, or constructed directly in Javascript. The array is used
189
+ * in place and becomes part of the constructed object. It is not cloned.
190
+ * If no data is provided, the constructed object will be empty, but still
191
+ * valid.
192
+ * @extends {jspb.Message }
193
+ * @constructor
194
+ */
195
+ proto . cc . arduino . cli . commands . v1 . MissingProgrammerError = function ( opt_data ) {
196
+ jspb . Message . initialize ( this , opt_data , 0 , - 1 , null , null ) ;
197
+ } ;
198
+ goog . inherits ( proto . cc . arduino . cli . commands . v1 . MissingProgrammerError , jspb . Message ) ;
199
+ if ( goog . DEBUG && ! COMPILED ) {
200
+ /**
201
+ * @public
202
+ * @override
203
+ */
204
+ proto . cc . arduino . cli . commands . v1 . MissingProgrammerError . displayName = 'proto.cc.arduino.cli.commands.v1.MissingProgrammerError' ;
205
+ }
184
206
/**
185
207
* Generated by JsPbCodeGenerator.
186
208
* @param {Array= } opt_data Optional initial data array, typically from a
@@ -1587,6 +1609,107 @@ proto.cc.arduino.cli.commands.v1.Programmer.prototype.setName = function(value)
1587
1609
1588
1610
1589
1611
1612
+
1613
+
1614
+ if ( jspb . Message . GENERATE_TO_OBJECT ) {
1615
+ /**
1616
+ * Creates an object representation of this proto.
1617
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1618
+ * Optional fields that are not set will be set to undefined.
1619
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1620
+ * For the list of reserved names please see:
1621
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1622
+ * @param {boolean= } opt_includeInstance Deprecated. whether to include the
1623
+ * JSPB instance for transitional soy proto support:
1624
+ * http://goto/soy-param-migration
1625
+ * @return {!Object }
1626
+ */
1627
+ proto . cc . arduino . cli . commands . v1 . MissingProgrammerError . prototype . toObject = function ( opt_includeInstance ) {
1628
+ return proto . cc . arduino . cli . commands . v1 . MissingProgrammerError . toObject ( opt_includeInstance , this ) ;
1629
+ } ;
1630
+
1631
+
1632
+ /**
1633
+ * Static version of the {@see toObject} method.
1634
+ * @param {boolean|undefined } includeInstance Deprecated. Whether to include
1635
+ * the JSPB instance for transitional soy proto support:
1636
+ * http://goto/soy-param-migration
1637
+ * @param {!proto.cc.arduino.cli.commands.v1.MissingProgrammerError } msg The msg instance to transform.
1638
+ * @return {!Object }
1639
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1640
+ */
1641
+ proto . cc . arduino . cli . commands . v1 . MissingProgrammerError . toObject = function ( includeInstance , msg ) {
1642
+ var f , obj = {
1643
+
1644
+ } ;
1645
+
1646
+ if ( includeInstance ) {
1647
+ obj . $jspbMessageInstance = msg ;
1648
+ }
1649
+ return obj ;
1650
+ } ;
1651
+ }
1652
+
1653
+
1654
+ /**
1655
+ * Deserializes binary data (in protobuf wire format).
1656
+ * @param {jspb.ByteSource } bytes The bytes to deserialize.
1657
+ * @return {!proto.cc.arduino.cli.commands.v1.MissingProgrammerError }
1658
+ */
1659
+ proto . cc . arduino . cli . commands . v1 . MissingProgrammerError . deserializeBinary = function ( bytes ) {
1660
+ var reader = new jspb . BinaryReader ( bytes ) ;
1661
+ var msg = new proto . cc . arduino . cli . commands . v1 . MissingProgrammerError ;
1662
+ return proto . cc . arduino . cli . commands . v1 . MissingProgrammerError . deserializeBinaryFromReader ( msg , reader ) ;
1663
+ } ;
1664
+
1665
+
1666
+ /**
1667
+ * Deserializes binary data (in protobuf wire format) from the
1668
+ * given reader into the given message object.
1669
+ * @param {!proto.cc.arduino.cli.commands.v1.MissingProgrammerError } msg The message object to deserialize into.
1670
+ * @param {!jspb.BinaryReader } reader The BinaryReader to use.
1671
+ * @return {!proto.cc.arduino.cli.commands.v1.MissingProgrammerError }
1672
+ */
1673
+ proto . cc . arduino . cli . commands . v1 . MissingProgrammerError . deserializeBinaryFromReader = function ( msg , reader ) {
1674
+ while ( reader . nextField ( ) ) {
1675
+ if ( reader . isEndGroup ( ) ) {
1676
+ break ;
1677
+ }
1678
+ var field = reader . getFieldNumber ( ) ;
1679
+ switch ( field ) {
1680
+ default :
1681
+ reader . skipField ( ) ;
1682
+ break ;
1683
+ }
1684
+ }
1685
+ return msg ;
1686
+ } ;
1687
+
1688
+
1689
+ /**
1690
+ * Serializes the message to binary data (in protobuf wire format).
1691
+ * @return {!Uint8Array }
1692
+ */
1693
+ proto . cc . arduino . cli . commands . v1 . MissingProgrammerError . prototype . serializeBinary = function ( ) {
1694
+ var writer = new jspb . BinaryWriter ( ) ;
1695
+ proto . cc . arduino . cli . commands . v1 . MissingProgrammerError . serializeBinaryToWriter ( this , writer ) ;
1696
+ return writer . getResultBuffer ( ) ;
1697
+ } ;
1698
+
1699
+
1700
+ /**
1701
+ * Serializes the given message to binary data (in protobuf wire
1702
+ * format), writing to the given BinaryWriter.
1703
+ * @param {!proto.cc.arduino.cli.commands.v1.MissingProgrammerError } message
1704
+ * @param {!jspb.BinaryWriter } writer
1705
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1706
+ */
1707
+ proto . cc . arduino . cli . commands . v1 . MissingProgrammerError . serializeBinaryToWriter = function ( message , writer ) {
1708
+ var f = undefined ;
1709
+ } ;
1710
+
1711
+
1712
+
1590
1713
/**
1591
1714
* List of repeated fields within this message type.
1592
1715
* @private {!Array<number>}
0 commit comments