mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-11-12 03:39:27 +00:00
Improved boards view
This commit is contained in:
@@ -317,6 +317,15 @@ export class SearchOutput extends jspb.Message {
|
||||
getName(): string;
|
||||
setName(value: string): void;
|
||||
|
||||
getAuthor(): string;
|
||||
setAuthor(value: string): void;
|
||||
|
||||
getSentence(): string;
|
||||
setSentence(value: string): void;
|
||||
|
||||
getParagragh(): string;
|
||||
setParagragh(value: string): void;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): SearchOutput.AsObject;
|
||||
@@ -333,6 +342,9 @@ export namespace SearchOutput {
|
||||
id: string,
|
||||
version: string,
|
||||
name: string,
|
||||
author: string,
|
||||
sentence: string,
|
||||
paragragh: string,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -2087,7 +2087,10 @@ proto.arduino.SearchOutput.toObject = function(includeInstance, msg) {
|
||||
var f, obj = {
|
||||
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
||||
version: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
||||
name: jspb.Message.getFieldWithDefault(msg, 3, "")
|
||||
name: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
||||
author: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
||||
sentence: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
||||
paragragh: jspb.Message.getFieldWithDefault(msg, 6, "")
|
||||
};
|
||||
|
||||
if (includeInstance) {
|
||||
@@ -2136,6 +2139,18 @@ proto.arduino.SearchOutput.deserializeBinaryFromReader = function(msg, reader) {
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setName(value);
|
||||
break;
|
||||
case 4:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setAuthor(value);
|
||||
break;
|
||||
case 5:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setSentence(value);
|
||||
break;
|
||||
case 6:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setParagragh(value);
|
||||
break;
|
||||
default:
|
||||
reader.skipField();
|
||||
break;
|
||||
@@ -2186,6 +2201,27 @@ proto.arduino.SearchOutput.serializeBinaryToWriter = function(message, writer) {
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getAuthor();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
4,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getSentence();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
5,
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getParagragh();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
6,
|
||||
f
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -2234,6 +2270,51 @@ proto.arduino.SearchOutput.prototype.setName = function(value) {
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string Author = 4;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.arduino.SearchOutput.prototype.getAuthor = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
||||
};
|
||||
|
||||
|
||||
/** @param {string} value */
|
||||
proto.arduino.SearchOutput.prototype.setAuthor = function(value) {
|
||||
jspb.Message.setProto3StringField(this, 4, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string Sentence = 5;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.arduino.SearchOutput.prototype.getSentence = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
||||
};
|
||||
|
||||
|
||||
/** @param {string} value */
|
||||
proto.arduino.SearchOutput.prototype.setSentence = function(value) {
|
||||
jspb.Message.setProto3StringField(this, 5, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string Paragragh = 6;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.arduino.SearchOutput.prototype.getParagragh = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
||||
};
|
||||
|
||||
|
||||
/** @param {string} value */
|
||||
proto.arduino.SearchOutput.prototype.setParagragh = function(value) {
|
||||
jspb.Message.setProto3StringField(this, 6, value);
|
||||
};
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Generated by JsPbCodeGenerator.
|
||||
|
||||
Reference in New Issue
Block a user