@@ -169,7 +169,8 @@ proto.blmod.v1.ModuleInfo.toObject = function(includeInstance, msg) {
169
169
displayName : jspb . Message . getFieldWithDefault ( msg , 2 , "" ) ,
170
170
iconKind : jspb . Message . getFieldWithDefault ( msg , 3 , 0 ) ,
171
171
iconData : msg . getIconData_asB64 ( ) ,
172
- shortDescription : jspb . Message . getFieldWithDefault ( msg , 5 , "" )
172
+ shortDescription : jspb . Message . getFieldWithDefault ( msg , 5 , "" ) ,
173
+ preamble : jspb . Message . getFieldWithDefault ( msg , 6 , "" )
173
174
} ;
174
175
175
176
if ( includeInstance ) {
@@ -226,6 +227,10 @@ proto.blmod.v1.ModuleInfo.deserializeBinaryFromReader = function(msg, reader) {
226
227
var value = /** @type {string } */ ( reader . readString ( ) ) ;
227
228
msg . setShortDescription ( value ) ;
228
229
break ;
230
+ case 6 :
231
+ var value = /** @type {string } */ ( reader . readString ( ) ) ;
232
+ msg . setPreamble ( value ) ;
233
+ break ;
229
234
default :
230
235
reader . skipField ( ) ;
231
236
break ;
@@ -290,6 +295,13 @@ proto.blmod.v1.ModuleInfo.serializeBinaryToWriter = function(message, writer) {
290
295
f
291
296
) ;
292
297
}
298
+ f = message . getPreamble ( ) ;
299
+ if ( f . length > 0 ) {
300
+ writer . writeString (
301
+ 6 ,
302
+ f
303
+ ) ;
304
+ }
293
305
} ;
294
306
295
307
@@ -417,6 +429,24 @@ proto.blmod.v1.ModuleInfo.prototype.setShortDescription = function(value) {
417
429
} ;
418
430
419
431
432
+ /**
433
+ * optional string preamble = 6;
434
+ * @return {string }
435
+ */
436
+ proto . blmod . v1 . ModuleInfo . prototype . getPreamble = function ( ) {
437
+ return /** @type {string } */ ( jspb . Message . getFieldWithDefault ( this , 6 , "" ) ) ;
438
+ } ;
439
+
440
+
441
+ /**
442
+ * @param {string } value
443
+ * @return {!proto.blmod.v1.ModuleInfo } returns this
444
+ */
445
+ proto . blmod . v1 . ModuleInfo . prototype . setPreamble = function ( value ) {
446
+ return jspb . Message . setProto3StringField ( this , 6 , value ) ;
447
+ } ;
448
+
449
+
420
450
421
451
422
452
0 commit comments