1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 | var jspb = require('google-protobuf');
|
11 | var goog = jspb;
|
12 | var global = Function('return this')();
|
13 |
|
14 | goog.exportSymbol('proto.co.treelab.api.AddColumnInput', null, global);
|
15 | goog.exportSymbol('proto.co.treelab.api.AddCoreInput', null, global);
|
16 | goog.exportSymbol('proto.co.treelab.api.AddRowInput', null, global);
|
17 | goog.exportSymbol('proto.co.treelab.api.AddTableInput', null, global);
|
18 | goog.exportSymbol('proto.co.treelab.api.AddViewInput', null, global);
|
19 | goog.exportSymbol('proto.co.treelab.api.Attachment', null, global);
|
20 | goog.exportSymbol('proto.co.treelab.api.CellData', null, global);
|
21 | goog.exportSymbol('proto.co.treelab.api.CellValueInput', null, global);
|
22 | goog.exportSymbol('proto.co.treelab.api.Choice', null, global);
|
23 | goog.exportSymbol('proto.co.treelab.api.ColumnConfig', null, global);
|
24 | goog.exportSymbol('proto.co.treelab.api.ColumnConfigInput', null, global);
|
25 | goog.exportSymbol('proto.co.treelab.api.ColumnDefinition', null, global);
|
26 | goog.exportSymbol('proto.co.treelab.api.ColumnId', null, global);
|
27 | goog.exportSymbol('proto.co.treelab.api.CoreId', null, global);
|
28 | goog.exportSymbol('proto.co.treelab.api.CoreProjection', null, global);
|
29 | goog.exportSymbol('proto.co.treelab.api.CoresResult', null, global);
|
30 | goog.exportSymbol('proto.co.treelab.api.CreateWorkspaceInput', null, global);
|
31 | goog.exportSymbol('proto.co.treelab.api.EmptyInput', null, global);
|
32 | goog.exportSymbol('proto.co.treelab.api.EventMetadata', null, global);
|
33 | goog.exportSymbol('proto.co.treelab.api.EventPayload', null, global);
|
34 | goog.exportSymbol('proto.co.treelab.api.ForeignRowValue', null, global);
|
35 | goog.exportSymbol('proto.co.treelab.api.ForeignRowVisibleNameValue', null, global);
|
36 | goog.exportSymbol('proto.co.treelab.api.GetCoreInput', null, global);
|
37 | goog.exportSymbol('proto.co.treelab.api.GetCoresInput', null, global);
|
38 | goog.exportSymbol('proto.co.treelab.api.GetTableInput', null, global);
|
39 | goog.exportSymbol('proto.co.treelab.api.GetTablesInput', null, global);
|
40 | goog.exportSymbol('proto.co.treelab.api.GetWorkspaceInput', null, global);
|
41 | goog.exportSymbol('proto.co.treelab.api.RemoveCoreInput', null, global);
|
42 | goog.exportSymbol('proto.co.treelab.api.RowData', null, global);
|
43 | goog.exportSymbol('proto.co.treelab.api.RowId', null, global);
|
44 | goog.exportSymbol('proto.co.treelab.api.TableData', null, global);
|
45 | goog.exportSymbol('proto.co.treelab.api.TableId', null, global);
|
46 | goog.exportSymbol('proto.co.treelab.api.TableProjection', null, global);
|
47 | goog.exportSymbol('proto.co.treelab.api.TablesResult', null, global);
|
48 | goog.exportSymbol('proto.co.treelab.api.UpdateCellActionInput', null, global);
|
49 | goog.exportSymbol('proto.co.treelab.api.UpdateCellInput', null, global);
|
50 | goog.exportSymbol('proto.co.treelab.api.UpdateCoreInput', null, global);
|
51 | goog.exportSymbol('proto.co.treelab.api.ViewData', null, global);
|
52 | goog.exportSymbol('proto.co.treelab.api.ViewDefinition', null, global);
|
53 | goog.exportSymbol('proto.co.treelab.api.ViewDefinitionInput', null, global);
|
54 | goog.exportSymbol('proto.co.treelab.api.ViewId', null, global);
|
55 | goog.exportSymbol('proto.co.treelab.api.WorkspaceId', null, global);
|
56 | goog.exportSymbol('proto.co.treelab.api.WorkspaceProjection', null, global);
|
57 | goog.exportSymbol('proto.co.treelab.api.WorkspaceSubscriptionInput', null, global);
|
58 | goog.exportSymbol('proto.co.treelab.api.WorkspacesResult', null, global);
|
59 |
|
60 |
|
61 |
|
62 |
|
63 |
|
64 |
|
65 |
|
66 |
|
67 |
|
68 |
|
69 |
|
70 | proto.co.treelab.api.EmptyInput = function(opt_data) {
|
71 | jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
72 | };
|
73 | goog.inherits(proto.co.treelab.api.EmptyInput, jspb.Message);
|
74 | if (goog.DEBUG && !COMPILED) {
|
75 | proto.co.treelab.api.EmptyInput.displayName = 'proto.co.treelab.api.EmptyInput';
|
76 | }
|
77 |
|
78 |
|
79 | if (jspb.Message.GENERATE_TO_OBJECT) {
|
80 |
|
81 |
|
82 |
|
83 |
|
84 |
|
85 |
|
86 |
|
87 |
|
88 |
|
89 |
|
90 | proto.co.treelab.api.EmptyInput.prototype.toObject = function(opt_includeInstance) {
|
91 | return proto.co.treelab.api.EmptyInput.toObject(opt_includeInstance, this);
|
92 | };
|
93 |
|
94 |
|
95 |
|
96 |
|
97 |
|
98 |
|
99 |
|
100 |
|
101 |
|
102 |
|
103 |
|
104 | proto.co.treelab.api.EmptyInput.toObject = function(includeInstance, msg) {
|
105 | var f, obj = {
|
106 |
|
107 | };
|
108 |
|
109 | if (includeInstance) {
|
110 | obj.$jspbMessageInstance = msg;
|
111 | }
|
112 | return obj;
|
113 | };
|
114 | }
|
115 |
|
116 |
|
117 |
|
118 |
|
119 |
|
120 |
|
121 |
|
122 | proto.co.treelab.api.EmptyInput.deserializeBinary = function(bytes) {
|
123 | var reader = new jspb.BinaryReader(bytes);
|
124 | var msg = new proto.co.treelab.api.EmptyInput;
|
125 | return proto.co.treelab.api.EmptyInput.deserializeBinaryFromReader(msg, reader);
|
126 | };
|
127 |
|
128 |
|
129 |
|
130 |
|
131 |
|
132 |
|
133 |
|
134 |
|
135 |
|
136 | proto.co.treelab.api.EmptyInput.deserializeBinaryFromReader = function(msg, reader) {
|
137 | while (reader.nextField()) {
|
138 | if (reader.isEndGroup()) {
|
139 | break;
|
140 | }
|
141 | var field = reader.getFieldNumber();
|
142 | switch (field) {
|
143 | default:
|
144 | reader.skipField();
|
145 | break;
|
146 | }
|
147 | }
|
148 | return msg;
|
149 | };
|
150 |
|
151 |
|
152 |
|
153 |
|
154 |
|
155 |
|
156 | proto.co.treelab.api.EmptyInput.prototype.serializeBinary = function() {
|
157 | var writer = new jspb.BinaryWriter();
|
158 | proto.co.treelab.api.EmptyInput.serializeBinaryToWriter(this, writer);
|
159 | return writer.getResultBuffer();
|
160 | };
|
161 |
|
162 |
|
163 |
|
164 |
|
165 |
|
166 |
|
167 |
|
168 |
|
169 |
|
170 | proto.co.treelab.api.EmptyInput.serializeBinaryToWriter = function(message, writer) {
|
171 | var f = undefined;
|
172 | };
|
173 |
|
174 |
|
175 |
|
176 |
|
177 |
|
178 |
|
179 |
|
180 |
|
181 |
|
182 |
|
183 |
|
184 |
|
185 |
|
186 | proto.co.treelab.api.WorkspacesResult = function(opt_data) {
|
187 | jspb.Message.initialize(this, opt_data, 0, -1, proto.co.treelab.api.WorkspacesResult.repeatedFields_, null);
|
188 | };
|
189 | goog.inherits(proto.co.treelab.api.WorkspacesResult, jspb.Message);
|
190 | if (goog.DEBUG && !COMPILED) {
|
191 | proto.co.treelab.api.WorkspacesResult.displayName = 'proto.co.treelab.api.WorkspacesResult';
|
192 | }
|
193 |
|
194 |
|
195 |
|
196 |
|
197 |
|
198 | proto.co.treelab.api.WorkspacesResult.repeatedFields_ = [1];
|
199 |
|
200 |
|
201 |
|
202 | if (jspb.Message.GENERATE_TO_OBJECT) {
|
203 |
|
204 |
|
205 |
|
206 |
|
207 |
|
208 |
|
209 |
|
210 |
|
211 |
|
212 |
|
213 | proto.co.treelab.api.WorkspacesResult.prototype.toObject = function(opt_includeInstance) {
|
214 | return proto.co.treelab.api.WorkspacesResult.toObject(opt_includeInstance, this);
|
215 | };
|
216 |
|
217 |
|
218 |
|
219 |
|
220 |
|
221 |
|
222 |
|
223 |
|
224 |
|
225 |
|
226 |
|
227 | proto.co.treelab.api.WorkspacesResult.toObject = function(includeInstance, msg) {
|
228 | var f, obj = {
|
229 | resultList: jspb.Message.toObjectList(msg.getResultList(),
|
230 | proto.co.treelab.api.WorkspaceProjection.toObject, includeInstance)
|
231 | };
|
232 |
|
233 | if (includeInstance) {
|
234 | obj.$jspbMessageInstance = msg;
|
235 | }
|
236 | return obj;
|
237 | };
|
238 | }
|
239 |
|
240 |
|
241 |
|
242 |
|
243 |
|
244 |
|
245 |
|
246 | proto.co.treelab.api.WorkspacesResult.deserializeBinary = function(bytes) {
|
247 | var reader = new jspb.BinaryReader(bytes);
|
248 | var msg = new proto.co.treelab.api.WorkspacesResult;
|
249 | return proto.co.treelab.api.WorkspacesResult.deserializeBinaryFromReader(msg, reader);
|
250 | };
|
251 |
|
252 |
|
253 |
|
254 |
|
255 |
|
256 |
|
257 |
|
258 |
|
259 |
|
260 | proto.co.treelab.api.WorkspacesResult.deserializeBinaryFromReader = function(msg, reader) {
|
261 | while (reader.nextField()) {
|
262 | if (reader.isEndGroup()) {
|
263 | break;
|
264 | }
|
265 | var field = reader.getFieldNumber();
|
266 | switch (field) {
|
267 | case 1:
|
268 | var value = new proto.co.treelab.api.WorkspaceProjection;
|
269 | reader.readMessage(value,proto.co.treelab.api.WorkspaceProjection.deserializeBinaryFromReader);
|
270 | msg.addResult(value);
|
271 | break;
|
272 | default:
|
273 | reader.skipField();
|
274 | break;
|
275 | }
|
276 | }
|
277 | return msg;
|
278 | };
|
279 |
|
280 |
|
281 |
|
282 |
|
283 |
|
284 |
|
285 | proto.co.treelab.api.WorkspacesResult.prototype.serializeBinary = function() {
|
286 | var writer = new jspb.BinaryWriter();
|
287 | proto.co.treelab.api.WorkspacesResult.serializeBinaryToWriter(this, writer);
|
288 | return writer.getResultBuffer();
|
289 | };
|
290 |
|
291 |
|
292 |
|
293 |
|
294 |
|
295 |
|
296 |
|
297 |
|
298 |
|
299 | proto.co.treelab.api.WorkspacesResult.serializeBinaryToWriter = function(message, writer) {
|
300 | var f = undefined;
|
301 | f = message.getResultList();
|
302 | if (f.length > 0) {
|
303 | writer.writeRepeatedMessage(
|
304 | 1,
|
305 | f,
|
306 | proto.co.treelab.api.WorkspaceProjection.serializeBinaryToWriter
|
307 | );
|
308 | }
|
309 | };
|
310 |
|
311 |
|
312 |
|
313 |
|
314 |
|
315 |
|
316 | proto.co.treelab.api.WorkspacesResult.prototype.getResultList = function() {
|
317 | return (
|
318 | jspb.Message.getRepeatedWrapperField(this, proto.co.treelab.api.WorkspaceProjection, 1));
|
319 | };
|
320 |
|
321 |
|
322 |
|
323 | proto.co.treelab.api.WorkspacesResult.prototype.setResultList = function(value) {
|
324 | jspb.Message.setRepeatedWrapperField(this, 1, value);
|
325 | };
|
326 |
|
327 |
|
328 |
|
329 |
|
330 |
|
331 |
|
332 |
|
333 | proto.co.treelab.api.WorkspacesResult.prototype.addResult = function(opt_value, opt_index) {
|
334 | return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.co.treelab.api.WorkspaceProjection, opt_index);
|
335 | };
|
336 |
|
337 |
|
338 | proto.co.treelab.api.WorkspacesResult.prototype.clearResultList = function() {
|
339 | this.setResultList([]);
|
340 | };
|
341 |
|
342 |
|
343 |
|
344 |
|
345 |
|
346 |
|
347 |
|
348 |
|
349 |
|
350 |
|
351 |
|
352 |
|
353 |
|
354 | proto.co.treelab.api.CoresResult = function(opt_data) {
|
355 | jspb.Message.initialize(this, opt_data, 0, -1, proto.co.treelab.api.CoresResult.repeatedFields_, null);
|
356 | };
|
357 | goog.inherits(proto.co.treelab.api.CoresResult, jspb.Message);
|
358 | if (goog.DEBUG && !COMPILED) {
|
359 | proto.co.treelab.api.CoresResult.displayName = 'proto.co.treelab.api.CoresResult';
|
360 | }
|
361 |
|
362 |
|
363 |
|
364 |
|
365 |
|
366 | proto.co.treelab.api.CoresResult.repeatedFields_ = [1];
|
367 |
|
368 |
|
369 |
|
370 | if (jspb.Message.GENERATE_TO_OBJECT) {
|
371 |
|
372 |
|
373 |
|
374 |
|
375 |
|
376 |
|
377 |
|
378 |
|
379 |
|
380 |
|
381 | proto.co.treelab.api.CoresResult.prototype.toObject = function(opt_includeInstance) {
|
382 | return proto.co.treelab.api.CoresResult.toObject(opt_includeInstance, this);
|
383 | };
|
384 |
|
385 |
|
386 |
|
387 |
|
388 |
|
389 |
|
390 |
|
391 |
|
392 |
|
393 |
|
394 |
|
395 | proto.co.treelab.api.CoresResult.toObject = function(includeInstance, msg) {
|
396 | var f, obj = {
|
397 | resultList: jspb.Message.toObjectList(msg.getResultList(),
|
398 | proto.co.treelab.api.CoreProjection.toObject, includeInstance)
|
399 | };
|
400 |
|
401 | if (includeInstance) {
|
402 | obj.$jspbMessageInstance = msg;
|
403 | }
|
404 | return obj;
|
405 | };
|
406 | }
|
407 |
|
408 |
|
409 |
|
410 |
|
411 |
|
412 |
|
413 |
|
414 | proto.co.treelab.api.CoresResult.deserializeBinary = function(bytes) {
|
415 | var reader = new jspb.BinaryReader(bytes);
|
416 | var msg = new proto.co.treelab.api.CoresResult;
|
417 | return proto.co.treelab.api.CoresResult.deserializeBinaryFromReader(msg, reader);
|
418 | };
|
419 |
|
420 |
|
421 |
|
422 |
|
423 |
|
424 |
|
425 |
|
426 |
|
427 |
|
428 | proto.co.treelab.api.CoresResult.deserializeBinaryFromReader = function(msg, reader) {
|
429 | while (reader.nextField()) {
|
430 | if (reader.isEndGroup()) {
|
431 | break;
|
432 | }
|
433 | var field = reader.getFieldNumber();
|
434 | switch (field) {
|
435 | case 1:
|
436 | var value = new proto.co.treelab.api.CoreProjection;
|
437 | reader.readMessage(value,proto.co.treelab.api.CoreProjection.deserializeBinaryFromReader);
|
438 | msg.addResult(value);
|
439 | break;
|
440 | default:
|
441 | reader.skipField();
|
442 | break;
|
443 | }
|
444 | }
|
445 | return msg;
|
446 | };
|
447 |
|
448 |
|
449 |
|
450 |
|
451 |
|
452 |
|
453 | proto.co.treelab.api.CoresResult.prototype.serializeBinary = function() {
|
454 | var writer = new jspb.BinaryWriter();
|
455 | proto.co.treelab.api.CoresResult.serializeBinaryToWriter(this, writer);
|
456 | return writer.getResultBuffer();
|
457 | };
|
458 |
|
459 |
|
460 |
|
461 |
|
462 |
|
463 |
|
464 |
|
465 |
|
466 |
|
467 | proto.co.treelab.api.CoresResult.serializeBinaryToWriter = function(message, writer) {
|
468 | var f = undefined;
|
469 | f = message.getResultList();
|
470 | if (f.length > 0) {
|
471 | writer.writeRepeatedMessage(
|
472 | 1,
|
473 | f,
|
474 | proto.co.treelab.api.CoreProjection.serializeBinaryToWriter
|
475 | );
|
476 | }
|
477 | };
|
478 |
|
479 |
|
480 |
|
481 |
|
482 |
|
483 |
|
484 | proto.co.treelab.api.CoresResult.prototype.getResultList = function() {
|
485 | return (
|
486 | jspb.Message.getRepeatedWrapperField(this, proto.co.treelab.api.CoreProjection, 1));
|
487 | };
|
488 |
|
489 |
|
490 |
|
491 | proto.co.treelab.api.CoresResult.prototype.setResultList = function(value) {
|
492 | jspb.Message.setRepeatedWrapperField(this, 1, value);
|
493 | };
|
494 |
|
495 |
|
496 |
|
497 |
|
498 |
|
499 |
|
500 |
|
501 | proto.co.treelab.api.CoresResult.prototype.addResult = function(opt_value, opt_index) {
|
502 | return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.co.treelab.api.CoreProjection, opt_index);
|
503 | };
|
504 |
|
505 |
|
506 | proto.co.treelab.api.CoresResult.prototype.clearResultList = function() {
|
507 | this.setResultList([]);
|
508 | };
|
509 |
|
510 |
|
511 |
|
512 |
|
513 |
|
514 |
|
515 |
|
516 |
|
517 |
|
518 |
|
519 |
|
520 |
|
521 |
|
522 | proto.co.treelab.api.TablesResult = function(opt_data) {
|
523 | jspb.Message.initialize(this, opt_data, 0, -1, proto.co.treelab.api.TablesResult.repeatedFields_, null);
|
524 | };
|
525 | goog.inherits(proto.co.treelab.api.TablesResult, jspb.Message);
|
526 | if (goog.DEBUG && !COMPILED) {
|
527 | proto.co.treelab.api.TablesResult.displayName = 'proto.co.treelab.api.TablesResult';
|
528 | }
|
529 |
|
530 |
|
531 |
|
532 |
|
533 |
|
534 | proto.co.treelab.api.TablesResult.repeatedFields_ = [1];
|
535 |
|
536 |
|
537 |
|
538 | if (jspb.Message.GENERATE_TO_OBJECT) {
|
539 |
|
540 |
|
541 |
|
542 |
|
543 |
|
544 |
|
545 |
|
546 |
|
547 |
|
548 |
|
549 | proto.co.treelab.api.TablesResult.prototype.toObject = function(opt_includeInstance) {
|
550 | return proto.co.treelab.api.TablesResult.toObject(opt_includeInstance, this);
|
551 | };
|
552 |
|
553 |
|
554 |
|
555 |
|
556 |
|
557 |
|
558 |
|
559 |
|
560 |
|
561 |
|
562 |
|
563 | proto.co.treelab.api.TablesResult.toObject = function(includeInstance, msg) {
|
564 | var f, obj = {
|
565 | resultList: jspb.Message.toObjectList(msg.getResultList(),
|
566 | proto.co.treelab.api.TableProjection.toObject, includeInstance)
|
567 | };
|
568 |
|
569 | if (includeInstance) {
|
570 | obj.$jspbMessageInstance = msg;
|
571 | }
|
572 | return obj;
|
573 | };
|
574 | }
|
575 |
|
576 |
|
577 |
|
578 |
|
579 |
|
580 |
|
581 |
|
582 | proto.co.treelab.api.TablesResult.deserializeBinary = function(bytes) {
|
583 | var reader = new jspb.BinaryReader(bytes);
|
584 | var msg = new proto.co.treelab.api.TablesResult;
|
585 | return proto.co.treelab.api.TablesResult.deserializeBinaryFromReader(msg, reader);
|
586 | };
|
587 |
|
588 |
|
589 |
|
590 |
|
591 |
|
592 |
|
593 |
|
594 |
|
595 |
|
596 | proto.co.treelab.api.TablesResult.deserializeBinaryFromReader = function(msg, reader) {
|
597 | while (reader.nextField()) {
|
598 | if (reader.isEndGroup()) {
|
599 | break;
|
600 | }
|
601 | var field = reader.getFieldNumber();
|
602 | switch (field) {
|
603 | case 1:
|
604 | var value = new proto.co.treelab.api.TableProjection;
|
605 | reader.readMessage(value,proto.co.treelab.api.TableProjection.deserializeBinaryFromReader);
|
606 | msg.addResult(value);
|
607 | break;
|
608 | default:
|
609 | reader.skipField();
|
610 | break;
|
611 | }
|
612 | }
|
613 | return msg;
|
614 | };
|
615 |
|
616 |
|
617 |
|
618 |
|
619 |
|
620 |
|
621 | proto.co.treelab.api.TablesResult.prototype.serializeBinary = function() {
|
622 | var writer = new jspb.BinaryWriter();
|
623 | proto.co.treelab.api.TablesResult.serializeBinaryToWriter(this, writer);
|
624 | return writer.getResultBuffer();
|
625 | };
|
626 |
|
627 |
|
628 |
|
629 |
|
630 |
|
631 |
|
632 |
|
633 |
|
634 |
|
635 | proto.co.treelab.api.TablesResult.serializeBinaryToWriter = function(message, writer) {
|
636 | var f = undefined;
|
637 | f = message.getResultList();
|
638 | if (f.length > 0) {
|
639 | writer.writeRepeatedMessage(
|
640 | 1,
|
641 | f,
|
642 | proto.co.treelab.api.TableProjection.serializeBinaryToWriter
|
643 | );
|
644 | }
|
645 | };
|
646 |
|
647 |
|
648 |
|
649 |
|
650 |
|
651 |
|
652 | proto.co.treelab.api.TablesResult.prototype.getResultList = function() {
|
653 | return (
|
654 | jspb.Message.getRepeatedWrapperField(this, proto.co.treelab.api.TableProjection, 1));
|
655 | };
|
656 |
|
657 |
|
658 |
|
659 | proto.co.treelab.api.TablesResult.prototype.setResultList = function(value) {
|
660 | jspb.Message.setRepeatedWrapperField(this, 1, value);
|
661 | };
|
662 |
|
663 |
|
664 |
|
665 |
|
666 |
|
667 |
|
668 |
|
669 | proto.co.treelab.api.TablesResult.prototype.addResult = function(opt_value, opt_index) {
|
670 | return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.co.treelab.api.TableProjection, opt_index);
|
671 | };
|
672 |
|
673 |
|
674 | proto.co.treelab.api.TablesResult.prototype.clearResultList = function() {
|
675 | this.setResultList([]);
|
676 | };
|
677 |
|
678 |
|
679 |
|
680 |
|
681 |
|
682 |
|
683 |
|
684 |
|
685 |
|
686 |
|
687 |
|
688 |
|
689 |
|
690 | proto.co.treelab.api.TableProjection = function(opt_data) {
|
691 | jspb.Message.initialize(this, opt_data, 0, -1, proto.co.treelab.api.TableProjection.repeatedFields_, null);
|
692 | };
|
693 | goog.inherits(proto.co.treelab.api.TableProjection, jspb.Message);
|
694 | if (goog.DEBUG && !COMPILED) {
|
695 | proto.co.treelab.api.TableProjection.displayName = 'proto.co.treelab.api.TableProjection';
|
696 | }
|
697 |
|
698 |
|
699 |
|
700 |
|
701 |
|
702 | proto.co.treelab.api.TableProjection.repeatedFields_ = [5];
|
703 |
|
704 |
|
705 |
|
706 | if (jspb.Message.GENERATE_TO_OBJECT) {
|
707 |
|
708 |
|
709 |
|
710 |
|
711 |
|
712 |
|
713 |
|
714 |
|
715 |
|
716 |
|
717 | proto.co.treelab.api.TableProjection.prototype.toObject = function(opt_includeInstance) {
|
718 | return proto.co.treelab.api.TableProjection.toObject(opt_includeInstance, this);
|
719 | };
|
720 |
|
721 |
|
722 |
|
723 |
|
724 |
|
725 |
|
726 |
|
727 |
|
728 |
|
729 |
|
730 |
|
731 | proto.co.treelab.api.TableProjection.toObject = function(includeInstance, msg) {
|
732 | var f, obj = {
|
733 | id: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
734 | name: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
735 | viewsList: jspb.Message.toObjectList(msg.getViewsList(),
|
736 | proto.co.treelab.api.ViewData.toObject, includeInstance)
|
737 | };
|
738 |
|
739 | if (includeInstance) {
|
740 | obj.$jspbMessageInstance = msg;
|
741 | }
|
742 | return obj;
|
743 | };
|
744 | }
|
745 |
|
746 |
|
747 |
|
748 |
|
749 |
|
750 |
|
751 |
|
752 | proto.co.treelab.api.TableProjection.deserializeBinary = function(bytes) {
|
753 | var reader = new jspb.BinaryReader(bytes);
|
754 | var msg = new proto.co.treelab.api.TableProjection;
|
755 | return proto.co.treelab.api.TableProjection.deserializeBinaryFromReader(msg, reader);
|
756 | };
|
757 |
|
758 |
|
759 |
|
760 |
|
761 |
|
762 |
|
763 |
|
764 |
|
765 |
|
766 | proto.co.treelab.api.TableProjection.deserializeBinaryFromReader = function(msg, reader) {
|
767 | while (reader.nextField()) {
|
768 | if (reader.isEndGroup()) {
|
769 | break;
|
770 | }
|
771 | var field = reader.getFieldNumber();
|
772 | switch (field) {
|
773 | case 3:
|
774 | var value = (reader.readString());
|
775 | msg.setId(value);
|
776 | break;
|
777 | case 4:
|
778 | var value = (reader.readString());
|
779 | msg.setName(value);
|
780 | break;
|
781 | case 5:
|
782 | var value = new proto.co.treelab.api.ViewData;
|
783 | reader.readMessage(value,proto.co.treelab.api.ViewData.deserializeBinaryFromReader);
|
784 | msg.addViews(value);
|
785 | break;
|
786 | default:
|
787 | reader.skipField();
|
788 | break;
|
789 | }
|
790 | }
|
791 | return msg;
|
792 | };
|
793 |
|
794 |
|
795 |
|
796 |
|
797 |
|
798 |
|
799 | proto.co.treelab.api.TableProjection.prototype.serializeBinary = function() {
|
800 | var writer = new jspb.BinaryWriter();
|
801 | proto.co.treelab.api.TableProjection.serializeBinaryToWriter(this, writer);
|
802 | return writer.getResultBuffer();
|
803 | };
|
804 |
|
805 |
|
806 |
|
807 |
|
808 |
|
809 |
|
810 |
|
811 |
|
812 |
|
813 | proto.co.treelab.api.TableProjection.serializeBinaryToWriter = function(message, writer) {
|
814 | var f = undefined;
|
815 | f = message.getId();
|
816 | if (f.length > 0) {
|
817 | writer.writeString(
|
818 | 3,
|
819 | f
|
820 | );
|
821 | }
|
822 | f = message.getName();
|
823 | if (f.length > 0) {
|
824 | writer.writeString(
|
825 | 4,
|
826 | f
|
827 | );
|
828 | }
|
829 | f = message.getViewsList();
|
830 | if (f.length > 0) {
|
831 | writer.writeRepeatedMessage(
|
832 | 5,
|
833 | f,
|
834 | proto.co.treelab.api.ViewData.serializeBinaryToWriter
|
835 | );
|
836 | }
|
837 | };
|
838 |
|
839 |
|
840 |
|
841 |
|
842 |
|
843 |
|
844 | proto.co.treelab.api.TableProjection.prototype.getId = function() {
|
845 | return (jspb.Message.getFieldWithDefault(this, 3, ""));
|
846 | };
|
847 |
|
848 |
|
849 |
|
850 | proto.co.treelab.api.TableProjection.prototype.setId = function(value) {
|
851 | jspb.Message.setProto3StringField(this, 3, value);
|
852 | };
|
853 |
|
854 |
|
855 |
|
856 |
|
857 |
|
858 |
|
859 | proto.co.treelab.api.TableProjection.prototype.getName = function() {
|
860 | return (jspb.Message.getFieldWithDefault(this, 4, ""));
|
861 | };
|
862 |
|
863 |
|
864 |
|
865 | proto.co.treelab.api.TableProjection.prototype.setName = function(value) {
|
866 | jspb.Message.setProto3StringField(this, 4, value);
|
867 | };
|
868 |
|
869 |
|
870 |
|
871 |
|
872 |
|
873 |
|
874 | proto.co.treelab.api.TableProjection.prototype.getViewsList = function() {
|
875 | return (
|
876 | jspb.Message.getRepeatedWrapperField(this, proto.co.treelab.api.ViewData, 5));
|
877 | };
|
878 |
|
879 |
|
880 |
|
881 | proto.co.treelab.api.TableProjection.prototype.setViewsList = function(value) {
|
882 | jspb.Message.setRepeatedWrapperField(this, 5, value);
|
883 | };
|
884 |
|
885 |
|
886 |
|
887 |
|
888 |
|
889 |
|
890 |
|
891 | proto.co.treelab.api.TableProjection.prototype.addViews = function(opt_value, opt_index) {
|
892 | return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.co.treelab.api.ViewData, opt_index);
|
893 | };
|
894 |
|
895 |
|
896 | proto.co.treelab.api.TableProjection.prototype.clearViewsList = function() {
|
897 | this.setViewsList([]);
|
898 | };
|
899 |
|
900 |
|
901 |
|
902 |
|
903 |
|
904 |
|
905 |
|
906 |
|
907 |
|
908 |
|
909 |
|
910 |
|
911 |
|
912 | proto.co.treelab.api.TableData = function(opt_data) {
|
913 | jspb.Message.initialize(this, opt_data, 0, -1, proto.co.treelab.api.TableData.repeatedFields_, null);
|
914 | };
|
915 | goog.inherits(proto.co.treelab.api.TableData, jspb.Message);
|
916 | if (goog.DEBUG && !COMPILED) {
|
917 | proto.co.treelab.api.TableData.displayName = 'proto.co.treelab.api.TableData';
|
918 | }
|
919 |
|
920 |
|
921 |
|
922 |
|
923 |
|
924 | proto.co.treelab.api.TableData.repeatedFields_ = [1];
|
925 |
|
926 |
|
927 |
|
928 | if (jspb.Message.GENERATE_TO_OBJECT) {
|
929 |
|
930 |
|
931 |
|
932 |
|
933 |
|
934 |
|
935 |
|
936 |
|
937 |
|
938 |
|
939 | proto.co.treelab.api.TableData.prototype.toObject = function(opt_includeInstance) {
|
940 | return proto.co.treelab.api.TableData.toObject(opt_includeInstance, this);
|
941 | };
|
942 |
|
943 |
|
944 |
|
945 |
|
946 |
|
947 |
|
948 |
|
949 |
|
950 |
|
951 |
|
952 |
|
953 | proto.co.treelab.api.TableData.toObject = function(includeInstance, msg) {
|
954 | var f, obj = {
|
955 | rowsList: jspb.Message.toObjectList(msg.getRowsList(),
|
956 | proto.co.treelab.api.RowData.toObject, includeInstance)
|
957 | };
|
958 |
|
959 | if (includeInstance) {
|
960 | obj.$jspbMessageInstance = msg;
|
961 | }
|
962 | return obj;
|
963 | };
|
964 | }
|
965 |
|
966 |
|
967 |
|
968 |
|
969 |
|
970 |
|
971 |
|
972 | proto.co.treelab.api.TableData.deserializeBinary = function(bytes) {
|
973 | var reader = new jspb.BinaryReader(bytes);
|
974 | var msg = new proto.co.treelab.api.TableData;
|
975 | return proto.co.treelab.api.TableData.deserializeBinaryFromReader(msg, reader);
|
976 | };
|
977 |
|
978 |
|
979 |
|
980 |
|
981 |
|
982 |
|
983 |
|
984 |
|
985 |
|
986 | proto.co.treelab.api.TableData.deserializeBinaryFromReader = function(msg, reader) {
|
987 | while (reader.nextField()) {
|
988 | if (reader.isEndGroup()) {
|
989 | break;
|
990 | }
|
991 | var field = reader.getFieldNumber();
|
992 | switch (field) {
|
993 | case 1:
|
994 | var value = new proto.co.treelab.api.RowData;
|
995 | reader.readMessage(value,proto.co.treelab.api.RowData.deserializeBinaryFromReader);
|
996 | msg.addRows(value);
|
997 | break;
|
998 | default:
|
999 | reader.skipField();
|
1000 | break;
|
1001 | }
|
1002 | }
|
1003 | return msg;
|
1004 | };
|
1005 |
|
1006 |
|
1007 |
|
1008 |
|
1009 |
|
1010 |
|
1011 | proto.co.treelab.api.TableData.prototype.serializeBinary = function() {
|
1012 | var writer = new jspb.BinaryWriter();
|
1013 | proto.co.treelab.api.TableData.serializeBinaryToWriter(this, writer);
|
1014 | return writer.getResultBuffer();
|
1015 | };
|
1016 |
|
1017 |
|
1018 |
|
1019 |
|
1020 |
|
1021 |
|
1022 |
|
1023 |
|
1024 |
|
1025 | proto.co.treelab.api.TableData.serializeBinaryToWriter = function(message, writer) {
|
1026 | var f = undefined;
|
1027 | f = message.getRowsList();
|
1028 | if (f.length > 0) {
|
1029 | writer.writeRepeatedMessage(
|
1030 | 1,
|
1031 | f,
|
1032 | proto.co.treelab.api.RowData.serializeBinaryToWriter
|
1033 | );
|
1034 | }
|
1035 | };
|
1036 |
|
1037 |
|
1038 |
|
1039 |
|
1040 |
|
1041 |
|
1042 | proto.co.treelab.api.TableData.prototype.getRowsList = function() {
|
1043 | return (
|
1044 | jspb.Message.getRepeatedWrapperField(this, proto.co.treelab.api.RowData, 1));
|
1045 | };
|
1046 |
|
1047 |
|
1048 |
|
1049 | proto.co.treelab.api.TableData.prototype.setRowsList = function(value) {
|
1050 | jspb.Message.setRepeatedWrapperField(this, 1, value);
|
1051 | };
|
1052 |
|
1053 |
|
1054 |
|
1055 |
|
1056 |
|
1057 |
|
1058 |
|
1059 | proto.co.treelab.api.TableData.prototype.addRows = function(opt_value, opt_index) {
|
1060 | return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.co.treelab.api.RowData, opt_index);
|
1061 | };
|
1062 |
|
1063 |
|
1064 | proto.co.treelab.api.TableData.prototype.clearRowsList = function() {
|
1065 | this.setRowsList([]);
|
1066 | };
|
1067 |
|
1068 |
|
1069 |
|
1070 |
|
1071 |
|
1072 |
|
1073 |
|
1074 |
|
1075 |
|
1076 |
|
1077 |
|
1078 |
|
1079 |
|
1080 | proto.co.treelab.api.RowData = function(opt_data) {
|
1081 | jspb.Message.initialize(this, opt_data, 0, -1, proto.co.treelab.api.RowData.repeatedFields_, null);
|
1082 | };
|
1083 | goog.inherits(proto.co.treelab.api.RowData, jspb.Message);
|
1084 | if (goog.DEBUG && !COMPILED) {
|
1085 | proto.co.treelab.api.RowData.displayName = 'proto.co.treelab.api.RowData';
|
1086 | }
|
1087 |
|
1088 |
|
1089 |
|
1090 |
|
1091 |
|
1092 | proto.co.treelab.api.RowData.repeatedFields_ = [3];
|
1093 |
|
1094 |
|
1095 |
|
1096 | if (jspb.Message.GENERATE_TO_OBJECT) {
|
1097 |
|
1098 |
|
1099 |
|
1100 |
|
1101 |
|
1102 |
|
1103 |
|
1104 |
|
1105 |
|
1106 |
|
1107 | proto.co.treelab.api.RowData.prototype.toObject = function(opt_includeInstance) {
|
1108 | return proto.co.treelab.api.RowData.toObject(opt_includeInstance, this);
|
1109 | };
|
1110 |
|
1111 |
|
1112 |
|
1113 |
|
1114 |
|
1115 |
|
1116 |
|
1117 |
|
1118 |
|
1119 |
|
1120 |
|
1121 | proto.co.treelab.api.RowData.toObject = function(includeInstance, msg) {
|
1122 | var f, obj = {
|
1123 | id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
1124 | order: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
1125 | cellsList: jspb.Message.toObjectList(msg.getCellsList(),
|
1126 | proto.co.treelab.api.CellData.toObject, includeInstance)
|
1127 | };
|
1128 |
|
1129 | if (includeInstance) {
|
1130 | obj.$jspbMessageInstance = msg;
|
1131 | }
|
1132 | return obj;
|
1133 | };
|
1134 | }
|
1135 |
|
1136 |
|
1137 |
|
1138 |
|
1139 |
|
1140 |
|
1141 |
|
1142 | proto.co.treelab.api.RowData.deserializeBinary = function(bytes) {
|
1143 | var reader = new jspb.BinaryReader(bytes);
|
1144 | var msg = new proto.co.treelab.api.RowData;
|
1145 | return proto.co.treelab.api.RowData.deserializeBinaryFromReader(msg, reader);
|
1146 | };
|
1147 |
|
1148 |
|
1149 |
|
1150 |
|
1151 |
|
1152 |
|
1153 |
|
1154 |
|
1155 |
|
1156 | proto.co.treelab.api.RowData.deserializeBinaryFromReader = function(msg, reader) {
|
1157 | while (reader.nextField()) {
|
1158 | if (reader.isEndGroup()) {
|
1159 | break;
|
1160 | }
|
1161 | var field = reader.getFieldNumber();
|
1162 | switch (field) {
|
1163 | case 1:
|
1164 | var value = (reader.readString());
|
1165 | msg.setId(value);
|
1166 | break;
|
1167 | case 2:
|
1168 | var value = (reader.readInt32());
|
1169 | msg.setOrder(value);
|
1170 | break;
|
1171 | case 3:
|
1172 | var value = new proto.co.treelab.api.CellData;
|
1173 | reader.readMessage(value,proto.co.treelab.api.CellData.deserializeBinaryFromReader);
|
1174 | msg.addCells(value);
|
1175 | break;
|
1176 | default:
|
1177 | reader.skipField();
|
1178 | break;
|
1179 | }
|
1180 | }
|
1181 | return msg;
|
1182 | };
|
1183 |
|
1184 |
|
1185 |
|
1186 |
|
1187 |
|
1188 |
|
1189 | proto.co.treelab.api.RowData.prototype.serializeBinary = function() {
|
1190 | var writer = new jspb.BinaryWriter();
|
1191 | proto.co.treelab.api.RowData.serializeBinaryToWriter(this, writer);
|
1192 | return writer.getResultBuffer();
|
1193 | };
|
1194 |
|
1195 |
|
1196 |
|
1197 |
|
1198 |
|
1199 |
|
1200 |
|
1201 |
|
1202 |
|
1203 | proto.co.treelab.api.RowData.serializeBinaryToWriter = function(message, writer) {
|
1204 | var f = undefined;
|
1205 | f = message.getId();
|
1206 | if (f.length > 0) {
|
1207 | writer.writeString(
|
1208 | 1,
|
1209 | f
|
1210 | );
|
1211 | }
|
1212 | f = message.getOrder();
|
1213 | if (f !== 0) {
|
1214 | writer.writeInt32(
|
1215 | 2,
|
1216 | f
|
1217 | );
|
1218 | }
|
1219 | f = message.getCellsList();
|
1220 | if (f.length > 0) {
|
1221 | writer.writeRepeatedMessage(
|
1222 | 3,
|
1223 | f,
|
1224 | proto.co.treelab.api.CellData.serializeBinaryToWriter
|
1225 | );
|
1226 | }
|
1227 | };
|
1228 |
|
1229 |
|
1230 |
|
1231 |
|
1232 |
|
1233 |
|
1234 | proto.co.treelab.api.RowData.prototype.getId = function() {
|
1235 | return (jspb.Message.getFieldWithDefault(this, 1, ""));
|
1236 | };
|
1237 |
|
1238 |
|
1239 |
|
1240 | proto.co.treelab.api.RowData.prototype.setId = function(value) {
|
1241 | jspb.Message.setProto3StringField(this, 1, value);
|
1242 | };
|
1243 |
|
1244 |
|
1245 |
|
1246 |
|
1247 |
|
1248 |
|
1249 | proto.co.treelab.api.RowData.prototype.getOrder = function() {
|
1250 | return (jspb.Message.getFieldWithDefault(this, 2, 0));
|
1251 | };
|
1252 |
|
1253 |
|
1254 |
|
1255 | proto.co.treelab.api.RowData.prototype.setOrder = function(value) {
|
1256 | jspb.Message.setProto3IntField(this, 2, value);
|
1257 | };
|
1258 |
|
1259 |
|
1260 |
|
1261 |
|
1262 |
|
1263 |
|
1264 | proto.co.treelab.api.RowData.prototype.getCellsList = function() {
|
1265 | return (
|
1266 | jspb.Message.getRepeatedWrapperField(this, proto.co.treelab.api.CellData, 3));
|
1267 | };
|
1268 |
|
1269 |
|
1270 |
|
1271 | proto.co.treelab.api.RowData.prototype.setCellsList = function(value) {
|
1272 | jspb.Message.setRepeatedWrapperField(this, 3, value);
|
1273 | };
|
1274 |
|
1275 |
|
1276 |
|
1277 |
|
1278 |
|
1279 |
|
1280 |
|
1281 | proto.co.treelab.api.RowData.prototype.addCells = function(opt_value, opt_index) {
|
1282 | return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.co.treelab.api.CellData, opt_index);
|
1283 | };
|
1284 |
|
1285 |
|
1286 | proto.co.treelab.api.RowData.prototype.clearCellsList = function() {
|
1287 | this.setCellsList([]);
|
1288 | };
|
1289 |
|
1290 |
|
1291 |
|
1292 |
|
1293 |
|
1294 |
|
1295 |
|
1296 |
|
1297 |
|
1298 |
|
1299 |
|
1300 |
|
1301 |
|
1302 | proto.co.treelab.api.CellData = function(opt_data) {
|
1303 | jspb.Message.initialize(this, opt_data, 0, -1, proto.co.treelab.api.CellData.repeatedFields_, null);
|
1304 | };
|
1305 | goog.inherits(proto.co.treelab.api.CellData, jspb.Message);
|
1306 | if (goog.DEBUG && !COMPILED) {
|
1307 | proto.co.treelab.api.CellData.displayName = 'proto.co.treelab.api.CellData';
|
1308 | }
|
1309 |
|
1310 |
|
1311 |
|
1312 |
|
1313 |
|
1314 | proto.co.treelab.api.CellData.repeatedFields_ = [4,7,8];
|
1315 |
|
1316 |
|
1317 |
|
1318 | if (jspb.Message.GENERATE_TO_OBJECT) {
|
1319 |
|
1320 |
|
1321 |
|
1322 |
|
1323 |
|
1324 |
|
1325 |
|
1326 |
|
1327 |
|
1328 |
|
1329 | proto.co.treelab.api.CellData.prototype.toObject = function(opt_includeInstance) {
|
1330 | return proto.co.treelab.api.CellData.toObject(opt_includeInstance, this);
|
1331 | };
|
1332 |
|
1333 |
|
1334 |
|
1335 |
|
1336 |
|
1337 |
|
1338 |
|
1339 |
|
1340 |
|
1341 |
|
1342 |
|
1343 | proto.co.treelab.api.CellData.toObject = function(includeInstance, msg) {
|
1344 | var f, obj = {
|
1345 | columnid: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
1346 | type: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
1347 | text: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
1348 | foreignrowList: jspb.Message.toObjectList(msg.getForeignrowList(),
|
1349 | proto.co.treelab.api.ForeignRowValue.toObject, includeInstance),
|
1350 | number: +jspb.Message.getFieldWithDefault(msg, 5, 0.0),
|
1351 | selecteditem: (f = msg.getSelecteditem()) && proto.co.treelab.api.Choice.toObject(includeInstance, f),
|
1352 | selecteditemsList: jspb.Message.toObjectList(msg.getSelecteditemsList(),
|
1353 | proto.co.treelab.api.Choice.toObject, includeInstance),
|
1354 | attachmentsList: jspb.Message.toObjectList(msg.getAttachmentsList(),
|
1355 | proto.co.treelab.api.Attachment.toObject, includeInstance),
|
1356 | datetime: jspb.Message.getFieldWithDefault(msg, 9, "")
|
1357 | };
|
1358 |
|
1359 | if (includeInstance) {
|
1360 | obj.$jspbMessageInstance = msg;
|
1361 | }
|
1362 | return obj;
|
1363 | };
|
1364 | }
|
1365 |
|
1366 |
|
1367 |
|
1368 |
|
1369 |
|
1370 |
|
1371 |
|
1372 | proto.co.treelab.api.CellData.deserializeBinary = function(bytes) {
|
1373 | var reader = new jspb.BinaryReader(bytes);
|
1374 | var msg = new proto.co.treelab.api.CellData;
|
1375 | return proto.co.treelab.api.CellData.deserializeBinaryFromReader(msg, reader);
|
1376 | };
|
1377 |
|
1378 |
|
1379 |
|
1380 |
|
1381 |
|
1382 |
|
1383 |
|
1384 |
|
1385 |
|
1386 | proto.co.treelab.api.CellData.deserializeBinaryFromReader = function(msg, reader) {
|
1387 | while (reader.nextField()) {
|
1388 | if (reader.isEndGroup()) {
|
1389 | break;
|
1390 | }
|
1391 | var field = reader.getFieldNumber();
|
1392 | switch (field) {
|
1393 | case 1:
|
1394 | var value = (reader.readString());
|
1395 | msg.setColumnid(value);
|
1396 | break;
|
1397 | case 2:
|
1398 | var value = (reader.readString());
|
1399 | msg.setType(value);
|
1400 | break;
|
1401 | case 3:
|
1402 | var value = (reader.readString());
|
1403 | msg.setText(value);
|
1404 | break;
|
1405 | case 4:
|
1406 | var value = new proto.co.treelab.api.ForeignRowValue;
|
1407 | reader.readMessage(value,proto.co.treelab.api.ForeignRowValue.deserializeBinaryFromReader);
|
1408 | msg.addForeignrow(value);
|
1409 | break;
|
1410 | case 5:
|
1411 | var value = (reader.readFloat());
|
1412 | msg.setNumber(value);
|
1413 | break;
|
1414 | case 6:
|
1415 | var value = new proto.co.treelab.api.Choice;
|
1416 | reader.readMessage(value,proto.co.treelab.api.Choice.deserializeBinaryFromReader);
|
1417 | msg.setSelecteditem(value);
|
1418 | break;
|
1419 | case 7:
|
1420 | var value = new proto.co.treelab.api.Choice;
|
1421 | reader.readMessage(value,proto.co.treelab.api.Choice.deserializeBinaryFromReader);
|
1422 | msg.addSelecteditems(value);
|
1423 | break;
|
1424 | case 8:
|
1425 | var value = new proto.co.treelab.api.Attachment;
|
1426 | reader.readMessage(value,proto.co.treelab.api.Attachment.deserializeBinaryFromReader);
|
1427 | msg.addAttachments(value);
|
1428 | break;
|
1429 | case 9:
|
1430 | var value = (reader.readString());
|
1431 | msg.setDatetime(value);
|
1432 | break;
|
1433 | default:
|
1434 | reader.skipField();
|
1435 | break;
|
1436 | }
|
1437 | }
|
1438 | return msg;
|
1439 | };
|
1440 |
|
1441 |
|
1442 |
|
1443 |
|
1444 |
|
1445 |
|
1446 | proto.co.treelab.api.CellData.prototype.serializeBinary = function() {
|
1447 | var writer = new jspb.BinaryWriter();
|
1448 | proto.co.treelab.api.CellData.serializeBinaryToWriter(this, writer);
|
1449 | return writer.getResultBuffer();
|
1450 | };
|
1451 |
|
1452 |
|
1453 |
|
1454 |
|
1455 |
|
1456 |
|
1457 |
|
1458 |
|
1459 |
|
1460 | proto.co.treelab.api.CellData.serializeBinaryToWriter = function(message, writer) {
|
1461 | var f = undefined;
|
1462 | f = message.getColumnid();
|
1463 | if (f.length > 0) {
|
1464 | writer.writeString(
|
1465 | 1,
|
1466 | f
|
1467 | );
|
1468 | }
|
1469 | f = message.getType();
|
1470 | if (f.length > 0) {
|
1471 | writer.writeString(
|
1472 | 2,
|
1473 | f
|
1474 | );
|
1475 | }
|
1476 | f = message.getText();
|
1477 | if (f.length > 0) {
|
1478 | writer.writeString(
|
1479 | 3,
|
1480 | f
|
1481 | );
|
1482 | }
|
1483 | f = message.getForeignrowList();
|
1484 | if (f.length > 0) {
|
1485 | writer.writeRepeatedMessage(
|
1486 | 4,
|
1487 | f,
|
1488 | proto.co.treelab.api.ForeignRowValue.serializeBinaryToWriter
|
1489 | );
|
1490 | }
|
1491 | f = message.getNumber();
|
1492 | if (f !== 0.0) {
|
1493 | writer.writeFloat(
|
1494 | 5,
|
1495 | f
|
1496 | );
|
1497 | }
|
1498 | f = message.getSelecteditem();
|
1499 | if (f != null) {
|
1500 | writer.writeMessage(
|
1501 | 6,
|
1502 | f,
|
1503 | proto.co.treelab.api.Choice.serializeBinaryToWriter
|
1504 | );
|
1505 | }
|
1506 | f = message.getSelecteditemsList();
|
1507 | if (f.length > 0) {
|
1508 | writer.writeRepeatedMessage(
|
1509 | 7,
|
1510 | f,
|
1511 | proto.co.treelab.api.Choice.serializeBinaryToWriter
|
1512 | );
|
1513 | }
|
1514 | f = message.getAttachmentsList();
|
1515 | if (f.length > 0) {
|
1516 | writer.writeRepeatedMessage(
|
1517 | 8,
|
1518 | f,
|
1519 | proto.co.treelab.api.Attachment.serializeBinaryToWriter
|
1520 | );
|
1521 | }
|
1522 | f = message.getDatetime();
|
1523 | if (f.length > 0) {
|
1524 | writer.writeString(
|
1525 | 9,
|
1526 | f
|
1527 | );
|
1528 | }
|
1529 | };
|
1530 |
|
1531 |
|
1532 |
|
1533 |
|
1534 |
|
1535 |
|
1536 | proto.co.treelab.api.CellData.prototype.getColumnid = function() {
|
1537 | return (jspb.Message.getFieldWithDefault(this, 1, ""));
|
1538 | };
|
1539 |
|
1540 |
|
1541 |
|
1542 | proto.co.treelab.api.CellData.prototype.setColumnid = function(value) {
|
1543 | jspb.Message.setProto3StringField(this, 1, value);
|
1544 | };
|
1545 |
|
1546 |
|
1547 |
|
1548 |
|
1549 |
|
1550 |
|
1551 | proto.co.treelab.api.CellData.prototype.getType = function() {
|
1552 | return (jspb.Message.getFieldWithDefault(this, 2, ""));
|
1553 | };
|
1554 |
|
1555 |
|
1556 |
|
1557 | proto.co.treelab.api.CellData.prototype.setType = function(value) {
|
1558 | jspb.Message.setProto3StringField(this, 2, value);
|
1559 | };
|
1560 |
|
1561 |
|
1562 |
|
1563 |
|
1564 |
|
1565 |
|
1566 | proto.co.treelab.api.CellData.prototype.getText = function() {
|
1567 | return (jspb.Message.getFieldWithDefault(this, 3, ""));
|
1568 | };
|
1569 |
|
1570 |
|
1571 |
|
1572 | proto.co.treelab.api.CellData.prototype.setText = function(value) {
|
1573 | jspb.Message.setProto3StringField(this, 3, value);
|
1574 | };
|
1575 |
|
1576 |
|
1577 |
|
1578 |
|
1579 |
|
1580 |
|
1581 | proto.co.treelab.api.CellData.prototype.getForeignrowList = function() {
|
1582 | return (
|
1583 | jspb.Message.getRepeatedWrapperField(this, proto.co.treelab.api.ForeignRowValue, 4));
|
1584 | };
|
1585 |
|
1586 |
|
1587 |
|
1588 | proto.co.treelab.api.CellData.prototype.setForeignrowList = function(value) {
|
1589 | jspb.Message.setRepeatedWrapperField(this, 4, value);
|
1590 | };
|
1591 |
|
1592 |
|
1593 |
|
1594 |
|
1595 |
|
1596 |
|
1597 |
|
1598 | proto.co.treelab.api.CellData.prototype.addForeignrow = function(opt_value, opt_index) {
|
1599 | return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.co.treelab.api.ForeignRowValue, opt_index);
|
1600 | };
|
1601 |
|
1602 |
|
1603 | proto.co.treelab.api.CellData.prototype.clearForeignrowList = function() {
|
1604 | this.setForeignrowList([]);
|
1605 | };
|
1606 |
|
1607 |
|
1608 |
|
1609 |
|
1610 |
|
1611 |
|
1612 | proto.co.treelab.api.CellData.prototype.getNumber = function() {
|
1613 | return (+jspb.Message.getFieldWithDefault(this, 5, 0.0));
|
1614 | };
|
1615 |
|
1616 |
|
1617 |
|
1618 | proto.co.treelab.api.CellData.prototype.setNumber = function(value) {
|
1619 | jspb.Message.setProto3FloatField(this, 5, value);
|
1620 | };
|
1621 |
|
1622 |
|
1623 |
|
1624 |
|
1625 |
|
1626 |
|
1627 | proto.co.treelab.api.CellData.prototype.getSelecteditem = function() {
|
1628 | return (
|
1629 | jspb.Message.getWrapperField(this, proto.co.treelab.api.Choice, 6));
|
1630 | };
|
1631 |
|
1632 |
|
1633 |
|
1634 | proto.co.treelab.api.CellData.prototype.setSelecteditem = function(value) {
|
1635 | jspb.Message.setWrapperField(this, 6, value);
|
1636 | };
|
1637 |
|
1638 |
|
1639 | proto.co.treelab.api.CellData.prototype.clearSelecteditem = function() {
|
1640 | this.setSelecteditem(undefined);
|
1641 | };
|
1642 |
|
1643 |
|
1644 |
|
1645 |
|
1646 |
|
1647 |
|
1648 | proto.co.treelab.api.CellData.prototype.hasSelecteditem = function() {
|
1649 | return jspb.Message.getField(this, 6) != null;
|
1650 | };
|
1651 |
|
1652 |
|
1653 |
|
1654 |
|
1655 |
|
1656 |
|
1657 | proto.co.treelab.api.CellData.prototype.getSelecteditemsList = function() {
|
1658 | return (
|
1659 | jspb.Message.getRepeatedWrapperField(this, proto.co.treelab.api.Choice, 7));
|
1660 | };
|
1661 |
|
1662 |
|
1663 |
|
1664 | proto.co.treelab.api.CellData.prototype.setSelecteditemsList = function(value) {
|
1665 | jspb.Message.setRepeatedWrapperField(this, 7, value);
|
1666 | };
|
1667 |
|
1668 |
|
1669 |
|
1670 |
|
1671 |
|
1672 |
|
1673 |
|
1674 | proto.co.treelab.api.CellData.prototype.addSelecteditems = function(opt_value, opt_index) {
|
1675 | return jspb.Message.addToRepeatedWrapperField(this, 7, opt_value, proto.co.treelab.api.Choice, opt_index);
|
1676 | };
|
1677 |
|
1678 |
|
1679 | proto.co.treelab.api.CellData.prototype.clearSelecteditemsList = function() {
|
1680 | this.setSelecteditemsList([]);
|
1681 | };
|
1682 |
|
1683 |
|
1684 |
|
1685 |
|
1686 |
|
1687 |
|
1688 | proto.co.treelab.api.CellData.prototype.getAttachmentsList = function() {
|
1689 | return (
|
1690 | jspb.Message.getRepeatedWrapperField(this, proto.co.treelab.api.Attachment, 8));
|
1691 | };
|
1692 |
|
1693 |
|
1694 |
|
1695 | proto.co.treelab.api.CellData.prototype.setAttachmentsList = function(value) {
|
1696 | jspb.Message.setRepeatedWrapperField(this, 8, value);
|
1697 | };
|
1698 |
|
1699 |
|
1700 |
|
1701 |
|
1702 |
|
1703 |
|
1704 |
|
1705 | proto.co.treelab.api.CellData.prototype.addAttachments = function(opt_value, opt_index) {
|
1706 | return jspb.Message.addToRepeatedWrapperField(this, 8, opt_value, proto.co.treelab.api.Attachment, opt_index);
|
1707 | };
|
1708 |
|
1709 |
|
1710 | proto.co.treelab.api.CellData.prototype.clearAttachmentsList = function() {
|
1711 | this.setAttachmentsList([]);
|
1712 | };
|
1713 |
|
1714 |
|
1715 |
|
1716 |
|
1717 |
|
1718 |
|
1719 | proto.co.treelab.api.CellData.prototype.getDatetime = function() {
|
1720 | return (jspb.Message.getFieldWithDefault(this, 9, ""));
|
1721 | };
|
1722 |
|
1723 |
|
1724 |
|
1725 | proto.co.treelab.api.CellData.prototype.setDatetime = function(value) {
|
1726 | jspb.Message.setProto3StringField(this, 9, value);
|
1727 | };
|
1728 |
|
1729 |
|
1730 |
|
1731 |
|
1732 |
|
1733 |
|
1734 |
|
1735 |
|
1736 |
|
1737 |
|
1738 |
|
1739 |
|
1740 |
|
1741 | proto.co.treelab.api.ViewData = function(opt_data) {
|
1742 | jspb.Message.initialize(this, opt_data, 0, -1, proto.co.treelab.api.ViewData.repeatedFields_, null);
|
1743 | };
|
1744 | goog.inherits(proto.co.treelab.api.ViewData, jspb.Message);
|
1745 | if (goog.DEBUG && !COMPILED) {
|
1746 | proto.co.treelab.api.ViewData.displayName = 'proto.co.treelab.api.ViewData';
|
1747 | }
|
1748 |
|
1749 |
|
1750 |
|
1751 |
|
1752 |
|
1753 | proto.co.treelab.api.ViewData.repeatedFields_ = [4,5];
|
1754 |
|
1755 |
|
1756 |
|
1757 | if (jspb.Message.GENERATE_TO_OBJECT) {
|
1758 |
|
1759 |
|
1760 |
|
1761 |
|
1762 |
|
1763 |
|
1764 |
|
1765 |
|
1766 |
|
1767 |
|
1768 | proto.co.treelab.api.ViewData.prototype.toObject = function(opt_includeInstance) {
|
1769 | return proto.co.treelab.api.ViewData.toObject(opt_includeInstance, this);
|
1770 | };
|
1771 |
|
1772 |
|
1773 |
|
1774 |
|
1775 |
|
1776 |
|
1777 |
|
1778 |
|
1779 |
|
1780 |
|
1781 |
|
1782 | proto.co.treelab.api.ViewData.toObject = function(includeInstance, msg) {
|
1783 | var f, obj = {
|
1784 | id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
1785 | type: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
1786 | name: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
1787 | rowsList: jspb.Message.toObjectList(msg.getRowsList(),
|
1788 | proto.co.treelab.api.RowData.toObject, includeInstance),
|
1789 | columnsList: jspb.Message.toObjectList(msg.getColumnsList(),
|
1790 | proto.co.treelab.api.ColumnDefinition.toObject, includeInstance)
|
1791 | };
|
1792 |
|
1793 | if (includeInstance) {
|
1794 | obj.$jspbMessageInstance = msg;
|
1795 | }
|
1796 | return obj;
|
1797 | };
|
1798 | }
|
1799 |
|
1800 |
|
1801 |
|
1802 |
|
1803 |
|
1804 |
|
1805 |
|
1806 | proto.co.treelab.api.ViewData.deserializeBinary = function(bytes) {
|
1807 | var reader = new jspb.BinaryReader(bytes);
|
1808 | var msg = new proto.co.treelab.api.ViewData;
|
1809 | return proto.co.treelab.api.ViewData.deserializeBinaryFromReader(msg, reader);
|
1810 | };
|
1811 |
|
1812 |
|
1813 |
|
1814 |
|
1815 |
|
1816 |
|
1817 |
|
1818 |
|
1819 |
|
1820 | proto.co.treelab.api.ViewData.deserializeBinaryFromReader = function(msg, reader) {
|
1821 | while (reader.nextField()) {
|
1822 | if (reader.isEndGroup()) {
|
1823 | break;
|
1824 | }
|
1825 | var field = reader.getFieldNumber();
|
1826 | switch (field) {
|
1827 | case 1:
|
1828 | var value = (reader.readString());
|
1829 | msg.setId(value);
|
1830 | break;
|
1831 | case 2:
|
1832 | var value = (reader.readString());
|
1833 | msg.setType(value);
|
1834 | break;
|
1835 | case 3:
|
1836 | var value = (reader.readString());
|
1837 | msg.setName(value);
|
1838 | break;
|
1839 | case 4:
|
1840 | var value = new proto.co.treelab.api.RowData;
|
1841 | reader.readMessage(value,proto.co.treelab.api.RowData.deserializeBinaryFromReader);
|
1842 | msg.addRows(value);
|
1843 | break;
|
1844 | case 5:
|
1845 | var value = new proto.co.treelab.api.ColumnDefinition;
|
1846 | reader.readMessage(value,proto.co.treelab.api.ColumnDefinition.deserializeBinaryFromReader);
|
1847 | msg.addColumns(value);
|
1848 | break;
|
1849 | default:
|
1850 | reader.skipField();
|
1851 | break;
|
1852 | }
|
1853 | }
|
1854 | return msg;
|
1855 | };
|
1856 |
|
1857 |
|
1858 |
|
1859 |
|
1860 |
|
1861 |
|
1862 | proto.co.treelab.api.ViewData.prototype.serializeBinary = function() {
|
1863 | var writer = new jspb.BinaryWriter();
|
1864 | proto.co.treelab.api.ViewData.serializeBinaryToWriter(this, writer);
|
1865 | return writer.getResultBuffer();
|
1866 | };
|
1867 |
|
1868 |
|
1869 |
|
1870 |
|
1871 |
|
1872 |
|
1873 |
|
1874 |
|
1875 |
|
1876 | proto.co.treelab.api.ViewData.serializeBinaryToWriter = function(message, writer) {
|
1877 | var f = undefined;
|
1878 | f = message.getId();
|
1879 | if (f.length > 0) {
|
1880 | writer.writeString(
|
1881 | 1,
|
1882 | f
|
1883 | );
|
1884 | }
|
1885 | f = message.getType();
|
1886 | if (f.length > 0) {
|
1887 | writer.writeString(
|
1888 | 2,
|
1889 | f
|
1890 | );
|
1891 | }
|
1892 | f = message.getName();
|
1893 | if (f.length > 0) {
|
1894 | writer.writeString(
|
1895 | 3,
|
1896 | f
|
1897 | );
|
1898 | }
|
1899 | f = message.getRowsList();
|
1900 | if (f.length > 0) {
|
1901 | writer.writeRepeatedMessage(
|
1902 | 4,
|
1903 | f,
|
1904 | proto.co.treelab.api.RowData.serializeBinaryToWriter
|
1905 | );
|
1906 | }
|
1907 | f = message.getColumnsList();
|
1908 | if (f.length > 0) {
|
1909 | writer.writeRepeatedMessage(
|
1910 | 5,
|
1911 | f,
|
1912 | proto.co.treelab.api.ColumnDefinition.serializeBinaryToWriter
|
1913 | );
|
1914 | }
|
1915 | };
|
1916 |
|
1917 |
|
1918 |
|
1919 |
|
1920 |
|
1921 |
|
1922 | proto.co.treelab.api.ViewData.prototype.getId = function() {
|
1923 | return (jspb.Message.getFieldWithDefault(this, 1, ""));
|
1924 | };
|
1925 |
|
1926 |
|
1927 |
|
1928 | proto.co.treelab.api.ViewData.prototype.setId = function(value) {
|
1929 | jspb.Message.setProto3StringField(this, 1, value);
|
1930 | };
|
1931 |
|
1932 |
|
1933 |
|
1934 |
|
1935 |
|
1936 |
|
1937 | proto.co.treelab.api.ViewData.prototype.getType = function() {
|
1938 | return (jspb.Message.getFieldWithDefault(this, 2, ""));
|
1939 | };
|
1940 |
|
1941 |
|
1942 |
|
1943 | proto.co.treelab.api.ViewData.prototype.setType = function(value) {
|
1944 | jspb.Message.setProto3StringField(this, 2, value);
|
1945 | };
|
1946 |
|
1947 |
|
1948 |
|
1949 |
|
1950 |
|
1951 |
|
1952 | proto.co.treelab.api.ViewData.prototype.getName = function() {
|
1953 | return (jspb.Message.getFieldWithDefault(this, 3, ""));
|
1954 | };
|
1955 |
|
1956 |
|
1957 |
|
1958 | proto.co.treelab.api.ViewData.prototype.setName = function(value) {
|
1959 | jspb.Message.setProto3StringField(this, 3, value);
|
1960 | };
|
1961 |
|
1962 |
|
1963 |
|
1964 |
|
1965 |
|
1966 |
|
1967 | proto.co.treelab.api.ViewData.prototype.getRowsList = function() {
|
1968 | return (
|
1969 | jspb.Message.getRepeatedWrapperField(this, proto.co.treelab.api.RowData, 4));
|
1970 | };
|
1971 |
|
1972 |
|
1973 |
|
1974 | proto.co.treelab.api.ViewData.prototype.setRowsList = function(value) {
|
1975 | jspb.Message.setRepeatedWrapperField(this, 4, value);
|
1976 | };
|
1977 |
|
1978 |
|
1979 |
|
1980 |
|
1981 |
|
1982 |
|
1983 |
|
1984 | proto.co.treelab.api.ViewData.prototype.addRows = function(opt_value, opt_index) {
|
1985 | return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.co.treelab.api.RowData, opt_index);
|
1986 | };
|
1987 |
|
1988 |
|
1989 | proto.co.treelab.api.ViewData.prototype.clearRowsList = function() {
|
1990 | this.setRowsList([]);
|
1991 | };
|
1992 |
|
1993 |
|
1994 |
|
1995 |
|
1996 |
|
1997 |
|
1998 | proto.co.treelab.api.ViewData.prototype.getColumnsList = function() {
|
1999 | return (
|
2000 | jspb.Message.getRepeatedWrapperField(this, proto.co.treelab.api.ColumnDefinition, 5));
|
2001 | };
|
2002 |
|
2003 |
|
2004 |
|
2005 | proto.co.treelab.api.ViewData.prototype.setColumnsList = function(value) {
|
2006 | jspb.Message.setRepeatedWrapperField(this, 5, value);
|
2007 | };
|
2008 |
|
2009 |
|
2010 |
|
2011 |
|
2012 |
|
2013 |
|
2014 |
|
2015 | proto.co.treelab.api.ViewData.prototype.addColumns = function(opt_value, opt_index) {
|
2016 | return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.co.treelab.api.ColumnDefinition, opt_index);
|
2017 | };
|
2018 |
|
2019 |
|
2020 | proto.co.treelab.api.ViewData.prototype.clearColumnsList = function() {
|
2021 | this.setColumnsList([]);
|
2022 | };
|
2023 |
|
2024 |
|
2025 |
|
2026 |
|
2027 |
|
2028 |
|
2029 |
|
2030 |
|
2031 |
|
2032 |
|
2033 |
|
2034 |
|
2035 |
|
2036 | proto.co.treelab.api.ColumnDefinition = function(opt_data) {
|
2037 | jspb.Message.initialize(this, opt_data, 0, -1, proto.co.treelab.api.ColumnDefinition.repeatedFields_, null);
|
2038 | };
|
2039 | goog.inherits(proto.co.treelab.api.ColumnDefinition, jspb.Message);
|
2040 | if (goog.DEBUG && !COMPILED) {
|
2041 | proto.co.treelab.api.ColumnDefinition.displayName = 'proto.co.treelab.api.ColumnDefinition';
|
2042 | }
|
2043 |
|
2044 |
|
2045 |
|
2046 |
|
2047 |
|
2048 | proto.co.treelab.api.ColumnDefinition.repeatedFields_ = [9];
|
2049 |
|
2050 |
|
2051 |
|
2052 | if (jspb.Message.GENERATE_TO_OBJECT) {
|
2053 |
|
2054 |
|
2055 |
|
2056 |
|
2057 |
|
2058 |
|
2059 |
|
2060 |
|
2061 |
|
2062 |
|
2063 | proto.co.treelab.api.ColumnDefinition.prototype.toObject = function(opt_includeInstance) {
|
2064 | return proto.co.treelab.api.ColumnDefinition.toObject(opt_includeInstance, this);
|
2065 | };
|
2066 |
|
2067 |
|
2068 |
|
2069 |
|
2070 |
|
2071 |
|
2072 |
|
2073 |
|
2074 |
|
2075 |
|
2076 |
|
2077 | proto.co.treelab.api.ColumnDefinition.toObject = function(includeInstance, msg) {
|
2078 | var f, obj = {
|
2079 | id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
2080 | type: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
2081 | name: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
2082 | order: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
2083 | visibility: jspb.Message.getFieldWithDefault(msg, 5, false),
|
2084 | foreigntableid: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
2085 | defaultnumber: +jspb.Message.getFieldWithDefault(msg, 7, 0.0),
|
2086 | precision: jspb.Message.getFieldWithDefault(msg, 8, 0),
|
2087 | choicesList: jspb.Message.toObjectList(msg.getChoicesList(),
|
2088 | proto.co.treelab.api.Choice.toObject, includeInstance),
|
2089 | dateformat: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
2090 | includetime: jspb.Message.getFieldWithDefault(msg, 11, false),
|
2091 | timeformat: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
2092 | usegmt: jspb.Message.getFieldWithDefault(msg, 13, false)
|
2093 | };
|
2094 |
|
2095 | if (includeInstance) {
|
2096 | obj.$jspbMessageInstance = msg;
|
2097 | }
|
2098 | return obj;
|
2099 | };
|
2100 | }
|
2101 |
|
2102 |
|
2103 |
|
2104 |
|
2105 |
|
2106 |
|
2107 |
|
2108 | proto.co.treelab.api.ColumnDefinition.deserializeBinary = function(bytes) {
|
2109 | var reader = new jspb.BinaryReader(bytes);
|
2110 | var msg = new proto.co.treelab.api.ColumnDefinition;
|
2111 | return proto.co.treelab.api.ColumnDefinition.deserializeBinaryFromReader(msg, reader);
|
2112 | };
|
2113 |
|
2114 |
|
2115 |
|
2116 |
|
2117 |
|
2118 |
|
2119 |
|
2120 |
|
2121 |
|
2122 | proto.co.treelab.api.ColumnDefinition.deserializeBinaryFromReader = function(msg, reader) {
|
2123 | while (reader.nextField()) {
|
2124 | if (reader.isEndGroup()) {
|
2125 | break;
|
2126 | }
|
2127 | var field = reader.getFieldNumber();
|
2128 | switch (field) {
|
2129 | case 1:
|
2130 | var value = (reader.readString());
|
2131 | msg.setId(value);
|
2132 | break;
|
2133 | case 2:
|
2134 | var value = (reader.readString());
|
2135 | msg.setType(value);
|
2136 | break;
|
2137 | case 3:
|
2138 | var value = (reader.readString());
|
2139 | msg.setName(value);
|
2140 | break;
|
2141 | case 4:
|
2142 | var value = (reader.readInt32());
|
2143 | msg.setOrder(value);
|
2144 | break;
|
2145 | case 5:
|
2146 | var value = (reader.readBool());
|
2147 | msg.setVisibility(value);
|
2148 | break;
|
2149 | case 6:
|
2150 | var value = (reader.readString());
|
2151 | msg.setForeigntableid(value);
|
2152 | break;
|
2153 | case 7:
|
2154 | var value = (reader.readFloat());
|
2155 | msg.setDefaultnumber(value);
|
2156 | break;
|
2157 | case 8:
|
2158 | var value = (reader.readInt32());
|
2159 | msg.setPrecision(value);
|
2160 | break;
|
2161 | case 9:
|
2162 | var value = new proto.co.treelab.api.Choice;
|
2163 | reader.readMessage(value,proto.co.treelab.api.Choice.deserializeBinaryFromReader);
|
2164 | msg.addChoices(value);
|
2165 | break;
|
2166 | case 10:
|
2167 | var value = (reader.readString());
|
2168 | msg.setDateformat(value);
|
2169 | break;
|
2170 | case 11:
|
2171 | var value = (reader.readBool());
|
2172 | msg.setIncludetime(value);
|
2173 | break;
|
2174 | case 12:
|
2175 | var value = (reader.readString());
|
2176 | msg.setTimeformat(value);
|
2177 | break;
|
2178 | case 13:
|
2179 | var value = (reader.readBool());
|
2180 | msg.setUsegmt(value);
|
2181 | break;
|
2182 | default:
|
2183 | reader.skipField();
|
2184 | break;
|
2185 | }
|
2186 | }
|
2187 | return msg;
|
2188 | };
|
2189 |
|
2190 |
|
2191 |
|
2192 |
|
2193 |
|
2194 |
|
2195 | proto.co.treelab.api.ColumnDefinition.prototype.serializeBinary = function() {
|
2196 | var writer = new jspb.BinaryWriter();
|
2197 | proto.co.treelab.api.ColumnDefinition.serializeBinaryToWriter(this, writer);
|
2198 | return writer.getResultBuffer();
|
2199 | };
|
2200 |
|
2201 |
|
2202 |
|
2203 |
|
2204 |
|
2205 |
|
2206 |
|
2207 |
|
2208 |
|
2209 | proto.co.treelab.api.ColumnDefinition.serializeBinaryToWriter = function(message, writer) {
|
2210 | var f = undefined;
|
2211 | f = message.getId();
|
2212 | if (f.length > 0) {
|
2213 | writer.writeString(
|
2214 | 1,
|
2215 | f
|
2216 | );
|
2217 | }
|
2218 | f = message.getType();
|
2219 | if (f.length > 0) {
|
2220 | writer.writeString(
|
2221 | 2,
|
2222 | f
|
2223 | );
|
2224 | }
|
2225 | f = message.getName();
|
2226 | if (f.length > 0) {
|
2227 | writer.writeString(
|
2228 | 3,
|
2229 | f
|
2230 | );
|
2231 | }
|
2232 | f = message.getOrder();
|
2233 | if (f !== 0) {
|
2234 | writer.writeInt32(
|
2235 | 4,
|
2236 | f
|
2237 | );
|
2238 | }
|
2239 | f = message.getVisibility();
|
2240 | if (f) {
|
2241 | writer.writeBool(
|
2242 | 5,
|
2243 | f
|
2244 | );
|
2245 | }
|
2246 | f = message.getForeigntableid();
|
2247 | if (f.length > 0) {
|
2248 | writer.writeString(
|
2249 | 6,
|
2250 | f
|
2251 | );
|
2252 | }
|
2253 | f = message.getDefaultnumber();
|
2254 | if (f !== 0.0) {
|
2255 | writer.writeFloat(
|
2256 | 7,
|
2257 | f
|
2258 | );
|
2259 | }
|
2260 | f = message.getPrecision();
|
2261 | if (f !== 0) {
|
2262 | writer.writeInt32(
|
2263 | 8,
|
2264 | f
|
2265 | );
|
2266 | }
|
2267 | f = message.getChoicesList();
|
2268 | if (f.length > 0) {
|
2269 | writer.writeRepeatedMessage(
|
2270 | 9,
|
2271 | f,
|
2272 | proto.co.treelab.api.Choice.serializeBinaryToWriter
|
2273 | );
|
2274 | }
|
2275 | f = message.getDateformat();
|
2276 | if (f.length > 0) {
|
2277 | writer.writeString(
|
2278 | 10,
|
2279 | f
|
2280 | );
|
2281 | }
|
2282 | f = message.getIncludetime();
|
2283 | if (f) {
|
2284 | writer.writeBool(
|
2285 | 11,
|
2286 | f
|
2287 | );
|
2288 | }
|
2289 | f = message.getTimeformat();
|
2290 | if (f.length > 0) {
|
2291 | writer.writeString(
|
2292 | 12,
|
2293 | f
|
2294 | );
|
2295 | }
|
2296 | f = message.getUsegmt();
|
2297 | if (f) {
|
2298 | writer.writeBool(
|
2299 | 13,
|
2300 | f
|
2301 | );
|
2302 | }
|
2303 | };
|
2304 |
|
2305 |
|
2306 |
|
2307 |
|
2308 |
|
2309 |
|
2310 | proto.co.treelab.api.ColumnDefinition.prototype.getId = function() {
|
2311 | return (jspb.Message.getFieldWithDefault(this, 1, ""));
|
2312 | };
|
2313 |
|
2314 |
|
2315 |
|
2316 | proto.co.treelab.api.ColumnDefinition.prototype.setId = function(value) {
|
2317 | jspb.Message.setProto3StringField(this, 1, value);
|
2318 | };
|
2319 |
|
2320 |
|
2321 |
|
2322 |
|
2323 |
|
2324 |
|
2325 | proto.co.treelab.api.ColumnDefinition.prototype.getType = function() {
|
2326 | return (jspb.Message.getFieldWithDefault(this, 2, ""));
|
2327 | };
|
2328 |
|
2329 |
|
2330 |
|
2331 | proto.co.treelab.api.ColumnDefinition.prototype.setType = function(value) {
|
2332 | jspb.Message.setProto3StringField(this, 2, value);
|
2333 | };
|
2334 |
|
2335 |
|
2336 |
|
2337 |
|
2338 |
|
2339 |
|
2340 | proto.co.treelab.api.ColumnDefinition.prototype.getName = function() {
|
2341 | return (jspb.Message.getFieldWithDefault(this, 3, ""));
|
2342 | };
|
2343 |
|
2344 |
|
2345 |
|
2346 | proto.co.treelab.api.ColumnDefinition.prototype.setName = function(value) {
|
2347 | jspb.Message.setProto3StringField(this, 3, value);
|
2348 | };
|
2349 |
|
2350 |
|
2351 |
|
2352 |
|
2353 |
|
2354 |
|
2355 | proto.co.treelab.api.ColumnDefinition.prototype.getOrder = function() {
|
2356 | return (jspb.Message.getFieldWithDefault(this, 4, 0));
|
2357 | };
|
2358 |
|
2359 |
|
2360 |
|
2361 | proto.co.treelab.api.ColumnDefinition.prototype.setOrder = function(value) {
|
2362 | jspb.Message.setProto3IntField(this, 4, value);
|
2363 | };
|
2364 |
|
2365 |
|
2366 |
|
2367 |
|
2368 |
|
2369 |
|
2370 |
|
2371 |
|
2372 | proto.co.treelab.api.ColumnDefinition.prototype.getVisibility = function() {
|
2373 | return (jspb.Message.getFieldWithDefault(this, 5, false));
|
2374 | };
|
2375 |
|
2376 |
|
2377 |
|
2378 | proto.co.treelab.api.ColumnDefinition.prototype.setVisibility = function(value) {
|
2379 | jspb.Message.setProto3BooleanField(this, 5, value);
|
2380 | };
|
2381 |
|
2382 |
|
2383 |
|
2384 |
|
2385 |
|
2386 |
|
2387 | proto.co.treelab.api.ColumnDefinition.prototype.getForeigntableid = function() {
|
2388 | return (jspb.Message.getFieldWithDefault(this, 6, ""));
|
2389 | };
|
2390 |
|
2391 |
|
2392 |
|
2393 | proto.co.treelab.api.ColumnDefinition.prototype.setForeigntableid = function(value) {
|
2394 | jspb.Message.setProto3StringField(this, 6, value);
|
2395 | };
|
2396 |
|
2397 |
|
2398 |
|
2399 |
|
2400 |
|
2401 |
|
2402 | proto.co.treelab.api.ColumnDefinition.prototype.getDefaultnumber = function() {
|
2403 | return (+jspb.Message.getFieldWithDefault(this, 7, 0.0));
|
2404 | };
|
2405 |
|
2406 |
|
2407 |
|
2408 | proto.co.treelab.api.ColumnDefinition.prototype.setDefaultnumber = function(value) {
|
2409 | jspb.Message.setProto3FloatField(this, 7, value);
|
2410 | };
|
2411 |
|
2412 |
|
2413 |
|
2414 |
|
2415 |
|
2416 |
|
2417 | proto.co.treelab.api.ColumnDefinition.prototype.getPrecision = function() {
|
2418 | return (jspb.Message.getFieldWithDefault(this, 8, 0));
|
2419 | };
|
2420 |
|
2421 |
|
2422 |
|
2423 | proto.co.treelab.api.ColumnDefinition.prototype.setPrecision = function(value) {
|
2424 | jspb.Message.setProto3IntField(this, 8, value);
|
2425 | };
|
2426 |
|
2427 |
|
2428 |
|
2429 |
|
2430 |
|
2431 |
|
2432 | proto.co.treelab.api.ColumnDefinition.prototype.getChoicesList = function() {
|
2433 | return (
|
2434 | jspb.Message.getRepeatedWrapperField(this, proto.co.treelab.api.Choice, 9));
|
2435 | };
|
2436 |
|
2437 |
|
2438 |
|
2439 | proto.co.treelab.api.ColumnDefinition.prototype.setChoicesList = function(value) {
|
2440 | jspb.Message.setRepeatedWrapperField(this, 9, value);
|
2441 | };
|
2442 |
|
2443 |
|
2444 |
|
2445 |
|
2446 |
|
2447 |
|
2448 |
|
2449 | proto.co.treelab.api.ColumnDefinition.prototype.addChoices = function(opt_value, opt_index) {
|
2450 | return jspb.Message.addToRepeatedWrapperField(this, 9, opt_value, proto.co.treelab.api.Choice, opt_index);
|
2451 | };
|
2452 |
|
2453 |
|
2454 | proto.co.treelab.api.ColumnDefinition.prototype.clearChoicesList = function() {
|
2455 | this.setChoicesList([]);
|
2456 | };
|
2457 |
|
2458 |
|
2459 |
|
2460 |
|
2461 |
|
2462 |
|
2463 | proto.co.treelab.api.ColumnDefinition.prototype.getDateformat = function() {
|
2464 | return (jspb.Message.getFieldWithDefault(this, 10, ""));
|
2465 | };
|
2466 |
|
2467 |
|
2468 |
|
2469 | proto.co.treelab.api.ColumnDefinition.prototype.setDateformat = function(value) {
|
2470 | jspb.Message.setProto3StringField(this, 10, value);
|
2471 | };
|
2472 |
|
2473 |
|
2474 |
|
2475 |
|
2476 |
|
2477 |
|
2478 |
|
2479 |
|
2480 | proto.co.treelab.api.ColumnDefinition.prototype.getIncludetime = function() {
|
2481 | return (jspb.Message.getFieldWithDefault(this, 11, false));
|
2482 | };
|
2483 |
|
2484 |
|
2485 |
|
2486 | proto.co.treelab.api.ColumnDefinition.prototype.setIncludetime = function(value) {
|
2487 | jspb.Message.setProto3BooleanField(this, 11, value);
|
2488 | };
|
2489 |
|
2490 |
|
2491 |
|
2492 |
|
2493 |
|
2494 |
|
2495 | proto.co.treelab.api.ColumnDefinition.prototype.getTimeformat = function() {
|
2496 | return (jspb.Message.getFieldWithDefault(this, 12, ""));
|
2497 | };
|
2498 |
|
2499 |
|
2500 |
|
2501 | proto.co.treelab.api.ColumnDefinition.prototype.setTimeformat = function(value) {
|
2502 | jspb.Message.setProto3StringField(this, 12, value);
|
2503 | };
|
2504 |
|
2505 |
|
2506 |
|
2507 |
|
2508 |
|
2509 |
|
2510 |
|
2511 |
|
2512 | proto.co.treelab.api.ColumnDefinition.prototype.getUsegmt = function() {
|
2513 | return (jspb.Message.getFieldWithDefault(this, 13, false));
|
2514 | };
|
2515 |
|
2516 |
|
2517 |
|
2518 | proto.co.treelab.api.ColumnDefinition.prototype.setUsegmt = function(value) {
|
2519 | jspb.Message.setProto3BooleanField(this, 13, value);
|
2520 | };
|
2521 |
|
2522 |
|
2523 |
|
2524 |
|
2525 |
|
2526 |
|
2527 |
|
2528 |
|
2529 |
|
2530 |
|
2531 |
|
2532 |
|
2533 |
|
2534 | proto.co.treelab.api.Choice = function(opt_data) {
|
2535 | jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
2536 | };
|
2537 | goog.inherits(proto.co.treelab.api.Choice, jspb.Message);
|
2538 | if (goog.DEBUG && !COMPILED) {
|
2539 | proto.co.treelab.api.Choice.displayName = 'proto.co.treelab.api.Choice';
|
2540 | }
|
2541 |
|
2542 |
|
2543 | if (jspb.Message.GENERATE_TO_OBJECT) {
|
2544 |
|
2545 |
|
2546 |
|
2547 |
|
2548 |
|
2549 |
|
2550 |
|
2551 |
|
2552 |
|
2553 |
|
2554 | proto.co.treelab.api.Choice.prototype.toObject = function(opt_includeInstance) {
|
2555 | return proto.co.treelab.api.Choice.toObject(opt_includeInstance, this);
|
2556 | };
|
2557 |
|
2558 |
|
2559 |
|
2560 |
|
2561 |
|
2562 |
|
2563 |
|
2564 |
|
2565 |
|
2566 |
|
2567 |
|
2568 | proto.co.treelab.api.Choice.toObject = function(includeInstance, msg) {
|
2569 | var f, obj = {
|
2570 | id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
2571 | name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
2572 | color: jspb.Message.getFieldWithDefault(msg, 3, "")
|
2573 | };
|
2574 |
|
2575 | if (includeInstance) {
|
2576 | obj.$jspbMessageInstance = msg;
|
2577 | }
|
2578 | return obj;
|
2579 | };
|
2580 | }
|
2581 |
|
2582 |
|
2583 |
|
2584 |
|
2585 |
|
2586 |
|
2587 |
|
2588 | proto.co.treelab.api.Choice.deserializeBinary = function(bytes) {
|
2589 | var reader = new jspb.BinaryReader(bytes);
|
2590 | var msg = new proto.co.treelab.api.Choice;
|
2591 | return proto.co.treelab.api.Choice.deserializeBinaryFromReader(msg, reader);
|
2592 | };
|
2593 |
|
2594 |
|
2595 |
|
2596 |
|
2597 |
|
2598 |
|
2599 |
|
2600 |
|
2601 |
|
2602 | proto.co.treelab.api.Choice.deserializeBinaryFromReader = function(msg, reader) {
|
2603 | while (reader.nextField()) {
|
2604 | if (reader.isEndGroup()) {
|
2605 | break;
|
2606 | }
|
2607 | var field = reader.getFieldNumber();
|
2608 | switch (field) {
|
2609 | case 1:
|
2610 | var value = (reader.readString());
|
2611 | msg.setId(value);
|
2612 | break;
|
2613 | case 2:
|
2614 | var value = (reader.readString());
|
2615 | msg.setName(value);
|
2616 | break;
|
2617 | case 3:
|
2618 | var value = (reader.readString());
|
2619 | msg.setColor(value);
|
2620 | break;
|
2621 | default:
|
2622 | reader.skipField();
|
2623 | break;
|
2624 | }
|
2625 | }
|
2626 | return msg;
|
2627 | };
|
2628 |
|
2629 |
|
2630 |
|
2631 |
|
2632 |
|
2633 |
|
2634 | proto.co.treelab.api.Choice.prototype.serializeBinary = function() {
|
2635 | var writer = new jspb.BinaryWriter();
|
2636 | proto.co.treelab.api.Choice.serializeBinaryToWriter(this, writer);
|
2637 | return writer.getResultBuffer();
|
2638 | };
|
2639 |
|
2640 |
|
2641 |
|
2642 |
|
2643 |
|
2644 |
|
2645 |
|
2646 |
|
2647 |
|
2648 | proto.co.treelab.api.Choice.serializeBinaryToWriter = function(message, writer) {
|
2649 | var f = undefined;
|
2650 | f = message.getId();
|
2651 | if (f.length > 0) {
|
2652 | writer.writeString(
|
2653 | 1,
|
2654 | f
|
2655 | );
|
2656 | }
|
2657 | f = message.getName();
|
2658 | if (f.length > 0) {
|
2659 | writer.writeString(
|
2660 | 2,
|
2661 | f
|
2662 | );
|
2663 | }
|
2664 | f = message.getColor();
|
2665 | if (f.length > 0) {
|
2666 | writer.writeString(
|
2667 | 3,
|
2668 | f
|
2669 | );
|
2670 | }
|
2671 | };
|
2672 |
|
2673 |
|
2674 |
|
2675 |
|
2676 |
|
2677 |
|
2678 | proto.co.treelab.api.Choice.prototype.getId = function() {
|
2679 | return (jspb.Message.getFieldWithDefault(this, 1, ""));
|
2680 | };
|
2681 |
|
2682 |
|
2683 |
|
2684 | proto.co.treelab.api.Choice.prototype.setId = function(value) {
|
2685 | jspb.Message.setProto3StringField(this, 1, value);
|
2686 | };
|
2687 |
|
2688 |
|
2689 |
|
2690 |
|
2691 |
|
2692 |
|
2693 | proto.co.treelab.api.Choice.prototype.getName = function() {
|
2694 | return (jspb.Message.getFieldWithDefault(this, 2, ""));
|
2695 | };
|
2696 |
|
2697 |
|
2698 |
|
2699 | proto.co.treelab.api.Choice.prototype.setName = function(value) {
|
2700 | jspb.Message.setProto3StringField(this, 2, value);
|
2701 | };
|
2702 |
|
2703 |
|
2704 |
|
2705 |
|
2706 |
|
2707 |
|
2708 | proto.co.treelab.api.Choice.prototype.getColor = function() {
|
2709 | return (jspb.Message.getFieldWithDefault(this, 3, ""));
|
2710 | };
|
2711 |
|
2712 |
|
2713 |
|
2714 | proto.co.treelab.api.Choice.prototype.setColor = function(value) {
|
2715 | jspb.Message.setProto3StringField(this, 3, value);
|
2716 | };
|
2717 |
|
2718 |
|
2719 |
|
2720 |
|
2721 |
|
2722 |
|
2723 |
|
2724 |
|
2725 |
|
2726 |
|
2727 |
|
2728 |
|
2729 |
|
2730 | proto.co.treelab.api.WorkspaceProjection = function(opt_data) {
|
2731 | jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
2732 | };
|
2733 | goog.inherits(proto.co.treelab.api.WorkspaceProjection, jspb.Message);
|
2734 | if (goog.DEBUG && !COMPILED) {
|
2735 | proto.co.treelab.api.WorkspaceProjection.displayName = 'proto.co.treelab.api.WorkspaceProjection';
|
2736 | }
|
2737 |
|
2738 |
|
2739 | if (jspb.Message.GENERATE_TO_OBJECT) {
|
2740 |
|
2741 |
|
2742 |
|
2743 |
|
2744 |
|
2745 |
|
2746 |
|
2747 |
|
2748 |
|
2749 |
|
2750 | proto.co.treelab.api.WorkspaceProjection.prototype.toObject = function(opt_includeInstance) {
|
2751 | return proto.co.treelab.api.WorkspaceProjection.toObject(opt_includeInstance, this);
|
2752 | };
|
2753 |
|
2754 |
|
2755 |
|
2756 |
|
2757 |
|
2758 |
|
2759 |
|
2760 |
|
2761 |
|
2762 |
|
2763 |
|
2764 | proto.co.treelab.api.WorkspaceProjection.toObject = function(includeInstance, msg) {
|
2765 | var f, obj = {
|
2766 | id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
2767 | name: jspb.Message.getFieldWithDefault(msg, 2, "")
|
2768 | };
|
2769 |
|
2770 | if (includeInstance) {
|
2771 | obj.$jspbMessageInstance = msg;
|
2772 | }
|
2773 | return obj;
|
2774 | };
|
2775 | }
|
2776 |
|
2777 |
|
2778 |
|
2779 |
|
2780 |
|
2781 |
|
2782 |
|
2783 | proto.co.treelab.api.WorkspaceProjection.deserializeBinary = function(bytes) {
|
2784 | var reader = new jspb.BinaryReader(bytes);
|
2785 | var msg = new proto.co.treelab.api.WorkspaceProjection;
|
2786 | return proto.co.treelab.api.WorkspaceProjection.deserializeBinaryFromReader(msg, reader);
|
2787 | };
|
2788 |
|
2789 |
|
2790 |
|
2791 |
|
2792 |
|
2793 |
|
2794 |
|
2795 |
|
2796 |
|
2797 | proto.co.treelab.api.WorkspaceProjection.deserializeBinaryFromReader = function(msg, reader) {
|
2798 | while (reader.nextField()) {
|
2799 | if (reader.isEndGroup()) {
|
2800 | break;
|
2801 | }
|
2802 | var field = reader.getFieldNumber();
|
2803 | switch (field) {
|
2804 | case 1:
|
2805 | var value = (reader.readString());
|
2806 | msg.setId(value);
|
2807 | break;
|
2808 | case 2:
|
2809 | var value = (reader.readString());
|
2810 | msg.setName(value);
|
2811 | break;
|
2812 | default:
|
2813 | reader.skipField();
|
2814 | break;
|
2815 | }
|
2816 | }
|
2817 | return msg;
|
2818 | };
|
2819 |
|
2820 |
|
2821 |
|
2822 |
|
2823 |
|
2824 |
|
2825 | proto.co.treelab.api.WorkspaceProjection.prototype.serializeBinary = function() {
|
2826 | var writer = new jspb.BinaryWriter();
|
2827 | proto.co.treelab.api.WorkspaceProjection.serializeBinaryToWriter(this, writer);
|
2828 | return writer.getResultBuffer();
|
2829 | };
|
2830 |
|
2831 |
|
2832 |
|
2833 |
|
2834 |
|
2835 |
|
2836 |
|
2837 |
|
2838 |
|
2839 | proto.co.treelab.api.WorkspaceProjection.serializeBinaryToWriter = function(message, writer) {
|
2840 | var f = undefined;
|
2841 | f = message.getId();
|
2842 | if (f.length > 0) {
|
2843 | writer.writeString(
|
2844 | 1,
|
2845 | f
|
2846 | );
|
2847 | }
|
2848 | f = message.getName();
|
2849 | if (f.length > 0) {
|
2850 | writer.writeString(
|
2851 | 2,
|
2852 | f
|
2853 | );
|
2854 | }
|
2855 | };
|
2856 |
|
2857 |
|
2858 |
|
2859 |
|
2860 |
|
2861 |
|
2862 | proto.co.treelab.api.WorkspaceProjection.prototype.getId = function() {
|
2863 | return (jspb.Message.getFieldWithDefault(this, 1, ""));
|
2864 | };
|
2865 |
|
2866 |
|
2867 |
|
2868 | proto.co.treelab.api.WorkspaceProjection.prototype.setId = function(value) {
|
2869 | jspb.Message.setProto3StringField(this, 1, value);
|
2870 | };
|
2871 |
|
2872 |
|
2873 |
|
2874 |
|
2875 |
|
2876 |
|
2877 | proto.co.treelab.api.WorkspaceProjection.prototype.getName = function() {
|
2878 | return (jspb.Message.getFieldWithDefault(this, 2, ""));
|
2879 | };
|
2880 |
|
2881 |
|
2882 |
|
2883 | proto.co.treelab.api.WorkspaceProjection.prototype.setName = function(value) {
|
2884 | jspb.Message.setProto3StringField(this, 2, value);
|
2885 | };
|
2886 |
|
2887 |
|
2888 |
|
2889 |
|
2890 |
|
2891 |
|
2892 |
|
2893 |
|
2894 |
|
2895 |
|
2896 |
|
2897 |
|
2898 |
|
2899 | proto.co.treelab.api.CoreProjection = function(opt_data) {
|
2900 | jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
2901 | };
|
2902 | goog.inherits(proto.co.treelab.api.CoreProjection, jspb.Message);
|
2903 | if (goog.DEBUG && !COMPILED) {
|
2904 | proto.co.treelab.api.CoreProjection.displayName = 'proto.co.treelab.api.CoreProjection';
|
2905 | }
|
2906 |
|
2907 |
|
2908 | if (jspb.Message.GENERATE_TO_OBJECT) {
|
2909 |
|
2910 |
|
2911 |
|
2912 |
|
2913 |
|
2914 |
|
2915 |
|
2916 |
|
2917 |
|
2918 |
|
2919 | proto.co.treelab.api.CoreProjection.prototype.toObject = function(opt_includeInstance) {
|
2920 | return proto.co.treelab.api.CoreProjection.toObject(opt_includeInstance, this);
|
2921 | };
|
2922 |
|
2923 |
|
2924 |
|
2925 |
|
2926 |
|
2927 |
|
2928 |
|
2929 |
|
2930 |
|
2931 |
|
2932 |
|
2933 | proto.co.treelab.api.CoreProjection.toObject = function(includeInstance, msg) {
|
2934 | var f, obj = {
|
2935 | id: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
2936 | name: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
2937 | color: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
2938 | icon: jspb.Message.getFieldWithDefault(msg, 5, "")
|
2939 | };
|
2940 |
|
2941 | if (includeInstance) {
|
2942 | obj.$jspbMessageInstance = msg;
|
2943 | }
|
2944 | return obj;
|
2945 | };
|
2946 | }
|
2947 |
|
2948 |
|
2949 |
|
2950 |
|
2951 |
|
2952 |
|
2953 |
|
2954 | proto.co.treelab.api.CoreProjection.deserializeBinary = function(bytes) {
|
2955 | var reader = new jspb.BinaryReader(bytes);
|
2956 | var msg = new proto.co.treelab.api.CoreProjection;
|
2957 | return proto.co.treelab.api.CoreProjection.deserializeBinaryFromReader(msg, reader);
|
2958 | };
|
2959 |
|
2960 |
|
2961 |
|
2962 |
|
2963 |
|
2964 |
|
2965 |
|
2966 |
|
2967 |
|
2968 | proto.co.treelab.api.CoreProjection.deserializeBinaryFromReader = function(msg, reader) {
|
2969 | while (reader.nextField()) {
|
2970 | if (reader.isEndGroup()) {
|
2971 | break;
|
2972 | }
|
2973 | var field = reader.getFieldNumber();
|
2974 | switch (field) {
|
2975 | case 2:
|
2976 | var value = (reader.readString());
|
2977 | msg.setId(value);
|
2978 | break;
|
2979 | case 3:
|
2980 | var value = (reader.readString());
|
2981 | msg.setName(value);
|
2982 | break;
|
2983 | case 4:
|
2984 | var value = (reader.readString());
|
2985 | msg.setColor(value);
|
2986 | break;
|
2987 | case 5:
|
2988 | var value = (reader.readString());
|
2989 | msg.setIcon(value);
|
2990 | break;
|
2991 | default:
|
2992 | reader.skipField();
|
2993 | break;
|
2994 | }
|
2995 | }
|
2996 | return msg;
|
2997 | };
|
2998 |
|
2999 |
|
3000 |
|
3001 |
|
3002 |
|
3003 |
|
3004 | proto.co.treelab.api.CoreProjection.prototype.serializeBinary = function() {
|
3005 | var writer = new jspb.BinaryWriter();
|
3006 | proto.co.treelab.api.CoreProjection.serializeBinaryToWriter(this, writer);
|
3007 | return writer.getResultBuffer();
|
3008 | };
|
3009 |
|
3010 |
|
3011 |
|
3012 |
|
3013 |
|
3014 |
|
3015 |
|
3016 |
|
3017 |
|
3018 | proto.co.treelab.api.CoreProjection.serializeBinaryToWriter = function(message, writer) {
|
3019 | var f = undefined;
|
3020 | f = message.getId();
|
3021 | if (f.length > 0) {
|
3022 | writer.writeString(
|
3023 | 2,
|
3024 | f
|
3025 | );
|
3026 | }
|
3027 | f = message.getName();
|
3028 | if (f.length > 0) {
|
3029 | writer.writeString(
|
3030 | 3,
|
3031 | f
|
3032 | );
|
3033 | }
|
3034 | f = message.getColor();
|
3035 | if (f.length > 0) {
|
3036 | writer.writeString(
|
3037 | 4,
|
3038 | f
|
3039 | );
|
3040 | }
|
3041 | f = message.getIcon();
|
3042 | if (f.length > 0) {
|
3043 | writer.writeString(
|
3044 | 5,
|
3045 | f
|
3046 | );
|
3047 | }
|
3048 | };
|
3049 |
|
3050 |
|
3051 |
|
3052 |
|
3053 |
|
3054 |
|
3055 | proto.co.treelab.api.CoreProjection.prototype.getId = function() {
|
3056 | return (jspb.Message.getFieldWithDefault(this, 2, ""));
|
3057 | };
|
3058 |
|
3059 |
|
3060 |
|
3061 | proto.co.treelab.api.CoreProjection.prototype.setId = function(value) {
|
3062 | jspb.Message.setProto3StringField(this, 2, value);
|
3063 | };
|
3064 |
|
3065 |
|
3066 |
|
3067 |
|
3068 |
|
3069 |
|
3070 | proto.co.treelab.api.CoreProjection.prototype.getName = function() {
|
3071 | return (jspb.Message.getFieldWithDefault(this, 3, ""));
|
3072 | };
|
3073 |
|
3074 |
|
3075 |
|
3076 | proto.co.treelab.api.CoreProjection.prototype.setName = function(value) {
|
3077 | jspb.Message.setProto3StringField(this, 3, value);
|
3078 | };
|
3079 |
|
3080 |
|
3081 |
|
3082 |
|
3083 |
|
3084 |
|
3085 | proto.co.treelab.api.CoreProjection.prototype.getColor = function() {
|
3086 | return (jspb.Message.getFieldWithDefault(this, 4, ""));
|
3087 | };
|
3088 |
|
3089 |
|
3090 |
|
3091 | proto.co.treelab.api.CoreProjection.prototype.setColor = function(value) {
|
3092 | jspb.Message.setProto3StringField(this, 4, value);
|
3093 | };
|
3094 |
|
3095 |
|
3096 |
|
3097 |
|
3098 |
|
3099 |
|
3100 | proto.co.treelab.api.CoreProjection.prototype.getIcon = function() {
|
3101 | return (jspb.Message.getFieldWithDefault(this, 5, ""));
|
3102 | };
|
3103 |
|
3104 |
|
3105 |
|
3106 | proto.co.treelab.api.CoreProjection.prototype.setIcon = function(value) {
|
3107 | jspb.Message.setProto3StringField(this, 5, value);
|
3108 | };
|
3109 |
|
3110 |
|
3111 |
|
3112 |
|
3113 |
|
3114 |
|
3115 |
|
3116 |
|
3117 |
|
3118 |
|
3119 |
|
3120 |
|
3121 |
|
3122 | proto.co.treelab.api.ForeignRowVisibleNameValue = function(opt_data) {
|
3123 | jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
3124 | };
|
3125 | goog.inherits(proto.co.treelab.api.ForeignRowVisibleNameValue, jspb.Message);
|
3126 | if (goog.DEBUG && !COMPILED) {
|
3127 | proto.co.treelab.api.ForeignRowVisibleNameValue.displayName = 'proto.co.treelab.api.ForeignRowVisibleNameValue';
|
3128 | }
|
3129 |
|
3130 |
|
3131 | if (jspb.Message.GENERATE_TO_OBJECT) {
|
3132 |
|
3133 |
|
3134 |
|
3135 |
|
3136 |
|
3137 |
|
3138 |
|
3139 |
|
3140 |
|
3141 |
|
3142 | proto.co.treelab.api.ForeignRowVisibleNameValue.prototype.toObject = function(opt_includeInstance) {
|
3143 | return proto.co.treelab.api.ForeignRowVisibleNameValue.toObject(opt_includeInstance, this);
|
3144 | };
|
3145 |
|
3146 |
|
3147 |
|
3148 |
|
3149 |
|
3150 |
|
3151 |
|
3152 |
|
3153 |
|
3154 |
|
3155 |
|
3156 | proto.co.treelab.api.ForeignRowVisibleNameValue.toObject = function(includeInstance, msg) {
|
3157 | var f, obj = {
|
3158 | value: jspb.Message.getFieldWithDefault(msg, 1, "")
|
3159 | };
|
3160 |
|
3161 | if (includeInstance) {
|
3162 | obj.$jspbMessageInstance = msg;
|
3163 | }
|
3164 | return obj;
|
3165 | };
|
3166 | }
|
3167 |
|
3168 |
|
3169 |
|
3170 |
|
3171 |
|
3172 |
|
3173 |
|
3174 | proto.co.treelab.api.ForeignRowVisibleNameValue.deserializeBinary = function(bytes) {
|
3175 | var reader = new jspb.BinaryReader(bytes);
|
3176 | var msg = new proto.co.treelab.api.ForeignRowVisibleNameValue;
|
3177 | return proto.co.treelab.api.ForeignRowVisibleNameValue.deserializeBinaryFromReader(msg, reader);
|
3178 | };
|
3179 |
|
3180 |
|
3181 |
|
3182 |
|
3183 |
|
3184 |
|
3185 |
|
3186 |
|
3187 |
|
3188 | proto.co.treelab.api.ForeignRowVisibleNameValue.deserializeBinaryFromReader = function(msg, reader) {
|
3189 | while (reader.nextField()) {
|
3190 | if (reader.isEndGroup()) {
|
3191 | break;
|
3192 | }
|
3193 | var field = reader.getFieldNumber();
|
3194 | switch (field) {
|
3195 | case 1:
|
3196 | var value = (reader.readString());
|
3197 | msg.setValue(value);
|
3198 | break;
|
3199 | default:
|
3200 | reader.skipField();
|
3201 | break;
|
3202 | }
|
3203 | }
|
3204 | return msg;
|
3205 | };
|
3206 |
|
3207 |
|
3208 |
|
3209 |
|
3210 |
|
3211 |
|
3212 | proto.co.treelab.api.ForeignRowVisibleNameValue.prototype.serializeBinary = function() {
|
3213 | var writer = new jspb.BinaryWriter();
|
3214 | proto.co.treelab.api.ForeignRowVisibleNameValue.serializeBinaryToWriter(this, writer);
|
3215 | return writer.getResultBuffer();
|
3216 | };
|
3217 |
|
3218 |
|
3219 |
|
3220 |
|
3221 |
|
3222 |
|
3223 |
|
3224 |
|
3225 |
|
3226 | proto.co.treelab.api.ForeignRowVisibleNameValue.serializeBinaryToWriter = function(message, writer) {
|
3227 | var f = undefined;
|
3228 | f = message.getValue();
|
3229 | if (f.length > 0) {
|
3230 | writer.writeString(
|
3231 | 1,
|
3232 | f
|
3233 | );
|
3234 | }
|
3235 | };
|
3236 |
|
3237 |
|
3238 |
|
3239 |
|
3240 |
|
3241 |
|
3242 | proto.co.treelab.api.ForeignRowVisibleNameValue.prototype.getValue = function() {
|
3243 | return (jspb.Message.getFieldWithDefault(this, 1, ""));
|
3244 | };
|
3245 |
|
3246 |
|
3247 |
|
3248 | proto.co.treelab.api.ForeignRowVisibleNameValue.prototype.setValue = function(value) {
|
3249 | jspb.Message.setProto3StringField(this, 1, value);
|
3250 | };
|
3251 |
|
3252 |
|
3253 |
|
3254 |
|
3255 |
|
3256 |
|
3257 |
|
3258 |
|
3259 |
|
3260 |
|
3261 |
|
3262 |
|
3263 |
|
3264 | proto.co.treelab.api.ForeignRowValue = function(opt_data) {
|
3265 | jspb.Message.initialize(this, opt_data, 0, -1, proto.co.treelab.api.ForeignRowValue.repeatedFields_, null);
|
3266 | };
|
3267 | goog.inherits(proto.co.treelab.api.ForeignRowValue, jspb.Message);
|
3268 | if (goog.DEBUG && !COMPILED) {
|
3269 | proto.co.treelab.api.ForeignRowValue.displayName = 'proto.co.treelab.api.ForeignRowValue';
|
3270 | }
|
3271 |
|
3272 |
|
3273 |
|
3274 |
|
3275 |
|
3276 | proto.co.treelab.api.ForeignRowValue.repeatedFields_ = [2];
|
3277 |
|
3278 |
|
3279 |
|
3280 | if (jspb.Message.GENERATE_TO_OBJECT) {
|
3281 |
|
3282 |
|
3283 |
|
3284 |
|
3285 |
|
3286 |
|
3287 |
|
3288 |
|
3289 |
|
3290 |
|
3291 | proto.co.treelab.api.ForeignRowValue.prototype.toObject = function(opt_includeInstance) {
|
3292 | return proto.co.treelab.api.ForeignRowValue.toObject(opt_includeInstance, this);
|
3293 | };
|
3294 |
|
3295 |
|
3296 |
|
3297 |
|
3298 |
|
3299 |
|
3300 |
|
3301 |
|
3302 |
|
3303 |
|
3304 |
|
3305 | proto.co.treelab.api.ForeignRowValue.toObject = function(includeInstance, msg) {
|
3306 | var f, obj = {
|
3307 | id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
3308 | visiblenameList: jspb.Message.toObjectList(msg.getVisiblenameList(),
|
3309 | proto.co.treelab.api.ForeignRowVisibleNameValue.toObject, includeInstance)
|
3310 | };
|
3311 |
|
3312 | if (includeInstance) {
|
3313 | obj.$jspbMessageInstance = msg;
|
3314 | }
|
3315 | return obj;
|
3316 | };
|
3317 | }
|
3318 |
|
3319 |
|
3320 |
|
3321 |
|
3322 |
|
3323 |
|
3324 |
|
3325 | proto.co.treelab.api.ForeignRowValue.deserializeBinary = function(bytes) {
|
3326 | var reader = new jspb.BinaryReader(bytes);
|
3327 | var msg = new proto.co.treelab.api.ForeignRowValue;
|
3328 | return proto.co.treelab.api.ForeignRowValue.deserializeBinaryFromReader(msg, reader);
|
3329 | };
|
3330 |
|
3331 |
|
3332 |
|
3333 |
|
3334 |
|
3335 |
|
3336 |
|
3337 |
|
3338 |
|
3339 | proto.co.treelab.api.ForeignRowValue.deserializeBinaryFromReader = function(msg, reader) {
|
3340 | while (reader.nextField()) {
|
3341 | if (reader.isEndGroup()) {
|
3342 | break;
|
3343 | }
|
3344 | var field = reader.getFieldNumber();
|
3345 | switch (field) {
|
3346 | case 1:
|
3347 | var value = (reader.readString());
|
3348 | msg.setId(value);
|
3349 | break;
|
3350 | case 2:
|
3351 | var value = new proto.co.treelab.api.ForeignRowVisibleNameValue;
|
3352 | reader.readMessage(value,proto.co.treelab.api.ForeignRowVisibleNameValue.deserializeBinaryFromReader);
|
3353 | msg.addVisiblename(value);
|
3354 | break;
|
3355 | default:
|
3356 | reader.skipField();
|
3357 | break;
|
3358 | }
|
3359 | }
|
3360 | return msg;
|
3361 | };
|
3362 |
|
3363 |
|
3364 |
|
3365 |
|
3366 |
|
3367 |
|
3368 | proto.co.treelab.api.ForeignRowValue.prototype.serializeBinary = function() {
|
3369 | var writer = new jspb.BinaryWriter();
|
3370 | proto.co.treelab.api.ForeignRowValue.serializeBinaryToWriter(this, writer);
|
3371 | return writer.getResultBuffer();
|
3372 | };
|
3373 |
|
3374 |
|
3375 |
|
3376 |
|
3377 |
|
3378 |
|
3379 |
|
3380 |
|
3381 |
|
3382 | proto.co.treelab.api.ForeignRowValue.serializeBinaryToWriter = function(message, writer) {
|
3383 | var f = undefined;
|
3384 | f = message.getId();
|
3385 | if (f.length > 0) {
|
3386 | writer.writeString(
|
3387 | 1,
|
3388 | f
|
3389 | );
|
3390 | }
|
3391 | f = message.getVisiblenameList();
|
3392 | if (f.length > 0) {
|
3393 | writer.writeRepeatedMessage(
|
3394 | 2,
|
3395 | f,
|
3396 | proto.co.treelab.api.ForeignRowVisibleNameValue.serializeBinaryToWriter
|
3397 | );
|
3398 | }
|
3399 | };
|
3400 |
|
3401 |
|
3402 |
|
3403 |
|
3404 |
|
3405 |
|
3406 | proto.co.treelab.api.ForeignRowValue.prototype.getId = function() {
|
3407 | return (jspb.Message.getFieldWithDefault(this, 1, ""));
|
3408 | };
|
3409 |
|
3410 |
|
3411 |
|
3412 | proto.co.treelab.api.ForeignRowValue.prototype.setId = function(value) {
|
3413 | jspb.Message.setProto3StringField(this, 1, value);
|
3414 | };
|
3415 |
|
3416 |
|
3417 |
|
3418 |
|
3419 |
|
3420 |
|
3421 | proto.co.treelab.api.ForeignRowValue.prototype.getVisiblenameList = function() {
|
3422 | return (
|
3423 | jspb.Message.getRepeatedWrapperField(this, proto.co.treelab.api.ForeignRowVisibleNameValue, 2));
|
3424 | };
|
3425 |
|
3426 |
|
3427 |
|
3428 | proto.co.treelab.api.ForeignRowValue.prototype.setVisiblenameList = function(value) {
|
3429 | jspb.Message.setRepeatedWrapperField(this, 2, value);
|
3430 | };
|
3431 |
|
3432 |
|
3433 |
|
3434 |
|
3435 |
|
3436 |
|
3437 |
|
3438 | proto.co.treelab.api.ForeignRowValue.prototype.addVisiblename = function(opt_value, opt_index) {
|
3439 | return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.co.treelab.api.ForeignRowVisibleNameValue, opt_index);
|
3440 | };
|
3441 |
|
3442 |
|
3443 | proto.co.treelab.api.ForeignRowValue.prototype.clearVisiblenameList = function() {
|
3444 | this.setVisiblenameList([]);
|
3445 | };
|
3446 |
|
3447 |
|
3448 |
|
3449 |
|
3450 |
|
3451 |
|
3452 |
|
3453 |
|
3454 |
|
3455 |
|
3456 |
|
3457 |
|
3458 |
|
3459 | proto.co.treelab.api.Attachment = function(opt_data) {
|
3460 | jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
3461 | };
|
3462 | goog.inherits(proto.co.treelab.api.Attachment, jspb.Message);
|
3463 | if (goog.DEBUG && !COMPILED) {
|
3464 | proto.co.treelab.api.Attachment.displayName = 'proto.co.treelab.api.Attachment';
|
3465 | }
|
3466 |
|
3467 |
|
3468 | if (jspb.Message.GENERATE_TO_OBJECT) {
|
3469 |
|
3470 |
|
3471 |
|
3472 |
|
3473 |
|
3474 |
|
3475 |
|
3476 |
|
3477 |
|
3478 |
|
3479 | proto.co.treelab.api.Attachment.prototype.toObject = function(opt_includeInstance) {
|
3480 | return proto.co.treelab.api.Attachment.toObject(opt_includeInstance, this);
|
3481 | };
|
3482 |
|
3483 |
|
3484 |
|
3485 |
|
3486 |
|
3487 |
|
3488 |
|
3489 |
|
3490 |
|
3491 |
|
3492 |
|
3493 | proto.co.treelab.api.Attachment.toObject = function(includeInstance, msg) {
|
3494 | var f, obj = {
|
3495 | name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
3496 | url: jspb.Message.getFieldWithDefault(msg, 2, "")
|
3497 | };
|
3498 |
|
3499 | if (includeInstance) {
|
3500 | obj.$jspbMessageInstance = msg;
|
3501 | }
|
3502 | return obj;
|
3503 | };
|
3504 | }
|
3505 |
|
3506 |
|
3507 |
|
3508 |
|
3509 |
|
3510 |
|
3511 |
|
3512 | proto.co.treelab.api.Attachment.deserializeBinary = function(bytes) {
|
3513 | var reader = new jspb.BinaryReader(bytes);
|
3514 | var msg = new proto.co.treelab.api.Attachment;
|
3515 | return proto.co.treelab.api.Attachment.deserializeBinaryFromReader(msg, reader);
|
3516 | };
|
3517 |
|
3518 |
|
3519 |
|
3520 |
|
3521 |
|
3522 |
|
3523 |
|
3524 |
|
3525 |
|
3526 | proto.co.treelab.api.Attachment.deserializeBinaryFromReader = function(msg, reader) {
|
3527 | while (reader.nextField()) {
|
3528 | if (reader.isEndGroup()) {
|
3529 | break;
|
3530 | }
|
3531 | var field = reader.getFieldNumber();
|
3532 | switch (field) {
|
3533 | case 1:
|
3534 | var value = (reader.readString());
|
3535 | msg.setName(value);
|
3536 | break;
|
3537 | case 2:
|
3538 | var value = (reader.readString());
|
3539 | msg.setUrl(value);
|
3540 | break;
|
3541 | default:
|
3542 | reader.skipField();
|
3543 | break;
|
3544 | }
|
3545 | }
|
3546 | return msg;
|
3547 | };
|
3548 |
|
3549 |
|
3550 |
|
3551 |
|
3552 |
|
3553 |
|
3554 | proto.co.treelab.api.Attachment.prototype.serializeBinary = function() {
|
3555 | var writer = new jspb.BinaryWriter();
|
3556 | proto.co.treelab.api.Attachment.serializeBinaryToWriter(this, writer);
|
3557 | return writer.getResultBuffer();
|
3558 | };
|
3559 |
|
3560 |
|
3561 |
|
3562 |
|
3563 |
|
3564 |
|
3565 |
|
3566 |
|
3567 |
|
3568 | proto.co.treelab.api.Attachment.serializeBinaryToWriter = function(message, writer) {
|
3569 | var f = undefined;
|
3570 | f = message.getName();
|
3571 | if (f.length > 0) {
|
3572 | writer.writeString(
|
3573 | 1,
|
3574 | f
|
3575 | );
|
3576 | }
|
3577 | f = message.getUrl();
|
3578 | if (f.length > 0) {
|
3579 | writer.writeString(
|
3580 | 2,
|
3581 | f
|
3582 | );
|
3583 | }
|
3584 | };
|
3585 |
|
3586 |
|
3587 |
|
3588 |
|
3589 |
|
3590 |
|
3591 | proto.co.treelab.api.Attachment.prototype.getName = function() {
|
3592 | return (jspb.Message.getFieldWithDefault(this, 1, ""));
|
3593 | };
|
3594 |
|
3595 |
|
3596 |
|
3597 | proto.co.treelab.api.Attachment.prototype.setName = function(value) {
|
3598 | jspb.Message.setProto3StringField(this, 1, value);
|
3599 | };
|
3600 |
|
3601 |
|
3602 |
|
3603 |
|
3604 |
|
3605 |
|
3606 | proto.co.treelab.api.Attachment.prototype.getUrl = function() {
|
3607 | return (jspb.Message.getFieldWithDefault(this, 2, ""));
|
3608 | };
|
3609 |
|
3610 |
|
3611 |
|
3612 | proto.co.treelab.api.Attachment.prototype.setUrl = function(value) {
|
3613 | jspb.Message.setProto3StringField(this, 2, value);
|
3614 | };
|
3615 |
|
3616 |
|
3617 |
|
3618 |
|
3619 |
|
3620 |
|
3621 |
|
3622 |
|
3623 |
|
3624 |
|
3625 |
|
3626 |
|
3627 |
|
3628 | proto.co.treelab.api.ColumnConfig = function(opt_data) {
|
3629 | jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
3630 | };
|
3631 | goog.inherits(proto.co.treelab.api.ColumnConfig, jspb.Message);
|
3632 | if (goog.DEBUG && !COMPILED) {
|
3633 | proto.co.treelab.api.ColumnConfig.displayName = 'proto.co.treelab.api.ColumnConfig';
|
3634 | }
|
3635 |
|
3636 |
|
3637 | if (jspb.Message.GENERATE_TO_OBJECT) {
|
3638 |
|
3639 |
|
3640 |
|
3641 |
|
3642 |
|
3643 |
|
3644 |
|
3645 |
|
3646 |
|
3647 |
|
3648 | proto.co.treelab.api.ColumnConfig.prototype.toObject = function(opt_includeInstance) {
|
3649 | return proto.co.treelab.api.ColumnConfig.toObject(opt_includeInstance, this);
|
3650 | };
|
3651 |
|
3652 |
|
3653 |
|
3654 |
|
3655 |
|
3656 |
|
3657 |
|
3658 |
|
3659 |
|
3660 |
|
3661 |
|
3662 | proto.co.treelab.api.ColumnConfig.toObject = function(includeInstance, msg) {
|
3663 | var f, obj = {
|
3664 | name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
3665 | type: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
3666 | order: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
3667 | };
|
3668 |
|
3669 | if (includeInstance) {
|
3670 | obj.$jspbMessageInstance = msg;
|
3671 | }
|
3672 | return obj;
|
3673 | };
|
3674 | }
|
3675 |
|
3676 |
|
3677 |
|
3678 |
|
3679 |
|
3680 |
|
3681 |
|
3682 | proto.co.treelab.api.ColumnConfig.deserializeBinary = function(bytes) {
|
3683 | var reader = new jspb.BinaryReader(bytes);
|
3684 | var msg = new proto.co.treelab.api.ColumnConfig;
|
3685 | return proto.co.treelab.api.ColumnConfig.deserializeBinaryFromReader(msg, reader);
|
3686 | };
|
3687 |
|
3688 |
|
3689 |
|
3690 |
|
3691 |
|
3692 |
|
3693 |
|
3694 |
|
3695 |
|
3696 | proto.co.treelab.api.ColumnConfig.deserializeBinaryFromReader = function(msg, reader) {
|
3697 | while (reader.nextField()) {
|
3698 | if (reader.isEndGroup()) {
|
3699 | break;
|
3700 | }
|
3701 | var field = reader.getFieldNumber();
|
3702 | switch (field) {
|
3703 | case 1:
|
3704 | var value = (reader.readString());
|
3705 | msg.setName(value);
|
3706 | break;
|
3707 | case 2:
|
3708 | var value = (reader.readString());
|
3709 | msg.setType(value);
|
3710 | break;
|
3711 | case 3:
|
3712 | var value = (reader.readInt32());
|
3713 | msg.setOrder(value);
|
3714 | break;
|
3715 | default:
|
3716 | reader.skipField();
|
3717 | break;
|
3718 | }
|
3719 | }
|
3720 | return msg;
|
3721 | };
|
3722 |
|
3723 |
|
3724 |
|
3725 |
|
3726 |
|
3727 |
|
3728 | proto.co.treelab.api.ColumnConfig.prototype.serializeBinary = function() {
|
3729 | var writer = new jspb.BinaryWriter();
|
3730 | proto.co.treelab.api.ColumnConfig.serializeBinaryToWriter(this, writer);
|
3731 | return writer.getResultBuffer();
|
3732 | };
|
3733 |
|
3734 |
|
3735 |
|
3736 |
|
3737 |
|
3738 |
|
3739 |
|
3740 |
|
3741 |
|
3742 | proto.co.treelab.api.ColumnConfig.serializeBinaryToWriter = function(message, writer) {
|
3743 | var f = undefined;
|
3744 | f = message.getName();
|
3745 | if (f.length > 0) {
|
3746 | writer.writeString(
|
3747 | 1,
|
3748 | f
|
3749 | );
|
3750 | }
|
3751 | f = message.getType();
|
3752 | if (f.length > 0) {
|
3753 | writer.writeString(
|
3754 | 2,
|
3755 | f
|
3756 | );
|
3757 | }
|
3758 | f = message.getOrder();
|
3759 | if (f !== 0) {
|
3760 | writer.writeInt32(
|
3761 | 3,
|
3762 | f
|
3763 | );
|
3764 | }
|
3765 | };
|
3766 |
|
3767 |
|
3768 |
|
3769 |
|
3770 |
|
3771 |
|
3772 | proto.co.treelab.api.ColumnConfig.prototype.getName = function() {
|
3773 | return (jspb.Message.getFieldWithDefault(this, 1, ""));
|
3774 | };
|
3775 |
|
3776 |
|
3777 |
|
3778 | proto.co.treelab.api.ColumnConfig.prototype.setName = function(value) {
|
3779 | jspb.Message.setProto3StringField(this, 1, value);
|
3780 | };
|
3781 |
|
3782 |
|
3783 |
|
3784 |
|
3785 |
|
3786 |
|
3787 | proto.co.treelab.api.ColumnConfig.prototype.getType = function() {
|
3788 | return (jspb.Message.getFieldWithDefault(this, 2, ""));
|
3789 | };
|
3790 |
|
3791 |
|
3792 |
|
3793 | proto.co.treelab.api.ColumnConfig.prototype.setType = function(value) {
|
3794 | jspb.Message.setProto3StringField(this, 2, value);
|
3795 | };
|
3796 |
|
3797 |
|
3798 |
|
3799 |
|
3800 |
|
3801 |
|
3802 | proto.co.treelab.api.ColumnConfig.prototype.getOrder = function() {
|
3803 | return (jspb.Message.getFieldWithDefault(this, 3, 0));
|
3804 | };
|
3805 |
|
3806 |
|
3807 |
|
3808 | proto.co.treelab.api.ColumnConfig.prototype.setOrder = function(value) {
|
3809 | jspb.Message.setProto3IntField(this, 3, value);
|
3810 | };
|
3811 |
|
3812 |
|
3813 |
|
3814 |
|
3815 |
|
3816 |
|
3817 |
|
3818 |
|
3819 |
|
3820 |
|
3821 |
|
3822 |
|
3823 |
|
3824 | proto.co.treelab.api.ViewDefinition = function(opt_data) {
|
3825 | jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
3826 | };
|
3827 | goog.inherits(proto.co.treelab.api.ViewDefinition, jspb.Message);
|
3828 | if (goog.DEBUG && !COMPILED) {
|
3829 | proto.co.treelab.api.ViewDefinition.displayName = 'proto.co.treelab.api.ViewDefinition';
|
3830 | }
|
3831 |
|
3832 |
|
3833 | if (jspb.Message.GENERATE_TO_OBJECT) {
|
3834 |
|
3835 |
|
3836 |
|
3837 |
|
3838 |
|
3839 |
|
3840 |
|
3841 |
|
3842 |
|
3843 |
|
3844 | proto.co.treelab.api.ViewDefinition.prototype.toObject = function(opt_includeInstance) {
|
3845 | return proto.co.treelab.api.ViewDefinition.toObject(opt_includeInstance, this);
|
3846 | };
|
3847 |
|
3848 |
|
3849 |
|
3850 |
|
3851 |
|
3852 |
|
3853 |
|
3854 |
|
3855 |
|
3856 |
|
3857 |
|
3858 | proto.co.treelab.api.ViewDefinition.toObject = function(includeInstance, msg) {
|
3859 | var f, obj = {
|
3860 | id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
3861 | name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
3862 | type: jspb.Message.getFieldWithDefault(msg, 3, "")
|
3863 | };
|
3864 |
|
3865 | if (includeInstance) {
|
3866 | obj.$jspbMessageInstance = msg;
|
3867 | }
|
3868 | return obj;
|
3869 | };
|
3870 | }
|
3871 |
|
3872 |
|
3873 |
|
3874 |
|
3875 |
|
3876 |
|
3877 |
|
3878 | proto.co.treelab.api.ViewDefinition.deserializeBinary = function(bytes) {
|
3879 | var reader = new jspb.BinaryReader(bytes);
|
3880 | var msg = new proto.co.treelab.api.ViewDefinition;
|
3881 | return proto.co.treelab.api.ViewDefinition.deserializeBinaryFromReader(msg, reader);
|
3882 | };
|
3883 |
|
3884 |
|
3885 |
|
3886 |
|
3887 |
|
3888 |
|
3889 |
|
3890 |
|
3891 |
|
3892 | proto.co.treelab.api.ViewDefinition.deserializeBinaryFromReader = function(msg, reader) {
|
3893 | while (reader.nextField()) {
|
3894 | if (reader.isEndGroup()) {
|
3895 | break;
|
3896 | }
|
3897 | var field = reader.getFieldNumber();
|
3898 | switch (field) {
|
3899 | case 1:
|
3900 | var value = (reader.readString());
|
3901 | msg.setId(value);
|
3902 | break;
|
3903 | case 2:
|
3904 | var value = (reader.readString());
|
3905 | msg.setName(value);
|
3906 | break;
|
3907 | case 3:
|
3908 | var value = (reader.readString());
|
3909 | msg.setType(value);
|
3910 | break;
|
3911 | default:
|
3912 | reader.skipField();
|
3913 | break;
|
3914 | }
|
3915 | }
|
3916 | return msg;
|
3917 | };
|
3918 |
|
3919 |
|
3920 |
|
3921 |
|
3922 |
|
3923 |
|
3924 | proto.co.treelab.api.ViewDefinition.prototype.serializeBinary = function() {
|
3925 | var writer = new jspb.BinaryWriter();
|
3926 | proto.co.treelab.api.ViewDefinition.serializeBinaryToWriter(this, writer);
|
3927 | return writer.getResultBuffer();
|
3928 | };
|
3929 |
|
3930 |
|
3931 |
|
3932 |
|
3933 |
|
3934 |
|
3935 |
|
3936 |
|
3937 |
|
3938 | proto.co.treelab.api.ViewDefinition.serializeBinaryToWriter = function(message, writer) {
|
3939 | var f = undefined;
|
3940 | f = message.getId();
|
3941 | if (f.length > 0) {
|
3942 | writer.writeString(
|
3943 | 1,
|
3944 | f
|
3945 | );
|
3946 | }
|
3947 | f = message.getName();
|
3948 | if (f.length > 0) {
|
3949 | writer.writeString(
|
3950 | 2,
|
3951 | f
|
3952 | );
|
3953 | }
|
3954 | f = message.getType();
|
3955 | if (f.length > 0) {
|
3956 | writer.writeString(
|
3957 | 3,
|
3958 | f
|
3959 | );
|
3960 | }
|
3961 | };
|
3962 |
|
3963 |
|
3964 |
|
3965 |
|
3966 |
|
3967 |
|
3968 | proto.co.treelab.api.ViewDefinition.prototype.getId = function() {
|
3969 | return (jspb.Message.getFieldWithDefault(this, 1, ""));
|
3970 | };
|
3971 |
|
3972 |
|
3973 |
|
3974 | proto.co.treelab.api.ViewDefinition.prototype.setId = function(value) {
|
3975 | jspb.Message.setProto3StringField(this, 1, value);
|
3976 | };
|
3977 |
|
3978 |
|
3979 |
|
3980 |
|
3981 |
|
3982 |
|
3983 | proto.co.treelab.api.ViewDefinition.prototype.getName = function() {
|
3984 | return (jspb.Message.getFieldWithDefault(this, 2, ""));
|
3985 | };
|
3986 |
|
3987 |
|
3988 |
|
3989 | proto.co.treelab.api.ViewDefinition.prototype.setName = function(value) {
|
3990 | jspb.Message.setProto3StringField(this, 2, value);
|
3991 | };
|
3992 |
|
3993 |
|
3994 |
|
3995 |
|
3996 |
|
3997 |
|
3998 | proto.co.treelab.api.ViewDefinition.prototype.getType = function() {
|
3999 | return (jspb.Message.getFieldWithDefault(this, 3, ""));
|
4000 | };
|
4001 |
|
4002 |
|
4003 |
|
4004 | proto.co.treelab.api.ViewDefinition.prototype.setType = function(value) {
|
4005 | jspb.Message.setProto3StringField(this, 3, value);
|
4006 | };
|
4007 |
|
4008 |
|
4009 |
|
4010 |
|
4011 |
|
4012 |
|
4013 |
|
4014 |
|
4015 |
|
4016 |
|
4017 |
|
4018 |
|
4019 |
|
4020 | proto.co.treelab.api.EventMetadata = function(opt_data) {
|
4021 | jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
4022 | };
|
4023 | goog.inherits(proto.co.treelab.api.EventMetadata, jspb.Message);
|
4024 | if (goog.DEBUG && !COMPILED) {
|
4025 | proto.co.treelab.api.EventMetadata.displayName = 'proto.co.treelab.api.EventMetadata';
|
4026 | }
|
4027 |
|
4028 |
|
4029 | if (jspb.Message.GENERATE_TO_OBJECT) {
|
4030 |
|
4031 |
|
4032 |
|
4033 |
|
4034 |
|
4035 |
|
4036 |
|
4037 |
|
4038 |
|
4039 |
|
4040 | proto.co.treelab.api.EventMetadata.prototype.toObject = function(opt_includeInstance) {
|
4041 | return proto.co.treelab.api.EventMetadata.toObject(opt_includeInstance, this);
|
4042 | };
|
4043 |
|
4044 |
|
4045 |
|
4046 |
|
4047 |
|
4048 |
|
4049 |
|
4050 |
|
4051 |
|
4052 |
|
4053 |
|
4054 | proto.co.treelab.api.EventMetadata.toObject = function(includeInstance, msg) {
|
4055 | var f, obj = {
|
4056 | source: jspb.Message.getFieldWithDefault(msg, 1, "")
|
4057 | };
|
4058 |
|
4059 | if (includeInstance) {
|
4060 | obj.$jspbMessageInstance = msg;
|
4061 | }
|
4062 | return obj;
|
4063 | };
|
4064 | }
|
4065 |
|
4066 |
|
4067 |
|
4068 |
|
4069 |
|
4070 |
|
4071 |
|
4072 | proto.co.treelab.api.EventMetadata.deserializeBinary = function(bytes) {
|
4073 | var reader = new jspb.BinaryReader(bytes);
|
4074 | var msg = new proto.co.treelab.api.EventMetadata;
|
4075 | return proto.co.treelab.api.EventMetadata.deserializeBinaryFromReader(msg, reader);
|
4076 | };
|
4077 |
|
4078 |
|
4079 |
|
4080 |
|
4081 |
|
4082 |
|
4083 |
|
4084 |
|
4085 |
|
4086 | proto.co.treelab.api.EventMetadata.deserializeBinaryFromReader = function(msg, reader) {
|
4087 | while (reader.nextField()) {
|
4088 | if (reader.isEndGroup()) {
|
4089 | break;
|
4090 | }
|
4091 | var field = reader.getFieldNumber();
|
4092 | switch (field) {
|
4093 | case 1:
|
4094 | var value = (reader.readString());
|
4095 | msg.setSource(value);
|
4096 | break;
|
4097 | default:
|
4098 | reader.skipField();
|
4099 | break;
|
4100 | }
|
4101 | }
|
4102 | return msg;
|
4103 | };
|
4104 |
|
4105 |
|
4106 |
|
4107 |
|
4108 |
|
4109 |
|
4110 | proto.co.treelab.api.EventMetadata.prototype.serializeBinary = function() {
|
4111 | var writer = new jspb.BinaryWriter();
|
4112 | proto.co.treelab.api.EventMetadata.serializeBinaryToWriter(this, writer);
|
4113 | return writer.getResultBuffer();
|
4114 | };
|
4115 |
|
4116 |
|
4117 |
|
4118 |
|
4119 |
|
4120 |
|
4121 |
|
4122 |
|
4123 |
|
4124 | proto.co.treelab.api.EventMetadata.serializeBinaryToWriter = function(message, writer) {
|
4125 | var f = undefined;
|
4126 | f = message.getSource();
|
4127 | if (f.length > 0) {
|
4128 | writer.writeString(
|
4129 | 1,
|
4130 | f
|
4131 | );
|
4132 | }
|
4133 | };
|
4134 |
|
4135 |
|
4136 |
|
4137 |
|
4138 |
|
4139 |
|
4140 | proto.co.treelab.api.EventMetadata.prototype.getSource = function() {
|
4141 | return (jspb.Message.getFieldWithDefault(this, 1, ""));
|
4142 | };
|
4143 |
|
4144 |
|
4145 |
|
4146 | proto.co.treelab.api.EventMetadata.prototype.setSource = function(value) {
|
4147 | jspb.Message.setProto3StringField(this, 1, value);
|
4148 | };
|
4149 |
|
4150 |
|
4151 |
|
4152 |
|
4153 |
|
4154 |
|
4155 |
|
4156 |
|
4157 |
|
4158 |
|
4159 |
|
4160 |
|
4161 |
|
4162 | proto.co.treelab.api.EventPayload = function(opt_data) {
|
4163 | jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
4164 | };
|
4165 | goog.inherits(proto.co.treelab.api.EventPayload, jspb.Message);
|
4166 | if (goog.DEBUG && !COMPILED) {
|
4167 | proto.co.treelab.api.EventPayload.displayName = 'proto.co.treelab.api.EventPayload';
|
4168 | }
|
4169 |
|
4170 |
|
4171 | if (jspb.Message.GENERATE_TO_OBJECT) {
|
4172 |
|
4173 |
|
4174 |
|
4175 |
|
4176 |
|
4177 |
|
4178 |
|
4179 |
|
4180 |
|
4181 |
|
4182 | proto.co.treelab.api.EventPayload.prototype.toObject = function(opt_includeInstance) {
|
4183 | return proto.co.treelab.api.EventPayload.toObject(opt_includeInstance, this);
|
4184 | };
|
4185 |
|
4186 |
|
4187 |
|
4188 |
|
4189 |
|
4190 |
|
4191 |
|
4192 |
|
4193 |
|
4194 |
|
4195 |
|
4196 | proto.co.treelab.api.EventPayload.toObject = function(includeInstance, msg) {
|
4197 | var f, obj = {
|
4198 | eventname: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
4199 | workspaceid: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
4200 | coreid: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
4201 | tableid: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
4202 | columnid: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
4203 | rowid: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
4204 | corename: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
4205 | color: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
4206 | icon: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
4207 | tablename: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
4208 | columnconfig: (f = msg.getColumnconfig()) && proto.co.treelab.api.ColumnConfig.toObject(includeInstance, f),
|
4209 | view: (f = msg.getView()) && proto.co.treelab.api.ViewDefinition.toObject(includeInstance, f),
|
4210 | action: (f = msg.getAction()) && proto.co.treelab.api.UpdateCellActionInput.toObject(includeInstance, f),
|
4211 | metadata: (f = msg.getMetadata()) && proto.co.treelab.api.EventMetadata.toObject(includeInstance, f)
|
4212 | };
|
4213 |
|
4214 | if (includeInstance) {
|
4215 | obj.$jspbMessageInstance = msg;
|
4216 | }
|
4217 | return obj;
|
4218 | };
|
4219 | }
|
4220 |
|
4221 |
|
4222 |
|
4223 |
|
4224 |
|
4225 |
|
4226 |
|
4227 | proto.co.treelab.api.EventPayload.deserializeBinary = function(bytes) {
|
4228 | var reader = new jspb.BinaryReader(bytes);
|
4229 | var msg = new proto.co.treelab.api.EventPayload;
|
4230 | return proto.co.treelab.api.EventPayload.deserializeBinaryFromReader(msg, reader);
|
4231 | };
|
4232 |
|
4233 |
|
4234 |
|
4235 |
|
4236 |
|
4237 |
|
4238 |
|
4239 |
|
4240 |
|
4241 | proto.co.treelab.api.EventPayload.deserializeBinaryFromReader = function(msg, reader) {
|
4242 | while (reader.nextField()) {
|
4243 | if (reader.isEndGroup()) {
|
4244 | break;
|
4245 | }
|
4246 | var field = reader.getFieldNumber();
|
4247 | switch (field) {
|
4248 | case 1:
|
4249 | var value = (reader.readString());
|
4250 | msg.setEventname(value);
|
4251 | break;
|
4252 | case 2:
|
4253 | var value = (reader.readString());
|
4254 | msg.setWorkspaceid(value);
|
4255 | break;
|
4256 | case 3:
|
4257 | var value = (reader.readString());
|
4258 | msg.setCoreid(value);
|
4259 | break;
|
4260 | case 4:
|
4261 | var value = (reader.readString());
|
4262 | msg.setTableid(value);
|
4263 | break;
|
4264 | case 5:
|
4265 | var value = (reader.readString());
|
4266 | msg.setColumnid(value);
|
4267 | break;
|
4268 | case 6:
|
4269 | var value = (reader.readString());
|
4270 | msg.setRowid(value);
|
4271 | break;
|
4272 | case 7:
|
4273 | var value = (reader.readString());
|
4274 | msg.setCorename(value);
|
4275 | break;
|
4276 | case 8:
|
4277 | var value = (reader.readString());
|
4278 | msg.setColor(value);
|
4279 | break;
|
4280 | case 9:
|
4281 | var value = (reader.readString());
|
4282 | msg.setIcon(value);
|
4283 | break;
|
4284 | case 10:
|
4285 | var value = (reader.readString());
|
4286 | msg.setTablename(value);
|
4287 | break;
|
4288 | case 11:
|
4289 | var value = new proto.co.treelab.api.ColumnConfig;
|
4290 | reader.readMessage(value,proto.co.treelab.api.ColumnConfig.deserializeBinaryFromReader);
|
4291 | msg.setColumnconfig(value);
|
4292 | break;
|
4293 | case 12:
|
4294 | var value = new proto.co.treelab.api.ViewDefinition;
|
4295 | reader.readMessage(value,proto.co.treelab.api.ViewDefinition.deserializeBinaryFromReader);
|
4296 | msg.setView(value);
|
4297 | break;
|
4298 | case 13:
|
4299 | var value = new proto.co.treelab.api.UpdateCellActionInput;
|
4300 | reader.readMessage(value,proto.co.treelab.api.UpdateCellActionInput.deserializeBinaryFromReader);
|
4301 | msg.setAction(value);
|
4302 | break;
|
4303 | case 14:
|
4304 | var value = new proto.co.treelab.api.EventMetadata;
|
4305 | reader.readMessage(value,proto.co.treelab.api.EventMetadata.deserializeBinaryFromReader);
|
4306 | msg.setMetadata(value);
|
4307 | break;
|
4308 | default:
|
4309 | reader.skipField();
|
4310 | break;
|
4311 | }
|
4312 | }
|
4313 | return msg;
|
4314 | };
|
4315 |
|
4316 |
|
4317 |
|
4318 |
|
4319 |
|
4320 |
|
4321 | proto.co.treelab.api.EventPayload.prototype.serializeBinary = function() {
|
4322 | var writer = new jspb.BinaryWriter();
|
4323 | proto.co.treelab.api.EventPayload.serializeBinaryToWriter(this, writer);
|
4324 | return writer.getResultBuffer();
|
4325 | };
|
4326 |
|
4327 |
|
4328 |
|
4329 |
|
4330 |
|
4331 |
|
4332 |
|
4333 |
|
4334 |
|
4335 | proto.co.treelab.api.EventPayload.serializeBinaryToWriter = function(message, writer) {
|
4336 | var f = undefined;
|
4337 | f = message.getEventname();
|
4338 | if (f.length > 0) {
|
4339 | writer.writeString(
|
4340 | 1,
|
4341 | f
|
4342 | );
|
4343 | }
|
4344 | f = message.getWorkspaceid();
|
4345 | if (f.length > 0) {
|
4346 | writer.writeString(
|
4347 | 2,
|
4348 | f
|
4349 | );
|
4350 | }
|
4351 | f = message.getCoreid();
|
4352 | if (f.length > 0) {
|
4353 | writer.writeString(
|
4354 | 3,
|
4355 | f
|
4356 | );
|
4357 | }
|
4358 | f = message.getTableid();
|
4359 | if (f.length > 0) {
|
4360 | writer.writeString(
|
4361 | 4,
|
4362 | f
|
4363 | );
|
4364 | }
|
4365 | f = message.getColumnid();
|
4366 | if (f.length > 0) {
|
4367 | writer.writeString(
|
4368 | 5,
|
4369 | f
|
4370 | );
|
4371 | }
|
4372 | f = message.getRowid();
|
4373 | if (f.length > 0) {
|
4374 | writer.writeString(
|
4375 | 6,
|
4376 | f
|
4377 | );
|
4378 | }
|
4379 | f = message.getCorename();
|
4380 | if (f.length > 0) {
|
4381 | writer.writeString(
|
4382 | 7,
|
4383 | f
|
4384 | );
|
4385 | }
|
4386 | f = message.getColor();
|
4387 | if (f.length > 0) {
|
4388 | writer.writeString(
|
4389 | 8,
|
4390 | f
|
4391 | );
|
4392 | }
|
4393 | f = message.getIcon();
|
4394 | if (f.length > 0) {
|
4395 | writer.writeString(
|
4396 | 9,
|
4397 | f
|
4398 | );
|
4399 | }
|
4400 | f = message.getTablename();
|
4401 | if (f.length > 0) {
|
4402 | writer.writeString(
|
4403 | 10,
|
4404 | f
|
4405 | );
|
4406 | }
|
4407 | f = message.getColumnconfig();
|
4408 | if (f != null) {
|
4409 | writer.writeMessage(
|
4410 | 11,
|
4411 | f,
|
4412 | proto.co.treelab.api.ColumnConfig.serializeBinaryToWriter
|
4413 | );
|
4414 | }
|
4415 | f = message.getView();
|
4416 | if (f != null) {
|
4417 | writer.writeMessage(
|
4418 | 12,
|
4419 | f,
|
4420 | proto.co.treelab.api.ViewDefinition.serializeBinaryToWriter
|
4421 | );
|
4422 | }
|
4423 | f = message.getAction();
|
4424 | if (f != null) {
|
4425 | writer.writeMessage(
|
4426 | 13,
|
4427 | f,
|
4428 | proto.co.treelab.api.UpdateCellActionInput.serializeBinaryToWriter
|
4429 | );
|
4430 | }
|
4431 | f = message.getMetadata();
|
4432 | if (f != null) {
|
4433 | writer.writeMessage(
|
4434 | 14,
|
4435 | f,
|
4436 | proto.co.treelab.api.EventMetadata.serializeBinaryToWriter
|
4437 | );
|
4438 | }
|
4439 | };
|
4440 |
|
4441 |
|
4442 |
|
4443 |
|
4444 |
|
4445 |
|
4446 | proto.co.treelab.api.EventPayload.prototype.getEventname = function() {
|
4447 | return (jspb.Message.getFieldWithDefault(this, 1, ""));
|
4448 | };
|
4449 |
|
4450 |
|
4451 |
|
4452 | proto.co.treelab.api.EventPayload.prototype.setEventname = function(value) {
|
4453 | jspb.Message.setProto3StringField(this, 1, value);
|
4454 | };
|
4455 |
|
4456 |
|
4457 |
|
4458 |
|
4459 |
|
4460 |
|
4461 | proto.co.treelab.api.EventPayload.prototype.getWorkspaceid = function() {
|
4462 | return (jspb.Message.getFieldWithDefault(this, 2, ""));
|
4463 | };
|
4464 |
|
4465 |
|
4466 |
|
4467 | proto.co.treelab.api.EventPayload.prototype.setWorkspaceid = function(value) {
|
4468 | jspb.Message.setProto3StringField(this, 2, value);
|
4469 | };
|
4470 |
|
4471 |
|
4472 |
|
4473 |
|
4474 |
|
4475 |
|
4476 | proto.co.treelab.api.EventPayload.prototype.getCoreid = function() {
|
4477 | return (jspb.Message.getFieldWithDefault(this, 3, ""));
|
4478 | };
|
4479 |
|
4480 |
|
4481 |
|
4482 | proto.co.treelab.api.EventPayload.prototype.setCoreid = function(value) {
|
4483 | jspb.Message.setProto3StringField(this, 3, value);
|
4484 | };
|
4485 |
|
4486 |
|
4487 |
|
4488 |
|
4489 |
|
4490 |
|
4491 | proto.co.treelab.api.EventPayload.prototype.getTableid = function() {
|
4492 | return (jspb.Message.getFieldWithDefault(this, 4, ""));
|
4493 | };
|
4494 |
|
4495 |
|
4496 |
|
4497 | proto.co.treelab.api.EventPayload.prototype.setTableid = function(value) {
|
4498 | jspb.Message.setProto3StringField(this, 4, value);
|
4499 | };
|
4500 |
|
4501 |
|
4502 |
|
4503 |
|
4504 |
|
4505 |
|
4506 | proto.co.treelab.api.EventPayload.prototype.getColumnid = function() {
|
4507 | return (jspb.Message.getFieldWithDefault(this, 5, ""));
|
4508 | };
|
4509 |
|
4510 |
|
4511 |
|
4512 | proto.co.treelab.api.EventPayload.prototype.setColumnid = function(value) {
|
4513 | jspb.Message.setProto3StringField(this, 5, value);
|
4514 | };
|
4515 |
|
4516 |
|
4517 |
|
4518 |
|
4519 |
|
4520 |
|
4521 | proto.co.treelab.api.EventPayload.prototype.getRowid = function() {
|
4522 | return (jspb.Message.getFieldWithDefault(this, 6, ""));
|
4523 | };
|
4524 |
|
4525 |
|
4526 |
|
4527 | proto.co.treelab.api.EventPayload.prototype.setRowid = function(value) {
|
4528 | jspb.Message.setProto3StringField(this, 6, value);
|
4529 | };
|
4530 |
|
4531 |
|
4532 |
|
4533 |
|
4534 |
|
4535 |
|
4536 | proto.co.treelab.api.EventPayload.prototype.getCorename = function() {
|
4537 | return (jspb.Message.getFieldWithDefault(this, 7, ""));
|
4538 | };
|
4539 |
|
4540 |
|
4541 |
|
4542 | proto.co.treelab.api.EventPayload.prototype.setCorename = function(value) {
|
4543 | jspb.Message.setProto3StringField(this, 7, value);
|
4544 | };
|
4545 |
|
4546 |
|
4547 |
|
4548 |
|
4549 |
|
4550 |
|
4551 | proto.co.treelab.api.EventPayload.prototype.getColor = function() {
|
4552 | return (jspb.Message.getFieldWithDefault(this, 8, ""));
|
4553 | };
|
4554 |
|
4555 |
|
4556 |
|
4557 | proto.co.treelab.api.EventPayload.prototype.setColor = function(value) {
|
4558 | jspb.Message.setProto3StringField(this, 8, value);
|
4559 | };
|
4560 |
|
4561 |
|
4562 |
|
4563 |
|
4564 |
|
4565 |
|
4566 | proto.co.treelab.api.EventPayload.prototype.getIcon = function() {
|
4567 | return (jspb.Message.getFieldWithDefault(this, 9, ""));
|
4568 | };
|
4569 |
|
4570 |
|
4571 |
|
4572 | proto.co.treelab.api.EventPayload.prototype.setIcon = function(value) {
|
4573 | jspb.Message.setProto3StringField(this, 9, value);
|
4574 | };
|
4575 |
|
4576 |
|
4577 |
|
4578 |
|
4579 |
|
4580 |
|
4581 | proto.co.treelab.api.EventPayload.prototype.getTablename = function() {
|
4582 | return (jspb.Message.getFieldWithDefault(this, 10, ""));
|
4583 | };
|
4584 |
|
4585 |
|
4586 |
|
4587 | proto.co.treelab.api.EventPayload.prototype.setTablename = function(value) {
|
4588 | jspb.Message.setProto3StringField(this, 10, value);
|
4589 | };
|
4590 |
|
4591 |
|
4592 |
|
4593 |
|
4594 |
|
4595 |
|
4596 | proto.co.treelab.api.EventPayload.prototype.getColumnconfig = function() {
|
4597 | return (
|
4598 | jspb.Message.getWrapperField(this, proto.co.treelab.api.ColumnConfig, 11));
|
4599 | };
|
4600 |
|
4601 |
|
4602 |
|
4603 | proto.co.treelab.api.EventPayload.prototype.setColumnconfig = function(value) {
|
4604 | jspb.Message.setWrapperField(this, 11, value);
|
4605 | };
|
4606 |
|
4607 |
|
4608 | proto.co.treelab.api.EventPayload.prototype.clearColumnconfig = function() {
|
4609 | this.setColumnconfig(undefined);
|
4610 | };
|
4611 |
|
4612 |
|
4613 |
|
4614 |
|
4615 |
|
4616 |
|
4617 | proto.co.treelab.api.EventPayload.prototype.hasColumnconfig = function() {
|
4618 | return jspb.Message.getField(this, 11) != null;
|
4619 | };
|
4620 |
|
4621 |
|
4622 |
|
4623 |
|
4624 |
|
4625 |
|
4626 | proto.co.treelab.api.EventPayload.prototype.getView = function() {
|
4627 | return (
|
4628 | jspb.Message.getWrapperField(this, proto.co.treelab.api.ViewDefinition, 12));
|
4629 | };
|
4630 |
|
4631 |
|
4632 |
|
4633 | proto.co.treelab.api.EventPayload.prototype.setView = function(value) {
|
4634 | jspb.Message.setWrapperField(this, 12, value);
|
4635 | };
|
4636 |
|
4637 |
|
4638 | proto.co.treelab.api.EventPayload.prototype.clearView = function() {
|
4639 | this.setView(undefined);
|
4640 | };
|
4641 |
|
4642 |
|
4643 |
|
4644 |
|
4645 |
|
4646 |
|
4647 | proto.co.treelab.api.EventPayload.prototype.hasView = function() {
|
4648 | return jspb.Message.getField(this, 12) != null;
|
4649 | };
|
4650 |
|
4651 |
|
4652 |
|
4653 |
|
4654 |
|
4655 |
|
4656 | proto.co.treelab.api.EventPayload.prototype.getAction = function() {
|
4657 | return (
|
4658 | jspb.Message.getWrapperField(this, proto.co.treelab.api.UpdateCellActionInput, 13));
|
4659 | };
|
4660 |
|
4661 |
|
4662 |
|
4663 | proto.co.treelab.api.EventPayload.prototype.setAction = function(value) {
|
4664 | jspb.Message.setWrapperField(this, 13, value);
|
4665 | };
|
4666 |
|
4667 |
|
4668 | proto.co.treelab.api.EventPayload.prototype.clearAction = function() {
|
4669 | this.setAction(undefined);
|
4670 | };
|
4671 |
|
4672 |
|
4673 |
|
4674 |
|
4675 |
|
4676 |
|
4677 | proto.co.treelab.api.EventPayload.prototype.hasAction = function() {
|
4678 | return jspb.Message.getField(this, 13) != null;
|
4679 | };
|
4680 |
|
4681 |
|
4682 |
|
4683 |
|
4684 |
|
4685 |
|
4686 | proto.co.treelab.api.EventPayload.prototype.getMetadata = function() {
|
4687 | return (
|
4688 | jspb.Message.getWrapperField(this, proto.co.treelab.api.EventMetadata, 14));
|
4689 | };
|
4690 |
|
4691 |
|
4692 |
|
4693 | proto.co.treelab.api.EventPayload.prototype.setMetadata = function(value) {
|
4694 | jspb.Message.setWrapperField(this, 14, value);
|
4695 | };
|
4696 |
|
4697 |
|
4698 | proto.co.treelab.api.EventPayload.prototype.clearMetadata = function() {
|
4699 | this.setMetadata(undefined);
|
4700 | };
|
4701 |
|
4702 |
|
4703 |
|
4704 |
|
4705 |
|
4706 |
|
4707 | proto.co.treelab.api.EventPayload.prototype.hasMetadata = function() {
|
4708 | return jspb.Message.getField(this, 14) != null;
|
4709 | };
|
4710 |
|
4711 |
|
4712 |
|
4713 |
|
4714 |
|
4715 |
|
4716 |
|
4717 |
|
4718 |
|
4719 |
|
4720 |
|
4721 |
|
4722 |
|
4723 | proto.co.treelab.api.WorkspaceSubscriptionInput = function(opt_data) {
|
4724 | jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
4725 | };
|
4726 | goog.inherits(proto.co.treelab.api.WorkspaceSubscriptionInput, jspb.Message);
|
4727 | if (goog.DEBUG && !COMPILED) {
|
4728 | proto.co.treelab.api.WorkspaceSubscriptionInput.displayName = 'proto.co.treelab.api.WorkspaceSubscriptionInput';
|
4729 | }
|
4730 |
|
4731 |
|
4732 | if (jspb.Message.GENERATE_TO_OBJECT) {
|
4733 |
|
4734 |
|
4735 |
|
4736 |
|
4737 |
|
4738 |
|
4739 |
|
4740 |
|
4741 |
|
4742 |
|
4743 | proto.co.treelab.api.WorkspaceSubscriptionInput.prototype.toObject = function(opt_includeInstance) {
|
4744 | return proto.co.treelab.api.WorkspaceSubscriptionInput.toObject(opt_includeInstance, this);
|
4745 | };
|
4746 |
|
4747 |
|
4748 |
|
4749 |
|
4750 |
|
4751 |
|
4752 |
|
4753 |
|
4754 |
|
4755 |
|
4756 |
|
4757 | proto.co.treelab.api.WorkspaceSubscriptionInput.toObject = function(includeInstance, msg) {
|
4758 | var f, obj = {
|
4759 | workspaceid: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
4760 | topic: jspb.Message.getFieldWithDefault(msg, 2, "")
|
4761 | };
|
4762 |
|
4763 | if (includeInstance) {
|
4764 | obj.$jspbMessageInstance = msg;
|
4765 | }
|
4766 | return obj;
|
4767 | };
|
4768 | }
|
4769 |
|
4770 |
|
4771 |
|
4772 |
|
4773 |
|
4774 |
|
4775 |
|
4776 | proto.co.treelab.api.WorkspaceSubscriptionInput.deserializeBinary = function(bytes) {
|
4777 | var reader = new jspb.BinaryReader(bytes);
|
4778 | var msg = new proto.co.treelab.api.WorkspaceSubscriptionInput;
|
4779 | return proto.co.treelab.api.WorkspaceSubscriptionInput.deserializeBinaryFromReader(msg, reader);
|
4780 | };
|
4781 |
|
4782 |
|
4783 |
|
4784 |
|
4785 |
|
4786 |
|
4787 |
|
4788 |
|
4789 |
|
4790 | proto.co.treelab.api.WorkspaceSubscriptionInput.deserializeBinaryFromReader = function(msg, reader) {
|
4791 | while (reader.nextField()) {
|
4792 | if (reader.isEndGroup()) {
|
4793 | break;
|
4794 | }
|
4795 | var field = reader.getFieldNumber();
|
4796 | switch (field) {
|
4797 | case 1:
|
4798 | var value = (reader.readString());
|
4799 | msg.setWorkspaceid(value);
|
4800 | break;
|
4801 | case 2:
|
4802 | var value = (reader.readString());
|
4803 | msg.setTopic(value);
|
4804 | break;
|
4805 | default:
|
4806 | reader.skipField();
|
4807 | break;
|
4808 | }
|
4809 | }
|
4810 | return msg;
|
4811 | };
|
4812 |
|
4813 |
|
4814 |
|
4815 |
|
4816 |
|
4817 |
|
4818 | proto.co.treelab.api.WorkspaceSubscriptionInput.prototype.serializeBinary = function() {
|
4819 | var writer = new jspb.BinaryWriter();
|
4820 | proto.co.treelab.api.WorkspaceSubscriptionInput.serializeBinaryToWriter(this, writer);
|
4821 | return writer.getResultBuffer();
|
4822 | };
|
4823 |
|
4824 |
|
4825 |
|
4826 |
|
4827 |
|
4828 |
|
4829 |
|
4830 |
|
4831 |
|
4832 | proto.co.treelab.api.WorkspaceSubscriptionInput.serializeBinaryToWriter = function(message, writer) {
|
4833 | var f = undefined;
|
4834 | f = message.getWorkspaceid();
|
4835 | if (f.length > 0) {
|
4836 | writer.writeString(
|
4837 | 1,
|
4838 | f
|
4839 | );
|
4840 | }
|
4841 | f = message.getTopic();
|
4842 | if (f.length > 0) {
|
4843 | writer.writeString(
|
4844 | 2,
|
4845 | f
|
4846 | );
|
4847 | }
|
4848 | };
|
4849 |
|
4850 |
|
4851 |
|
4852 |
|
4853 |
|
4854 |
|
4855 | proto.co.treelab.api.WorkspaceSubscriptionInput.prototype.getWorkspaceid = function() {
|
4856 | return (jspb.Message.getFieldWithDefault(this, 1, ""));
|
4857 | };
|
4858 |
|
4859 |
|
4860 |
|
4861 | proto.co.treelab.api.WorkspaceSubscriptionInput.prototype.setWorkspaceid = function(value) {
|
4862 | jspb.Message.setProto3StringField(this, 1, value);
|
4863 | };
|
4864 |
|
4865 |
|
4866 |
|
4867 |
|
4868 |
|
4869 |
|
4870 | proto.co.treelab.api.WorkspaceSubscriptionInput.prototype.getTopic = function() {
|
4871 | return (jspb.Message.getFieldWithDefault(this, 2, ""));
|
4872 | };
|
4873 |
|
4874 |
|
4875 |
|
4876 | proto.co.treelab.api.WorkspaceSubscriptionInput.prototype.setTopic = function(value) {
|
4877 | jspb.Message.setProto3StringField(this, 2, value);
|
4878 | };
|
4879 |
|
4880 |
|
4881 |
|
4882 |
|
4883 |
|
4884 |
|
4885 |
|
4886 |
|
4887 |
|
4888 |
|
4889 |
|
4890 |
|
4891 |
|
4892 | proto.co.treelab.api.ViewDefinitionInput = function(opt_data) {
|
4893 | jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
4894 | };
|
4895 | goog.inherits(proto.co.treelab.api.ViewDefinitionInput, jspb.Message);
|
4896 | if (goog.DEBUG && !COMPILED) {
|
4897 | proto.co.treelab.api.ViewDefinitionInput.displayName = 'proto.co.treelab.api.ViewDefinitionInput';
|
4898 | }
|
4899 |
|
4900 |
|
4901 | if (jspb.Message.GENERATE_TO_OBJECT) {
|
4902 |
|
4903 |
|
4904 |
|
4905 |
|
4906 |
|
4907 |
|
4908 |
|
4909 |
|
4910 |
|
4911 |
|
4912 | proto.co.treelab.api.ViewDefinitionInput.prototype.toObject = function(opt_includeInstance) {
|
4913 | return proto.co.treelab.api.ViewDefinitionInput.toObject(opt_includeInstance, this);
|
4914 | };
|
4915 |
|
4916 |
|
4917 |
|
4918 |
|
4919 |
|
4920 |
|
4921 |
|
4922 |
|
4923 |
|
4924 |
|
4925 |
|
4926 | proto.co.treelab.api.ViewDefinitionInput.toObject = function(includeInstance, msg) {
|
4927 | var f, obj = {
|
4928 | name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
4929 | type: jspb.Message.getFieldWithDefault(msg, 2, "")
|
4930 | };
|
4931 |
|
4932 | if (includeInstance) {
|
4933 | obj.$jspbMessageInstance = msg;
|
4934 | }
|
4935 | return obj;
|
4936 | };
|
4937 | }
|
4938 |
|
4939 |
|
4940 |
|
4941 |
|
4942 |
|
4943 |
|
4944 |
|
4945 | proto.co.treelab.api.ViewDefinitionInput.deserializeBinary = function(bytes) {
|
4946 | var reader = new jspb.BinaryReader(bytes);
|
4947 | var msg = new proto.co.treelab.api.ViewDefinitionInput;
|
4948 | return proto.co.treelab.api.ViewDefinitionInput.deserializeBinaryFromReader(msg, reader);
|
4949 | };
|
4950 |
|
4951 |
|
4952 |
|
4953 |
|
4954 |
|
4955 |
|
4956 |
|
4957 |
|
4958 |
|
4959 | proto.co.treelab.api.ViewDefinitionInput.deserializeBinaryFromReader = function(msg, reader) {
|
4960 | while (reader.nextField()) {
|
4961 | if (reader.isEndGroup()) {
|
4962 | break;
|
4963 | }
|
4964 | var field = reader.getFieldNumber();
|
4965 | switch (field) {
|
4966 | case 1:
|
4967 | var value = (reader.readString());
|
4968 | msg.setName(value);
|
4969 | break;
|
4970 | case 2:
|
4971 | var value = (reader.readString());
|
4972 | msg.setType(value);
|
4973 | break;
|
4974 | default:
|
4975 | reader.skipField();
|
4976 | break;
|
4977 | }
|
4978 | }
|
4979 | return msg;
|
4980 | };
|
4981 |
|
4982 |
|
4983 |
|
4984 |
|
4985 |
|
4986 |
|
4987 | proto.co.treelab.api.ViewDefinitionInput.prototype.serializeBinary = function() {
|
4988 | var writer = new jspb.BinaryWriter();
|
4989 | proto.co.treelab.api.ViewDefinitionInput.serializeBinaryToWriter(this, writer);
|
4990 | return writer.getResultBuffer();
|
4991 | };
|
4992 |
|
4993 |
|
4994 |
|
4995 |
|
4996 |
|
4997 |
|
4998 |
|
4999 |
|
5000 |
|
5001 | proto.co.treelab.api.ViewDefinitionInput.serializeBinaryToWriter = function(message, writer) {
|
5002 | var f = undefined;
|
5003 | f = message.getName();
|
5004 | if (f.length > 0) {
|
5005 | writer.writeString(
|
5006 | 1,
|
5007 | f
|
5008 | );
|
5009 | }
|
5010 | f = message.getType();
|
5011 | if (f.length > 0) {
|
5012 | writer.writeString(
|
5013 | 2,
|
5014 | f
|
5015 | );
|
5016 | }
|
5017 | };
|
5018 |
|
5019 |
|
5020 |
|
5021 |
|
5022 |
|
5023 |
|
5024 | proto.co.treelab.api.ViewDefinitionInput.prototype.getName = function() {
|
5025 | return (jspb.Message.getFieldWithDefault(this, 1, ""));
|
5026 | };
|
5027 |
|
5028 |
|
5029 |
|
5030 | proto.co.treelab.api.ViewDefinitionInput.prototype.setName = function(value) {
|
5031 | jspb.Message.setProto3StringField(this, 1, value);
|
5032 | };
|
5033 |
|
5034 |
|
5035 |
|
5036 |
|
5037 |
|
5038 |
|
5039 | proto.co.treelab.api.ViewDefinitionInput.prototype.getType = function() {
|
5040 | return (jspb.Message.getFieldWithDefault(this, 2, ""));
|
5041 | };
|
5042 |
|
5043 |
|
5044 |
|
5045 | proto.co.treelab.api.ViewDefinitionInput.prototype.setType = function(value) {
|
5046 | jspb.Message.setProto3StringField(this, 2, value);
|
5047 | };
|
5048 |
|
5049 |
|
5050 |
|
5051 |
|
5052 |
|
5053 |
|
5054 |
|
5055 |
|
5056 |
|
5057 |
|
5058 |
|
5059 |
|
5060 |
|
5061 | proto.co.treelab.api.AddViewInput = function(opt_data) {
|
5062 | jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
5063 | };
|
5064 | goog.inherits(proto.co.treelab.api.AddViewInput, jspb.Message);
|
5065 | if (goog.DEBUG && !COMPILED) {
|
5066 | proto.co.treelab.api.AddViewInput.displayName = 'proto.co.treelab.api.AddViewInput';
|
5067 | }
|
5068 |
|
5069 |
|
5070 | if (jspb.Message.GENERATE_TO_OBJECT) {
|
5071 |
|
5072 |
|
5073 |
|
5074 |
|
5075 |
|
5076 |
|
5077 |
|
5078 |
|
5079 |
|
5080 |
|
5081 | proto.co.treelab.api.AddViewInput.prototype.toObject = function(opt_includeInstance) {
|
5082 | return proto.co.treelab.api.AddViewInput.toObject(opt_includeInstance, this);
|
5083 | };
|
5084 |
|
5085 |
|
5086 |
|
5087 |
|
5088 |
|
5089 |
|
5090 |
|
5091 |
|
5092 |
|
5093 |
|
5094 |
|
5095 | proto.co.treelab.api.AddViewInput.toObject = function(includeInstance, msg) {
|
5096 | var f, obj = {
|
5097 | workspaceid: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
5098 | coreid: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
5099 | tableid: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
5100 | view: (f = msg.getView()) && proto.co.treelab.api.ViewDefinitionInput.toObject(includeInstance, f)
|
5101 | };
|
5102 |
|
5103 | if (includeInstance) {
|
5104 | obj.$jspbMessageInstance = msg;
|
5105 | }
|
5106 | return obj;
|
5107 | };
|
5108 | }
|
5109 |
|
5110 |
|
5111 |
|
5112 |
|
5113 |
|
5114 |
|
5115 |
|
5116 | proto.co.treelab.api.AddViewInput.deserializeBinary = function(bytes) {
|
5117 | var reader = new jspb.BinaryReader(bytes);
|
5118 | var msg = new proto.co.treelab.api.AddViewInput;
|
5119 | return proto.co.treelab.api.AddViewInput.deserializeBinaryFromReader(msg, reader);
|
5120 | };
|
5121 |
|
5122 |
|
5123 |
|
5124 |
|
5125 |
|
5126 |
|
5127 |
|
5128 |
|
5129 |
|
5130 | proto.co.treelab.api.AddViewInput.deserializeBinaryFromReader = function(msg, reader) {
|
5131 | while (reader.nextField()) {
|
5132 | if (reader.isEndGroup()) {
|
5133 | break;
|
5134 | }
|
5135 | var field = reader.getFieldNumber();
|
5136 | switch (field) {
|
5137 | case 1:
|
5138 | var value = (reader.readString());
|
5139 | msg.setWorkspaceid(value);
|
5140 | break;
|
5141 | case 2:
|
5142 | var value = (reader.readString());
|
5143 | msg.setCoreid(value);
|
5144 | break;
|
5145 | case 3:
|
5146 | var value = (reader.readString());
|
5147 | msg.setTableid(value);
|
5148 | break;
|
5149 | case 4:
|
5150 | var value = new proto.co.treelab.api.ViewDefinitionInput;
|
5151 | reader.readMessage(value,proto.co.treelab.api.ViewDefinitionInput.deserializeBinaryFromReader);
|
5152 | msg.setView(value);
|
5153 | break;
|
5154 | default:
|
5155 | reader.skipField();
|
5156 | break;
|
5157 | }
|
5158 | }
|
5159 | return msg;
|
5160 | };
|
5161 |
|
5162 |
|
5163 |
|
5164 |
|
5165 |
|
5166 |
|
5167 | proto.co.treelab.api.AddViewInput.prototype.serializeBinary = function() {
|
5168 | var writer = new jspb.BinaryWriter();
|
5169 | proto.co.treelab.api.AddViewInput.serializeBinaryToWriter(this, writer);
|
5170 | return writer.getResultBuffer();
|
5171 | };
|
5172 |
|
5173 |
|
5174 |
|
5175 |
|
5176 |
|
5177 |
|
5178 |
|
5179 |
|
5180 |
|
5181 | proto.co.treelab.api.AddViewInput.serializeBinaryToWriter = function(message, writer) {
|
5182 | var f = undefined;
|
5183 | f = message.getWorkspaceid();
|
5184 | if (f.length > 0) {
|
5185 | writer.writeString(
|
5186 | 1,
|
5187 | f
|
5188 | );
|
5189 | }
|
5190 | f = message.getCoreid();
|
5191 | if (f.length > 0) {
|
5192 | writer.writeString(
|
5193 | 2,
|
5194 | f
|
5195 | );
|
5196 | }
|
5197 | f = message.getTableid();
|
5198 | if (f.length > 0) {
|
5199 | writer.writeString(
|
5200 | 3,
|
5201 | f
|
5202 | );
|
5203 | }
|
5204 | f = message.getView();
|
5205 | if (f != null) {
|
5206 | writer.writeMessage(
|
5207 | 4,
|
5208 | f,
|
5209 | proto.co.treelab.api.ViewDefinitionInput.serializeBinaryToWriter
|
5210 | );
|
5211 | }
|
5212 | };
|
5213 |
|
5214 |
|
5215 |
|
5216 |
|
5217 |
|
5218 |
|
5219 | proto.co.treelab.api.AddViewInput.prototype.getWorkspaceid = function() {
|
5220 | return (jspb.Message.getFieldWithDefault(this, 1, ""));
|
5221 | };
|
5222 |
|
5223 |
|
5224 |
|
5225 | proto.co.treelab.api.AddViewInput.prototype.setWorkspaceid = function(value) {
|
5226 | jspb.Message.setProto3StringField(this, 1, value);
|
5227 | };
|
5228 |
|
5229 |
|
5230 |
|
5231 |
|
5232 |
|
5233 |
|
5234 | proto.co.treelab.api.AddViewInput.prototype.getCoreid = function() {
|
5235 | return (jspb.Message.getFieldWithDefault(this, 2, ""));
|
5236 | };
|
5237 |
|
5238 |
|
5239 |
|
5240 | proto.co.treelab.api.AddViewInput.prototype.setCoreid = function(value) {
|
5241 | jspb.Message.setProto3StringField(this, 2, value);
|
5242 | };
|
5243 |
|
5244 |
|
5245 |
|
5246 |
|
5247 |
|
5248 |
|
5249 | proto.co.treelab.api.AddViewInput.prototype.getTableid = function() {
|
5250 | return (jspb.Message.getFieldWithDefault(this, 3, ""));
|
5251 | };
|
5252 |
|
5253 |
|
5254 |
|
5255 | proto.co.treelab.api.AddViewInput.prototype.setTableid = function(value) {
|
5256 | jspb.Message.setProto3StringField(this, 3, value);
|
5257 | };
|
5258 |
|
5259 |
|
5260 |
|
5261 |
|
5262 |
|
5263 |
|
5264 | proto.co.treelab.api.AddViewInput.prototype.getView = function() {
|
5265 | return (
|
5266 | jspb.Message.getWrapperField(this, proto.co.treelab.api.ViewDefinitionInput, 4));
|
5267 | };
|
5268 |
|
5269 |
|
5270 |
|
5271 | proto.co.treelab.api.AddViewInput.prototype.setView = function(value) {
|
5272 | jspb.Message.setWrapperField(this, 4, value);
|
5273 | };
|
5274 |
|
5275 |
|
5276 | proto.co.treelab.api.AddViewInput.prototype.clearView = function() {
|
5277 | this.setView(undefined);
|
5278 | };
|
5279 |
|
5280 |
|
5281 |
|
5282 |
|
5283 |
|
5284 |
|
5285 | proto.co.treelab.api.AddViewInput.prototype.hasView = function() {
|
5286 | return jspb.Message.getField(this, 4) != null;
|
5287 | };
|
5288 |
|
5289 |
|
5290 |
|
5291 |
|
5292 |
|
5293 |
|
5294 |
|
5295 |
|
5296 |
|
5297 |
|
5298 |
|
5299 |
|
5300 |
|
5301 | proto.co.treelab.api.AddColumnInput = function(opt_data) {
|
5302 | jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
5303 | };
|
5304 | goog.inherits(proto.co.treelab.api.AddColumnInput, jspb.Message);
|
5305 | if (goog.DEBUG && !COMPILED) {
|
5306 | proto.co.treelab.api.AddColumnInput.displayName = 'proto.co.treelab.api.AddColumnInput';
|
5307 | }
|
5308 |
|
5309 |
|
5310 | if (jspb.Message.GENERATE_TO_OBJECT) {
|
5311 |
|
5312 |
|
5313 |
|
5314 |
|
5315 |
|
5316 |
|
5317 |
|
5318 |
|
5319 |
|
5320 |
|
5321 | proto.co.treelab.api.AddColumnInput.prototype.toObject = function(opt_includeInstance) {
|
5322 | return proto.co.treelab.api.AddColumnInput.toObject(opt_includeInstance, this);
|
5323 | };
|
5324 |
|
5325 |
|
5326 |
|
5327 |
|
5328 |
|
5329 |
|
5330 |
|
5331 |
|
5332 |
|
5333 |
|
5334 |
|
5335 | proto.co.treelab.api.AddColumnInput.toObject = function(includeInstance, msg) {
|
5336 | var f, obj = {
|
5337 | workspaceid: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
5338 | coreid: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
5339 | tableid: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
5340 | columnconfig: (f = msg.getColumnconfig()) && proto.co.treelab.api.ColumnConfigInput.toObject(includeInstance, f)
|
5341 | };
|
5342 |
|
5343 | if (includeInstance) {
|
5344 | obj.$jspbMessageInstance = msg;
|
5345 | }
|
5346 | return obj;
|
5347 | };
|
5348 | }
|
5349 |
|
5350 |
|
5351 |
|
5352 |
|
5353 |
|
5354 |
|
5355 |
|
5356 | proto.co.treelab.api.AddColumnInput.deserializeBinary = function(bytes) {
|
5357 | var reader = new jspb.BinaryReader(bytes);
|
5358 | var msg = new proto.co.treelab.api.AddColumnInput;
|
5359 | return proto.co.treelab.api.AddColumnInput.deserializeBinaryFromReader(msg, reader);
|
5360 | };
|
5361 |
|
5362 |
|
5363 |
|
5364 |
|
5365 |
|
5366 |
|
5367 |
|
5368 |
|
5369 |
|
5370 | proto.co.treelab.api.AddColumnInput.deserializeBinaryFromReader = function(msg, reader) {
|
5371 | while (reader.nextField()) {
|
5372 | if (reader.isEndGroup()) {
|
5373 | break;
|
5374 | }
|
5375 | var field = reader.getFieldNumber();
|
5376 | switch (field) {
|
5377 | case 1:
|
5378 | var value = (reader.readString());
|
5379 | msg.setWorkspaceid(value);
|
5380 | break;
|
5381 | case 2:
|
5382 | var value = (reader.readString());
|
5383 | msg.setCoreid(value);
|
5384 | break;
|
5385 | case 3:
|
5386 | var value = (reader.readString());
|
5387 | msg.setTableid(value);
|
5388 | break;
|
5389 | case 4:
|
5390 | var value = new proto.co.treelab.api.ColumnConfigInput;
|
5391 | reader.readMessage(value,proto.co.treelab.api.ColumnConfigInput.deserializeBinaryFromReader);
|
5392 | msg.setColumnconfig(value);
|
5393 | break;
|
5394 | default:
|
5395 | reader.skipField();
|
5396 | break;
|
5397 | }
|
5398 | }
|
5399 | return msg;
|
5400 | };
|
5401 |
|
5402 |
|
5403 |
|
5404 |
|
5405 |
|
5406 |
|
5407 | proto.co.treelab.api.AddColumnInput.prototype.serializeBinary = function() {
|
5408 | var writer = new jspb.BinaryWriter();
|
5409 | proto.co.treelab.api.AddColumnInput.serializeBinaryToWriter(this, writer);
|
5410 | return writer.getResultBuffer();
|
5411 | };
|
5412 |
|
5413 |
|
5414 |
|
5415 |
|
5416 |
|
5417 |
|
5418 |
|
5419 |
|
5420 |
|
5421 | proto.co.treelab.api.AddColumnInput.serializeBinaryToWriter = function(message, writer) {
|
5422 | var f = undefined;
|
5423 | f = message.getWorkspaceid();
|
5424 | if (f.length > 0) {
|
5425 | writer.writeString(
|
5426 | 1,
|
5427 | f
|
5428 | );
|
5429 | }
|
5430 | f = message.getCoreid();
|
5431 | if (f.length > 0) {
|
5432 | writer.writeString(
|
5433 | 2,
|
5434 | f
|
5435 | );
|
5436 | }
|
5437 | f = message.getTableid();
|
5438 | if (f.length > 0) {
|
5439 | writer.writeString(
|
5440 | 3,
|
5441 | f
|
5442 | );
|
5443 | }
|
5444 | f = message.getColumnconfig();
|
5445 | if (f != null) {
|
5446 | writer.writeMessage(
|
5447 | 4,
|
5448 | f,
|
5449 | proto.co.treelab.api.ColumnConfigInput.serializeBinaryToWriter
|
5450 | );
|
5451 | }
|
5452 | };
|
5453 |
|
5454 |
|
5455 |
|
5456 |
|
5457 |
|
5458 |
|
5459 | proto.co.treelab.api.AddColumnInput.prototype.getWorkspaceid = function() {
|
5460 | return (jspb.Message.getFieldWithDefault(this, 1, ""));
|
5461 | };
|
5462 |
|
5463 |
|
5464 |
|
5465 | proto.co.treelab.api.AddColumnInput.prototype.setWorkspaceid = function(value) {
|
5466 | jspb.Message.setProto3StringField(this, 1, value);
|
5467 | };
|
5468 |
|
5469 |
|
5470 |
|
5471 |
|
5472 |
|
5473 |
|
5474 | proto.co.treelab.api.AddColumnInput.prototype.getCoreid = function() {
|
5475 | return (jspb.Message.getFieldWithDefault(this, 2, ""));
|
5476 | };
|
5477 |
|
5478 |
|
5479 |
|
5480 | proto.co.treelab.api.AddColumnInput.prototype.setCoreid = function(value) {
|
5481 | jspb.Message.setProto3StringField(this, 2, value);
|
5482 | };
|
5483 |
|
5484 |
|
5485 |
|
5486 |
|
5487 |
|
5488 |
|
5489 | proto.co.treelab.api.AddColumnInput.prototype.getTableid = function() {
|
5490 | return (jspb.Message.getFieldWithDefault(this, 3, ""));
|
5491 | };
|
5492 |
|
5493 |
|
5494 |
|
5495 | proto.co.treelab.api.AddColumnInput.prototype.setTableid = function(value) {
|
5496 | jspb.Message.setProto3StringField(this, 3, value);
|
5497 | };
|
5498 |
|
5499 |
|
5500 |
|
5501 |
|
5502 |
|
5503 |
|
5504 | proto.co.treelab.api.AddColumnInput.prototype.getColumnconfig = function() {
|
5505 | return (
|
5506 | jspb.Message.getWrapperField(this, proto.co.treelab.api.ColumnConfigInput, 4));
|
5507 | };
|
5508 |
|
5509 |
|
5510 |
|
5511 | proto.co.treelab.api.AddColumnInput.prototype.setColumnconfig = function(value) {
|
5512 | jspb.Message.setWrapperField(this, 4, value);
|
5513 | };
|
5514 |
|
5515 |
|
5516 | proto.co.treelab.api.AddColumnInput.prototype.clearColumnconfig = function() {
|
5517 | this.setColumnconfig(undefined);
|
5518 | };
|
5519 |
|
5520 |
|
5521 |
|
5522 |
|
5523 |
|
5524 |
|
5525 | proto.co.treelab.api.AddColumnInput.prototype.hasColumnconfig = function() {
|
5526 | return jspb.Message.getField(this, 4) != null;
|
5527 | };
|
5528 |
|
5529 |
|
5530 |
|
5531 |
|
5532 |
|
5533 |
|
5534 |
|
5535 |
|
5536 |
|
5537 |
|
5538 |
|
5539 |
|
5540 |
|
5541 | proto.co.treelab.api.ColumnConfigInput = function(opt_data) {
|
5542 | jspb.Message.initialize(this, opt_data, 0, -1, proto.co.treelab.api.ColumnConfigInput.repeatedFields_, null);
|
5543 | };
|
5544 | goog.inherits(proto.co.treelab.api.ColumnConfigInput, jspb.Message);
|
5545 | if (goog.DEBUG && !COMPILED) {
|
5546 | proto.co.treelab.api.ColumnConfigInput.displayName = 'proto.co.treelab.api.ColumnConfigInput';
|
5547 | }
|
5548 |
|
5549 |
|
5550 |
|
5551 |
|
5552 |
|
5553 | proto.co.treelab.api.ColumnConfigInput.repeatedFields_ = [9];
|
5554 |
|
5555 |
|
5556 |
|
5557 | if (jspb.Message.GENERATE_TO_OBJECT) {
|
5558 |
|
5559 |
|
5560 |
|
5561 |
|
5562 |
|
5563 |
|
5564 |
|
5565 |
|
5566 |
|
5567 |
|
5568 | proto.co.treelab.api.ColumnConfigInput.prototype.toObject = function(opt_includeInstance) {
|
5569 | return proto.co.treelab.api.ColumnConfigInput.toObject(opt_includeInstance, this);
|
5570 | };
|
5571 |
|
5572 |
|
5573 |
|
5574 |
|
5575 |
|
5576 |
|
5577 |
|
5578 |
|
5579 |
|
5580 |
|
5581 |
|
5582 | proto.co.treelab.api.ColumnConfigInput.toObject = function(includeInstance, msg) {
|
5583 | var f, obj = {
|
5584 | type: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
5585 | name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
5586 | order: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
5587 | foreigntableid: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
5588 | defaultnumber: +jspb.Message.getFieldWithDefault(msg, 5, 0.0),
|
5589 | precision: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
5590 | choicesList: jspb.Message.toObjectList(msg.getChoicesList(),
|
5591 | proto.co.treelab.api.Choice.toObject, includeInstance),
|
5592 | dateformat: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
5593 | includetime: jspb.Message.getFieldWithDefault(msg, 11, false),
|
5594 | timeformat: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
5595 | usegmt: jspb.Message.getFieldWithDefault(msg, 13, false)
|
5596 | };
|
5597 |
|
5598 | if (includeInstance) {
|
5599 | obj.$jspbMessageInstance = msg;
|
5600 | }
|
5601 | return obj;
|
5602 | };
|
5603 | }
|
5604 |
|
5605 |
|
5606 |
|
5607 |
|
5608 |
|
5609 |
|
5610 |
|
5611 | proto.co.treelab.api.ColumnConfigInput.deserializeBinary = function(bytes) {
|
5612 | var reader = new jspb.BinaryReader(bytes);
|
5613 | var msg = new proto.co.treelab.api.ColumnConfigInput;
|
5614 | return proto.co.treelab.api.ColumnConfigInput.deserializeBinaryFromReader(msg, reader);
|
5615 | };
|
5616 |
|
5617 |
|
5618 |
|
5619 |
|
5620 |
|
5621 |
|
5622 |
|
5623 |
|
5624 |
|
5625 | proto.co.treelab.api.ColumnConfigInput.deserializeBinaryFromReader = function(msg, reader) {
|
5626 | while (reader.nextField()) {
|
5627 | if (reader.isEndGroup()) {
|
5628 | break;
|
5629 | }
|
5630 | var field = reader.getFieldNumber();
|
5631 | switch (field) {
|
5632 | case 1:
|
5633 | var value = (reader.readString());
|
5634 | msg.setType(value);
|
5635 | break;
|
5636 | case 2:
|
5637 | var value = (reader.readString());
|
5638 | msg.setName(value);
|
5639 | break;
|
5640 | case 3:
|
5641 | var value = (reader.readInt32());
|
5642 | msg.setOrder(value);
|
5643 | break;
|
5644 | case 4:
|
5645 | var value = (reader.readString());
|
5646 | msg.setForeigntableid(value);
|
5647 | break;
|
5648 | case 5:
|
5649 | var value = (reader.readFloat());
|
5650 | msg.setDefaultnumber(value);
|
5651 | break;
|
5652 | case 6:
|
5653 | var value = (reader.readInt32());
|
5654 | msg.setPrecision(value);
|
5655 | break;
|
5656 | case 9:
|
5657 | var value = new proto.co.treelab.api.Choice;
|
5658 | reader.readMessage(value,proto.co.treelab.api.Choice.deserializeBinaryFromReader);
|
5659 | msg.addChoices(value);
|
5660 | break;
|
5661 | case 10:
|
5662 | var value = (reader.readString());
|
5663 | msg.setDateformat(value);
|
5664 | break;
|
5665 | case 11:
|
5666 | var value = (reader.readBool());
|
5667 | msg.setIncludetime(value);
|
5668 | break;
|
5669 | case 12:
|
5670 | var value = (reader.readString());
|
5671 | msg.setTimeformat(value);
|
5672 | break;
|
5673 | case 13:
|
5674 | var value = (reader.readBool());
|
5675 | msg.setUsegmt(value);
|
5676 | break;
|
5677 | default:
|
5678 | reader.skipField();
|
5679 | break;
|
5680 | }
|
5681 | }
|
5682 | return msg;
|
5683 | };
|
5684 |
|
5685 |
|
5686 |
|
5687 |
|
5688 |
|
5689 |
|
5690 | proto.co.treelab.api.ColumnConfigInput.prototype.serializeBinary = function() {
|
5691 | var writer = new jspb.BinaryWriter();
|
5692 | proto.co.treelab.api.ColumnConfigInput.serializeBinaryToWriter(this, writer);
|
5693 | return writer.getResultBuffer();
|
5694 | };
|
5695 |
|
5696 |
|
5697 |
|
5698 |
|
5699 |
|
5700 |
|
5701 |
|
5702 |
|
5703 |
|
5704 | proto.co.treelab.api.ColumnConfigInput.serializeBinaryToWriter = function(message, writer) {
|
5705 | var f = undefined;
|
5706 | f = message.getType();
|
5707 | if (f.length > 0) {
|
5708 | writer.writeString(
|
5709 | 1,
|
5710 | f
|
5711 | );
|
5712 | }
|
5713 | f = message.getName();
|
5714 | if (f.length > 0) {
|
5715 | writer.writeString(
|
5716 | 2,
|
5717 | f
|
5718 | );
|
5719 | }
|
5720 | f = message.getOrder();
|
5721 | if (f !== 0) {
|
5722 | writer.writeInt32(
|
5723 | 3,
|
5724 | f
|
5725 | );
|
5726 | }
|
5727 | f = message.getForeigntableid();
|
5728 | if (f.length > 0) {
|
5729 | writer.writeString(
|
5730 | 4,
|
5731 | f
|
5732 | );
|
5733 | }
|
5734 | f = message.getDefaultnumber();
|
5735 | if (f !== 0.0) {
|
5736 | writer.writeFloat(
|
5737 | 5,
|
5738 | f
|
5739 | );
|
5740 | }
|
5741 | f = message.getPrecision();
|
5742 | if (f !== 0) {
|
5743 | writer.writeInt32(
|
5744 | 6,
|
5745 | f
|
5746 | );
|
5747 | }
|
5748 | f = message.getChoicesList();
|
5749 | if (f.length > 0) {
|
5750 | writer.writeRepeatedMessage(
|
5751 | 9,
|
5752 | f,
|
5753 | proto.co.treelab.api.Choice.serializeBinaryToWriter
|
5754 | );
|
5755 | }
|
5756 | f = message.getDateformat();
|
5757 | if (f.length > 0) {
|
5758 | writer.writeString(
|
5759 | 10,
|
5760 | f
|
5761 | );
|
5762 | }
|
5763 | f = message.getIncludetime();
|
5764 | if (f) {
|
5765 | writer.writeBool(
|
5766 | 11,
|
5767 | f
|
5768 | );
|
5769 | }
|
5770 | f = message.getTimeformat();
|
5771 | if (f.length > 0) {
|
5772 | writer.writeString(
|
5773 | 12,
|
5774 | f
|
5775 | );
|
5776 | }
|
5777 | f = message.getUsegmt();
|
5778 | if (f) {
|
5779 | writer.writeBool(
|
5780 | 13,
|
5781 | f
|
5782 | );
|
5783 | }
|
5784 | };
|
5785 |
|
5786 |
|
5787 |
|
5788 |
|
5789 |
|
5790 |
|
5791 | proto.co.treelab.api.ColumnConfigInput.prototype.getType = function() {
|
5792 | return (jspb.Message.getFieldWithDefault(this, 1, ""));
|
5793 | };
|
5794 |
|
5795 |
|
5796 |
|
5797 | proto.co.treelab.api.ColumnConfigInput.prototype.setType = function(value) {
|
5798 | jspb.Message.setProto3StringField(this, 1, value);
|
5799 | };
|
5800 |
|
5801 |
|
5802 |
|
5803 |
|
5804 |
|
5805 |
|
5806 | proto.co.treelab.api.ColumnConfigInput.prototype.getName = function() {
|
5807 | return (jspb.Message.getFieldWithDefault(this, 2, ""));
|
5808 | };
|
5809 |
|
5810 |
|
5811 |
|
5812 | proto.co.treelab.api.ColumnConfigInput.prototype.setName = function(value) {
|
5813 | jspb.Message.setProto3StringField(this, 2, value);
|
5814 | };
|
5815 |
|
5816 |
|
5817 |
|
5818 |
|
5819 |
|
5820 |
|
5821 | proto.co.treelab.api.ColumnConfigInput.prototype.getOrder = function() {
|
5822 | return (jspb.Message.getFieldWithDefault(this, 3, 0));
|
5823 | };
|
5824 |
|
5825 |
|
5826 |
|
5827 | proto.co.treelab.api.ColumnConfigInput.prototype.setOrder = function(value) {
|
5828 | jspb.Message.setProto3IntField(this, 3, value);
|
5829 | };
|
5830 |
|
5831 |
|
5832 |
|
5833 |
|
5834 |
|
5835 |
|
5836 | proto.co.treelab.api.ColumnConfigInput.prototype.getForeigntableid = function() {
|
5837 | return (jspb.Message.getFieldWithDefault(this, 4, ""));
|
5838 | };
|
5839 |
|
5840 |
|
5841 |
|
5842 | proto.co.treelab.api.ColumnConfigInput.prototype.setForeigntableid = function(value) {
|
5843 | jspb.Message.setProto3StringField(this, 4, value);
|
5844 | };
|
5845 |
|
5846 |
|
5847 |
|
5848 |
|
5849 |
|
5850 |
|
5851 | proto.co.treelab.api.ColumnConfigInput.prototype.getDefaultnumber = function() {
|
5852 | return (+jspb.Message.getFieldWithDefault(this, 5, 0.0));
|
5853 | };
|
5854 |
|
5855 |
|
5856 |
|
5857 | proto.co.treelab.api.ColumnConfigInput.prototype.setDefaultnumber = function(value) {
|
5858 | jspb.Message.setProto3FloatField(this, 5, value);
|
5859 | };
|
5860 |
|
5861 |
|
5862 |
|
5863 |
|
5864 |
|
5865 |
|
5866 | proto.co.treelab.api.ColumnConfigInput.prototype.getPrecision = function() {
|
5867 | return (jspb.Message.getFieldWithDefault(this, 6, 0));
|
5868 | };
|
5869 |
|
5870 |
|
5871 |
|
5872 | proto.co.treelab.api.ColumnConfigInput.prototype.setPrecision = function(value) {
|
5873 | jspb.Message.setProto3IntField(this, 6, value);
|
5874 | };
|
5875 |
|
5876 |
|
5877 |
|
5878 |
|
5879 |
|
5880 |
|
5881 | proto.co.treelab.api.ColumnConfigInput.prototype.getChoicesList = function() {
|
5882 | return (
|
5883 | jspb.Message.getRepeatedWrapperField(this, proto.co.treelab.api.Choice, 9));
|
5884 | };
|
5885 |
|
5886 |
|
5887 |
|
5888 | proto.co.treelab.api.ColumnConfigInput.prototype.setChoicesList = function(value) {
|
5889 | jspb.Message.setRepeatedWrapperField(this, 9, value);
|
5890 | };
|
5891 |
|
5892 |
|
5893 |
|
5894 |
|
5895 |
|
5896 |
|
5897 |
|
5898 | proto.co.treelab.api.ColumnConfigInput.prototype.addChoices = function(opt_value, opt_index) {
|
5899 | return jspb.Message.addToRepeatedWrapperField(this, 9, opt_value, proto.co.treelab.api.Choice, opt_index);
|
5900 | };
|
5901 |
|
5902 |
|
5903 | proto.co.treelab.api.ColumnConfigInput.prototype.clearChoicesList = function() {
|
5904 | this.setChoicesList([]);
|
5905 | };
|
5906 |
|
5907 |
|
5908 |
|
5909 |
|
5910 |
|
5911 |
|
5912 | proto.co.treelab.api.ColumnConfigInput.prototype.getDateformat = function() {
|
5913 | return (jspb.Message.getFieldWithDefault(this, 10, ""));
|
5914 | };
|
5915 |
|
5916 |
|
5917 |
|
5918 | proto.co.treelab.api.ColumnConfigInput.prototype.setDateformat = function(value) {
|
5919 | jspb.Message.setProto3StringField(this, 10, value);
|
5920 | };
|
5921 |
|
5922 |
|
5923 |
|
5924 |
|
5925 |
|
5926 |
|
5927 |
|
5928 |
|
5929 | proto.co.treelab.api.ColumnConfigInput.prototype.getIncludetime = function() {
|
5930 | return (jspb.Message.getFieldWithDefault(this, 11, false));
|
5931 | };
|
5932 |
|
5933 |
|
5934 |
|
5935 | proto.co.treelab.api.ColumnConfigInput.prototype.setIncludetime = function(value) {
|
5936 | jspb.Message.setProto3BooleanField(this, 11, value);
|
5937 | };
|
5938 |
|
5939 |
|
5940 |
|
5941 |
|
5942 |
|
5943 |
|
5944 | proto.co.treelab.api.ColumnConfigInput.prototype.getTimeformat = function() {
|
5945 | return (jspb.Message.getFieldWithDefault(this, 12, ""));
|
5946 | };
|
5947 |
|
5948 |
|
5949 |
|
5950 | proto.co.treelab.api.ColumnConfigInput.prototype.setTimeformat = function(value) {
|
5951 | jspb.Message.setProto3StringField(this, 12, value);
|
5952 | };
|
5953 |
|
5954 |
|
5955 |
|
5956 |
|
5957 |
|
5958 |
|
5959 |
|
5960 |
|
5961 | proto.co.treelab.api.ColumnConfigInput.prototype.getUsegmt = function() {
|
5962 | return (jspb.Message.getFieldWithDefault(this, 13, false));
|
5963 | };
|
5964 |
|
5965 |
|
5966 |
|
5967 | proto.co.treelab.api.ColumnConfigInput.prototype.setUsegmt = function(value) {
|
5968 | jspb.Message.setProto3BooleanField(this, 13, value);
|
5969 | };
|
5970 |
|
5971 |
|
5972 |
|
5973 |
|
5974 |
|
5975 |
|
5976 |
|
5977 |
|
5978 |
|
5979 |
|
5980 |
|
5981 |
|
5982 |
|
5983 | proto.co.treelab.api.AddRowInput = function(opt_data) {
|
5984 | jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
5985 | };
|
5986 | goog.inherits(proto.co.treelab.api.AddRowInput, jspb.Message);
|
5987 | if (goog.DEBUG && !COMPILED) {
|
5988 | proto.co.treelab.api.AddRowInput.displayName = 'proto.co.treelab.api.AddRowInput';
|
5989 | }
|
5990 |
|
5991 |
|
5992 | if (jspb.Message.GENERATE_TO_OBJECT) {
|
5993 |
|
5994 |
|
5995 |
|
5996 |
|
5997 |
|
5998 |
|
5999 |
|
6000 |
|
6001 |
|
6002 |
|
6003 | proto.co.treelab.api.AddRowInput.prototype.toObject = function(opt_includeInstance) {
|
6004 | return proto.co.treelab.api.AddRowInput.toObject(opt_includeInstance, this);
|
6005 | };
|
6006 |
|
6007 |
|
6008 |
|
6009 |
|
6010 |
|
6011 |
|
6012 |
|
6013 |
|
6014 |
|
6015 |
|
6016 |
|
6017 | proto.co.treelab.api.AddRowInput.toObject = function(includeInstance, msg) {
|
6018 | var f, obj = {
|
6019 | workspaceid: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
6020 | coreid: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
6021 | tableid: jspb.Message.getFieldWithDefault(msg, 3, "")
|
6022 | };
|
6023 |
|
6024 | if (includeInstance) {
|
6025 | obj.$jspbMessageInstance = msg;
|
6026 | }
|
6027 | return obj;
|
6028 | };
|
6029 | }
|
6030 |
|
6031 |
|
6032 |
|
6033 |
|
6034 |
|
6035 |
|
6036 |
|
6037 | proto.co.treelab.api.AddRowInput.deserializeBinary = function(bytes) {
|
6038 | var reader = new jspb.BinaryReader(bytes);
|
6039 | var msg = new proto.co.treelab.api.AddRowInput;
|
6040 | return proto.co.treelab.api.AddRowInput.deserializeBinaryFromReader(msg, reader);
|
6041 | };
|
6042 |
|
6043 |
|
6044 |
|
6045 |
|
6046 |
|
6047 |
|
6048 |
|
6049 |
|
6050 |
|
6051 | proto.co.treelab.api.AddRowInput.deserializeBinaryFromReader = function(msg, reader) {
|
6052 | while (reader.nextField()) {
|
6053 | if (reader.isEndGroup()) {
|
6054 | break;
|
6055 | }
|
6056 | var field = reader.getFieldNumber();
|
6057 | switch (field) {
|
6058 | case 1:
|
6059 | var value = (reader.readString());
|
6060 | msg.setWorkspaceid(value);
|
6061 | break;
|
6062 | case 2:
|
6063 | var value = (reader.readString());
|
6064 | msg.setCoreid(value);
|
6065 | break;
|
6066 | case 3:
|
6067 | var value = (reader.readString());
|
6068 | msg.setTableid(value);
|
6069 | break;
|
6070 | default:
|
6071 | reader.skipField();
|
6072 | break;
|
6073 | }
|
6074 | }
|
6075 | return msg;
|
6076 | };
|
6077 |
|
6078 |
|
6079 |
|
6080 |
|
6081 |
|
6082 |
|
6083 | proto.co.treelab.api.AddRowInput.prototype.serializeBinary = function() {
|
6084 | var writer = new jspb.BinaryWriter();
|
6085 | proto.co.treelab.api.AddRowInput.serializeBinaryToWriter(this, writer);
|
6086 | return writer.getResultBuffer();
|
6087 | };
|
6088 |
|
6089 |
|
6090 |
|
6091 |
|
6092 |
|
6093 |
|
6094 |
|
6095 |
|
6096 |
|
6097 | proto.co.treelab.api.AddRowInput.serializeBinaryToWriter = function(message, writer) {
|
6098 | var f = undefined;
|
6099 | f = message.getWorkspaceid();
|
6100 | if (f.length > 0) {
|
6101 | writer.writeString(
|
6102 | 1,
|
6103 | f
|
6104 | );
|
6105 | }
|
6106 | f = message.getCoreid();
|
6107 | if (f.length > 0) {
|
6108 | writer.writeString(
|
6109 | 2,
|
6110 | f
|
6111 | );
|
6112 | }
|
6113 | f = message.getTableid();
|
6114 | if (f.length > 0) {
|
6115 | writer.writeString(
|
6116 | 3,
|
6117 | f
|
6118 | );
|
6119 | }
|
6120 | };
|
6121 |
|
6122 |
|
6123 |
|
6124 |
|
6125 |
|
6126 |
|
6127 | proto.co.treelab.api.AddRowInput.prototype.getWorkspaceid = function() {
|
6128 | return (jspb.Message.getFieldWithDefault(this, 1, ""));
|
6129 | };
|
6130 |
|
6131 |
|
6132 |
|
6133 | proto.co.treelab.api.AddRowInput.prototype.setWorkspaceid = function(value) {
|
6134 | jspb.Message.setProto3StringField(this, 1, value);
|
6135 | };
|
6136 |
|
6137 |
|
6138 |
|
6139 |
|
6140 |
|
6141 |
|
6142 | proto.co.treelab.api.AddRowInput.prototype.getCoreid = function() {
|
6143 | return (jspb.Message.getFieldWithDefault(this, 2, ""));
|
6144 | };
|
6145 |
|
6146 |
|
6147 |
|
6148 | proto.co.treelab.api.AddRowInput.prototype.setCoreid = function(value) {
|
6149 | jspb.Message.setProto3StringField(this, 2, value);
|
6150 | };
|
6151 |
|
6152 |
|
6153 |
|
6154 |
|
6155 |
|
6156 |
|
6157 | proto.co.treelab.api.AddRowInput.prototype.getTableid = function() {
|
6158 | return (jspb.Message.getFieldWithDefault(this, 3, ""));
|
6159 | };
|
6160 |
|
6161 |
|
6162 |
|
6163 | proto.co.treelab.api.AddRowInput.prototype.setTableid = function(value) {
|
6164 | jspb.Message.setProto3StringField(this, 3, value);
|
6165 | };
|
6166 |
|
6167 |
|
6168 |
|
6169 |
|
6170 |
|
6171 |
|
6172 |
|
6173 |
|
6174 |
|
6175 |
|
6176 |
|
6177 |
|
6178 |
|
6179 | proto.co.treelab.api.CellValueInput = function(opt_data) {
|
6180 | jspb.Message.initialize(this, opt_data, 0, -1, proto.co.treelab.api.CellValueInput.repeatedFields_, null);
|
6181 | };
|
6182 | goog.inherits(proto.co.treelab.api.CellValueInput, jspb.Message);
|
6183 | if (goog.DEBUG && !COMPILED) {
|
6184 | proto.co.treelab.api.CellValueInput.displayName = 'proto.co.treelab.api.CellValueInput';
|
6185 | }
|
6186 |
|
6187 |
|
6188 |
|
6189 |
|
6190 |
|
6191 | proto.co.treelab.api.CellValueInput.repeatedFields_ = [6,7];
|
6192 |
|
6193 |
|
6194 |
|
6195 | if (jspb.Message.GENERATE_TO_OBJECT) {
|
6196 |
|
6197 |
|
6198 |
|
6199 |
|
6200 |
|
6201 |
|
6202 |
|
6203 |
|
6204 |
|
6205 |
|
6206 | proto.co.treelab.api.CellValueInput.prototype.toObject = function(opt_includeInstance) {
|
6207 | return proto.co.treelab.api.CellValueInput.toObject(opt_includeInstance, this);
|
6208 | };
|
6209 |
|
6210 |
|
6211 |
|
6212 |
|
6213 |
|
6214 |
|
6215 |
|
6216 |
|
6217 |
|
6218 |
|
6219 |
|
6220 | proto.co.treelab.api.CellValueInput.toObject = function(includeInstance, msg) {
|
6221 | var f, obj = {
|
6222 | type: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
6223 | text: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
6224 | foreignrowid: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
6225 | number: +jspb.Message.getFieldWithDefault(msg, 4, 0.0),
|
6226 | selecteditem: (f = msg.getSelecteditem()) && proto.co.treelab.api.Choice.toObject(includeInstance, f),
|
6227 | selecteditemsList: jspb.Message.toObjectList(msg.getSelecteditemsList(),
|
6228 | proto.co.treelab.api.Choice.toObject, includeInstance),
|
6229 | attachmentsList: jspb.Message.toObjectList(msg.getAttachmentsList(),
|
6230 | proto.co.treelab.api.Attachment.toObject, includeInstance),
|
6231 | datetime: jspb.Message.getFieldWithDefault(msg, 8, "")
|
6232 | };
|
6233 |
|
6234 | if (includeInstance) {
|
6235 | obj.$jspbMessageInstance = msg;
|
6236 | }
|
6237 | return obj;
|
6238 | };
|
6239 | }
|
6240 |
|
6241 |
|
6242 |
|
6243 |
|
6244 |
|
6245 |
|
6246 |
|
6247 | proto.co.treelab.api.CellValueInput.deserializeBinary = function(bytes) {
|
6248 | var reader = new jspb.BinaryReader(bytes);
|
6249 | var msg = new proto.co.treelab.api.CellValueInput;
|
6250 | return proto.co.treelab.api.CellValueInput.deserializeBinaryFromReader(msg, reader);
|
6251 | };
|
6252 |
|
6253 |
|
6254 |
|
6255 |
|
6256 |
|
6257 |
|
6258 |
|
6259 |
|
6260 |
|
6261 | proto.co.treelab.api.CellValueInput.deserializeBinaryFromReader = function(msg, reader) {
|
6262 | while (reader.nextField()) {
|
6263 | if (reader.isEndGroup()) {
|
6264 | break;
|
6265 | }
|
6266 | var field = reader.getFieldNumber();
|
6267 | switch (field) {
|
6268 | case 1:
|
6269 | var value = (reader.readString());
|
6270 | msg.setType(value);
|
6271 | break;
|
6272 | case 2:
|
6273 | var value = (reader.readString());
|
6274 | msg.setText(value);
|
6275 | break;
|
6276 | case 3:
|
6277 | var value = (reader.readString());
|
6278 | msg.setForeignrowid(value);
|
6279 | break;
|
6280 | case 4:
|
6281 | var value = (reader.readFloat());
|
6282 | msg.setNumber(value);
|
6283 | break;
|
6284 | case 5:
|
6285 | var value = new proto.co.treelab.api.Choice;
|
6286 | reader.readMessage(value,proto.co.treelab.api.Choice.deserializeBinaryFromReader);
|
6287 | msg.setSelecteditem(value);
|
6288 | break;
|
6289 | case 6:
|
6290 | var value = new proto.co.treelab.api.Choice;
|
6291 | reader.readMessage(value,proto.co.treelab.api.Choice.deserializeBinaryFromReader);
|
6292 | msg.addSelecteditems(value);
|
6293 | break;
|
6294 | case 7:
|
6295 | var value = new proto.co.treelab.api.Attachment;
|
6296 | reader.readMessage(value,proto.co.treelab.api.Attachment.deserializeBinaryFromReader);
|
6297 | msg.addAttachments(value);
|
6298 | break;
|
6299 | case 8:
|
6300 | var value = (reader.readString());
|
6301 | msg.setDatetime(value);
|
6302 | break;
|
6303 | default:
|
6304 | reader.skipField();
|
6305 | break;
|
6306 | }
|
6307 | }
|
6308 | return msg;
|
6309 | };
|
6310 |
|
6311 |
|
6312 |
|
6313 |
|
6314 |
|
6315 |
|
6316 | proto.co.treelab.api.CellValueInput.prototype.serializeBinary = function() {
|
6317 | var writer = new jspb.BinaryWriter();
|
6318 | proto.co.treelab.api.CellValueInput.serializeBinaryToWriter(this, writer);
|
6319 | return writer.getResultBuffer();
|
6320 | };
|
6321 |
|
6322 |
|
6323 |
|
6324 |
|
6325 |
|
6326 |
|
6327 |
|
6328 |
|
6329 |
|
6330 | proto.co.treelab.api.CellValueInput.serializeBinaryToWriter = function(message, writer) {
|
6331 | var f = undefined;
|
6332 | f = message.getType();
|
6333 | if (f.length > 0) {
|
6334 | writer.writeString(
|
6335 | 1,
|
6336 | f
|
6337 | );
|
6338 | }
|
6339 | f = message.getText();
|
6340 | if (f.length > 0) {
|
6341 | writer.writeString(
|
6342 | 2,
|
6343 | f
|
6344 | );
|
6345 | }
|
6346 | f = message.getForeignrowid();
|
6347 | if (f.length > 0) {
|
6348 | writer.writeString(
|
6349 | 3,
|
6350 | f
|
6351 | );
|
6352 | }
|
6353 | f = message.getNumber();
|
6354 | if (f !== 0.0) {
|
6355 | writer.writeFloat(
|
6356 | 4,
|
6357 | f
|
6358 | );
|
6359 | }
|
6360 | f = message.getSelecteditem();
|
6361 | if (f != null) {
|
6362 | writer.writeMessage(
|
6363 | 5,
|
6364 | f,
|
6365 | proto.co.treelab.api.Choice.serializeBinaryToWriter
|
6366 | );
|
6367 | }
|
6368 | f = message.getSelecteditemsList();
|
6369 | if (f.length > 0) {
|
6370 | writer.writeRepeatedMessage(
|
6371 | 6,
|
6372 | f,
|
6373 | proto.co.treelab.api.Choice.serializeBinaryToWriter
|
6374 | );
|
6375 | }
|
6376 | f = message.getAttachmentsList();
|
6377 | if (f.length > 0) {
|
6378 | writer.writeRepeatedMessage(
|
6379 | 7,
|
6380 | f,
|
6381 | proto.co.treelab.api.Attachment.serializeBinaryToWriter
|
6382 | );
|
6383 | }
|
6384 | f = message.getDatetime();
|
6385 | if (f.length > 0) {
|
6386 | writer.writeString(
|
6387 | 8,
|
6388 | f
|
6389 | );
|
6390 | }
|
6391 | };
|
6392 |
|
6393 |
|
6394 |
|
6395 |
|
6396 |
|
6397 |
|
6398 | proto.co.treelab.api.CellValueInput.prototype.getType = function() {
|
6399 | return (jspb.Message.getFieldWithDefault(this, 1, ""));
|
6400 | };
|
6401 |
|
6402 |
|
6403 |
|
6404 | proto.co.treelab.api.CellValueInput.prototype.setType = function(value) {
|
6405 | jspb.Message.setProto3StringField(this, 1, value);
|
6406 | };
|
6407 |
|
6408 |
|
6409 |
|
6410 |
|
6411 |
|
6412 |
|
6413 | proto.co.treelab.api.CellValueInput.prototype.getText = function() {
|
6414 | return (jspb.Message.getFieldWithDefault(this, 2, ""));
|
6415 | };
|
6416 |
|
6417 |
|
6418 |
|
6419 | proto.co.treelab.api.CellValueInput.prototype.setText = function(value) {
|
6420 | jspb.Message.setProto3StringField(this, 2, value);
|
6421 | };
|
6422 |
|
6423 |
|
6424 |
|
6425 |
|
6426 |
|
6427 |
|
6428 | proto.co.treelab.api.CellValueInput.prototype.getForeignrowid = function() {
|
6429 | return (jspb.Message.getFieldWithDefault(this, 3, ""));
|
6430 | };
|
6431 |
|
6432 |
|
6433 |
|
6434 | proto.co.treelab.api.CellValueInput.prototype.setForeignrowid = function(value) {
|
6435 | jspb.Message.setProto3StringField(this, 3, value);
|
6436 | };
|
6437 |
|
6438 |
|
6439 |
|
6440 |
|
6441 |
|
6442 |
|
6443 | proto.co.treelab.api.CellValueInput.prototype.getNumber = function() {
|
6444 | return (+jspb.Message.getFieldWithDefault(this, 4, 0.0));
|
6445 | };
|
6446 |
|
6447 |
|
6448 |
|
6449 | proto.co.treelab.api.CellValueInput.prototype.setNumber = function(value) {
|
6450 | jspb.Message.setProto3FloatField(this, 4, value);
|
6451 | };
|
6452 |
|
6453 |
|
6454 |
|
6455 |
|
6456 |
|
6457 |
|
6458 | proto.co.treelab.api.CellValueInput.prototype.getSelecteditem = function() {
|
6459 | return (
|
6460 | jspb.Message.getWrapperField(this, proto.co.treelab.api.Choice, 5));
|
6461 | };
|
6462 |
|
6463 |
|
6464 |
|
6465 | proto.co.treelab.api.CellValueInput.prototype.setSelecteditem = function(value) {
|
6466 | jspb.Message.setWrapperField(this, 5, value);
|
6467 | };
|
6468 |
|
6469 |
|
6470 | proto.co.treelab.api.CellValueInput.prototype.clearSelecteditem = function() {
|
6471 | this.setSelecteditem(undefined);
|
6472 | };
|
6473 |
|
6474 |
|
6475 |
|
6476 |
|
6477 |
|
6478 |
|
6479 | proto.co.treelab.api.CellValueInput.prototype.hasSelecteditem = function() {
|
6480 | return jspb.Message.getField(this, 5) != null;
|
6481 | };
|
6482 |
|
6483 |
|
6484 |
|
6485 |
|
6486 |
|
6487 |
|
6488 | proto.co.treelab.api.CellValueInput.prototype.getSelecteditemsList = function() {
|
6489 | return (
|
6490 | jspb.Message.getRepeatedWrapperField(this, proto.co.treelab.api.Choice, 6));
|
6491 | };
|
6492 |
|
6493 |
|
6494 |
|
6495 | proto.co.treelab.api.CellValueInput.prototype.setSelecteditemsList = function(value) {
|
6496 | jspb.Message.setRepeatedWrapperField(this, 6, value);
|
6497 | };
|
6498 |
|
6499 |
|
6500 |
|
6501 |
|
6502 |
|
6503 |
|
6504 |
|
6505 | proto.co.treelab.api.CellValueInput.prototype.addSelecteditems = function(opt_value, opt_index) {
|
6506 | return jspb.Message.addToRepeatedWrapperField(this, 6, opt_value, proto.co.treelab.api.Choice, opt_index);
|
6507 | };
|
6508 |
|
6509 |
|
6510 | proto.co.treelab.api.CellValueInput.prototype.clearSelecteditemsList = function() {
|
6511 | this.setSelecteditemsList([]);
|
6512 | };
|
6513 |
|
6514 |
|
6515 |
|
6516 |
|
6517 |
|
6518 |
|
6519 | proto.co.treelab.api.CellValueInput.prototype.getAttachmentsList = function() {
|
6520 | return (
|
6521 | jspb.Message.getRepeatedWrapperField(this, proto.co.treelab.api.Attachment, 7));
|
6522 | };
|
6523 |
|
6524 |
|
6525 |
|
6526 | proto.co.treelab.api.CellValueInput.prototype.setAttachmentsList = function(value) {
|
6527 | jspb.Message.setRepeatedWrapperField(this, 7, value);
|
6528 | };
|
6529 |
|
6530 |
|
6531 |
|
6532 |
|
6533 |
|
6534 |
|
6535 |
|
6536 | proto.co.treelab.api.CellValueInput.prototype.addAttachments = function(opt_value, opt_index) {
|
6537 | return jspb.Message.addToRepeatedWrapperField(this, 7, opt_value, proto.co.treelab.api.Attachment, opt_index);
|
6538 | };
|
6539 |
|
6540 |
|
6541 | proto.co.treelab.api.CellValueInput.prototype.clearAttachmentsList = function() {
|
6542 | this.setAttachmentsList([]);
|
6543 | };
|
6544 |
|
6545 |
|
6546 |
|
6547 |
|
6548 |
|
6549 |
|
6550 | proto.co.treelab.api.CellValueInput.prototype.getDatetime = function() {
|
6551 | return (jspb.Message.getFieldWithDefault(this, 8, ""));
|
6552 | };
|
6553 |
|
6554 |
|
6555 |
|
6556 | proto.co.treelab.api.CellValueInput.prototype.setDatetime = function(value) {
|
6557 | jspb.Message.setProto3StringField(this, 8, value);
|
6558 | };
|
6559 |
|
6560 |
|
6561 |
|
6562 |
|
6563 |
|
6564 |
|
6565 |
|
6566 |
|
6567 |
|
6568 |
|
6569 |
|
6570 |
|
6571 |
|
6572 | proto.co.treelab.api.UpdateCellActionInput = function(opt_data) {
|
6573 | jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
6574 | };
|
6575 | goog.inherits(proto.co.treelab.api.UpdateCellActionInput, jspb.Message);
|
6576 | if (goog.DEBUG && !COMPILED) {
|
6577 | proto.co.treelab.api.UpdateCellActionInput.displayName = 'proto.co.treelab.api.UpdateCellActionInput';
|
6578 | }
|
6579 |
|
6580 |
|
6581 | if (jspb.Message.GENERATE_TO_OBJECT) {
|
6582 |
|
6583 |
|
6584 |
|
6585 |
|
6586 |
|
6587 |
|
6588 |
|
6589 |
|
6590 |
|
6591 |
|
6592 | proto.co.treelab.api.UpdateCellActionInput.prototype.toObject = function(opt_includeInstance) {
|
6593 | return proto.co.treelab.api.UpdateCellActionInput.toObject(opt_includeInstance, this);
|
6594 | };
|
6595 |
|
6596 |
|
6597 |
|
6598 |
|
6599 |
|
6600 |
|
6601 |
|
6602 |
|
6603 |
|
6604 |
|
6605 |
|
6606 | proto.co.treelab.api.UpdateCellActionInput.toObject = function(includeInstance, msg) {
|
6607 | var f, obj = {
|
6608 | type: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
6609 | value: (f = msg.getValue()) && proto.co.treelab.api.CellValueInput.toObject(includeInstance, f)
|
6610 | };
|
6611 |
|
6612 | if (includeInstance) {
|
6613 | obj.$jspbMessageInstance = msg;
|
6614 | }
|
6615 | return obj;
|
6616 | };
|
6617 | }
|
6618 |
|
6619 |
|
6620 |
|
6621 |
|
6622 |
|
6623 |
|
6624 |
|
6625 | proto.co.treelab.api.UpdateCellActionInput.deserializeBinary = function(bytes) {
|
6626 | var reader = new jspb.BinaryReader(bytes);
|
6627 | var msg = new proto.co.treelab.api.UpdateCellActionInput;
|
6628 | return proto.co.treelab.api.UpdateCellActionInput.deserializeBinaryFromReader(msg, reader);
|
6629 | };
|
6630 |
|
6631 |
|
6632 |
|
6633 |
|
6634 |
|
6635 |
|
6636 |
|
6637 |
|
6638 |
|
6639 | proto.co.treelab.api.UpdateCellActionInput.deserializeBinaryFromReader = function(msg, reader) {
|
6640 | while (reader.nextField()) {
|
6641 | if (reader.isEndGroup()) {
|
6642 | break;
|
6643 | }
|
6644 | var field = reader.getFieldNumber();
|
6645 | switch (field) {
|
6646 | case 1:
|
6647 | var value = (reader.readString());
|
6648 | msg.setType(value);
|
6649 | break;
|
6650 | case 2:
|
6651 | var value = new proto.co.treelab.api.CellValueInput;
|
6652 | reader.readMessage(value,proto.co.treelab.api.CellValueInput.deserializeBinaryFromReader);
|
6653 | msg.setValue(value);
|
6654 | break;
|
6655 | default:
|
6656 | reader.skipField();
|
6657 | break;
|
6658 | }
|
6659 | }
|
6660 | return msg;
|
6661 | };
|
6662 |
|
6663 |
|
6664 |
|
6665 |
|
6666 |
|
6667 |
|
6668 | proto.co.treelab.api.UpdateCellActionInput.prototype.serializeBinary = function() {
|
6669 | var writer = new jspb.BinaryWriter();
|
6670 | proto.co.treelab.api.UpdateCellActionInput.serializeBinaryToWriter(this, writer);
|
6671 | return writer.getResultBuffer();
|
6672 | };
|
6673 |
|
6674 |
|
6675 |
|
6676 |
|
6677 |
|
6678 |
|
6679 |
|
6680 |
|
6681 |
|
6682 | proto.co.treelab.api.UpdateCellActionInput.serializeBinaryToWriter = function(message, writer) {
|
6683 | var f = undefined;
|
6684 | f = message.getType();
|
6685 | if (f.length > 0) {
|
6686 | writer.writeString(
|
6687 | 1,
|
6688 | f
|
6689 | );
|
6690 | }
|
6691 | f = message.getValue();
|
6692 | if (f != null) {
|
6693 | writer.writeMessage(
|
6694 | 2,
|
6695 | f,
|
6696 | proto.co.treelab.api.CellValueInput.serializeBinaryToWriter
|
6697 | );
|
6698 | }
|
6699 | };
|
6700 |
|
6701 |
|
6702 |
|
6703 |
|
6704 |
|
6705 |
|
6706 | proto.co.treelab.api.UpdateCellActionInput.prototype.getType = function() {
|
6707 | return (jspb.Message.getFieldWithDefault(this, 1, ""));
|
6708 | };
|
6709 |
|
6710 |
|
6711 |
|
6712 | proto.co.treelab.api.UpdateCellActionInput.prototype.setType = function(value) {
|
6713 | jspb.Message.setProto3StringField(this, 1, value);
|
6714 | };
|
6715 |
|
6716 |
|
6717 |
|
6718 |
|
6719 |
|
6720 |
|
6721 | proto.co.treelab.api.UpdateCellActionInput.prototype.getValue = function() {
|
6722 | return (
|
6723 | jspb.Message.getWrapperField(this, proto.co.treelab.api.CellValueInput, 2));
|
6724 | };
|
6725 |
|
6726 |
|
6727 |
|
6728 | proto.co.treelab.api.UpdateCellActionInput.prototype.setValue = function(value) {
|
6729 | jspb.Message.setWrapperField(this, 2, value);
|
6730 | };
|
6731 |
|
6732 |
|
6733 | proto.co.treelab.api.UpdateCellActionInput.prototype.clearValue = function() {
|
6734 | this.setValue(undefined);
|
6735 | };
|
6736 |
|
6737 |
|
6738 |
|
6739 |
|
6740 |
|
6741 |
|
6742 | proto.co.treelab.api.UpdateCellActionInput.prototype.hasValue = function() {
|
6743 | return jspb.Message.getField(this, 2) != null;
|
6744 | };
|
6745 |
|
6746 |
|
6747 |
|
6748 |
|
6749 |
|
6750 |
|
6751 |
|
6752 |
|
6753 |
|
6754 |
|
6755 |
|
6756 |
|
6757 |
|
6758 | proto.co.treelab.api.UpdateCellInput = function(opt_data) {
|
6759 | jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
6760 | };
|
6761 | goog.inherits(proto.co.treelab.api.UpdateCellInput, jspb.Message);
|
6762 | if (goog.DEBUG && !COMPILED) {
|
6763 | proto.co.treelab.api.UpdateCellInput.displayName = 'proto.co.treelab.api.UpdateCellInput';
|
6764 | }
|
6765 |
|
6766 |
|
6767 | if (jspb.Message.GENERATE_TO_OBJECT) {
|
6768 |
|
6769 |
|
6770 |
|
6771 |
|
6772 |
|
6773 |
|
6774 |
|
6775 |
|
6776 |
|
6777 |
|
6778 | proto.co.treelab.api.UpdateCellInput.prototype.toObject = function(opt_includeInstance) {
|
6779 | return proto.co.treelab.api.UpdateCellInput.toObject(opt_includeInstance, this);
|
6780 | };
|
6781 |
|
6782 |
|
6783 |
|
6784 |
|
6785 |
|
6786 |
|
6787 |
|
6788 |
|
6789 |
|
6790 |
|
6791 |
|
6792 | proto.co.treelab.api.UpdateCellInput.toObject = function(includeInstance, msg) {
|
6793 | var f, obj = {
|
6794 | workspaceid: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
6795 | coreid: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
6796 | tableid: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
6797 | columnid: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
6798 | rowid: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
6799 | action: (f = msg.getAction()) && proto.co.treelab.api.UpdateCellActionInput.toObject(includeInstance, f)
|
6800 | };
|
6801 |
|
6802 | if (includeInstance) {
|
6803 | obj.$jspbMessageInstance = msg;
|
6804 | }
|
6805 | return obj;
|
6806 | };
|
6807 | }
|
6808 |
|
6809 |
|
6810 |
|
6811 |
|
6812 |
|
6813 |
|
6814 |
|
6815 | proto.co.treelab.api.UpdateCellInput.deserializeBinary = function(bytes) {
|
6816 | var reader = new jspb.BinaryReader(bytes);
|
6817 | var msg = new proto.co.treelab.api.UpdateCellInput;
|
6818 | return proto.co.treelab.api.UpdateCellInput.deserializeBinaryFromReader(msg, reader);
|
6819 | };
|
6820 |
|
6821 |
|
6822 |
|
6823 |
|
6824 |
|
6825 |
|
6826 |
|
6827 |
|
6828 |
|
6829 | proto.co.treelab.api.UpdateCellInput.deserializeBinaryFromReader = function(msg, reader) {
|
6830 | while (reader.nextField()) {
|
6831 | if (reader.isEndGroup()) {
|
6832 | break;
|
6833 | }
|
6834 | var field = reader.getFieldNumber();
|
6835 | switch (field) {
|
6836 | case 1:
|
6837 | var value = (reader.readString());
|
6838 | msg.setWorkspaceid(value);
|
6839 | break;
|
6840 | case 2:
|
6841 | var value = (reader.readString());
|
6842 | msg.setCoreid(value);
|
6843 | break;
|
6844 | case 3:
|
6845 | var value = (reader.readString());
|
6846 | msg.setTableid(value);
|
6847 | break;
|
6848 | case 4:
|
6849 | var value = (reader.readString());
|
6850 | msg.setColumnid(value);
|
6851 | break;
|
6852 | case 5:
|
6853 | var value = (reader.readString());
|
6854 | msg.setRowid(value);
|
6855 | break;
|
6856 | case 6:
|
6857 | var value = new proto.co.treelab.api.UpdateCellActionInput;
|
6858 | reader.readMessage(value,proto.co.treelab.api.UpdateCellActionInput.deserializeBinaryFromReader);
|
6859 | msg.setAction(value);
|
6860 | break;
|
6861 | default:
|
6862 | reader.skipField();
|
6863 | break;
|
6864 | }
|
6865 | }
|
6866 | return msg;
|
6867 | };
|
6868 |
|
6869 |
|
6870 |
|
6871 |
|
6872 |
|
6873 |
|
6874 | proto.co.treelab.api.UpdateCellInput.prototype.serializeBinary = function() {
|
6875 | var writer = new jspb.BinaryWriter();
|
6876 | proto.co.treelab.api.UpdateCellInput.serializeBinaryToWriter(this, writer);
|
6877 | return writer.getResultBuffer();
|
6878 | };
|
6879 |
|
6880 |
|
6881 |
|
6882 |
|
6883 |
|
6884 |
|
6885 |
|
6886 |
|
6887 |
|
6888 | proto.co.treelab.api.UpdateCellInput.serializeBinaryToWriter = function(message, writer) {
|
6889 | var f = undefined;
|
6890 | f = message.getWorkspaceid();
|
6891 | if (f.length > 0) {
|
6892 | writer.writeString(
|
6893 | 1,
|
6894 | f
|
6895 | );
|
6896 | }
|
6897 | f = message.getCoreid();
|
6898 | if (f.length > 0) {
|
6899 | writer.writeString(
|
6900 | 2,
|
6901 | f
|
6902 | );
|
6903 | }
|
6904 | f = message.getTableid();
|
6905 | if (f.length > 0) {
|
6906 | writer.writeString(
|
6907 | 3,
|
6908 | f
|
6909 | );
|
6910 | }
|
6911 | f = message.getColumnid();
|
6912 | if (f.length > 0) {
|
6913 | writer.writeString(
|
6914 | 4,
|
6915 | f
|
6916 | );
|
6917 | }
|
6918 | f = message.getRowid();
|
6919 | if (f.length > 0) {
|
6920 | writer.writeString(
|
6921 | 5,
|
6922 | f
|
6923 | );
|
6924 | }
|
6925 | f = message.getAction();
|
6926 | if (f != null) {
|
6927 | writer.writeMessage(
|
6928 | 6,
|
6929 | f,
|
6930 | proto.co.treelab.api.UpdateCellActionInput.serializeBinaryToWriter
|
6931 | );
|
6932 | }
|
6933 | };
|
6934 |
|
6935 |
|
6936 |
|
6937 |
|
6938 |
|
6939 |
|
6940 | proto.co.treelab.api.UpdateCellInput.prototype.getWorkspaceid = function() {
|
6941 | return (jspb.Message.getFieldWithDefault(this, 1, ""));
|
6942 | };
|
6943 |
|
6944 |
|
6945 |
|
6946 | proto.co.treelab.api.UpdateCellInput.prototype.setWorkspaceid = function(value) {
|
6947 | jspb.Message.setProto3StringField(this, 1, value);
|
6948 | };
|
6949 |
|
6950 |
|
6951 |
|
6952 |
|
6953 |
|
6954 |
|
6955 | proto.co.treelab.api.UpdateCellInput.prototype.getCoreid = function() {
|
6956 | return (jspb.Message.getFieldWithDefault(this, 2, ""));
|
6957 | };
|
6958 |
|
6959 |
|
6960 |
|
6961 | proto.co.treelab.api.UpdateCellInput.prototype.setCoreid = function(value) {
|
6962 | jspb.Message.setProto3StringField(this, 2, value);
|
6963 | };
|
6964 |
|
6965 |
|
6966 |
|
6967 |
|
6968 |
|
6969 |
|
6970 | proto.co.treelab.api.UpdateCellInput.prototype.getTableid = function() {
|
6971 | return (jspb.Message.getFieldWithDefault(this, 3, ""));
|
6972 | };
|
6973 |
|
6974 |
|
6975 |
|
6976 | proto.co.treelab.api.UpdateCellInput.prototype.setTableid = function(value) {
|
6977 | jspb.Message.setProto3StringField(this, 3, value);
|
6978 | };
|
6979 |
|
6980 |
|
6981 |
|
6982 |
|
6983 |
|
6984 |
|
6985 | proto.co.treelab.api.UpdateCellInput.prototype.getColumnid = function() {
|
6986 | return (jspb.Message.getFieldWithDefault(this, 4, ""));
|
6987 | };
|
6988 |
|
6989 |
|
6990 |
|
6991 | proto.co.treelab.api.UpdateCellInput.prototype.setColumnid = function(value) {
|
6992 | jspb.Message.setProto3StringField(this, 4, value);
|
6993 | };
|
6994 |
|
6995 |
|
6996 |
|
6997 |
|
6998 |
|
6999 |
|
7000 | proto.co.treelab.api.UpdateCellInput.prototype.getRowid = function() {
|
7001 | return (jspb.Message.getFieldWithDefault(this, 5, ""));
|
7002 | };
|
7003 |
|
7004 |
|
7005 |
|
7006 | proto.co.treelab.api.UpdateCellInput.prototype.setRowid = function(value) {
|
7007 | jspb.Message.setProto3StringField(this, 5, value);
|
7008 | };
|
7009 |
|
7010 |
|
7011 |
|
7012 |
|
7013 |
|
7014 |
|
7015 | proto.co.treelab.api.UpdateCellInput.prototype.getAction = function() {
|
7016 | return (
|
7017 | jspb.Message.getWrapperField(this, proto.co.treelab.api.UpdateCellActionInput, 6));
|
7018 | };
|
7019 |
|
7020 |
|
7021 |
|
7022 | proto.co.treelab.api.UpdateCellInput.prototype.setAction = function(value) {
|
7023 | jspb.Message.setWrapperField(this, 6, value);
|
7024 | };
|
7025 |
|
7026 |
|
7027 | proto.co.treelab.api.UpdateCellInput.prototype.clearAction = function() {
|
7028 | this.setAction(undefined);
|
7029 | };
|
7030 |
|
7031 |
|
7032 |
|
7033 |
|
7034 |
|
7035 |
|
7036 | proto.co.treelab.api.UpdateCellInput.prototype.hasAction = function() {
|
7037 | return jspb.Message.getField(this, 6) != null;
|
7038 | };
|
7039 |
|
7040 |
|
7041 |
|
7042 |
|
7043 |
|
7044 |
|
7045 |
|
7046 |
|
7047 |
|
7048 |
|
7049 |
|
7050 |
|
7051 |
|
7052 | proto.co.treelab.api.CreateWorkspaceInput = function(opt_data) {
|
7053 | jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
7054 | };
|
7055 | goog.inherits(proto.co.treelab.api.CreateWorkspaceInput, jspb.Message);
|
7056 | if (goog.DEBUG && !COMPILED) {
|
7057 | proto.co.treelab.api.CreateWorkspaceInput.displayName = 'proto.co.treelab.api.CreateWorkspaceInput';
|
7058 | }
|
7059 |
|
7060 |
|
7061 | if (jspb.Message.GENERATE_TO_OBJECT) {
|
7062 |
|
7063 |
|
7064 |
|
7065 |
|
7066 |
|
7067 |
|
7068 |
|
7069 |
|
7070 |
|
7071 |
|
7072 | proto.co.treelab.api.CreateWorkspaceInput.prototype.toObject = function(opt_includeInstance) {
|
7073 | return proto.co.treelab.api.CreateWorkspaceInput.toObject(opt_includeInstance, this);
|
7074 | };
|
7075 |
|
7076 |
|
7077 |
|
7078 |
|
7079 |
|
7080 |
|
7081 |
|
7082 |
|
7083 |
|
7084 |
|
7085 |
|
7086 | proto.co.treelab.api.CreateWorkspaceInput.toObject = function(includeInstance, msg) {
|
7087 | var f, obj = {
|
7088 | name: jspb.Message.getFieldWithDefault(msg, 1, "")
|
7089 | };
|
7090 |
|
7091 | if (includeInstance) {
|
7092 | obj.$jspbMessageInstance = msg;
|
7093 | }
|
7094 | return obj;
|
7095 | };
|
7096 | }
|
7097 |
|
7098 |
|
7099 |
|
7100 |
|
7101 |
|
7102 |
|
7103 |
|
7104 | proto.co.treelab.api.CreateWorkspaceInput.deserializeBinary = function(bytes) {
|
7105 | var reader = new jspb.BinaryReader(bytes);
|
7106 | var msg = new proto.co.treelab.api.CreateWorkspaceInput;
|
7107 | return proto.co.treelab.api.CreateWorkspaceInput.deserializeBinaryFromReader(msg, reader);
|
7108 | };
|
7109 |
|
7110 |
|
7111 |
|
7112 |
|
7113 |
|
7114 |
|
7115 |
|
7116 |
|
7117 |
|
7118 | proto.co.treelab.api.CreateWorkspaceInput.deserializeBinaryFromReader = function(msg, reader) {
|
7119 | while (reader.nextField()) {
|
7120 | if (reader.isEndGroup()) {
|
7121 | break;
|
7122 | }
|
7123 | var field = reader.getFieldNumber();
|
7124 | switch (field) {
|
7125 | case 1:
|
7126 | var value = (reader.readString());
|
7127 | msg.setName(value);
|
7128 | break;
|
7129 | default:
|
7130 | reader.skipField();
|
7131 | break;
|
7132 | }
|
7133 | }
|
7134 | return msg;
|
7135 | };
|
7136 |
|
7137 |
|
7138 |
|
7139 |
|
7140 |
|
7141 |
|
7142 | proto.co.treelab.api.CreateWorkspaceInput.prototype.serializeBinary = function() {
|
7143 | var writer = new jspb.BinaryWriter();
|
7144 | proto.co.treelab.api.CreateWorkspaceInput.serializeBinaryToWriter(this, writer);
|
7145 | return writer.getResultBuffer();
|
7146 | };
|
7147 |
|
7148 |
|
7149 |
|
7150 |
|
7151 |
|
7152 |
|
7153 |
|
7154 |
|
7155 |
|
7156 | proto.co.treelab.api.CreateWorkspaceInput.serializeBinaryToWriter = function(message, writer) {
|
7157 | var f = undefined;
|
7158 | f = message.getName();
|
7159 | if (f.length > 0) {
|
7160 | writer.writeString(
|
7161 | 1,
|
7162 | f
|
7163 | );
|
7164 | }
|
7165 | };
|
7166 |
|
7167 |
|
7168 |
|
7169 |
|
7170 |
|
7171 |
|
7172 | proto.co.treelab.api.CreateWorkspaceInput.prototype.getName = function() {
|
7173 | return (jspb.Message.getFieldWithDefault(this, 1, ""));
|
7174 | };
|
7175 |
|
7176 |
|
7177 |
|
7178 | proto.co.treelab.api.CreateWorkspaceInput.prototype.setName = function(value) {
|
7179 | jspb.Message.setProto3StringField(this, 1, value);
|
7180 | };
|
7181 |
|
7182 |
|
7183 |
|
7184 |
|
7185 |
|
7186 |
|
7187 |
|
7188 |
|
7189 |
|
7190 |
|
7191 |
|
7192 |
|
7193 |
|
7194 | proto.co.treelab.api.AddCoreInput = function(opt_data) {
|
7195 | jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
7196 | };
|
7197 | goog.inherits(proto.co.treelab.api.AddCoreInput, jspb.Message);
|
7198 | if (goog.DEBUG && !COMPILED) {
|
7199 | proto.co.treelab.api.AddCoreInput.displayName = 'proto.co.treelab.api.AddCoreInput';
|
7200 | }
|
7201 |
|
7202 |
|
7203 | if (jspb.Message.GENERATE_TO_OBJECT) {
|
7204 |
|
7205 |
|
7206 |
|
7207 |
|
7208 |
|
7209 |
|
7210 |
|
7211 |
|
7212 |
|
7213 |
|
7214 | proto.co.treelab.api.AddCoreInput.prototype.toObject = function(opt_includeInstance) {
|
7215 | return proto.co.treelab.api.AddCoreInput.toObject(opt_includeInstance, this);
|
7216 | };
|
7217 |
|
7218 |
|
7219 |
|
7220 |
|
7221 |
|
7222 |
|
7223 |
|
7224 |
|
7225 |
|
7226 |
|
7227 |
|
7228 | proto.co.treelab.api.AddCoreInput.toObject = function(includeInstance, msg) {
|
7229 | var f, obj = {
|
7230 | workspaceid: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
7231 | corename: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
7232 | color: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
7233 | icon: jspb.Message.getFieldWithDefault(msg, 4, "")
|
7234 | };
|
7235 |
|
7236 | if (includeInstance) {
|
7237 | obj.$jspbMessageInstance = msg;
|
7238 | }
|
7239 | return obj;
|
7240 | };
|
7241 | }
|
7242 |
|
7243 |
|
7244 |
|
7245 |
|
7246 |
|
7247 |
|
7248 |
|
7249 | proto.co.treelab.api.AddCoreInput.deserializeBinary = function(bytes) {
|
7250 | var reader = new jspb.BinaryReader(bytes);
|
7251 | var msg = new proto.co.treelab.api.AddCoreInput;
|
7252 | return proto.co.treelab.api.AddCoreInput.deserializeBinaryFromReader(msg, reader);
|
7253 | };
|
7254 |
|
7255 |
|
7256 |
|
7257 |
|
7258 |
|
7259 |
|
7260 |
|
7261 |
|
7262 |
|
7263 | proto.co.treelab.api.AddCoreInput.deserializeBinaryFromReader = function(msg, reader) {
|
7264 | while (reader.nextField()) {
|
7265 | if (reader.isEndGroup()) {
|
7266 | break;
|
7267 | }
|
7268 | var field = reader.getFieldNumber();
|
7269 | switch (field) {
|
7270 | case 1:
|
7271 | var value = (reader.readString());
|
7272 | msg.setWorkspaceid(value);
|
7273 | break;
|
7274 | case 2:
|
7275 | var value = (reader.readString());
|
7276 | msg.setCorename(value);
|
7277 | break;
|
7278 | case 3:
|
7279 | var value = (reader.readString());
|
7280 | msg.setColor(value);
|
7281 | break;
|
7282 | case 4:
|
7283 | var value = (reader.readString());
|
7284 | msg.setIcon(value);
|
7285 | break;
|
7286 | default:
|
7287 | reader.skipField();
|
7288 | break;
|
7289 | }
|
7290 | }
|
7291 | return msg;
|
7292 | };
|
7293 |
|
7294 |
|
7295 |
|
7296 |
|
7297 |
|
7298 |
|
7299 | proto.co.treelab.api.AddCoreInput.prototype.serializeBinary = function() {
|
7300 | var writer = new jspb.BinaryWriter();
|
7301 | proto.co.treelab.api.AddCoreInput.serializeBinaryToWriter(this, writer);
|
7302 | return writer.getResultBuffer();
|
7303 | };
|
7304 |
|
7305 |
|
7306 |
|
7307 |
|
7308 |
|
7309 |
|
7310 |
|
7311 |
|
7312 |
|
7313 | proto.co.treelab.api.AddCoreInput.serializeBinaryToWriter = function(message, writer) {
|
7314 | var f = undefined;
|
7315 | f = message.getWorkspaceid();
|
7316 | if (f.length > 0) {
|
7317 | writer.writeString(
|
7318 | 1,
|
7319 | f
|
7320 | );
|
7321 | }
|
7322 | f = message.getCorename();
|
7323 | if (f.length > 0) {
|
7324 | writer.writeString(
|
7325 | 2,
|
7326 | f
|
7327 | );
|
7328 | }
|
7329 | f = message.getColor();
|
7330 | if (f.length > 0) {
|
7331 | writer.writeString(
|
7332 | 3,
|
7333 | f
|
7334 | );
|
7335 | }
|
7336 | f = message.getIcon();
|
7337 | if (f.length > 0) {
|
7338 | writer.writeString(
|
7339 | 4,
|
7340 | f
|
7341 | );
|
7342 | }
|
7343 | };
|
7344 |
|
7345 |
|
7346 |
|
7347 |
|
7348 |
|
7349 |
|
7350 | proto.co.treelab.api.AddCoreInput.prototype.getWorkspaceid = function() {
|
7351 | return (jspb.Message.getFieldWithDefault(this, 1, ""));
|
7352 | };
|
7353 |
|
7354 |
|
7355 |
|
7356 | proto.co.treelab.api.AddCoreInput.prototype.setWorkspaceid = function(value) {
|
7357 | jspb.Message.setProto3StringField(this, 1, value);
|
7358 | };
|
7359 |
|
7360 |
|
7361 |
|
7362 |
|
7363 |
|
7364 |
|
7365 | proto.co.treelab.api.AddCoreInput.prototype.getCorename = function() {
|
7366 | return (jspb.Message.getFieldWithDefault(this, 2, ""));
|
7367 | };
|
7368 |
|
7369 |
|
7370 |
|
7371 | proto.co.treelab.api.AddCoreInput.prototype.setCorename = function(value) {
|
7372 | jspb.Message.setProto3StringField(this, 2, value);
|
7373 | };
|
7374 |
|
7375 |
|
7376 |
|
7377 |
|
7378 |
|
7379 |
|
7380 | proto.co.treelab.api.AddCoreInput.prototype.getColor = function() {
|
7381 | return (jspb.Message.getFieldWithDefault(this, 3, ""));
|
7382 | };
|
7383 |
|
7384 |
|
7385 |
|
7386 | proto.co.treelab.api.AddCoreInput.prototype.setColor = function(value) {
|
7387 | jspb.Message.setProto3StringField(this, 3, value);
|
7388 | };
|
7389 |
|
7390 |
|
7391 |
|
7392 |
|
7393 |
|
7394 |
|
7395 | proto.co.treelab.api.AddCoreInput.prototype.getIcon = function() {
|
7396 | return (jspb.Message.getFieldWithDefault(this, 4, ""));
|
7397 | };
|
7398 |
|
7399 |
|
7400 |
|
7401 | proto.co.treelab.api.AddCoreInput.prototype.setIcon = function(value) {
|
7402 | jspb.Message.setProto3StringField(this, 4, value);
|
7403 | };
|
7404 |
|
7405 |
|
7406 |
|
7407 |
|
7408 |
|
7409 |
|
7410 |
|
7411 |
|
7412 |
|
7413 |
|
7414 |
|
7415 |
|
7416 |
|
7417 | proto.co.treelab.api.UpdateCoreInput = function(opt_data) {
|
7418 | jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
7419 | };
|
7420 | goog.inherits(proto.co.treelab.api.UpdateCoreInput, jspb.Message);
|
7421 | if (goog.DEBUG && !COMPILED) {
|
7422 | proto.co.treelab.api.UpdateCoreInput.displayName = 'proto.co.treelab.api.UpdateCoreInput';
|
7423 | }
|
7424 |
|
7425 |
|
7426 | if (jspb.Message.GENERATE_TO_OBJECT) {
|
7427 |
|
7428 |
|
7429 |
|
7430 |
|
7431 |
|
7432 |
|
7433 |
|
7434 |
|
7435 |
|
7436 |
|
7437 | proto.co.treelab.api.UpdateCoreInput.prototype.toObject = function(opt_includeInstance) {
|
7438 | return proto.co.treelab.api.UpdateCoreInput.toObject(opt_includeInstance, this);
|
7439 | };
|
7440 |
|
7441 |
|
7442 |
|
7443 |
|
7444 |
|
7445 |
|
7446 |
|
7447 |
|
7448 |
|
7449 |
|
7450 |
|
7451 | proto.co.treelab.api.UpdateCoreInput.toObject = function(includeInstance, msg) {
|
7452 | var f, obj = {
|
7453 | workspaceid: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
7454 | coreid: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
7455 | corename: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
7456 | color: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
7457 | icon: jspb.Message.getFieldWithDefault(msg, 5, "")
|
7458 | };
|
7459 |
|
7460 | if (includeInstance) {
|
7461 | obj.$jspbMessageInstance = msg;
|
7462 | }
|
7463 | return obj;
|
7464 | };
|
7465 | }
|
7466 |
|
7467 |
|
7468 |
|
7469 |
|
7470 |
|
7471 |
|
7472 |
|
7473 | proto.co.treelab.api.UpdateCoreInput.deserializeBinary = function(bytes) {
|
7474 | var reader = new jspb.BinaryReader(bytes);
|
7475 | var msg = new proto.co.treelab.api.UpdateCoreInput;
|
7476 | return proto.co.treelab.api.UpdateCoreInput.deserializeBinaryFromReader(msg, reader);
|
7477 | };
|
7478 |
|
7479 |
|
7480 |
|
7481 |
|
7482 |
|
7483 |
|
7484 |
|
7485 |
|
7486 |
|
7487 | proto.co.treelab.api.UpdateCoreInput.deserializeBinaryFromReader = function(msg, reader) {
|
7488 | while (reader.nextField()) {
|
7489 | if (reader.isEndGroup()) {
|
7490 | break;
|
7491 | }
|
7492 | var field = reader.getFieldNumber();
|
7493 | switch (field) {
|
7494 | case 1:
|
7495 | var value = (reader.readString());
|
7496 | msg.setWorkspaceid(value);
|
7497 | break;
|
7498 | case 2:
|
7499 | var value = (reader.readString());
|
7500 | msg.setCoreid(value);
|
7501 | break;
|
7502 | case 3:
|
7503 | var value = (reader.readString());
|
7504 | msg.setCorename(value);
|
7505 | break;
|
7506 | case 4:
|
7507 | var value = (reader.readString());
|
7508 | msg.setColor(value);
|
7509 | break;
|
7510 | case 5:
|
7511 | var value = (reader.readString());
|
7512 | msg.setIcon(value);
|
7513 | break;
|
7514 | default:
|
7515 | reader.skipField();
|
7516 | break;
|
7517 | }
|
7518 | }
|
7519 | return msg;
|
7520 | };
|
7521 |
|
7522 |
|
7523 |
|
7524 |
|
7525 |
|
7526 |
|
7527 | proto.co.treelab.api.UpdateCoreInput.prototype.serializeBinary = function() {
|
7528 | var writer = new jspb.BinaryWriter();
|
7529 | proto.co.treelab.api.UpdateCoreInput.serializeBinaryToWriter(this, writer);
|
7530 | return writer.getResultBuffer();
|
7531 | };
|
7532 |
|
7533 |
|
7534 |
|
7535 |
|
7536 |
|
7537 |
|
7538 |
|
7539 |
|
7540 |
|
7541 | proto.co.treelab.api.UpdateCoreInput.serializeBinaryToWriter = function(message, writer) {
|
7542 | var f = undefined;
|
7543 | f = message.getWorkspaceid();
|
7544 | if (f.length > 0) {
|
7545 | writer.writeString(
|
7546 | 1,
|
7547 | f
|
7548 | );
|
7549 | }
|
7550 | f = message.getCoreid();
|
7551 | if (f.length > 0) {
|
7552 | writer.writeString(
|
7553 | 2,
|
7554 | f
|
7555 | );
|
7556 | }
|
7557 | f = message.getCorename();
|
7558 | if (f.length > 0) {
|
7559 | writer.writeString(
|
7560 | 3,
|
7561 | f
|
7562 | );
|
7563 | }
|
7564 | f = message.getColor();
|
7565 | if (f.length > 0) {
|
7566 | writer.writeString(
|
7567 | 4,
|
7568 | f
|
7569 | );
|
7570 | }
|
7571 | f = message.getIcon();
|
7572 | if (f.length > 0) {
|
7573 | writer.writeString(
|
7574 | 5,
|
7575 | f
|
7576 | );
|
7577 | }
|
7578 | };
|
7579 |
|
7580 |
|
7581 |
|
7582 |
|
7583 |
|
7584 |
|
7585 | proto.co.treelab.api.UpdateCoreInput.prototype.getWorkspaceid = function() {
|
7586 | return (jspb.Message.getFieldWithDefault(this, 1, ""));
|
7587 | };
|
7588 |
|
7589 |
|
7590 |
|
7591 | proto.co.treelab.api.UpdateCoreInput.prototype.setWorkspaceid = function(value) {
|
7592 | jspb.Message.setProto3StringField(this, 1, value);
|
7593 | };
|
7594 |
|
7595 |
|
7596 |
|
7597 |
|
7598 |
|
7599 |
|
7600 | proto.co.treelab.api.UpdateCoreInput.prototype.getCoreid = function() {
|
7601 | return (jspb.Message.getFieldWithDefault(this, 2, ""));
|
7602 | };
|
7603 |
|
7604 |
|
7605 |
|
7606 | proto.co.treelab.api.UpdateCoreInput.prototype.setCoreid = function(value) {
|
7607 | jspb.Message.setProto3StringField(this, 2, value);
|
7608 | };
|
7609 |
|
7610 |
|
7611 |
|
7612 |
|
7613 |
|
7614 |
|
7615 | proto.co.treelab.api.UpdateCoreInput.prototype.getCorename = function() {
|
7616 | return (jspb.Message.getFieldWithDefault(this, 3, ""));
|
7617 | };
|
7618 |
|
7619 |
|
7620 |
|
7621 | proto.co.treelab.api.UpdateCoreInput.prototype.setCorename = function(value) {
|
7622 | jspb.Message.setProto3StringField(this, 3, value);
|
7623 | };
|
7624 |
|
7625 |
|
7626 |
|
7627 |
|
7628 |
|
7629 |
|
7630 | proto.co.treelab.api.UpdateCoreInput.prototype.getColor = function() {
|
7631 | return (jspb.Message.getFieldWithDefault(this, 4, ""));
|
7632 | };
|
7633 |
|
7634 |
|
7635 |
|
7636 | proto.co.treelab.api.UpdateCoreInput.prototype.setColor = function(value) {
|
7637 | jspb.Message.setProto3StringField(this, 4, value);
|
7638 | };
|
7639 |
|
7640 |
|
7641 |
|
7642 |
|
7643 |
|
7644 |
|
7645 | proto.co.treelab.api.UpdateCoreInput.prototype.getIcon = function() {
|
7646 | return (jspb.Message.getFieldWithDefault(this, 5, ""));
|
7647 | };
|
7648 |
|
7649 |
|
7650 |
|
7651 | proto.co.treelab.api.UpdateCoreInput.prototype.setIcon = function(value) {
|
7652 | jspb.Message.setProto3StringField(this, 5, value);
|
7653 | };
|
7654 |
|
7655 |
|
7656 |
|
7657 |
|
7658 |
|
7659 |
|
7660 |
|
7661 |
|
7662 |
|
7663 |
|
7664 |
|
7665 |
|
7666 |
|
7667 | proto.co.treelab.api.RemoveCoreInput = function(opt_data) {
|
7668 | jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
7669 | };
|
7670 | goog.inherits(proto.co.treelab.api.RemoveCoreInput, jspb.Message);
|
7671 | if (goog.DEBUG && !COMPILED) {
|
7672 | proto.co.treelab.api.RemoveCoreInput.displayName = 'proto.co.treelab.api.RemoveCoreInput';
|
7673 | }
|
7674 |
|
7675 |
|
7676 | if (jspb.Message.GENERATE_TO_OBJECT) {
|
7677 |
|
7678 |
|
7679 |
|
7680 |
|
7681 |
|
7682 |
|
7683 |
|
7684 |
|
7685 |
|
7686 |
|
7687 | proto.co.treelab.api.RemoveCoreInput.prototype.toObject = function(opt_includeInstance) {
|
7688 | return proto.co.treelab.api.RemoveCoreInput.toObject(opt_includeInstance, this);
|
7689 | };
|
7690 |
|
7691 |
|
7692 |
|
7693 |
|
7694 |
|
7695 |
|
7696 |
|
7697 |
|
7698 |
|
7699 |
|
7700 |
|
7701 | proto.co.treelab.api.RemoveCoreInput.toObject = function(includeInstance, msg) {
|
7702 | var f, obj = {
|
7703 | workspaceid: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
7704 | coreid: jspb.Message.getFieldWithDefault(msg, 2, "")
|
7705 | };
|
7706 |
|
7707 | if (includeInstance) {
|
7708 | obj.$jspbMessageInstance = msg;
|
7709 | }
|
7710 | return obj;
|
7711 | };
|
7712 | }
|
7713 |
|
7714 |
|
7715 |
|
7716 |
|
7717 |
|
7718 |
|
7719 |
|
7720 | proto.co.treelab.api.RemoveCoreInput.deserializeBinary = function(bytes) {
|
7721 | var reader = new jspb.BinaryReader(bytes);
|
7722 | var msg = new proto.co.treelab.api.RemoveCoreInput;
|
7723 | return proto.co.treelab.api.RemoveCoreInput.deserializeBinaryFromReader(msg, reader);
|
7724 | };
|
7725 |
|
7726 |
|
7727 |
|
7728 |
|
7729 |
|
7730 |
|
7731 |
|
7732 |
|
7733 |
|
7734 | proto.co.treelab.api.RemoveCoreInput.deserializeBinaryFromReader = function(msg, reader) {
|
7735 | while (reader.nextField()) {
|
7736 | if (reader.isEndGroup()) {
|
7737 | break;
|
7738 | }
|
7739 | var field = reader.getFieldNumber();
|
7740 | switch (field) {
|
7741 | case 1:
|
7742 | var value = (reader.readString());
|
7743 | msg.setWorkspaceid(value);
|
7744 | break;
|
7745 | case 2:
|
7746 | var value = (reader.readString());
|
7747 | msg.setCoreid(value);
|
7748 | break;
|
7749 | default:
|
7750 | reader.skipField();
|
7751 | break;
|
7752 | }
|
7753 | }
|
7754 | return msg;
|
7755 | };
|
7756 |
|
7757 |
|
7758 |
|
7759 |
|
7760 |
|
7761 |
|
7762 | proto.co.treelab.api.RemoveCoreInput.prototype.serializeBinary = function() {
|
7763 | var writer = new jspb.BinaryWriter();
|
7764 | proto.co.treelab.api.RemoveCoreInput.serializeBinaryToWriter(this, writer);
|
7765 | return writer.getResultBuffer();
|
7766 | };
|
7767 |
|
7768 |
|
7769 |
|
7770 |
|
7771 |
|
7772 |
|
7773 |
|
7774 |
|
7775 |
|
7776 | proto.co.treelab.api.RemoveCoreInput.serializeBinaryToWriter = function(message, writer) {
|
7777 | var f = undefined;
|
7778 | f = message.getWorkspaceid();
|
7779 | if (f.length > 0) {
|
7780 | writer.writeString(
|
7781 | 1,
|
7782 | f
|
7783 | );
|
7784 | }
|
7785 | f = message.getCoreid();
|
7786 | if (f.length > 0) {
|
7787 | writer.writeString(
|
7788 | 2,
|
7789 | f
|
7790 | );
|
7791 | }
|
7792 | };
|
7793 |
|
7794 |
|
7795 |
|
7796 |
|
7797 |
|
7798 |
|
7799 | proto.co.treelab.api.RemoveCoreInput.prototype.getWorkspaceid = function() {
|
7800 | return (jspb.Message.getFieldWithDefault(this, 1, ""));
|
7801 | };
|
7802 |
|
7803 |
|
7804 |
|
7805 | proto.co.treelab.api.RemoveCoreInput.prototype.setWorkspaceid = function(value) {
|
7806 | jspb.Message.setProto3StringField(this, 1, value);
|
7807 | };
|
7808 |
|
7809 |
|
7810 |
|
7811 |
|
7812 |
|
7813 |
|
7814 | proto.co.treelab.api.RemoveCoreInput.prototype.getCoreid = function() {
|
7815 | return (jspb.Message.getFieldWithDefault(this, 2, ""));
|
7816 | };
|
7817 |
|
7818 |
|
7819 |
|
7820 | proto.co.treelab.api.RemoveCoreInput.prototype.setCoreid = function(value) {
|
7821 | jspb.Message.setProto3StringField(this, 2, value);
|
7822 | };
|
7823 |
|
7824 |
|
7825 |
|
7826 |
|
7827 |
|
7828 |
|
7829 |
|
7830 |
|
7831 |
|
7832 |
|
7833 |
|
7834 |
|
7835 |
|
7836 | proto.co.treelab.api.AddTableInput = function(opt_data) {
|
7837 | jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
7838 | };
|
7839 | goog.inherits(proto.co.treelab.api.AddTableInput, jspb.Message);
|
7840 | if (goog.DEBUG && !COMPILED) {
|
7841 | proto.co.treelab.api.AddTableInput.displayName = 'proto.co.treelab.api.AddTableInput';
|
7842 | }
|
7843 |
|
7844 |
|
7845 | if (jspb.Message.GENERATE_TO_OBJECT) {
|
7846 |
|
7847 |
|
7848 |
|
7849 |
|
7850 |
|
7851 |
|
7852 |
|
7853 |
|
7854 |
|
7855 |
|
7856 | proto.co.treelab.api.AddTableInput.prototype.toObject = function(opt_includeInstance) {
|
7857 | return proto.co.treelab.api.AddTableInput.toObject(opt_includeInstance, this);
|
7858 | };
|
7859 |
|
7860 |
|
7861 |
|
7862 |
|
7863 |
|
7864 |
|
7865 |
|
7866 |
|
7867 |
|
7868 |
|
7869 |
|
7870 | proto.co.treelab.api.AddTableInput.toObject = function(includeInstance, msg) {
|
7871 | var f, obj = {
|
7872 | workspaceid: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
7873 | coreid: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
7874 | tablename: jspb.Message.getFieldWithDefault(msg, 3, "")
|
7875 | };
|
7876 |
|
7877 | if (includeInstance) {
|
7878 | obj.$jspbMessageInstance = msg;
|
7879 | }
|
7880 | return obj;
|
7881 | };
|
7882 | }
|
7883 |
|
7884 |
|
7885 |
|
7886 |
|
7887 |
|
7888 |
|
7889 |
|
7890 | proto.co.treelab.api.AddTableInput.deserializeBinary = function(bytes) {
|
7891 | var reader = new jspb.BinaryReader(bytes);
|
7892 | var msg = new proto.co.treelab.api.AddTableInput;
|
7893 | return proto.co.treelab.api.AddTableInput.deserializeBinaryFromReader(msg, reader);
|
7894 | };
|
7895 |
|
7896 |
|
7897 |
|
7898 |
|
7899 |
|
7900 |
|
7901 |
|
7902 |
|
7903 |
|
7904 | proto.co.treelab.api.AddTableInput.deserializeBinaryFromReader = function(msg, reader) {
|
7905 | while (reader.nextField()) {
|
7906 | if (reader.isEndGroup()) {
|
7907 | break;
|
7908 | }
|
7909 | var field = reader.getFieldNumber();
|
7910 | switch (field) {
|
7911 | case 1:
|
7912 | var value = (reader.readString());
|
7913 | msg.setWorkspaceid(value);
|
7914 | break;
|
7915 | case 2:
|
7916 | var value = (reader.readString());
|
7917 | msg.setCoreid(value);
|
7918 | break;
|
7919 | case 3:
|
7920 | var value = (reader.readString());
|
7921 | msg.setTablename(value);
|
7922 | break;
|
7923 | default:
|
7924 | reader.skipField();
|
7925 | break;
|
7926 | }
|
7927 | }
|
7928 | return msg;
|
7929 | };
|
7930 |
|
7931 |
|
7932 |
|
7933 |
|
7934 |
|
7935 |
|
7936 | proto.co.treelab.api.AddTableInput.prototype.serializeBinary = function() {
|
7937 | var writer = new jspb.BinaryWriter();
|
7938 | proto.co.treelab.api.AddTableInput.serializeBinaryToWriter(this, writer);
|
7939 | return writer.getResultBuffer();
|
7940 | };
|
7941 |
|
7942 |
|
7943 |
|
7944 |
|
7945 |
|
7946 |
|
7947 |
|
7948 |
|
7949 |
|
7950 | proto.co.treelab.api.AddTableInput.serializeBinaryToWriter = function(message, writer) {
|
7951 | var f = undefined;
|
7952 | f = message.getWorkspaceid();
|
7953 | if (f.length > 0) {
|
7954 | writer.writeString(
|
7955 | 1,
|
7956 | f
|
7957 | );
|
7958 | }
|
7959 | f = message.getCoreid();
|
7960 | if (f.length > 0) {
|
7961 | writer.writeString(
|
7962 | 2,
|
7963 | f
|
7964 | );
|
7965 | }
|
7966 | f = message.getTablename();
|
7967 | if (f.length > 0) {
|
7968 | writer.writeString(
|
7969 | 3,
|
7970 | f
|
7971 | );
|
7972 | }
|
7973 | };
|
7974 |
|
7975 |
|
7976 |
|
7977 |
|
7978 |
|
7979 |
|
7980 | proto.co.treelab.api.AddTableInput.prototype.getWorkspaceid = function() {
|
7981 | return (jspb.Message.getFieldWithDefault(this, 1, ""));
|
7982 | };
|
7983 |
|
7984 |
|
7985 |
|
7986 | proto.co.treelab.api.AddTableInput.prototype.setWorkspaceid = function(value) {
|
7987 | jspb.Message.setProto3StringField(this, 1, value);
|
7988 | };
|
7989 |
|
7990 |
|
7991 |
|
7992 |
|
7993 |
|
7994 |
|
7995 | proto.co.treelab.api.AddTableInput.prototype.getCoreid = function() {
|
7996 | return (jspb.Message.getFieldWithDefault(this, 2, ""));
|
7997 | };
|
7998 |
|
7999 |
|
8000 |
|
8001 | proto.co.treelab.api.AddTableInput.prototype.setCoreid = function(value) {
|
8002 | jspb.Message.setProto3StringField(this, 2, value);
|
8003 | };
|
8004 |
|
8005 |
|
8006 |
|
8007 |
|
8008 |
|
8009 |
|
8010 | proto.co.treelab.api.AddTableInput.prototype.getTablename = function() {
|
8011 | return (jspb.Message.getFieldWithDefault(this, 3, ""));
|
8012 | };
|
8013 |
|
8014 |
|
8015 |
|
8016 | proto.co.treelab.api.AddTableInput.prototype.setTablename = function(value) {
|
8017 | jspb.Message.setProto3StringField(this, 3, value);
|
8018 | };
|
8019 |
|
8020 |
|
8021 |
|
8022 |
|
8023 |
|
8024 |
|
8025 |
|
8026 |
|
8027 |
|
8028 |
|
8029 |
|
8030 |
|
8031 |
|
8032 | proto.co.treelab.api.GetTableInput = function(opt_data) {
|
8033 | jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
8034 | };
|
8035 | goog.inherits(proto.co.treelab.api.GetTableInput, jspb.Message);
|
8036 | if (goog.DEBUG && !COMPILED) {
|
8037 | proto.co.treelab.api.GetTableInput.displayName = 'proto.co.treelab.api.GetTableInput';
|
8038 | }
|
8039 |
|
8040 |
|
8041 | if (jspb.Message.GENERATE_TO_OBJECT) {
|
8042 |
|
8043 |
|
8044 |
|
8045 |
|
8046 |
|
8047 |
|
8048 |
|
8049 |
|
8050 |
|
8051 |
|
8052 | proto.co.treelab.api.GetTableInput.prototype.toObject = function(opt_includeInstance) {
|
8053 | return proto.co.treelab.api.GetTableInput.toObject(opt_includeInstance, this);
|
8054 | };
|
8055 |
|
8056 |
|
8057 |
|
8058 |
|
8059 |
|
8060 |
|
8061 |
|
8062 |
|
8063 |
|
8064 |
|
8065 |
|
8066 | proto.co.treelab.api.GetTableInput.toObject = function(includeInstance, msg) {
|
8067 | var f, obj = {
|
8068 | workspaceid: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
8069 | coreid: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
8070 | tableid: jspb.Message.getFieldWithDefault(msg, 3, "")
|
8071 | };
|
8072 |
|
8073 | if (includeInstance) {
|
8074 | obj.$jspbMessageInstance = msg;
|
8075 | }
|
8076 | return obj;
|
8077 | };
|
8078 | }
|
8079 |
|
8080 |
|
8081 |
|
8082 |
|
8083 |
|
8084 |
|
8085 |
|
8086 | proto.co.treelab.api.GetTableInput.deserializeBinary = function(bytes) {
|
8087 | var reader = new jspb.BinaryReader(bytes);
|
8088 | var msg = new proto.co.treelab.api.GetTableInput;
|
8089 | return proto.co.treelab.api.GetTableInput.deserializeBinaryFromReader(msg, reader);
|
8090 | };
|
8091 |
|
8092 |
|
8093 |
|
8094 |
|
8095 |
|
8096 |
|
8097 |
|
8098 |
|
8099 |
|
8100 | proto.co.treelab.api.GetTableInput.deserializeBinaryFromReader = function(msg, reader) {
|
8101 | while (reader.nextField()) {
|
8102 | if (reader.isEndGroup()) {
|
8103 | break;
|
8104 | }
|
8105 | var field = reader.getFieldNumber();
|
8106 | switch (field) {
|
8107 | case 1:
|
8108 | var value = (reader.readString());
|
8109 | msg.setWorkspaceid(value);
|
8110 | break;
|
8111 | case 2:
|
8112 | var value = (reader.readString());
|
8113 | msg.setCoreid(value);
|
8114 | break;
|
8115 | case 3:
|
8116 | var value = (reader.readString());
|
8117 | msg.setTableid(value);
|
8118 | break;
|
8119 | default:
|
8120 | reader.skipField();
|
8121 | break;
|
8122 | }
|
8123 | }
|
8124 | return msg;
|
8125 | };
|
8126 |
|
8127 |
|
8128 |
|
8129 |
|
8130 |
|
8131 |
|
8132 | proto.co.treelab.api.GetTableInput.prototype.serializeBinary = function() {
|
8133 | var writer = new jspb.BinaryWriter();
|
8134 | proto.co.treelab.api.GetTableInput.serializeBinaryToWriter(this, writer);
|
8135 | return writer.getResultBuffer();
|
8136 | };
|
8137 |
|
8138 |
|
8139 |
|
8140 |
|
8141 |
|
8142 |
|
8143 |
|
8144 |
|
8145 |
|
8146 | proto.co.treelab.api.GetTableInput.serializeBinaryToWriter = function(message, writer) {
|
8147 | var f = undefined;
|
8148 | f = message.getWorkspaceid();
|
8149 | if (f.length > 0) {
|
8150 | writer.writeString(
|
8151 | 1,
|
8152 | f
|
8153 | );
|
8154 | }
|
8155 | f = message.getCoreid();
|
8156 | if (f.length > 0) {
|
8157 | writer.writeString(
|
8158 | 2,
|
8159 | f
|
8160 | );
|
8161 | }
|
8162 | f = message.getTableid();
|
8163 | if (f.length > 0) {
|
8164 | writer.writeString(
|
8165 | 3,
|
8166 | f
|
8167 | );
|
8168 | }
|
8169 | };
|
8170 |
|
8171 |
|
8172 |
|
8173 |
|
8174 |
|
8175 |
|
8176 | proto.co.treelab.api.GetTableInput.prototype.getWorkspaceid = function() {
|
8177 | return (jspb.Message.getFieldWithDefault(this, 1, ""));
|
8178 | };
|
8179 |
|
8180 |
|
8181 |
|
8182 | proto.co.treelab.api.GetTableInput.prototype.setWorkspaceid = function(value) {
|
8183 | jspb.Message.setProto3StringField(this, 1, value);
|
8184 | };
|
8185 |
|
8186 |
|
8187 |
|
8188 |
|
8189 |
|
8190 |
|
8191 | proto.co.treelab.api.GetTableInput.prototype.getCoreid = function() {
|
8192 | return (jspb.Message.getFieldWithDefault(this, 2, ""));
|
8193 | };
|
8194 |
|
8195 |
|
8196 |
|
8197 | proto.co.treelab.api.GetTableInput.prototype.setCoreid = function(value) {
|
8198 | jspb.Message.setProto3StringField(this, 2, value);
|
8199 | };
|
8200 |
|
8201 |
|
8202 |
|
8203 |
|
8204 |
|
8205 |
|
8206 | proto.co.treelab.api.GetTableInput.prototype.getTableid = function() {
|
8207 | return (jspb.Message.getFieldWithDefault(this, 3, ""));
|
8208 | };
|
8209 |
|
8210 |
|
8211 |
|
8212 | proto.co.treelab.api.GetTableInput.prototype.setTableid = function(value) {
|
8213 | jspb.Message.setProto3StringField(this, 3, value);
|
8214 | };
|
8215 |
|
8216 |
|
8217 |
|
8218 |
|
8219 |
|
8220 |
|
8221 |
|
8222 |
|
8223 |
|
8224 |
|
8225 |
|
8226 |
|
8227 |
|
8228 | proto.co.treelab.api.GetWorkspaceInput = function(opt_data) {
|
8229 | jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
8230 | };
|
8231 | goog.inherits(proto.co.treelab.api.GetWorkspaceInput, jspb.Message);
|
8232 | if (goog.DEBUG && !COMPILED) {
|
8233 | proto.co.treelab.api.GetWorkspaceInput.displayName = 'proto.co.treelab.api.GetWorkspaceInput';
|
8234 | }
|
8235 |
|
8236 |
|
8237 | if (jspb.Message.GENERATE_TO_OBJECT) {
|
8238 |
|
8239 |
|
8240 |
|
8241 |
|
8242 |
|
8243 |
|
8244 |
|
8245 |
|
8246 |
|
8247 |
|
8248 | proto.co.treelab.api.GetWorkspaceInput.prototype.toObject = function(opt_includeInstance) {
|
8249 | return proto.co.treelab.api.GetWorkspaceInput.toObject(opt_includeInstance, this);
|
8250 | };
|
8251 |
|
8252 |
|
8253 |
|
8254 |
|
8255 |
|
8256 |
|
8257 |
|
8258 |
|
8259 |
|
8260 |
|
8261 |
|
8262 | proto.co.treelab.api.GetWorkspaceInput.toObject = function(includeInstance, msg) {
|
8263 | var f, obj = {
|
8264 | id: jspb.Message.getFieldWithDefault(msg, 1, "")
|
8265 | };
|
8266 |
|
8267 | if (includeInstance) {
|
8268 | obj.$jspbMessageInstance = msg;
|
8269 | }
|
8270 | return obj;
|
8271 | };
|
8272 | }
|
8273 |
|
8274 |
|
8275 |
|
8276 |
|
8277 |
|
8278 |
|
8279 |
|
8280 | proto.co.treelab.api.GetWorkspaceInput.deserializeBinary = function(bytes) {
|
8281 | var reader = new jspb.BinaryReader(bytes);
|
8282 | var msg = new proto.co.treelab.api.GetWorkspaceInput;
|
8283 | return proto.co.treelab.api.GetWorkspaceInput.deserializeBinaryFromReader(msg, reader);
|
8284 | };
|
8285 |
|
8286 |
|
8287 |
|
8288 |
|
8289 |
|
8290 |
|
8291 |
|
8292 |
|
8293 |
|
8294 | proto.co.treelab.api.GetWorkspaceInput.deserializeBinaryFromReader = function(msg, reader) {
|
8295 | while (reader.nextField()) {
|
8296 | if (reader.isEndGroup()) {
|
8297 | break;
|
8298 | }
|
8299 | var field = reader.getFieldNumber();
|
8300 | switch (field) {
|
8301 | case 1:
|
8302 | var value = (reader.readString());
|
8303 | msg.setId(value);
|
8304 | break;
|
8305 | default:
|
8306 | reader.skipField();
|
8307 | break;
|
8308 | }
|
8309 | }
|
8310 | return msg;
|
8311 | };
|
8312 |
|
8313 |
|
8314 |
|
8315 |
|
8316 |
|
8317 |
|
8318 | proto.co.treelab.api.GetWorkspaceInput.prototype.serializeBinary = function() {
|
8319 | var writer = new jspb.BinaryWriter();
|
8320 | proto.co.treelab.api.GetWorkspaceInput.serializeBinaryToWriter(this, writer);
|
8321 | return writer.getResultBuffer();
|
8322 | };
|
8323 |
|
8324 |
|
8325 |
|
8326 |
|
8327 |
|
8328 |
|
8329 |
|
8330 |
|
8331 |
|
8332 | proto.co.treelab.api.GetWorkspaceInput.serializeBinaryToWriter = function(message, writer) {
|
8333 | var f = undefined;
|
8334 | f = message.getId();
|
8335 | if (f.length > 0) {
|
8336 | writer.writeString(
|
8337 | 1,
|
8338 | f
|
8339 | );
|
8340 | }
|
8341 | };
|
8342 |
|
8343 |
|
8344 |
|
8345 |
|
8346 |
|
8347 |
|
8348 | proto.co.treelab.api.GetWorkspaceInput.prototype.getId = function() {
|
8349 | return (jspb.Message.getFieldWithDefault(this, 1, ""));
|
8350 | };
|
8351 |
|
8352 |
|
8353 |
|
8354 | proto.co.treelab.api.GetWorkspaceInput.prototype.setId = function(value) {
|
8355 | jspb.Message.setProto3StringField(this, 1, value);
|
8356 | };
|
8357 |
|
8358 |
|
8359 |
|
8360 |
|
8361 |
|
8362 |
|
8363 |
|
8364 |
|
8365 |
|
8366 |
|
8367 |
|
8368 |
|
8369 |
|
8370 | proto.co.treelab.api.GetCoreInput = function(opt_data) {
|
8371 | jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
8372 | };
|
8373 | goog.inherits(proto.co.treelab.api.GetCoreInput, jspb.Message);
|
8374 | if (goog.DEBUG && !COMPILED) {
|
8375 | proto.co.treelab.api.GetCoreInput.displayName = 'proto.co.treelab.api.GetCoreInput';
|
8376 | }
|
8377 |
|
8378 |
|
8379 | if (jspb.Message.GENERATE_TO_OBJECT) {
|
8380 |
|
8381 |
|
8382 |
|
8383 |
|
8384 |
|
8385 |
|
8386 |
|
8387 |
|
8388 |
|
8389 |
|
8390 | proto.co.treelab.api.GetCoreInput.prototype.toObject = function(opt_includeInstance) {
|
8391 | return proto.co.treelab.api.GetCoreInput.toObject(opt_includeInstance, this);
|
8392 | };
|
8393 |
|
8394 |
|
8395 |
|
8396 |
|
8397 |
|
8398 |
|
8399 |
|
8400 |
|
8401 |
|
8402 |
|
8403 |
|
8404 | proto.co.treelab.api.GetCoreInput.toObject = function(includeInstance, msg) {
|
8405 | var f, obj = {
|
8406 | workspaceid: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
8407 | coreid: jspb.Message.getFieldWithDefault(msg, 2, "")
|
8408 | };
|
8409 |
|
8410 | if (includeInstance) {
|
8411 | obj.$jspbMessageInstance = msg;
|
8412 | }
|
8413 | return obj;
|
8414 | };
|
8415 | }
|
8416 |
|
8417 |
|
8418 |
|
8419 |
|
8420 |
|
8421 |
|
8422 |
|
8423 | proto.co.treelab.api.GetCoreInput.deserializeBinary = function(bytes) {
|
8424 | var reader = new jspb.BinaryReader(bytes);
|
8425 | var msg = new proto.co.treelab.api.GetCoreInput;
|
8426 | return proto.co.treelab.api.GetCoreInput.deserializeBinaryFromReader(msg, reader);
|
8427 | };
|
8428 |
|
8429 |
|
8430 |
|
8431 |
|
8432 |
|
8433 |
|
8434 |
|
8435 |
|
8436 |
|
8437 | proto.co.treelab.api.GetCoreInput.deserializeBinaryFromReader = function(msg, reader) {
|
8438 | while (reader.nextField()) {
|
8439 | if (reader.isEndGroup()) {
|
8440 | break;
|
8441 | }
|
8442 | var field = reader.getFieldNumber();
|
8443 | switch (field) {
|
8444 | case 1:
|
8445 | var value = (reader.readString());
|
8446 | msg.setWorkspaceid(value);
|
8447 | break;
|
8448 | case 2:
|
8449 | var value = (reader.readString());
|
8450 | msg.setCoreid(value);
|
8451 | break;
|
8452 | default:
|
8453 | reader.skipField();
|
8454 | break;
|
8455 | }
|
8456 | }
|
8457 | return msg;
|
8458 | };
|
8459 |
|
8460 |
|
8461 |
|
8462 |
|
8463 |
|
8464 |
|
8465 | proto.co.treelab.api.GetCoreInput.prototype.serializeBinary = function() {
|
8466 | var writer = new jspb.BinaryWriter();
|
8467 | proto.co.treelab.api.GetCoreInput.serializeBinaryToWriter(this, writer);
|
8468 | return writer.getResultBuffer();
|
8469 | };
|
8470 |
|
8471 |
|
8472 |
|
8473 |
|
8474 |
|
8475 |
|
8476 |
|
8477 |
|
8478 |
|
8479 | proto.co.treelab.api.GetCoreInput.serializeBinaryToWriter = function(message, writer) {
|
8480 | var f = undefined;
|
8481 | f = message.getWorkspaceid();
|
8482 | if (f.length > 0) {
|
8483 | writer.writeString(
|
8484 | 1,
|
8485 | f
|
8486 | );
|
8487 | }
|
8488 | f = message.getCoreid();
|
8489 | if (f.length > 0) {
|
8490 | writer.writeString(
|
8491 | 2,
|
8492 | f
|
8493 | );
|
8494 | }
|
8495 | };
|
8496 |
|
8497 |
|
8498 |
|
8499 |
|
8500 |
|
8501 |
|
8502 | proto.co.treelab.api.GetCoreInput.prototype.getWorkspaceid = function() {
|
8503 | return (jspb.Message.getFieldWithDefault(this, 1, ""));
|
8504 | };
|
8505 |
|
8506 |
|
8507 |
|
8508 | proto.co.treelab.api.GetCoreInput.prototype.setWorkspaceid = function(value) {
|
8509 | jspb.Message.setProto3StringField(this, 1, value);
|
8510 | };
|
8511 |
|
8512 |
|
8513 |
|
8514 |
|
8515 |
|
8516 |
|
8517 | proto.co.treelab.api.GetCoreInput.prototype.getCoreid = function() {
|
8518 | return (jspb.Message.getFieldWithDefault(this, 2, ""));
|
8519 | };
|
8520 |
|
8521 |
|
8522 |
|
8523 | proto.co.treelab.api.GetCoreInput.prototype.setCoreid = function(value) {
|
8524 | jspb.Message.setProto3StringField(this, 2, value);
|
8525 | };
|
8526 |
|
8527 |
|
8528 |
|
8529 |
|
8530 |
|
8531 |
|
8532 |
|
8533 |
|
8534 |
|
8535 |
|
8536 |
|
8537 |
|
8538 |
|
8539 | proto.co.treelab.api.GetCoresInput = function(opt_data) {
|
8540 | jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
8541 | };
|
8542 | goog.inherits(proto.co.treelab.api.GetCoresInput, jspb.Message);
|
8543 | if (goog.DEBUG && !COMPILED) {
|
8544 | proto.co.treelab.api.GetCoresInput.displayName = 'proto.co.treelab.api.GetCoresInput';
|
8545 | }
|
8546 |
|
8547 |
|
8548 | if (jspb.Message.GENERATE_TO_OBJECT) {
|
8549 |
|
8550 |
|
8551 |
|
8552 |
|
8553 |
|
8554 |
|
8555 |
|
8556 |
|
8557 |
|
8558 |
|
8559 | proto.co.treelab.api.GetCoresInput.prototype.toObject = function(opt_includeInstance) {
|
8560 | return proto.co.treelab.api.GetCoresInput.toObject(opt_includeInstance, this);
|
8561 | };
|
8562 |
|
8563 |
|
8564 |
|
8565 |
|
8566 |
|
8567 |
|
8568 |
|
8569 |
|
8570 |
|
8571 |
|
8572 |
|
8573 | proto.co.treelab.api.GetCoresInput.toObject = function(includeInstance, msg) {
|
8574 | var f, obj = {
|
8575 | workspaceid: jspb.Message.getFieldWithDefault(msg, 1, "")
|
8576 | };
|
8577 |
|
8578 | if (includeInstance) {
|
8579 | obj.$jspbMessageInstance = msg;
|
8580 | }
|
8581 | return obj;
|
8582 | };
|
8583 | }
|
8584 |
|
8585 |
|
8586 |
|
8587 |
|
8588 |
|
8589 |
|
8590 |
|
8591 | proto.co.treelab.api.GetCoresInput.deserializeBinary = function(bytes) {
|
8592 | var reader = new jspb.BinaryReader(bytes);
|
8593 | var msg = new proto.co.treelab.api.GetCoresInput;
|
8594 | return proto.co.treelab.api.GetCoresInput.deserializeBinaryFromReader(msg, reader);
|
8595 | };
|
8596 |
|
8597 |
|
8598 |
|
8599 |
|
8600 |
|
8601 |
|
8602 |
|
8603 |
|
8604 |
|
8605 | proto.co.treelab.api.GetCoresInput.deserializeBinaryFromReader = function(msg, reader) {
|
8606 | while (reader.nextField()) {
|
8607 | if (reader.isEndGroup()) {
|
8608 | break;
|
8609 | }
|
8610 | var field = reader.getFieldNumber();
|
8611 | switch (field) {
|
8612 | case 1:
|
8613 | var value = (reader.readString());
|
8614 | msg.setWorkspaceid(value);
|
8615 | break;
|
8616 | default:
|
8617 | reader.skipField();
|
8618 | break;
|
8619 | }
|
8620 | }
|
8621 | return msg;
|
8622 | };
|
8623 |
|
8624 |
|
8625 |
|
8626 |
|
8627 |
|
8628 |
|
8629 | proto.co.treelab.api.GetCoresInput.prototype.serializeBinary = function() {
|
8630 | var writer = new jspb.BinaryWriter();
|
8631 | proto.co.treelab.api.GetCoresInput.serializeBinaryToWriter(this, writer);
|
8632 | return writer.getResultBuffer();
|
8633 | };
|
8634 |
|
8635 |
|
8636 |
|
8637 |
|
8638 |
|
8639 |
|
8640 |
|
8641 |
|
8642 |
|
8643 | proto.co.treelab.api.GetCoresInput.serializeBinaryToWriter = function(message, writer) {
|
8644 | var f = undefined;
|
8645 | f = message.getWorkspaceid();
|
8646 | if (f.length > 0) {
|
8647 | writer.writeString(
|
8648 | 1,
|
8649 | f
|
8650 | );
|
8651 | }
|
8652 | };
|
8653 |
|
8654 |
|
8655 |
|
8656 |
|
8657 |
|
8658 |
|
8659 | proto.co.treelab.api.GetCoresInput.prototype.getWorkspaceid = function() {
|
8660 | return (jspb.Message.getFieldWithDefault(this, 1, ""));
|
8661 | };
|
8662 |
|
8663 |
|
8664 |
|
8665 | proto.co.treelab.api.GetCoresInput.prototype.setWorkspaceid = function(value) {
|
8666 | jspb.Message.setProto3StringField(this, 1, value);
|
8667 | };
|
8668 |
|
8669 |
|
8670 |
|
8671 |
|
8672 |
|
8673 |
|
8674 |
|
8675 |
|
8676 |
|
8677 |
|
8678 |
|
8679 |
|
8680 |
|
8681 | proto.co.treelab.api.GetTablesInput = function(opt_data) {
|
8682 | jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
8683 | };
|
8684 | goog.inherits(proto.co.treelab.api.GetTablesInput, jspb.Message);
|
8685 | if (goog.DEBUG && !COMPILED) {
|
8686 | proto.co.treelab.api.GetTablesInput.displayName = 'proto.co.treelab.api.GetTablesInput';
|
8687 | }
|
8688 |
|
8689 |
|
8690 | if (jspb.Message.GENERATE_TO_OBJECT) {
|
8691 |
|
8692 |
|
8693 |
|
8694 |
|
8695 |
|
8696 |
|
8697 |
|
8698 |
|
8699 |
|
8700 |
|
8701 | proto.co.treelab.api.GetTablesInput.prototype.toObject = function(opt_includeInstance) {
|
8702 | return proto.co.treelab.api.GetTablesInput.toObject(opt_includeInstance, this);
|
8703 | };
|
8704 |
|
8705 |
|
8706 |
|
8707 |
|
8708 |
|
8709 |
|
8710 |
|
8711 |
|
8712 |
|
8713 |
|
8714 |
|
8715 | proto.co.treelab.api.GetTablesInput.toObject = function(includeInstance, msg) {
|
8716 | var f, obj = {
|
8717 | workspaceid: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
8718 | coreid: jspb.Message.getFieldWithDefault(msg, 2, "")
|
8719 | };
|
8720 |
|
8721 | if (includeInstance) {
|
8722 | obj.$jspbMessageInstance = msg;
|
8723 | }
|
8724 | return obj;
|
8725 | };
|
8726 | }
|
8727 |
|
8728 |
|
8729 |
|
8730 |
|
8731 |
|
8732 |
|
8733 |
|
8734 | proto.co.treelab.api.GetTablesInput.deserializeBinary = function(bytes) {
|
8735 | var reader = new jspb.BinaryReader(bytes);
|
8736 | var msg = new proto.co.treelab.api.GetTablesInput;
|
8737 | return proto.co.treelab.api.GetTablesInput.deserializeBinaryFromReader(msg, reader);
|
8738 | };
|
8739 |
|
8740 |
|
8741 |
|
8742 |
|
8743 |
|
8744 |
|
8745 |
|
8746 |
|
8747 |
|
8748 | proto.co.treelab.api.GetTablesInput.deserializeBinaryFromReader = function(msg, reader) {
|
8749 | while (reader.nextField()) {
|
8750 | if (reader.isEndGroup()) {
|
8751 | break;
|
8752 | }
|
8753 | var field = reader.getFieldNumber();
|
8754 | switch (field) {
|
8755 | case 1:
|
8756 | var value = (reader.readString());
|
8757 | msg.setWorkspaceid(value);
|
8758 | break;
|
8759 | case 2:
|
8760 | var value = (reader.readString());
|
8761 | msg.setCoreid(value);
|
8762 | break;
|
8763 | default:
|
8764 | reader.skipField();
|
8765 | break;
|
8766 | }
|
8767 | }
|
8768 | return msg;
|
8769 | };
|
8770 |
|
8771 |
|
8772 |
|
8773 |
|
8774 |
|
8775 |
|
8776 | proto.co.treelab.api.GetTablesInput.prototype.serializeBinary = function() {
|
8777 | var writer = new jspb.BinaryWriter();
|
8778 | proto.co.treelab.api.GetTablesInput.serializeBinaryToWriter(this, writer);
|
8779 | return writer.getResultBuffer();
|
8780 | };
|
8781 |
|
8782 |
|
8783 |
|
8784 |
|
8785 |
|
8786 |
|
8787 |
|
8788 |
|
8789 |
|
8790 | proto.co.treelab.api.GetTablesInput.serializeBinaryToWriter = function(message, writer) {
|
8791 | var f = undefined;
|
8792 | f = message.getWorkspaceid();
|
8793 | if (f.length > 0) {
|
8794 | writer.writeString(
|
8795 | 1,
|
8796 | f
|
8797 | );
|
8798 | }
|
8799 | f = message.getCoreid();
|
8800 | if (f.length > 0) {
|
8801 | writer.writeString(
|
8802 | 2,
|
8803 | f
|
8804 | );
|
8805 | }
|
8806 | };
|
8807 |
|
8808 |
|
8809 |
|
8810 |
|
8811 |
|
8812 |
|
8813 | proto.co.treelab.api.GetTablesInput.prototype.getWorkspaceid = function() {
|
8814 | return (jspb.Message.getFieldWithDefault(this, 1, ""));
|
8815 | };
|
8816 |
|
8817 |
|
8818 |
|
8819 | proto.co.treelab.api.GetTablesInput.prototype.setWorkspaceid = function(value) {
|
8820 | jspb.Message.setProto3StringField(this, 1, value);
|
8821 | };
|
8822 |
|
8823 |
|
8824 |
|
8825 |
|
8826 |
|
8827 |
|
8828 | proto.co.treelab.api.GetTablesInput.prototype.getCoreid = function() {
|
8829 | return (jspb.Message.getFieldWithDefault(this, 2, ""));
|
8830 | };
|
8831 |
|
8832 |
|
8833 |
|
8834 | proto.co.treelab.api.GetTablesInput.prototype.setCoreid = function(value) {
|
8835 | jspb.Message.setProto3StringField(this, 2, value);
|
8836 | };
|
8837 |
|
8838 |
|
8839 |
|
8840 |
|
8841 |
|
8842 |
|
8843 |
|
8844 |
|
8845 |
|
8846 |
|
8847 |
|
8848 |
|
8849 |
|
8850 | proto.co.treelab.api.WorkspaceId = function(opt_data) {
|
8851 | jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
8852 | };
|
8853 | goog.inherits(proto.co.treelab.api.WorkspaceId, jspb.Message);
|
8854 | if (goog.DEBUG && !COMPILED) {
|
8855 | proto.co.treelab.api.WorkspaceId.displayName = 'proto.co.treelab.api.WorkspaceId';
|
8856 | }
|
8857 |
|
8858 |
|
8859 | if (jspb.Message.GENERATE_TO_OBJECT) {
|
8860 |
|
8861 |
|
8862 |
|
8863 |
|
8864 |
|
8865 |
|
8866 |
|
8867 |
|
8868 |
|
8869 |
|
8870 | proto.co.treelab.api.WorkspaceId.prototype.toObject = function(opt_includeInstance) {
|
8871 | return proto.co.treelab.api.WorkspaceId.toObject(opt_includeInstance, this);
|
8872 | };
|
8873 |
|
8874 |
|
8875 |
|
8876 |
|
8877 |
|
8878 |
|
8879 |
|
8880 |
|
8881 |
|
8882 |
|
8883 |
|
8884 | proto.co.treelab.api.WorkspaceId.toObject = function(includeInstance, msg) {
|
8885 | var f, obj = {
|
8886 | id: jspb.Message.getFieldWithDefault(msg, 1, "")
|
8887 | };
|
8888 |
|
8889 | if (includeInstance) {
|
8890 | obj.$jspbMessageInstance = msg;
|
8891 | }
|
8892 | return obj;
|
8893 | };
|
8894 | }
|
8895 |
|
8896 |
|
8897 |
|
8898 |
|
8899 |
|
8900 |
|
8901 |
|
8902 | proto.co.treelab.api.WorkspaceId.deserializeBinary = function(bytes) {
|
8903 | var reader = new jspb.BinaryReader(bytes);
|
8904 | var msg = new proto.co.treelab.api.WorkspaceId;
|
8905 | return proto.co.treelab.api.WorkspaceId.deserializeBinaryFromReader(msg, reader);
|
8906 | };
|
8907 |
|
8908 |
|
8909 |
|
8910 |
|
8911 |
|
8912 |
|
8913 |
|
8914 |
|
8915 |
|
8916 | proto.co.treelab.api.WorkspaceId.deserializeBinaryFromReader = function(msg, reader) {
|
8917 | while (reader.nextField()) {
|
8918 | if (reader.isEndGroup()) {
|
8919 | break;
|
8920 | }
|
8921 | var field = reader.getFieldNumber();
|
8922 | switch (field) {
|
8923 | case 1:
|
8924 | var value = (reader.readString());
|
8925 | msg.setId(value);
|
8926 | break;
|
8927 | default:
|
8928 | reader.skipField();
|
8929 | break;
|
8930 | }
|
8931 | }
|
8932 | return msg;
|
8933 | };
|
8934 |
|
8935 |
|
8936 |
|
8937 |
|
8938 |
|
8939 |
|
8940 | proto.co.treelab.api.WorkspaceId.prototype.serializeBinary = function() {
|
8941 | var writer = new jspb.BinaryWriter();
|
8942 | proto.co.treelab.api.WorkspaceId.serializeBinaryToWriter(this, writer);
|
8943 | return writer.getResultBuffer();
|
8944 | };
|
8945 |
|
8946 |
|
8947 |
|
8948 |
|
8949 |
|
8950 |
|
8951 |
|
8952 |
|
8953 |
|
8954 | proto.co.treelab.api.WorkspaceId.serializeBinaryToWriter = function(message, writer) {
|
8955 | var f = undefined;
|
8956 | f = message.getId();
|
8957 | if (f.length > 0) {
|
8958 | writer.writeString(
|
8959 | 1,
|
8960 | f
|
8961 | );
|
8962 | }
|
8963 | };
|
8964 |
|
8965 |
|
8966 |
|
8967 |
|
8968 |
|
8969 |
|
8970 | proto.co.treelab.api.WorkspaceId.prototype.getId = function() {
|
8971 | return (jspb.Message.getFieldWithDefault(this, 1, ""));
|
8972 | };
|
8973 |
|
8974 |
|
8975 |
|
8976 | proto.co.treelab.api.WorkspaceId.prototype.setId = function(value) {
|
8977 | jspb.Message.setProto3StringField(this, 1, value);
|
8978 | };
|
8979 |
|
8980 |
|
8981 |
|
8982 |
|
8983 |
|
8984 |
|
8985 |
|
8986 |
|
8987 |
|
8988 |
|
8989 |
|
8990 |
|
8991 |
|
8992 | proto.co.treelab.api.CoreId = function(opt_data) {
|
8993 | jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
8994 | };
|
8995 | goog.inherits(proto.co.treelab.api.CoreId, jspb.Message);
|
8996 | if (goog.DEBUG && !COMPILED) {
|
8997 | proto.co.treelab.api.CoreId.displayName = 'proto.co.treelab.api.CoreId';
|
8998 | }
|
8999 |
|
9000 |
|
9001 | if (jspb.Message.GENERATE_TO_OBJECT) {
|
9002 |
|
9003 |
|
9004 |
|
9005 |
|
9006 |
|
9007 |
|
9008 |
|
9009 |
|
9010 |
|
9011 |
|
9012 | proto.co.treelab.api.CoreId.prototype.toObject = function(opt_includeInstance) {
|
9013 | return proto.co.treelab.api.CoreId.toObject(opt_includeInstance, this);
|
9014 | };
|
9015 |
|
9016 |
|
9017 |
|
9018 |
|
9019 |
|
9020 |
|
9021 |
|
9022 |
|
9023 |
|
9024 |
|
9025 |
|
9026 | proto.co.treelab.api.CoreId.toObject = function(includeInstance, msg) {
|
9027 | var f, obj = {
|
9028 | id: jspb.Message.getFieldWithDefault(msg, 1, "")
|
9029 | };
|
9030 |
|
9031 | if (includeInstance) {
|
9032 | obj.$jspbMessageInstance = msg;
|
9033 | }
|
9034 | return obj;
|
9035 | };
|
9036 | }
|
9037 |
|
9038 |
|
9039 |
|
9040 |
|
9041 |
|
9042 |
|
9043 |
|
9044 | proto.co.treelab.api.CoreId.deserializeBinary = function(bytes) {
|
9045 | var reader = new jspb.BinaryReader(bytes);
|
9046 | var msg = new proto.co.treelab.api.CoreId;
|
9047 | return proto.co.treelab.api.CoreId.deserializeBinaryFromReader(msg, reader);
|
9048 | };
|
9049 |
|
9050 |
|
9051 |
|
9052 |
|
9053 |
|
9054 |
|
9055 |
|
9056 |
|
9057 |
|
9058 | proto.co.treelab.api.CoreId.deserializeBinaryFromReader = function(msg, reader) {
|
9059 | while (reader.nextField()) {
|
9060 | if (reader.isEndGroup()) {
|
9061 | break;
|
9062 | }
|
9063 | var field = reader.getFieldNumber();
|
9064 | switch (field) {
|
9065 | case 1:
|
9066 | var value = (reader.readString());
|
9067 | msg.setId(value);
|
9068 | break;
|
9069 | default:
|
9070 | reader.skipField();
|
9071 | break;
|
9072 | }
|
9073 | }
|
9074 | return msg;
|
9075 | };
|
9076 |
|
9077 |
|
9078 |
|
9079 |
|
9080 |
|
9081 |
|
9082 | proto.co.treelab.api.CoreId.prototype.serializeBinary = function() {
|
9083 | var writer = new jspb.BinaryWriter();
|
9084 | proto.co.treelab.api.CoreId.serializeBinaryToWriter(this, writer);
|
9085 | return writer.getResultBuffer();
|
9086 | };
|
9087 |
|
9088 |
|
9089 |
|
9090 |
|
9091 |
|
9092 |
|
9093 |
|
9094 |
|
9095 |
|
9096 | proto.co.treelab.api.CoreId.serializeBinaryToWriter = function(message, writer) {
|
9097 | var f = undefined;
|
9098 | f = message.getId();
|
9099 | if (f.length > 0) {
|
9100 | writer.writeString(
|
9101 | 1,
|
9102 | f
|
9103 | );
|
9104 | }
|
9105 | };
|
9106 |
|
9107 |
|
9108 |
|
9109 |
|
9110 |
|
9111 |
|
9112 | proto.co.treelab.api.CoreId.prototype.getId = function() {
|
9113 | return (jspb.Message.getFieldWithDefault(this, 1, ""));
|
9114 | };
|
9115 |
|
9116 |
|
9117 |
|
9118 | proto.co.treelab.api.CoreId.prototype.setId = function(value) {
|
9119 | jspb.Message.setProto3StringField(this, 1, value);
|
9120 | };
|
9121 |
|
9122 |
|
9123 |
|
9124 |
|
9125 |
|
9126 |
|
9127 |
|
9128 |
|
9129 |
|
9130 |
|
9131 |
|
9132 |
|
9133 |
|
9134 | proto.co.treelab.api.TableId = function(opt_data) {
|
9135 | jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
9136 | };
|
9137 | goog.inherits(proto.co.treelab.api.TableId, jspb.Message);
|
9138 | if (goog.DEBUG && !COMPILED) {
|
9139 | proto.co.treelab.api.TableId.displayName = 'proto.co.treelab.api.TableId';
|
9140 | }
|
9141 |
|
9142 |
|
9143 | if (jspb.Message.GENERATE_TO_OBJECT) {
|
9144 |
|
9145 |
|
9146 |
|
9147 |
|
9148 |
|
9149 |
|
9150 |
|
9151 |
|
9152 |
|
9153 |
|
9154 | proto.co.treelab.api.TableId.prototype.toObject = function(opt_includeInstance) {
|
9155 | return proto.co.treelab.api.TableId.toObject(opt_includeInstance, this);
|
9156 | };
|
9157 |
|
9158 |
|
9159 |
|
9160 |
|
9161 |
|
9162 |
|
9163 |
|
9164 |
|
9165 |
|
9166 |
|
9167 |
|
9168 | proto.co.treelab.api.TableId.toObject = function(includeInstance, msg) {
|
9169 | var f, obj = {
|
9170 | id: jspb.Message.getFieldWithDefault(msg, 1, "")
|
9171 | };
|
9172 |
|
9173 | if (includeInstance) {
|
9174 | obj.$jspbMessageInstance = msg;
|
9175 | }
|
9176 | return obj;
|
9177 | };
|
9178 | }
|
9179 |
|
9180 |
|
9181 |
|
9182 |
|
9183 |
|
9184 |
|
9185 |
|
9186 | proto.co.treelab.api.TableId.deserializeBinary = function(bytes) {
|
9187 | var reader = new jspb.BinaryReader(bytes);
|
9188 | var msg = new proto.co.treelab.api.TableId;
|
9189 | return proto.co.treelab.api.TableId.deserializeBinaryFromReader(msg, reader);
|
9190 | };
|
9191 |
|
9192 |
|
9193 |
|
9194 |
|
9195 |
|
9196 |
|
9197 |
|
9198 |
|
9199 |
|
9200 | proto.co.treelab.api.TableId.deserializeBinaryFromReader = function(msg, reader) {
|
9201 | while (reader.nextField()) {
|
9202 | if (reader.isEndGroup()) {
|
9203 | break;
|
9204 | }
|
9205 | var field = reader.getFieldNumber();
|
9206 | switch (field) {
|
9207 | case 1:
|
9208 | var value = (reader.readString());
|
9209 | msg.setId(value);
|
9210 | break;
|
9211 | default:
|
9212 | reader.skipField();
|
9213 | break;
|
9214 | }
|
9215 | }
|
9216 | return msg;
|
9217 | };
|
9218 |
|
9219 |
|
9220 |
|
9221 |
|
9222 |
|
9223 |
|
9224 | proto.co.treelab.api.TableId.prototype.serializeBinary = function() {
|
9225 | var writer = new jspb.BinaryWriter();
|
9226 | proto.co.treelab.api.TableId.serializeBinaryToWriter(this, writer);
|
9227 | return writer.getResultBuffer();
|
9228 | };
|
9229 |
|
9230 |
|
9231 |
|
9232 |
|
9233 |
|
9234 |
|
9235 |
|
9236 |
|
9237 |
|
9238 | proto.co.treelab.api.TableId.serializeBinaryToWriter = function(message, writer) {
|
9239 | var f = undefined;
|
9240 | f = message.getId();
|
9241 | if (f.length > 0) {
|
9242 | writer.writeString(
|
9243 | 1,
|
9244 | f
|
9245 | );
|
9246 | }
|
9247 | };
|
9248 |
|
9249 |
|
9250 |
|
9251 |
|
9252 |
|
9253 |
|
9254 | proto.co.treelab.api.TableId.prototype.getId = function() {
|
9255 | return (jspb.Message.getFieldWithDefault(this, 1, ""));
|
9256 | };
|
9257 |
|
9258 |
|
9259 |
|
9260 | proto.co.treelab.api.TableId.prototype.setId = function(value) {
|
9261 | jspb.Message.setProto3StringField(this, 1, value);
|
9262 | };
|
9263 |
|
9264 |
|
9265 |
|
9266 |
|
9267 |
|
9268 |
|
9269 |
|
9270 |
|
9271 |
|
9272 |
|
9273 |
|
9274 |
|
9275 |
|
9276 | proto.co.treelab.api.ColumnId = function(opt_data) {
|
9277 | jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
9278 | };
|
9279 | goog.inherits(proto.co.treelab.api.ColumnId, jspb.Message);
|
9280 | if (goog.DEBUG && !COMPILED) {
|
9281 | proto.co.treelab.api.ColumnId.displayName = 'proto.co.treelab.api.ColumnId';
|
9282 | }
|
9283 |
|
9284 |
|
9285 | if (jspb.Message.GENERATE_TO_OBJECT) {
|
9286 |
|
9287 |
|
9288 |
|
9289 |
|
9290 |
|
9291 |
|
9292 |
|
9293 |
|
9294 |
|
9295 |
|
9296 | proto.co.treelab.api.ColumnId.prototype.toObject = function(opt_includeInstance) {
|
9297 | return proto.co.treelab.api.ColumnId.toObject(opt_includeInstance, this);
|
9298 | };
|
9299 |
|
9300 |
|
9301 |
|
9302 |
|
9303 |
|
9304 |
|
9305 |
|
9306 |
|
9307 |
|
9308 |
|
9309 |
|
9310 | proto.co.treelab.api.ColumnId.toObject = function(includeInstance, msg) {
|
9311 | var f, obj = {
|
9312 | id: jspb.Message.getFieldWithDefault(msg, 1, "")
|
9313 | };
|
9314 |
|
9315 | if (includeInstance) {
|
9316 | obj.$jspbMessageInstance = msg;
|
9317 | }
|
9318 | return obj;
|
9319 | };
|
9320 | }
|
9321 |
|
9322 |
|
9323 |
|
9324 |
|
9325 |
|
9326 |
|
9327 |
|
9328 | proto.co.treelab.api.ColumnId.deserializeBinary = function(bytes) {
|
9329 | var reader = new jspb.BinaryReader(bytes);
|
9330 | var msg = new proto.co.treelab.api.ColumnId;
|
9331 | return proto.co.treelab.api.ColumnId.deserializeBinaryFromReader(msg, reader);
|
9332 | };
|
9333 |
|
9334 |
|
9335 |
|
9336 |
|
9337 |
|
9338 |
|
9339 |
|
9340 |
|
9341 |
|
9342 | proto.co.treelab.api.ColumnId.deserializeBinaryFromReader = function(msg, reader) {
|
9343 | while (reader.nextField()) {
|
9344 | if (reader.isEndGroup()) {
|
9345 | break;
|
9346 | }
|
9347 | var field = reader.getFieldNumber();
|
9348 | switch (field) {
|
9349 | case 1:
|
9350 | var value = (reader.readString());
|
9351 | msg.setId(value);
|
9352 | break;
|
9353 | default:
|
9354 | reader.skipField();
|
9355 | break;
|
9356 | }
|
9357 | }
|
9358 | return msg;
|
9359 | };
|
9360 |
|
9361 |
|
9362 |
|
9363 |
|
9364 |
|
9365 |
|
9366 | proto.co.treelab.api.ColumnId.prototype.serializeBinary = function() {
|
9367 | var writer = new jspb.BinaryWriter();
|
9368 | proto.co.treelab.api.ColumnId.serializeBinaryToWriter(this, writer);
|
9369 | return writer.getResultBuffer();
|
9370 | };
|
9371 |
|
9372 |
|
9373 |
|
9374 |
|
9375 |
|
9376 |
|
9377 |
|
9378 |
|
9379 |
|
9380 | proto.co.treelab.api.ColumnId.serializeBinaryToWriter = function(message, writer) {
|
9381 | var f = undefined;
|
9382 | f = message.getId();
|
9383 | if (f.length > 0) {
|
9384 | writer.writeString(
|
9385 | 1,
|
9386 | f
|
9387 | );
|
9388 | }
|
9389 | };
|
9390 |
|
9391 |
|
9392 |
|
9393 |
|
9394 |
|
9395 |
|
9396 | proto.co.treelab.api.ColumnId.prototype.getId = function() {
|
9397 | return (jspb.Message.getFieldWithDefault(this, 1, ""));
|
9398 | };
|
9399 |
|
9400 |
|
9401 |
|
9402 | proto.co.treelab.api.ColumnId.prototype.setId = function(value) {
|
9403 | jspb.Message.setProto3StringField(this, 1, value);
|
9404 | };
|
9405 |
|
9406 |
|
9407 |
|
9408 |
|
9409 |
|
9410 |
|
9411 |
|
9412 |
|
9413 |
|
9414 |
|
9415 |
|
9416 |
|
9417 |
|
9418 | proto.co.treelab.api.RowId = function(opt_data) {
|
9419 | jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
9420 | };
|
9421 | goog.inherits(proto.co.treelab.api.RowId, jspb.Message);
|
9422 | if (goog.DEBUG && !COMPILED) {
|
9423 | proto.co.treelab.api.RowId.displayName = 'proto.co.treelab.api.RowId';
|
9424 | }
|
9425 |
|
9426 |
|
9427 | if (jspb.Message.GENERATE_TO_OBJECT) {
|
9428 |
|
9429 |
|
9430 |
|
9431 |
|
9432 |
|
9433 |
|
9434 |
|
9435 |
|
9436 |
|
9437 |
|
9438 | proto.co.treelab.api.RowId.prototype.toObject = function(opt_includeInstance) {
|
9439 | return proto.co.treelab.api.RowId.toObject(opt_includeInstance, this);
|
9440 | };
|
9441 |
|
9442 |
|
9443 |
|
9444 |
|
9445 |
|
9446 |
|
9447 |
|
9448 |
|
9449 |
|
9450 |
|
9451 |
|
9452 | proto.co.treelab.api.RowId.toObject = function(includeInstance, msg) {
|
9453 | var f, obj = {
|
9454 | id: jspb.Message.getFieldWithDefault(msg, 1, "")
|
9455 | };
|
9456 |
|
9457 | if (includeInstance) {
|
9458 | obj.$jspbMessageInstance = msg;
|
9459 | }
|
9460 | return obj;
|
9461 | };
|
9462 | }
|
9463 |
|
9464 |
|
9465 |
|
9466 |
|
9467 |
|
9468 |
|
9469 |
|
9470 | proto.co.treelab.api.RowId.deserializeBinary = function(bytes) {
|
9471 | var reader = new jspb.BinaryReader(bytes);
|
9472 | var msg = new proto.co.treelab.api.RowId;
|
9473 | return proto.co.treelab.api.RowId.deserializeBinaryFromReader(msg, reader);
|
9474 | };
|
9475 |
|
9476 |
|
9477 |
|
9478 |
|
9479 |
|
9480 |
|
9481 |
|
9482 |
|
9483 |
|
9484 | proto.co.treelab.api.RowId.deserializeBinaryFromReader = function(msg, reader) {
|
9485 | while (reader.nextField()) {
|
9486 | if (reader.isEndGroup()) {
|
9487 | break;
|
9488 | }
|
9489 | var field = reader.getFieldNumber();
|
9490 | switch (field) {
|
9491 | case 1:
|
9492 | var value = (reader.readString());
|
9493 | msg.setId(value);
|
9494 | break;
|
9495 | default:
|
9496 | reader.skipField();
|
9497 | break;
|
9498 | }
|
9499 | }
|
9500 | return msg;
|
9501 | };
|
9502 |
|
9503 |
|
9504 |
|
9505 |
|
9506 |
|
9507 |
|
9508 | proto.co.treelab.api.RowId.prototype.serializeBinary = function() {
|
9509 | var writer = new jspb.BinaryWriter();
|
9510 | proto.co.treelab.api.RowId.serializeBinaryToWriter(this, writer);
|
9511 | return writer.getResultBuffer();
|
9512 | };
|
9513 |
|
9514 |
|
9515 |
|
9516 |
|
9517 |
|
9518 |
|
9519 |
|
9520 |
|
9521 |
|
9522 | proto.co.treelab.api.RowId.serializeBinaryToWriter = function(message, writer) {
|
9523 | var f = undefined;
|
9524 | f = message.getId();
|
9525 | if (f.length > 0) {
|
9526 | writer.writeString(
|
9527 | 1,
|
9528 | f
|
9529 | );
|
9530 | }
|
9531 | };
|
9532 |
|
9533 |
|
9534 |
|
9535 |
|
9536 |
|
9537 |
|
9538 | proto.co.treelab.api.RowId.prototype.getId = function() {
|
9539 | return (jspb.Message.getFieldWithDefault(this, 1, ""));
|
9540 | };
|
9541 |
|
9542 |
|
9543 |
|
9544 | proto.co.treelab.api.RowId.prototype.setId = function(value) {
|
9545 | jspb.Message.setProto3StringField(this, 1, value);
|
9546 | };
|
9547 |
|
9548 |
|
9549 |
|
9550 |
|
9551 |
|
9552 |
|
9553 |
|
9554 |
|
9555 |
|
9556 |
|
9557 |
|
9558 |
|
9559 |
|
9560 | proto.co.treelab.api.ViewId = function(opt_data) {
|
9561 | jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
9562 | };
|
9563 | goog.inherits(proto.co.treelab.api.ViewId, jspb.Message);
|
9564 | if (goog.DEBUG && !COMPILED) {
|
9565 | proto.co.treelab.api.ViewId.displayName = 'proto.co.treelab.api.ViewId';
|
9566 | }
|
9567 |
|
9568 |
|
9569 | if (jspb.Message.GENERATE_TO_OBJECT) {
|
9570 |
|
9571 |
|
9572 |
|
9573 |
|
9574 |
|
9575 |
|
9576 |
|
9577 |
|
9578 |
|
9579 |
|
9580 | proto.co.treelab.api.ViewId.prototype.toObject = function(opt_includeInstance) {
|
9581 | return proto.co.treelab.api.ViewId.toObject(opt_includeInstance, this);
|
9582 | };
|
9583 |
|
9584 |
|
9585 |
|
9586 |
|
9587 |
|
9588 |
|
9589 |
|
9590 |
|
9591 |
|
9592 |
|
9593 |
|
9594 | proto.co.treelab.api.ViewId.toObject = function(includeInstance, msg) {
|
9595 | var f, obj = {
|
9596 | id: jspb.Message.getFieldWithDefault(msg, 1, "")
|
9597 | };
|
9598 |
|
9599 | if (includeInstance) {
|
9600 | obj.$jspbMessageInstance = msg;
|
9601 | }
|
9602 | return obj;
|
9603 | };
|
9604 | }
|
9605 |
|
9606 |
|
9607 |
|
9608 |
|
9609 |
|
9610 |
|
9611 |
|
9612 | proto.co.treelab.api.ViewId.deserializeBinary = function(bytes) {
|
9613 | var reader = new jspb.BinaryReader(bytes);
|
9614 | var msg = new proto.co.treelab.api.ViewId;
|
9615 | return proto.co.treelab.api.ViewId.deserializeBinaryFromReader(msg, reader);
|
9616 | };
|
9617 |
|
9618 |
|
9619 |
|
9620 |
|
9621 |
|
9622 |
|
9623 |
|
9624 |
|
9625 |
|
9626 | proto.co.treelab.api.ViewId.deserializeBinaryFromReader = function(msg, reader) {
|
9627 | while (reader.nextField()) {
|
9628 | if (reader.isEndGroup()) {
|
9629 | break;
|
9630 | }
|
9631 | var field = reader.getFieldNumber();
|
9632 | switch (field) {
|
9633 | case 1:
|
9634 | var value = (reader.readString());
|
9635 | msg.setId(value);
|
9636 | break;
|
9637 | default:
|
9638 | reader.skipField();
|
9639 | break;
|
9640 | }
|
9641 | }
|
9642 | return msg;
|
9643 | };
|
9644 |
|
9645 |
|
9646 |
|
9647 |
|
9648 |
|
9649 |
|
9650 | proto.co.treelab.api.ViewId.prototype.serializeBinary = function() {
|
9651 | var writer = new jspb.BinaryWriter();
|
9652 | proto.co.treelab.api.ViewId.serializeBinaryToWriter(this, writer);
|
9653 | return writer.getResultBuffer();
|
9654 | };
|
9655 |
|
9656 |
|
9657 |
|
9658 |
|
9659 |
|
9660 |
|
9661 |
|
9662 |
|
9663 |
|
9664 | proto.co.treelab.api.ViewId.serializeBinaryToWriter = function(message, writer) {
|
9665 | var f = undefined;
|
9666 | f = message.getId();
|
9667 | if (f.length > 0) {
|
9668 | writer.writeString(
|
9669 | 1,
|
9670 | f
|
9671 | );
|
9672 | }
|
9673 | };
|
9674 |
|
9675 |
|
9676 |
|
9677 |
|
9678 |
|
9679 |
|
9680 | proto.co.treelab.api.ViewId.prototype.getId = function() {
|
9681 | return (jspb.Message.getFieldWithDefault(this, 1, ""));
|
9682 | };
|
9683 |
|
9684 |
|
9685 |
|
9686 | proto.co.treelab.api.ViewId.prototype.setId = function(value) {
|
9687 | jspb.Message.setProto3StringField(this, 1, value);
|
9688 | };
|
9689 |
|
9690 |
|
9691 | goog.object.extend(exports, proto.co.treelab.api);
|