@alis-build/ideate 1.945.967

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,938 @@
1
+ // source: alis/ideate/idea.proto
2
+ /**
3
+ * @fileoverview
4
+ * @enhanceable
5
+ * @suppress {missingRequire} reports error on implicit type usages.
6
+ * @suppress {messageConventions} JS Compiler reports an error if a variable or
7
+ * field starts with 'MSG_' and isn't a translatable message.
8
+ * @public
9
+ */
10
+ // GENERATED CODE -- DO NOT EDIT!
11
+ /* eslint-disable */
12
+ // @ts-nocheck
13
+
14
+ var jspb = require('google-protobuf');
15
+ var goog = jspb;
16
+ var global = globalThis;
17
+
18
+ var google_protobuf_field_mask_pb = require('google-protobuf/google/protobuf/field_mask_pb.js');
19
+ goog.object.extend(proto, google_protobuf_field_mask_pb);
20
+ var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
21
+ goog.object.extend(proto, google_protobuf_timestamp_pb);
22
+ goog.exportSymbol('proto.alis.ideate.GetIdeaRequest', null, global);
23
+ goog.exportSymbol('proto.alis.ideate.Idea', null, global);
24
+ goog.exportSymbol('proto.alis.ideate.Idea.ManagedSpecs', null, global);
25
+ goog.exportSymbol('proto.alis.ideate.Idea.State', null, global);
26
+ /**
27
+ * Generated by JsPbCodeGenerator.
28
+ * @param {Array=} opt_data Optional initial data array, typically from a
29
+ * server response, or constructed directly in Javascript. The array is used
30
+ * in place and becomes part of the constructed object. It is not cloned.
31
+ * If no data is provided, the constructed object will be empty, but still
32
+ * valid.
33
+ * @extends {jspb.Message}
34
+ * @constructor
35
+ */
36
+ proto.alis.ideate.Idea = function(opt_data) {
37
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
38
+ };
39
+ goog.inherits(proto.alis.ideate.Idea, jspb.Message);
40
+ if (goog.DEBUG && !COMPILED) {
41
+ /**
42
+ * @public
43
+ * @override
44
+ */
45
+ proto.alis.ideate.Idea.displayName = 'proto.alis.ideate.Idea';
46
+ }
47
+ /**
48
+ * Generated by JsPbCodeGenerator.
49
+ * @param {Array=} opt_data Optional initial data array, typically from a
50
+ * server response, or constructed directly in Javascript. The array is used
51
+ * in place and becomes part of the constructed object. It is not cloned.
52
+ * If no data is provided, the constructed object will be empty, but still
53
+ * valid.
54
+ * @extends {jspb.Message}
55
+ * @constructor
56
+ */
57
+ proto.alis.ideate.Idea.ManagedSpecs = function(opt_data) {
58
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
59
+ };
60
+ goog.inherits(proto.alis.ideate.Idea.ManagedSpecs, jspb.Message);
61
+ if (goog.DEBUG && !COMPILED) {
62
+ /**
63
+ * @public
64
+ * @override
65
+ */
66
+ proto.alis.ideate.Idea.ManagedSpecs.displayName = 'proto.alis.ideate.Idea.ManagedSpecs';
67
+ }
68
+ /**
69
+ * Generated by JsPbCodeGenerator.
70
+ * @param {Array=} opt_data Optional initial data array, typically from a
71
+ * server response, or constructed directly in Javascript. The array is used
72
+ * in place and becomes part of the constructed object. It is not cloned.
73
+ * If no data is provided, the constructed object will be empty, but still
74
+ * valid.
75
+ * @extends {jspb.Message}
76
+ * @constructor
77
+ */
78
+ proto.alis.ideate.GetIdeaRequest = function(opt_data) {
79
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
80
+ };
81
+ goog.inherits(proto.alis.ideate.GetIdeaRequest, jspb.Message);
82
+ if (goog.DEBUG && !COMPILED) {
83
+ /**
84
+ * @public
85
+ * @override
86
+ */
87
+ proto.alis.ideate.GetIdeaRequest.displayName = 'proto.alis.ideate.GetIdeaRequest';
88
+ }
89
+
90
+
91
+
92
+ if (jspb.Message.GENERATE_TO_OBJECT) {
93
+ /**
94
+ * Creates an object representation of this proto.
95
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
96
+ * Optional fields that are not set will be set to undefined.
97
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
98
+ * For the list of reserved names please see:
99
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
100
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
101
+ * JSPB instance for transitional soy proto support:
102
+ * http://goto/soy-param-migration
103
+ * @return {!Object}
104
+ */
105
+ proto.alis.ideate.Idea.prototype.toObject = function(opt_includeInstance) {
106
+ return proto.alis.ideate.Idea.toObject(opt_includeInstance, this);
107
+ };
108
+
109
+
110
+ /**
111
+ * Static version of the {@see toObject} method.
112
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
113
+ * the JSPB instance for transitional soy proto support:
114
+ * http://goto/soy-param-migration
115
+ * @param {!proto.alis.ideate.Idea} msg The msg instance to transform.
116
+ * @return {!Object}
117
+ * @suppress {unusedLocalVariables} f is only used for nested messages
118
+ */
119
+ proto.alis.ideate.Idea.toObject = function(includeInstance, msg) {
120
+ var f, obj = {
121
+ name: jspb.Message.getFieldWithDefault(msg, 1, ""),
122
+ title: jspb.Message.getFieldWithDefault(msg, 2, ""),
123
+ state: jspb.Message.getFieldWithDefault(msg, 3, 0),
124
+ managedSpecs: (f = msg.getManagedSpecs()) && proto.alis.ideate.Idea.ManagedSpecs.toObject(includeInstance, f),
125
+ account: jspb.Message.getFieldWithDefault(msg, 96, ""),
126
+ createTime: (f = msg.getCreateTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
127
+ updateTime: (f = msg.getUpdateTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
128
+ };
129
+
130
+ if (includeInstance) {
131
+ obj.$jspbMessageInstance = msg;
132
+ }
133
+ return obj;
134
+ };
135
+ }
136
+
137
+
138
+ /**
139
+ * Deserializes binary data (in protobuf wire format).
140
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
141
+ * @return {!proto.alis.ideate.Idea}
142
+ */
143
+ proto.alis.ideate.Idea.deserializeBinary = function(bytes) {
144
+ var reader = new jspb.BinaryReader(bytes);
145
+ var msg = new proto.alis.ideate.Idea;
146
+ return proto.alis.ideate.Idea.deserializeBinaryFromReader(msg, reader);
147
+ };
148
+
149
+
150
+ /**
151
+ * Deserializes binary data (in protobuf wire format) from the
152
+ * given reader into the given message object.
153
+ * @param {!proto.alis.ideate.Idea} msg The message object to deserialize into.
154
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
155
+ * @return {!proto.alis.ideate.Idea}
156
+ */
157
+ proto.alis.ideate.Idea.deserializeBinaryFromReader = function(msg, reader) {
158
+ while (reader.nextField()) {
159
+ if (reader.isEndGroup()) {
160
+ break;
161
+ }
162
+ var field = reader.getFieldNumber();
163
+ switch (field) {
164
+ case 1:
165
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
166
+ msg.setName(value);
167
+ break;
168
+ case 2:
169
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
170
+ msg.setTitle(value);
171
+ break;
172
+ case 3:
173
+ var value = /** @type {!proto.alis.ideate.Idea.State} */ (reader.readEnum());
174
+ msg.setState(value);
175
+ break;
176
+ case 4:
177
+ var value = new proto.alis.ideate.Idea.ManagedSpecs;
178
+ reader.readMessage(value,proto.alis.ideate.Idea.ManagedSpecs.deserializeBinaryFromReader);
179
+ msg.setManagedSpecs(value);
180
+ break;
181
+ case 96:
182
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
183
+ msg.setAccount(value);
184
+ break;
185
+ case 97:
186
+ var value = new google_protobuf_timestamp_pb.Timestamp;
187
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
188
+ msg.setCreateTime(value);
189
+ break;
190
+ case 98:
191
+ var value = new google_protobuf_timestamp_pb.Timestamp;
192
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
193
+ msg.setUpdateTime(value);
194
+ break;
195
+ default:
196
+ reader.skipField();
197
+ break;
198
+ }
199
+ }
200
+ return msg;
201
+ };
202
+
203
+
204
+ /**
205
+ * Serializes the message to binary data (in protobuf wire format).
206
+ * @return {!Uint8Array}
207
+ */
208
+ proto.alis.ideate.Idea.prototype.serializeBinary = function() {
209
+ var writer = new jspb.BinaryWriter();
210
+ proto.alis.ideate.Idea.serializeBinaryToWriter(this, writer);
211
+ return writer.getResultBuffer();
212
+ };
213
+
214
+
215
+ /**
216
+ * Serializes the given message to binary data (in protobuf wire
217
+ * format), writing to the given BinaryWriter.
218
+ * @param {!proto.alis.ideate.Idea} message
219
+ * @param {!jspb.BinaryWriter} writer
220
+ * @suppress {unusedLocalVariables} f is only used for nested messages
221
+ */
222
+ proto.alis.ideate.Idea.serializeBinaryToWriter = function(message, writer) {
223
+ var f = undefined;
224
+ f = message.getName();
225
+ if (f.length > 0) {
226
+ writer.writeString(
227
+ 1,
228
+ f
229
+ );
230
+ }
231
+ f = message.getTitle();
232
+ if (f.length > 0) {
233
+ writer.writeString(
234
+ 2,
235
+ f
236
+ );
237
+ }
238
+ f = message.getState();
239
+ if (f !== 0.0) {
240
+ writer.writeEnum(
241
+ 3,
242
+ f
243
+ );
244
+ }
245
+ f = message.getManagedSpecs();
246
+ if (f != null) {
247
+ writer.writeMessage(
248
+ 4,
249
+ f,
250
+ proto.alis.ideate.Idea.ManagedSpecs.serializeBinaryToWriter
251
+ );
252
+ }
253
+ f = message.getAccount();
254
+ if (f.length > 0) {
255
+ writer.writeString(
256
+ 96,
257
+ f
258
+ );
259
+ }
260
+ f = message.getCreateTime();
261
+ if (f != null) {
262
+ writer.writeMessage(
263
+ 97,
264
+ f,
265
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
266
+ );
267
+ }
268
+ f = message.getUpdateTime();
269
+ if (f != null) {
270
+ writer.writeMessage(
271
+ 98,
272
+ f,
273
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
274
+ );
275
+ }
276
+ };
277
+
278
+
279
+ /**
280
+ * @enum {number}
281
+ */
282
+ proto.alis.ideate.Idea.State = {
283
+ STATE_UNSPECIFIED: 0,
284
+ NEW: 1,
285
+ PROCESSING: 2,
286
+ ACTIVE: 3,
287
+ ARCHIVED: 4,
288
+ STALE: 5
289
+ };
290
+
291
+
292
+
293
+
294
+ if (jspb.Message.GENERATE_TO_OBJECT) {
295
+ /**
296
+ * Creates an object representation of this proto.
297
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
298
+ * Optional fields that are not set will be set to undefined.
299
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
300
+ * For the list of reserved names please see:
301
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
302
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
303
+ * JSPB instance for transitional soy proto support:
304
+ * http://goto/soy-param-migration
305
+ * @return {!Object}
306
+ */
307
+ proto.alis.ideate.Idea.ManagedSpecs.prototype.toObject = function(opt_includeInstance) {
308
+ return proto.alis.ideate.Idea.ManagedSpecs.toObject(opt_includeInstance, this);
309
+ };
310
+
311
+
312
+ /**
313
+ * Static version of the {@see toObject} method.
314
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
315
+ * the JSPB instance for transitional soy proto support:
316
+ * http://goto/soy-param-migration
317
+ * @param {!proto.alis.ideate.Idea.ManagedSpecs} msg The msg instance to transform.
318
+ * @return {!Object}
319
+ * @suppress {unusedLocalVariables} f is only used for nested messages
320
+ */
321
+ proto.alis.ideate.Idea.ManagedSpecs.toObject = function(includeInstance, msg) {
322
+ var f, obj = {
323
+ ideaBrief: jspb.Message.getFieldWithDefault(msg, 1, ""),
324
+ currentProcess: jspb.Message.getFieldWithDefault(msg, 2, ""),
325
+ stakeholderMap: jspb.Message.getFieldWithDefault(msg, 3, ""),
326
+ painPoints: jspb.Message.getFieldWithDefault(msg, 4, ""),
327
+ jargon: jspb.Message.getFieldWithDefault(msg, 5, ""),
328
+ technologyLandscape: jspb.Message.getFieldWithDefault(msg, 6, "")
329
+ };
330
+
331
+ if (includeInstance) {
332
+ obj.$jspbMessageInstance = msg;
333
+ }
334
+ return obj;
335
+ };
336
+ }
337
+
338
+
339
+ /**
340
+ * Deserializes binary data (in protobuf wire format).
341
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
342
+ * @return {!proto.alis.ideate.Idea.ManagedSpecs}
343
+ */
344
+ proto.alis.ideate.Idea.ManagedSpecs.deserializeBinary = function(bytes) {
345
+ var reader = new jspb.BinaryReader(bytes);
346
+ var msg = new proto.alis.ideate.Idea.ManagedSpecs;
347
+ return proto.alis.ideate.Idea.ManagedSpecs.deserializeBinaryFromReader(msg, reader);
348
+ };
349
+
350
+
351
+ /**
352
+ * Deserializes binary data (in protobuf wire format) from the
353
+ * given reader into the given message object.
354
+ * @param {!proto.alis.ideate.Idea.ManagedSpecs} msg The message object to deserialize into.
355
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
356
+ * @return {!proto.alis.ideate.Idea.ManagedSpecs}
357
+ */
358
+ proto.alis.ideate.Idea.ManagedSpecs.deserializeBinaryFromReader = function(msg, reader) {
359
+ while (reader.nextField()) {
360
+ if (reader.isEndGroup()) {
361
+ break;
362
+ }
363
+ var field = reader.getFieldNumber();
364
+ switch (field) {
365
+ case 1:
366
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
367
+ msg.setIdeaBrief(value);
368
+ break;
369
+ case 2:
370
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
371
+ msg.setCurrentProcess(value);
372
+ break;
373
+ case 3:
374
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
375
+ msg.setStakeholderMap(value);
376
+ break;
377
+ case 4:
378
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
379
+ msg.setPainPoints(value);
380
+ break;
381
+ case 5:
382
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
383
+ msg.setJargon(value);
384
+ break;
385
+ case 6:
386
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
387
+ msg.setTechnologyLandscape(value);
388
+ break;
389
+ default:
390
+ reader.skipField();
391
+ break;
392
+ }
393
+ }
394
+ return msg;
395
+ };
396
+
397
+
398
+ /**
399
+ * Serializes the message to binary data (in protobuf wire format).
400
+ * @return {!Uint8Array}
401
+ */
402
+ proto.alis.ideate.Idea.ManagedSpecs.prototype.serializeBinary = function() {
403
+ var writer = new jspb.BinaryWriter();
404
+ proto.alis.ideate.Idea.ManagedSpecs.serializeBinaryToWriter(this, writer);
405
+ return writer.getResultBuffer();
406
+ };
407
+
408
+
409
+ /**
410
+ * Serializes the given message to binary data (in protobuf wire
411
+ * format), writing to the given BinaryWriter.
412
+ * @param {!proto.alis.ideate.Idea.ManagedSpecs} message
413
+ * @param {!jspb.BinaryWriter} writer
414
+ * @suppress {unusedLocalVariables} f is only used for nested messages
415
+ */
416
+ proto.alis.ideate.Idea.ManagedSpecs.serializeBinaryToWriter = function(message, writer) {
417
+ var f = undefined;
418
+ f = message.getIdeaBrief();
419
+ if (f.length > 0) {
420
+ writer.writeString(
421
+ 1,
422
+ f
423
+ );
424
+ }
425
+ f = message.getCurrentProcess();
426
+ if (f.length > 0) {
427
+ writer.writeString(
428
+ 2,
429
+ f
430
+ );
431
+ }
432
+ f = message.getStakeholderMap();
433
+ if (f.length > 0) {
434
+ writer.writeString(
435
+ 3,
436
+ f
437
+ );
438
+ }
439
+ f = message.getPainPoints();
440
+ if (f.length > 0) {
441
+ writer.writeString(
442
+ 4,
443
+ f
444
+ );
445
+ }
446
+ f = message.getJargon();
447
+ if (f.length > 0) {
448
+ writer.writeString(
449
+ 5,
450
+ f
451
+ );
452
+ }
453
+ f = message.getTechnologyLandscape();
454
+ if (f.length > 0) {
455
+ writer.writeString(
456
+ 6,
457
+ f
458
+ );
459
+ }
460
+ };
461
+
462
+
463
+ /**
464
+ * optional string idea_brief = 1;
465
+ * @return {string}
466
+ */
467
+ proto.alis.ideate.Idea.ManagedSpecs.prototype.getIdeaBrief = function() {
468
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
469
+ };
470
+
471
+
472
+ /**
473
+ * @param {string} value
474
+ * @return {!proto.alis.ideate.Idea.ManagedSpecs} returns this
475
+ */
476
+ proto.alis.ideate.Idea.ManagedSpecs.prototype.setIdeaBrief = function(value) {
477
+ return jspb.Message.setProto3StringField(this, 1, value);
478
+ };
479
+
480
+
481
+ /**
482
+ * optional string current_process = 2;
483
+ * @return {string}
484
+ */
485
+ proto.alis.ideate.Idea.ManagedSpecs.prototype.getCurrentProcess = function() {
486
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
487
+ };
488
+
489
+
490
+ /**
491
+ * @param {string} value
492
+ * @return {!proto.alis.ideate.Idea.ManagedSpecs} returns this
493
+ */
494
+ proto.alis.ideate.Idea.ManagedSpecs.prototype.setCurrentProcess = function(value) {
495
+ return jspb.Message.setProto3StringField(this, 2, value);
496
+ };
497
+
498
+
499
+ /**
500
+ * optional string stakeholder_map = 3;
501
+ * @return {string}
502
+ */
503
+ proto.alis.ideate.Idea.ManagedSpecs.prototype.getStakeholderMap = function() {
504
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
505
+ };
506
+
507
+
508
+ /**
509
+ * @param {string} value
510
+ * @return {!proto.alis.ideate.Idea.ManagedSpecs} returns this
511
+ */
512
+ proto.alis.ideate.Idea.ManagedSpecs.prototype.setStakeholderMap = function(value) {
513
+ return jspb.Message.setProto3StringField(this, 3, value);
514
+ };
515
+
516
+
517
+ /**
518
+ * optional string pain_points = 4;
519
+ * @return {string}
520
+ */
521
+ proto.alis.ideate.Idea.ManagedSpecs.prototype.getPainPoints = function() {
522
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
523
+ };
524
+
525
+
526
+ /**
527
+ * @param {string} value
528
+ * @return {!proto.alis.ideate.Idea.ManagedSpecs} returns this
529
+ */
530
+ proto.alis.ideate.Idea.ManagedSpecs.prototype.setPainPoints = function(value) {
531
+ return jspb.Message.setProto3StringField(this, 4, value);
532
+ };
533
+
534
+
535
+ /**
536
+ * optional string jargon = 5;
537
+ * @return {string}
538
+ */
539
+ proto.alis.ideate.Idea.ManagedSpecs.prototype.getJargon = function() {
540
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
541
+ };
542
+
543
+
544
+ /**
545
+ * @param {string} value
546
+ * @return {!proto.alis.ideate.Idea.ManagedSpecs} returns this
547
+ */
548
+ proto.alis.ideate.Idea.ManagedSpecs.prototype.setJargon = function(value) {
549
+ return jspb.Message.setProto3StringField(this, 5, value);
550
+ };
551
+
552
+
553
+ /**
554
+ * optional string technology_landscape = 6;
555
+ * @return {string}
556
+ */
557
+ proto.alis.ideate.Idea.ManagedSpecs.prototype.getTechnologyLandscape = function() {
558
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
559
+ };
560
+
561
+
562
+ /**
563
+ * @param {string} value
564
+ * @return {!proto.alis.ideate.Idea.ManagedSpecs} returns this
565
+ */
566
+ proto.alis.ideate.Idea.ManagedSpecs.prototype.setTechnologyLandscape = function(value) {
567
+ return jspb.Message.setProto3StringField(this, 6, value);
568
+ };
569
+
570
+
571
+ /**
572
+ * optional string name = 1;
573
+ * @return {string}
574
+ */
575
+ proto.alis.ideate.Idea.prototype.getName = function() {
576
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
577
+ };
578
+
579
+
580
+ /**
581
+ * @param {string} value
582
+ * @return {!proto.alis.ideate.Idea} returns this
583
+ */
584
+ proto.alis.ideate.Idea.prototype.setName = function(value) {
585
+ return jspb.Message.setProto3StringField(this, 1, value);
586
+ };
587
+
588
+
589
+ /**
590
+ * optional string title = 2;
591
+ * @return {string}
592
+ */
593
+ proto.alis.ideate.Idea.prototype.getTitle = function() {
594
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
595
+ };
596
+
597
+
598
+ /**
599
+ * @param {string} value
600
+ * @return {!proto.alis.ideate.Idea} returns this
601
+ */
602
+ proto.alis.ideate.Idea.prototype.setTitle = function(value) {
603
+ return jspb.Message.setProto3StringField(this, 2, value);
604
+ };
605
+
606
+
607
+ /**
608
+ * optional State state = 3;
609
+ * @return {!proto.alis.ideate.Idea.State}
610
+ */
611
+ proto.alis.ideate.Idea.prototype.getState = function() {
612
+ return /** @type {!proto.alis.ideate.Idea.State} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
613
+ };
614
+
615
+
616
+ /**
617
+ * @param {!proto.alis.ideate.Idea.State} value
618
+ * @return {!proto.alis.ideate.Idea} returns this
619
+ */
620
+ proto.alis.ideate.Idea.prototype.setState = function(value) {
621
+ return jspb.Message.setProto3EnumField(this, 3, value);
622
+ };
623
+
624
+
625
+ /**
626
+ * optional ManagedSpecs managed_specs = 4;
627
+ * @return {?proto.alis.ideate.Idea.ManagedSpecs}
628
+ */
629
+ proto.alis.ideate.Idea.prototype.getManagedSpecs = function() {
630
+ return /** @type{?proto.alis.ideate.Idea.ManagedSpecs} */ (
631
+ jspb.Message.getWrapperField(this, proto.alis.ideate.Idea.ManagedSpecs, 4));
632
+ };
633
+
634
+
635
+ /**
636
+ * @param {?proto.alis.ideate.Idea.ManagedSpecs|undefined} value
637
+ * @return {!proto.alis.ideate.Idea} returns this
638
+ */
639
+ proto.alis.ideate.Idea.prototype.setManagedSpecs = function(value) {
640
+ return jspb.Message.setWrapperField(this, 4, value);
641
+ };
642
+
643
+
644
+ /**
645
+ * Clears the message field making it undefined.
646
+ * @return {!proto.alis.ideate.Idea} returns this
647
+ */
648
+ proto.alis.ideate.Idea.prototype.clearManagedSpecs = function() {
649
+ return this.setManagedSpecs(undefined);
650
+ };
651
+
652
+
653
+ /**
654
+ * Returns whether this field is set.
655
+ * @return {boolean}
656
+ */
657
+ proto.alis.ideate.Idea.prototype.hasManagedSpecs = function() {
658
+ return jspb.Message.getField(this, 4) != null;
659
+ };
660
+
661
+
662
+ /**
663
+ * optional string account = 96;
664
+ * @return {string}
665
+ */
666
+ proto.alis.ideate.Idea.prototype.getAccount = function() {
667
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 96, ""));
668
+ };
669
+
670
+
671
+ /**
672
+ * @param {string} value
673
+ * @return {!proto.alis.ideate.Idea} returns this
674
+ */
675
+ proto.alis.ideate.Idea.prototype.setAccount = function(value) {
676
+ return jspb.Message.setProto3StringField(this, 96, value);
677
+ };
678
+
679
+
680
+ /**
681
+ * optional google.protobuf.Timestamp create_time = 97;
682
+ * @return {?proto.google.protobuf.Timestamp}
683
+ */
684
+ proto.alis.ideate.Idea.prototype.getCreateTime = function() {
685
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
686
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 97));
687
+ };
688
+
689
+
690
+ /**
691
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
692
+ * @return {!proto.alis.ideate.Idea} returns this
693
+ */
694
+ proto.alis.ideate.Idea.prototype.setCreateTime = function(value) {
695
+ return jspb.Message.setWrapperField(this, 97, value);
696
+ };
697
+
698
+
699
+ /**
700
+ * Clears the message field making it undefined.
701
+ * @return {!proto.alis.ideate.Idea} returns this
702
+ */
703
+ proto.alis.ideate.Idea.prototype.clearCreateTime = function() {
704
+ return this.setCreateTime(undefined);
705
+ };
706
+
707
+
708
+ /**
709
+ * Returns whether this field is set.
710
+ * @return {boolean}
711
+ */
712
+ proto.alis.ideate.Idea.prototype.hasCreateTime = function() {
713
+ return jspb.Message.getField(this, 97) != null;
714
+ };
715
+
716
+
717
+ /**
718
+ * optional google.protobuf.Timestamp update_time = 98;
719
+ * @return {?proto.google.protobuf.Timestamp}
720
+ */
721
+ proto.alis.ideate.Idea.prototype.getUpdateTime = function() {
722
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
723
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 98));
724
+ };
725
+
726
+
727
+ /**
728
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
729
+ * @return {!proto.alis.ideate.Idea} returns this
730
+ */
731
+ proto.alis.ideate.Idea.prototype.setUpdateTime = function(value) {
732
+ return jspb.Message.setWrapperField(this, 98, value);
733
+ };
734
+
735
+
736
+ /**
737
+ * Clears the message field making it undefined.
738
+ * @return {!proto.alis.ideate.Idea} returns this
739
+ */
740
+ proto.alis.ideate.Idea.prototype.clearUpdateTime = function() {
741
+ return this.setUpdateTime(undefined);
742
+ };
743
+
744
+
745
+ /**
746
+ * Returns whether this field is set.
747
+ * @return {boolean}
748
+ */
749
+ proto.alis.ideate.Idea.prototype.hasUpdateTime = function() {
750
+ return jspb.Message.getField(this, 98) != null;
751
+ };
752
+
753
+
754
+
755
+
756
+
757
+ if (jspb.Message.GENERATE_TO_OBJECT) {
758
+ /**
759
+ * Creates an object representation of this proto.
760
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
761
+ * Optional fields that are not set will be set to undefined.
762
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
763
+ * For the list of reserved names please see:
764
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
765
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
766
+ * JSPB instance for transitional soy proto support:
767
+ * http://goto/soy-param-migration
768
+ * @return {!Object}
769
+ */
770
+ proto.alis.ideate.GetIdeaRequest.prototype.toObject = function(opt_includeInstance) {
771
+ return proto.alis.ideate.GetIdeaRequest.toObject(opt_includeInstance, this);
772
+ };
773
+
774
+
775
+ /**
776
+ * Static version of the {@see toObject} method.
777
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
778
+ * the JSPB instance for transitional soy proto support:
779
+ * http://goto/soy-param-migration
780
+ * @param {!proto.alis.ideate.GetIdeaRequest} msg The msg instance to transform.
781
+ * @return {!Object}
782
+ * @suppress {unusedLocalVariables} f is only used for nested messages
783
+ */
784
+ proto.alis.ideate.GetIdeaRequest.toObject = function(includeInstance, msg) {
785
+ var f, obj = {
786
+ name: jspb.Message.getFieldWithDefault(msg, 1, ""),
787
+ readMask: (f = msg.getReadMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f)
788
+ };
789
+
790
+ if (includeInstance) {
791
+ obj.$jspbMessageInstance = msg;
792
+ }
793
+ return obj;
794
+ };
795
+ }
796
+
797
+
798
+ /**
799
+ * Deserializes binary data (in protobuf wire format).
800
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
801
+ * @return {!proto.alis.ideate.GetIdeaRequest}
802
+ */
803
+ proto.alis.ideate.GetIdeaRequest.deserializeBinary = function(bytes) {
804
+ var reader = new jspb.BinaryReader(bytes);
805
+ var msg = new proto.alis.ideate.GetIdeaRequest;
806
+ return proto.alis.ideate.GetIdeaRequest.deserializeBinaryFromReader(msg, reader);
807
+ };
808
+
809
+
810
+ /**
811
+ * Deserializes binary data (in protobuf wire format) from the
812
+ * given reader into the given message object.
813
+ * @param {!proto.alis.ideate.GetIdeaRequest} msg The message object to deserialize into.
814
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
815
+ * @return {!proto.alis.ideate.GetIdeaRequest}
816
+ */
817
+ proto.alis.ideate.GetIdeaRequest.deserializeBinaryFromReader = function(msg, reader) {
818
+ while (reader.nextField()) {
819
+ if (reader.isEndGroup()) {
820
+ break;
821
+ }
822
+ var field = reader.getFieldNumber();
823
+ switch (field) {
824
+ case 1:
825
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
826
+ msg.setName(value);
827
+ break;
828
+ case 2:
829
+ var value = new google_protobuf_field_mask_pb.FieldMask;
830
+ reader.readMessage(value,google_protobuf_field_mask_pb.FieldMask.deserializeBinaryFromReader);
831
+ msg.setReadMask(value);
832
+ break;
833
+ default:
834
+ reader.skipField();
835
+ break;
836
+ }
837
+ }
838
+ return msg;
839
+ };
840
+
841
+
842
+ /**
843
+ * Serializes the message to binary data (in protobuf wire format).
844
+ * @return {!Uint8Array}
845
+ */
846
+ proto.alis.ideate.GetIdeaRequest.prototype.serializeBinary = function() {
847
+ var writer = new jspb.BinaryWriter();
848
+ proto.alis.ideate.GetIdeaRequest.serializeBinaryToWriter(this, writer);
849
+ return writer.getResultBuffer();
850
+ };
851
+
852
+
853
+ /**
854
+ * Serializes the given message to binary data (in protobuf wire
855
+ * format), writing to the given BinaryWriter.
856
+ * @param {!proto.alis.ideate.GetIdeaRequest} message
857
+ * @param {!jspb.BinaryWriter} writer
858
+ * @suppress {unusedLocalVariables} f is only used for nested messages
859
+ */
860
+ proto.alis.ideate.GetIdeaRequest.serializeBinaryToWriter = function(message, writer) {
861
+ var f = undefined;
862
+ f = message.getName();
863
+ if (f.length > 0) {
864
+ writer.writeString(
865
+ 1,
866
+ f
867
+ );
868
+ }
869
+ f = message.getReadMask();
870
+ if (f != null) {
871
+ writer.writeMessage(
872
+ 2,
873
+ f,
874
+ google_protobuf_field_mask_pb.FieldMask.serializeBinaryToWriter
875
+ );
876
+ }
877
+ };
878
+
879
+
880
+ /**
881
+ * optional string name = 1;
882
+ * @return {string}
883
+ */
884
+ proto.alis.ideate.GetIdeaRequest.prototype.getName = function() {
885
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
886
+ };
887
+
888
+
889
+ /**
890
+ * @param {string} value
891
+ * @return {!proto.alis.ideate.GetIdeaRequest} returns this
892
+ */
893
+ proto.alis.ideate.GetIdeaRequest.prototype.setName = function(value) {
894
+ return jspb.Message.setProto3StringField(this, 1, value);
895
+ };
896
+
897
+
898
+ /**
899
+ * optional google.protobuf.FieldMask read_mask = 2;
900
+ * @return {?proto.google.protobuf.FieldMask}
901
+ */
902
+ proto.alis.ideate.GetIdeaRequest.prototype.getReadMask = function() {
903
+ return /** @type{?proto.google.protobuf.FieldMask} */ (
904
+ jspb.Message.getWrapperField(this, google_protobuf_field_mask_pb.FieldMask, 2));
905
+ };
906
+
907
+
908
+ /**
909
+ * @param {?proto.google.protobuf.FieldMask|undefined} value
910
+ * @return {!proto.alis.ideate.GetIdeaRequest} returns this
911
+ */
912
+ proto.alis.ideate.GetIdeaRequest.prototype.setReadMask = function(value) {
913
+ return jspb.Message.setWrapperField(this, 2, value);
914
+ };
915
+
916
+
917
+ /**
918
+ * Clears the message field making it undefined.
919
+ * @return {!proto.alis.ideate.GetIdeaRequest} returns this
920
+ */
921
+ proto.alis.ideate.GetIdeaRequest.prototype.clearReadMask = function() {
922
+ return this.setReadMask(undefined);
923
+ };
924
+
925
+
926
+ /**
927
+ * Returns whether this field is set.
928
+ * @return {boolean}
929
+ */
930
+ proto.alis.ideate.GetIdeaRequest.prototype.hasReadMask = function() {
931
+ return jspb.Message.getField(this, 2) != null;
932
+ };
933
+
934
+
935
+ goog.object.extend(exports, proto.alis.ideate);
936
+
937
+ // Below is base64 encoded GeneratedCodeInfo proto
938
+ // CiIKAgQAEhZhbGlzL2lkZWF0ZS9pZGVhLnByb3RvGKALIKQLCiQKBAQAAwASFmFsaXMvaWRlYXRlL2lkZWEucHJvdG8Y3xAg6xAKIgoCBAESFmFsaXMvaWRlYXRlL2lkZWEucHJvdG8YyBYg1hYKJAoEBAAEABIWYWxpcy9pZGVhdGUvaWRlYS5wcm90bxjBRSDGRQomCgYEAAQAAgASFmFsaXMvaWRlYXRlL2lkZWEucHJvdG8YzUUg3kUKJgoGBAAEAAIBEhZhbGlzL2lkZWF0ZS9pZGVhLnByb3RvGOVFIOhFCiYKBgQABAACAhIWYWxpcy9pZGVhdGUvaWRlYS5wcm90bxjvRSD5RQomCgYEAAQAAgMSFmFsaXMvaWRlYXRlL2lkZWEucHJvdG8YgEYghkYKJgoGBAAEAAIEEhZhbGlzL2lkZWF0ZS9pZGVhLnByb3RvGI1GIJVGCiYKBgQABAACBRIWYWxpcy9pZGVhdGUvaWRlYS5wcm90bxicRiChRgomCgYEAAMAAgASFmFsaXMvaWRlYXRlL2lkZWEucHJvdG8YnW4gqW4KJgoGBAADAAIAEhZhbGlzL2lkZWF0ZS9pZGVhLnByb3RvGJxwIKhwCiYKBgQAAwACARIWYWxpcy9pZGVhdGUvaWRlYS5wcm90bxjwcSCBcgomCgYEAAMAAgESFmFsaXMvaWRlYXRlL2lkZWEucHJvdG8Y9HMghXQKJgoGBAADAAICEhZhbGlzL2lkZWF0ZS9pZGVhLnByb3RvGM11IN51CiYKBgQAAwACAhIWYWxpcy9pZGVhdGUvaWRlYS5wcm90bxjRdyDidwomCgYEAAMAAgMSFmFsaXMvaWRlYXRlL2lkZWEucHJvdG8Ypnkgs3kKJgoGBAADAAIDEhZhbGlzL2lkZWF0ZS9pZGVhLnByb3RvGKZ7ILN7CiYKBgQAAwACBBIWYWxpcy9pZGVhdGUvaWRlYS5wcm90bxjyfCD7fAomCgYEAAMAAgQSFmFsaXMvaWRlYXRlL2lkZWEucHJvdG8Y7n4g934KKAoGBAADAAIFEhZhbGlzL2lkZWF0ZS9pZGVhLnByb3RvGMSAASDagAEKKAoGBAADAAIFEhZhbGlzL2lkZWF0ZS9pZGVhLnByb3RvGM2CASDjggEKJgoEBAACABIWYWxpcy9pZGVhdGUvaWRlYS5wcm90bxiThAEgmoQBCiYKBAQAAgASFmFsaXMvaWRlYXRlL2lkZWEucHJvdG8Y84UBIPqFAQomCgQEAAIBEhZhbGlzL2lkZWF0ZS9pZGVhLnByb3RvGKuHASCzhwEKJgoEBAACARIWYWxpcy9pZGVhdGUvaWRlYS5wcm90bxiMiQEglIkBCiYKBAQAAgISFmFsaXMvaWRlYXRlL2lkZWEucHJvdG8Y24oBIOOKAQomCgQEAAICEhZhbGlzL2lkZWF0ZS9pZGVhLnByb3RvGOmMASDxjAEKJgoEBAACAxIWYWxpcy9pZGVhdGUvaWRlYS5wcm90bxjMjgEg244BCiYKBAQAAgMSFmFsaXMvaWRlYXRlL2lkZWEucHJvdG8YmpEBIKmRAQomCgQEAAIDEhZhbGlzL2lkZWF0ZS9pZGVhLnByb3RvGIaTASCXkwEKJgoEBAACAxIWYWxpcy9pZGVhdGUvaWRlYS5wcm90bxi6lAEgyZQBCiYKBAQAAgQSFmFsaXMvaWRlYXRlL2lkZWEucHJvdG8Y7ZUBIPeVAQomCgQEAAIEEhZhbGlzL2lkZWF0ZS9pZGVhLnByb3RvGNGXASDblwEKJgoEBAACBRIWYWxpcy9pZGVhdGUvaWRlYS5wcm90bxjBmQEgzpkBCiYKBAQAAgUSFmFsaXMvaWRlYXRlL2lkZWEucHJvdG8YiZwBIJacAQomCgQEAAIFEhZhbGlzL2lkZWF0ZS9pZGVhLnByb3RvGPSdASCDngEKJgoEBAACBRIWYWxpcy9pZGVhdGUvaWRlYS5wcm90bxiknwEgsZ8BCiYKBAQAAgYSFmFsaXMvaWRlYXRlL2lkZWEucHJvdG8Yh6EBIJShAQomCgQEAAIGEhZhbGlzL2lkZWF0ZS9pZGVhLnByb3RvGM+jASDcowEKJgoEBAACBhIWYWxpcy9pZGVhdGUvaWRlYS5wcm90bxi6pQEgyaUBCiYKBAQAAgYSFmFsaXMvaWRlYXRlL2lkZWEucHJvdG8Y6qYBIPemAQomCgQEAQIAEhZhbGlzL2lkZWF0ZS9pZGVhLnByb3RvGPrGASCBxwEKJgoEBAECABIWYWxpcy9pZGVhdGUvaWRlYS5wcm90bxjuyAEg9cgBCiYKBAQBAgESFmFsaXMvaWRlYXRlL2lkZWEucHJvdG8Y4coBIOzKAQomCgQEAQIBEhZhbGlzL2lkZWF0ZS9pZGVhLnByb3RvGLvNASDGzQEKJgoEBAECARIWYWxpcy9pZGVhdGUvaWRlYS5wcm90bxi3zwEgxM8BCiYKBAQBAgESFmFsaXMvaWRlYXRlL2lkZWEucHJvdG8Y7dABIPjQAQ==