@ondewo/nlu-client-typescript 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (80) hide show
  1. package/LICENSE +191 -0
  2. package/README.md +27 -0
  3. package/api/google/api/annotations_pb.d.ts +6 -0
  4. package/api/google/api/annotations_pb.js +48 -0
  5. package/api/google/protobuf/any_pb.d.ts +28 -0
  6. package/api/google/protobuf/any_pb.js +275 -0
  7. package/api/google/protobuf/empty_pb.d.ts +18 -0
  8. package/api/google/protobuf/empty_pb.js +141 -0
  9. package/api/google/protobuf/field_mask_pb.d.ts +24 -0
  10. package/api/google/protobuf/field_mask_pb.js +196 -0
  11. package/api/google/protobuf/struct_pb.d.ts +99 -0
  12. package/api/google/protobuf/struct_pb.js +948 -0
  13. package/api/google/protobuf/timestamp_pb.d.ts +26 -0
  14. package/api/google/protobuf/timestamp_pb.js +236 -0
  15. package/api/google/rpc/status_pb.d.ts +33 -0
  16. package/api/google/rpc/status_pb.js +262 -0
  17. package/api/google/type/latlng_pb.d.ts +26 -0
  18. package/api/google/type/latlng_pb.js +200 -0
  19. package/api/ondewo/nlu/agent_grpc_web_pb.d.ts +489 -0
  20. package/api/ondewo/nlu/agent_grpc_web_pb.js +2476 -0
  21. package/api/ondewo/nlu/agent_pb.d.ts +2079 -0
  22. package/api/ondewo/nlu/agent_pb.js +16648 -0
  23. package/api/ondewo/nlu/aiservices_grpc_web_pb.d.ts +115 -0
  24. package/api/ondewo/nlu/aiservices_grpc_web_pb.js +569 -0
  25. package/api/ondewo/nlu/aiservices_pb.d.ts +933 -0
  26. package/api/ondewo/nlu/aiservices_pb.js +7601 -0
  27. package/api/ondewo/nlu/common_pb.d.ts +26 -0
  28. package/api/ondewo/nlu/common_pb.js +179 -0
  29. package/api/ondewo/nlu/context_grpc_web_pb.d.ts +92 -0
  30. package/api/ondewo/nlu/context_grpc_web_pb.js +447 -0
  31. package/api/ondewo/nlu/context_pb.d.ts +218 -0
  32. package/api/ondewo/nlu/context_pb.js +1788 -0
  33. package/api/ondewo/nlu/entity_type_grpc_web_pb.d.ts +165 -0
  34. package/api/ondewo/nlu/entity_type_grpc_web_pb.js +817 -0
  35. package/api/ondewo/nlu/entity_type_pb.d.ts +756 -0
  36. package/api/ondewo/nlu/entity_type_pb.js +5970 -0
  37. package/api/ondewo/nlu/intent_grpc_web_pb.d.ts +345 -0
  38. package/api/ondewo/nlu/intent_grpc_web_pb.js +1738 -0
  39. package/api/ondewo/nlu/intent_pb.d.ts +2344 -0
  40. package/api/ondewo/nlu/intent_pb.js +18784 -0
  41. package/api/ondewo/nlu/operation_metadata_pb.d.ts +112 -0
  42. package/api/ondewo/nlu/operation_metadata_pb.js +740 -0
  43. package/api/ondewo/nlu/operations_grpc_web_pb.d.ts +68 -0
  44. package/api/ondewo/nlu/operations_grpc_web_pb.js +331 -0
  45. package/api/ondewo/nlu/operations_pb.d.ts +236 -0
  46. package/api/ondewo/nlu/operations_pb.js +1826 -0
  47. package/api/ondewo/nlu/project_role_grpc_web_pb.d.ts +80 -0
  48. package/api/ondewo/nlu/project_role_grpc_web_pb.js +386 -0
  49. package/api/ondewo/nlu/project_role_pb.d.ts +220 -0
  50. package/api/ondewo/nlu/project_role_pb.js +1713 -0
  51. package/api/ondewo/nlu/project_statistics_grpc_web_pb.d.ts +116 -0
  52. package/api/ondewo/nlu/project_statistics_grpc_web_pb.js +571 -0
  53. package/api/ondewo/nlu/project_statistics_pb.d.ts +92 -0
  54. package/api/ondewo/nlu/project_statistics_pb.js +724 -0
  55. package/api/ondewo/nlu/server_statistics_grpc_web_pb.d.ts +57 -0
  56. package/api/ondewo/nlu/server_statistics_grpc_web_pb.js +264 -0
  57. package/api/ondewo/nlu/server_statistics_pb.d.ts +25 -0
  58. package/api/ondewo/nlu/server_statistics_pb.js +176 -0
  59. package/api/ondewo/nlu/session_grpc_web_pb.d.ts +176 -0
  60. package/api/ondewo/nlu/session_grpc_web_pb.js +884 -0
  61. package/api/ondewo/nlu/session_pb.d.ts +1192 -0
  62. package/api/ondewo/nlu/session_pb.js +9762 -0
  63. package/api/ondewo/nlu/user_grpc_web_pb.d.ts +200 -0
  64. package/api/ondewo/nlu/user_grpc_web_pb.js +998 -0
  65. package/api/ondewo/nlu/user_pb.d.ts +489 -0
  66. package/api/ondewo/nlu/user_pb.js +4057 -0
  67. package/api/ondewo/nlu/utility_grpc_web_pb.d.ts +115 -0
  68. package/api/ondewo/nlu/utility_grpc_web_pb.js +567 -0
  69. package/api/ondewo/nlu/utility_pb.d.ts +708 -0
  70. package/api/ondewo/nlu/utility_pb.js +5914 -0
  71. package/api/ondewo/nlu/webhook_grpc_web_pb.d.ts +55 -0
  72. package/api/ondewo/nlu/webhook_grpc_web_pb.js +268 -0
  73. package/api/ondewo/nlu/webhook_pb.d.ts +155 -0
  74. package/api/ondewo/nlu/webhook_pb.js +1267 -0
  75. package/api/ondewo/qa/qa_grpc_web_pb.d.ts +104 -0
  76. package/api/ondewo/qa/qa_grpc_web_pb.js +508 -0
  77. package/api/ondewo/qa/qa_pb.d.ts +304 -0
  78. package/api/ondewo/qa/qa_pb.js +2553 -0
  79. package/package.json +18 -0
  80. package/public-api.d.ts +38 -0
@@ -0,0 +1,2553 @@
1
+ // source: ondewo/qa/qa.proto
2
+ /**
3
+ * @fileoverview
4
+ * @enhanceable
5
+ * @suppress {missingRequire} reports error on implicit type usages.
6
+ * @suppress {messageConventions} JS Compiler reports an error if a variable or
7
+ * field starts with 'MSG_' and isn't a translatable message.
8
+ * @public
9
+ */
10
+ // GENERATED CODE -- DO NOT EDIT!
11
+ /* eslint-disable */
12
+ // @ts-nocheck
13
+
14
+ var jspb = require('google-protobuf');
15
+ var goog = jspb;
16
+ var global = (function() { return this || window || global || self || Function('return this')(); }).call(null);
17
+
18
+ var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
19
+ goog.object.extend(proto, google_protobuf_empty_pb);
20
+ var google_api_annotations_pb = require('../../google/api/annotations_pb.js');
21
+ goog.object.extend(proto, google_api_annotations_pb);
22
+ var ondewo_nlu_session_pb = require('../../ondewo/nlu/session_pb.js');
23
+ goog.object.extend(proto, ondewo_nlu_session_pb);
24
+ goog.exportSymbol('proto.ondewo.qa.GetAnswerRequest', null, global);
25
+ goog.exportSymbol('proto.ondewo.qa.GetAnswerResponse', null, global);
26
+ goog.exportSymbol('proto.ondewo.qa.GetProjectConfigRequest', null, global);
27
+ goog.exportSymbol('proto.ondewo.qa.GetProjectConfigResponse', null, global);
28
+ goog.exportSymbol('proto.ondewo.qa.GetServerStateResponse', null, global);
29
+ goog.exportSymbol('proto.ondewo.qa.ListProjectIdsResponse', null, global);
30
+ goog.exportSymbol('proto.ondewo.qa.RunScraperRequest', null, global);
31
+ goog.exportSymbol('proto.ondewo.qa.RunScraperResponse', null, global);
32
+ goog.exportSymbol('proto.ondewo.qa.RunScraperResponse.ScraperContainer', null, global);
33
+ goog.exportSymbol('proto.ondewo.qa.RunTrainingResponse', null, global);
34
+ goog.exportSymbol('proto.ondewo.qa.UpdateDatabaseRequest', null, global);
35
+ goog.exportSymbol('proto.ondewo.qa.UpdateDatabaseResponse', null, global);
36
+ goog.exportSymbol('proto.ondewo.qa.UrlFilter', null, global);
37
+ /**
38
+ * Generated by JsPbCodeGenerator.
39
+ * @param {Array=} opt_data Optional initial data array, typically from a
40
+ * server response, or constructed directly in Javascript. The array is used
41
+ * in place and becomes part of the constructed object. It is not cloned.
42
+ * If no data is provided, the constructed object will be empty, but still
43
+ * valid.
44
+ * @extends {jspb.Message}
45
+ * @constructor
46
+ */
47
+ proto.ondewo.qa.GetAnswerRequest = function(opt_data) {
48
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
49
+ };
50
+ goog.inherits(proto.ondewo.qa.GetAnswerRequest, jspb.Message);
51
+ if (goog.DEBUG && !COMPILED) {
52
+ /**
53
+ * @public
54
+ * @override
55
+ */
56
+ proto.ondewo.qa.GetAnswerRequest.displayName = 'proto.ondewo.qa.GetAnswerRequest';
57
+ }
58
+ /**
59
+ * Generated by JsPbCodeGenerator.
60
+ * @param {Array=} opt_data Optional initial data array, typically from a
61
+ * server response, or constructed directly in Javascript. The array is used
62
+ * in place and becomes part of the constructed object. It is not cloned.
63
+ * If no data is provided, the constructed object will be empty, but still
64
+ * valid.
65
+ * @extends {jspb.Message}
66
+ * @constructor
67
+ */
68
+ proto.ondewo.qa.GetAnswerResponse = function(opt_data) {
69
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
70
+ };
71
+ goog.inherits(proto.ondewo.qa.GetAnswerResponse, jspb.Message);
72
+ if (goog.DEBUG && !COMPILED) {
73
+ /**
74
+ * @public
75
+ * @override
76
+ */
77
+ proto.ondewo.qa.GetAnswerResponse.displayName = 'proto.ondewo.qa.GetAnswerResponse';
78
+ }
79
+ /**
80
+ * Generated by JsPbCodeGenerator.
81
+ * @param {Array=} opt_data Optional initial data array, typically from a
82
+ * server response, or constructed directly in Javascript. The array is used
83
+ * in place and becomes part of the constructed object. It is not cloned.
84
+ * If no data is provided, the constructed object will be empty, but still
85
+ * valid.
86
+ * @extends {jspb.Message}
87
+ * @constructor
88
+ */
89
+ proto.ondewo.qa.RunScraperRequest = function(opt_data) {
90
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.ondewo.qa.RunScraperRequest.repeatedFields_, null);
91
+ };
92
+ goog.inherits(proto.ondewo.qa.RunScraperRequest, jspb.Message);
93
+ if (goog.DEBUG && !COMPILED) {
94
+ /**
95
+ * @public
96
+ * @override
97
+ */
98
+ proto.ondewo.qa.RunScraperRequest.displayName = 'proto.ondewo.qa.RunScraperRequest';
99
+ }
100
+ /**
101
+ * Generated by JsPbCodeGenerator.
102
+ * @param {Array=} opt_data Optional initial data array, typically from a
103
+ * server response, or constructed directly in Javascript. The array is used
104
+ * in place and becomes part of the constructed object. It is not cloned.
105
+ * If no data is provided, the constructed object will be empty, but still
106
+ * valid.
107
+ * @extends {jspb.Message}
108
+ * @constructor
109
+ */
110
+ proto.ondewo.qa.RunScraperResponse = function(opt_data) {
111
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.ondewo.qa.RunScraperResponse.repeatedFields_, null);
112
+ };
113
+ goog.inherits(proto.ondewo.qa.RunScraperResponse, jspb.Message);
114
+ if (goog.DEBUG && !COMPILED) {
115
+ /**
116
+ * @public
117
+ * @override
118
+ */
119
+ proto.ondewo.qa.RunScraperResponse.displayName = 'proto.ondewo.qa.RunScraperResponse';
120
+ }
121
+ /**
122
+ * Generated by JsPbCodeGenerator.
123
+ * @param {Array=} opt_data Optional initial data array, typically from a
124
+ * server response, or constructed directly in Javascript. The array is used
125
+ * in place and becomes part of the constructed object. It is not cloned.
126
+ * If no data is provided, the constructed object will be empty, but still
127
+ * valid.
128
+ * @extends {jspb.Message}
129
+ * @constructor
130
+ */
131
+ proto.ondewo.qa.RunScraperResponse.ScraperContainer = function(opt_data) {
132
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
133
+ };
134
+ goog.inherits(proto.ondewo.qa.RunScraperResponse.ScraperContainer, jspb.Message);
135
+ if (goog.DEBUG && !COMPILED) {
136
+ /**
137
+ * @public
138
+ * @override
139
+ */
140
+ proto.ondewo.qa.RunScraperResponse.ScraperContainer.displayName = 'proto.ondewo.qa.RunScraperResponse.ScraperContainer';
141
+ }
142
+ /**
143
+ * Generated by JsPbCodeGenerator.
144
+ * @param {Array=} opt_data Optional initial data array, typically from a
145
+ * server response, or constructed directly in Javascript. The array is used
146
+ * in place and becomes part of the constructed object. It is not cloned.
147
+ * If no data is provided, the constructed object will be empty, but still
148
+ * valid.
149
+ * @extends {jspb.Message}
150
+ * @constructor
151
+ */
152
+ proto.ondewo.qa.RunTrainingResponse = function(opt_data) {
153
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
154
+ };
155
+ goog.inherits(proto.ondewo.qa.RunTrainingResponse, jspb.Message);
156
+ if (goog.DEBUG && !COMPILED) {
157
+ /**
158
+ * @public
159
+ * @override
160
+ */
161
+ proto.ondewo.qa.RunTrainingResponse.displayName = 'proto.ondewo.qa.RunTrainingResponse';
162
+ }
163
+ /**
164
+ * Generated by JsPbCodeGenerator.
165
+ * @param {Array=} opt_data Optional initial data array, typically from a
166
+ * server response, or constructed directly in Javascript. The array is used
167
+ * in place and becomes part of the constructed object. It is not cloned.
168
+ * If no data is provided, the constructed object will be empty, but still
169
+ * valid.
170
+ * @extends {jspb.Message}
171
+ * @constructor
172
+ */
173
+ proto.ondewo.qa.UrlFilter = function(opt_data) {
174
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.ondewo.qa.UrlFilter.repeatedFields_, null);
175
+ };
176
+ goog.inherits(proto.ondewo.qa.UrlFilter, jspb.Message);
177
+ if (goog.DEBUG && !COMPILED) {
178
+ /**
179
+ * @public
180
+ * @override
181
+ */
182
+ proto.ondewo.qa.UrlFilter.displayName = 'proto.ondewo.qa.UrlFilter';
183
+ }
184
+ /**
185
+ * Generated by JsPbCodeGenerator.
186
+ * @param {Array=} opt_data Optional initial data array, typically from a
187
+ * server response, or constructed directly in Javascript. The array is used
188
+ * in place and becomes part of the constructed object. It is not cloned.
189
+ * If no data is provided, the constructed object will be empty, but still
190
+ * valid.
191
+ * @extends {jspb.Message}
192
+ * @constructor
193
+ */
194
+ proto.ondewo.qa.GetServerStateResponse = function(opt_data) {
195
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
196
+ };
197
+ goog.inherits(proto.ondewo.qa.GetServerStateResponse, jspb.Message);
198
+ if (goog.DEBUG && !COMPILED) {
199
+ /**
200
+ * @public
201
+ * @override
202
+ */
203
+ proto.ondewo.qa.GetServerStateResponse.displayName = 'proto.ondewo.qa.GetServerStateResponse';
204
+ }
205
+ /**
206
+ * Generated by JsPbCodeGenerator.
207
+ * @param {Array=} opt_data Optional initial data array, typically from a
208
+ * server response, or constructed directly in Javascript. The array is used
209
+ * in place and becomes part of the constructed object. It is not cloned.
210
+ * If no data is provided, the constructed object will be empty, but still
211
+ * valid.
212
+ * @extends {jspb.Message}
213
+ * @constructor
214
+ */
215
+ proto.ondewo.qa.ListProjectIdsResponse = function(opt_data) {
216
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.ondewo.qa.ListProjectIdsResponse.repeatedFields_, null);
217
+ };
218
+ goog.inherits(proto.ondewo.qa.ListProjectIdsResponse, jspb.Message);
219
+ if (goog.DEBUG && !COMPILED) {
220
+ /**
221
+ * @public
222
+ * @override
223
+ */
224
+ proto.ondewo.qa.ListProjectIdsResponse.displayName = 'proto.ondewo.qa.ListProjectIdsResponse';
225
+ }
226
+ /**
227
+ * Generated by JsPbCodeGenerator.
228
+ * @param {Array=} opt_data Optional initial data array, typically from a
229
+ * server response, or constructed directly in Javascript. The array is used
230
+ * in place and becomes part of the constructed object. It is not cloned.
231
+ * If no data is provided, the constructed object will be empty, but still
232
+ * valid.
233
+ * @extends {jspb.Message}
234
+ * @constructor
235
+ */
236
+ proto.ondewo.qa.GetProjectConfigRequest = function(opt_data) {
237
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
238
+ };
239
+ goog.inherits(proto.ondewo.qa.GetProjectConfigRequest, jspb.Message);
240
+ if (goog.DEBUG && !COMPILED) {
241
+ /**
242
+ * @public
243
+ * @override
244
+ */
245
+ proto.ondewo.qa.GetProjectConfigRequest.displayName = 'proto.ondewo.qa.GetProjectConfigRequest';
246
+ }
247
+ /**
248
+ * Generated by JsPbCodeGenerator.
249
+ * @param {Array=} opt_data Optional initial data array, typically from a
250
+ * server response, or constructed directly in Javascript. The array is used
251
+ * in place and becomes part of the constructed object. It is not cloned.
252
+ * If no data is provided, the constructed object will be empty, but still
253
+ * valid.
254
+ * @extends {jspb.Message}
255
+ * @constructor
256
+ */
257
+ proto.ondewo.qa.GetProjectConfigResponse = function(opt_data) {
258
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
259
+ };
260
+ goog.inherits(proto.ondewo.qa.GetProjectConfigResponse, jspb.Message);
261
+ if (goog.DEBUG && !COMPILED) {
262
+ /**
263
+ * @public
264
+ * @override
265
+ */
266
+ proto.ondewo.qa.GetProjectConfigResponse.displayName = 'proto.ondewo.qa.GetProjectConfigResponse';
267
+ }
268
+ /**
269
+ * Generated by JsPbCodeGenerator.
270
+ * @param {Array=} opt_data Optional initial data array, typically from a
271
+ * server response, or constructed directly in Javascript. The array is used
272
+ * in place and becomes part of the constructed object. It is not cloned.
273
+ * If no data is provided, the constructed object will be empty, but still
274
+ * valid.
275
+ * @extends {jspb.Message}
276
+ * @constructor
277
+ */
278
+ proto.ondewo.qa.UpdateDatabaseRequest = function(opt_data) {
279
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.ondewo.qa.UpdateDatabaseRequest.repeatedFields_, null);
280
+ };
281
+ goog.inherits(proto.ondewo.qa.UpdateDatabaseRequest, jspb.Message);
282
+ if (goog.DEBUG && !COMPILED) {
283
+ /**
284
+ * @public
285
+ * @override
286
+ */
287
+ proto.ondewo.qa.UpdateDatabaseRequest.displayName = 'proto.ondewo.qa.UpdateDatabaseRequest';
288
+ }
289
+ /**
290
+ * Generated by JsPbCodeGenerator.
291
+ * @param {Array=} opt_data Optional initial data array, typically from a
292
+ * server response, or constructed directly in Javascript. The array is used
293
+ * in place and becomes part of the constructed object. It is not cloned.
294
+ * If no data is provided, the constructed object will be empty, but still
295
+ * valid.
296
+ * @extends {jspb.Message}
297
+ * @constructor
298
+ */
299
+ proto.ondewo.qa.UpdateDatabaseResponse = function(opt_data) {
300
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.ondewo.qa.UpdateDatabaseResponse.repeatedFields_, null);
301
+ };
302
+ goog.inherits(proto.ondewo.qa.UpdateDatabaseResponse, jspb.Message);
303
+ if (goog.DEBUG && !COMPILED) {
304
+ /**
305
+ * @public
306
+ * @override
307
+ */
308
+ proto.ondewo.qa.UpdateDatabaseResponse.displayName = 'proto.ondewo.qa.UpdateDatabaseResponse';
309
+ }
310
+
311
+
312
+
313
+ if (jspb.Message.GENERATE_TO_OBJECT) {
314
+ /**
315
+ * Creates an object representation of this proto.
316
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
317
+ * Optional fields that are not set will be set to undefined.
318
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
319
+ * For the list of reserved names please see:
320
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
321
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
322
+ * JSPB instance for transitional soy proto support:
323
+ * http://goto/soy-param-migration
324
+ * @return {!Object}
325
+ */
326
+ proto.ondewo.qa.GetAnswerRequest.prototype.toObject = function(opt_includeInstance) {
327
+ return proto.ondewo.qa.GetAnswerRequest.toObject(opt_includeInstance, this);
328
+ };
329
+
330
+
331
+ /**
332
+ * Static version of the {@see toObject} method.
333
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
334
+ * the JSPB instance for transitional soy proto support:
335
+ * http://goto/soy-param-migration
336
+ * @param {!proto.ondewo.qa.GetAnswerRequest} msg The msg instance to transform.
337
+ * @return {!Object}
338
+ * @suppress {unusedLocalVariables} f is only used for nested messages
339
+ */
340
+ proto.ondewo.qa.GetAnswerRequest.toObject = function(includeInstance, msg) {
341
+ var f, obj = {
342
+ sessionId: jspb.Message.getFieldWithDefault(msg, 1, ""),
343
+ text: (f = msg.getText()) && ondewo_nlu_session_pb.TextInput.toObject(includeInstance, f),
344
+ maxNumAnswers: jspb.Message.getFieldWithDefault(msg, 3, 0),
345
+ thresholdReader: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
346
+ thresholdRetriever: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
347
+ thresholdOverall: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
348
+ readerModelName: jspb.Message.getFieldWithDefault(msg, 7, ""),
349
+ urlFilter: (f = msg.getUrlFilter()) && proto.ondewo.qa.UrlFilter.toObject(includeInstance, f)
350
+ };
351
+
352
+ if (includeInstance) {
353
+ obj.$jspbMessageInstance = msg;
354
+ }
355
+ return obj;
356
+ };
357
+ }
358
+
359
+
360
+ /**
361
+ * Deserializes binary data (in protobuf wire format).
362
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
363
+ * @return {!proto.ondewo.qa.GetAnswerRequest}
364
+ */
365
+ proto.ondewo.qa.GetAnswerRequest.deserializeBinary = function(bytes) {
366
+ var reader = new jspb.BinaryReader(bytes);
367
+ var msg = new proto.ondewo.qa.GetAnswerRequest;
368
+ return proto.ondewo.qa.GetAnswerRequest.deserializeBinaryFromReader(msg, reader);
369
+ };
370
+
371
+
372
+ /**
373
+ * Deserializes binary data (in protobuf wire format) from the
374
+ * given reader into the given message object.
375
+ * @param {!proto.ondewo.qa.GetAnswerRequest} msg The message object to deserialize into.
376
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
377
+ * @return {!proto.ondewo.qa.GetAnswerRequest}
378
+ */
379
+ proto.ondewo.qa.GetAnswerRequest.deserializeBinaryFromReader = function(msg, reader) {
380
+ while (reader.nextField()) {
381
+ if (reader.isEndGroup()) {
382
+ break;
383
+ }
384
+ var field = reader.getFieldNumber();
385
+ switch (field) {
386
+ case 1:
387
+ var value = /** @type {string} */ (reader.readString());
388
+ msg.setSessionId(value);
389
+ break;
390
+ case 2:
391
+ var value = new ondewo_nlu_session_pb.TextInput;
392
+ reader.readMessage(value,ondewo_nlu_session_pb.TextInput.deserializeBinaryFromReader);
393
+ msg.setText(value);
394
+ break;
395
+ case 3:
396
+ var value = /** @type {number} */ (reader.readInt32());
397
+ msg.setMaxNumAnswers(value);
398
+ break;
399
+ case 4:
400
+ var value = /** @type {number} */ (reader.readFloat());
401
+ msg.setThresholdReader(value);
402
+ break;
403
+ case 5:
404
+ var value = /** @type {number} */ (reader.readFloat());
405
+ msg.setThresholdRetriever(value);
406
+ break;
407
+ case 6:
408
+ var value = /** @type {number} */ (reader.readFloat());
409
+ msg.setThresholdOverall(value);
410
+ break;
411
+ case 7:
412
+ var value = /** @type {string} */ (reader.readString());
413
+ msg.setReaderModelName(value);
414
+ break;
415
+ case 8:
416
+ var value = new proto.ondewo.qa.UrlFilter;
417
+ reader.readMessage(value,proto.ondewo.qa.UrlFilter.deserializeBinaryFromReader);
418
+ msg.setUrlFilter(value);
419
+ break;
420
+ default:
421
+ reader.skipField();
422
+ break;
423
+ }
424
+ }
425
+ return msg;
426
+ };
427
+
428
+
429
+ /**
430
+ * Serializes the message to binary data (in protobuf wire format).
431
+ * @return {!Uint8Array}
432
+ */
433
+ proto.ondewo.qa.GetAnswerRequest.prototype.serializeBinary = function() {
434
+ var writer = new jspb.BinaryWriter();
435
+ proto.ondewo.qa.GetAnswerRequest.serializeBinaryToWriter(this, writer);
436
+ return writer.getResultBuffer();
437
+ };
438
+
439
+
440
+ /**
441
+ * Serializes the given message to binary data (in protobuf wire
442
+ * format), writing to the given BinaryWriter.
443
+ * @param {!proto.ondewo.qa.GetAnswerRequest} message
444
+ * @param {!jspb.BinaryWriter} writer
445
+ * @suppress {unusedLocalVariables} f is only used for nested messages
446
+ */
447
+ proto.ondewo.qa.GetAnswerRequest.serializeBinaryToWriter = function(message, writer) {
448
+ var f = undefined;
449
+ f = message.getSessionId();
450
+ if (f.length > 0) {
451
+ writer.writeString(
452
+ 1,
453
+ f
454
+ );
455
+ }
456
+ f = message.getText();
457
+ if (f != null) {
458
+ writer.writeMessage(
459
+ 2,
460
+ f,
461
+ ondewo_nlu_session_pb.TextInput.serializeBinaryToWriter
462
+ );
463
+ }
464
+ f = message.getMaxNumAnswers();
465
+ if (f !== 0) {
466
+ writer.writeInt32(
467
+ 3,
468
+ f
469
+ );
470
+ }
471
+ f = message.getThresholdReader();
472
+ if (f !== 0.0) {
473
+ writer.writeFloat(
474
+ 4,
475
+ f
476
+ );
477
+ }
478
+ f = message.getThresholdRetriever();
479
+ if (f !== 0.0) {
480
+ writer.writeFloat(
481
+ 5,
482
+ f
483
+ );
484
+ }
485
+ f = message.getThresholdOverall();
486
+ if (f !== 0.0) {
487
+ writer.writeFloat(
488
+ 6,
489
+ f
490
+ );
491
+ }
492
+ f = message.getReaderModelName();
493
+ if (f.length > 0) {
494
+ writer.writeString(
495
+ 7,
496
+ f
497
+ );
498
+ }
499
+ f = message.getUrlFilter();
500
+ if (f != null) {
501
+ writer.writeMessage(
502
+ 8,
503
+ f,
504
+ proto.ondewo.qa.UrlFilter.serializeBinaryToWriter
505
+ );
506
+ }
507
+ };
508
+
509
+
510
+ /**
511
+ * optional string session_id = 1;
512
+ * @return {string}
513
+ */
514
+ proto.ondewo.qa.GetAnswerRequest.prototype.getSessionId = function() {
515
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
516
+ };
517
+
518
+
519
+ /**
520
+ * @param {string} value
521
+ * @return {!proto.ondewo.qa.GetAnswerRequest} returns this
522
+ */
523
+ proto.ondewo.qa.GetAnswerRequest.prototype.setSessionId = function(value) {
524
+ return jspb.Message.setProto3StringField(this, 1, value);
525
+ };
526
+
527
+
528
+ /**
529
+ * optional ondewo.nlu.TextInput text = 2;
530
+ * @return {?proto.ondewo.nlu.TextInput}
531
+ */
532
+ proto.ondewo.qa.GetAnswerRequest.prototype.getText = function() {
533
+ return /** @type{?proto.ondewo.nlu.TextInput} */ (
534
+ jspb.Message.getWrapperField(this, ondewo_nlu_session_pb.TextInput, 2));
535
+ };
536
+
537
+
538
+ /**
539
+ * @param {?proto.ondewo.nlu.TextInput|undefined} value
540
+ * @return {!proto.ondewo.qa.GetAnswerRequest} returns this
541
+ */
542
+ proto.ondewo.qa.GetAnswerRequest.prototype.setText = function(value) {
543
+ return jspb.Message.setWrapperField(this, 2, value);
544
+ };
545
+
546
+
547
+ /**
548
+ * Clears the message field making it undefined.
549
+ * @return {!proto.ondewo.qa.GetAnswerRequest} returns this
550
+ */
551
+ proto.ondewo.qa.GetAnswerRequest.prototype.clearText = function() {
552
+ return this.setText(undefined);
553
+ };
554
+
555
+
556
+ /**
557
+ * Returns whether this field is set.
558
+ * @return {boolean}
559
+ */
560
+ proto.ondewo.qa.GetAnswerRequest.prototype.hasText = function() {
561
+ return jspb.Message.getField(this, 2) != null;
562
+ };
563
+
564
+
565
+ /**
566
+ * optional int32 max_num_answers = 3;
567
+ * @return {number}
568
+ */
569
+ proto.ondewo.qa.GetAnswerRequest.prototype.getMaxNumAnswers = function() {
570
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
571
+ };
572
+
573
+
574
+ /**
575
+ * @param {number} value
576
+ * @return {!proto.ondewo.qa.GetAnswerRequest} returns this
577
+ */
578
+ proto.ondewo.qa.GetAnswerRequest.prototype.setMaxNumAnswers = function(value) {
579
+ return jspb.Message.setProto3IntField(this, 3, value);
580
+ };
581
+
582
+
583
+ /**
584
+ * optional float threshold_reader = 4;
585
+ * @return {number}
586
+ */
587
+ proto.ondewo.qa.GetAnswerRequest.prototype.getThresholdReader = function() {
588
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
589
+ };
590
+
591
+
592
+ /**
593
+ * @param {number} value
594
+ * @return {!proto.ondewo.qa.GetAnswerRequest} returns this
595
+ */
596
+ proto.ondewo.qa.GetAnswerRequest.prototype.setThresholdReader = function(value) {
597
+ return jspb.Message.setProto3FloatField(this, 4, value);
598
+ };
599
+
600
+
601
+ /**
602
+ * optional float threshold_retriever = 5;
603
+ * @return {number}
604
+ */
605
+ proto.ondewo.qa.GetAnswerRequest.prototype.getThresholdRetriever = function() {
606
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
607
+ };
608
+
609
+
610
+ /**
611
+ * @param {number} value
612
+ * @return {!proto.ondewo.qa.GetAnswerRequest} returns this
613
+ */
614
+ proto.ondewo.qa.GetAnswerRequest.prototype.setThresholdRetriever = function(value) {
615
+ return jspb.Message.setProto3FloatField(this, 5, value);
616
+ };
617
+
618
+
619
+ /**
620
+ * optional float threshold_overall = 6;
621
+ * @return {number}
622
+ */
623
+ proto.ondewo.qa.GetAnswerRequest.prototype.getThresholdOverall = function() {
624
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 6, 0.0));
625
+ };
626
+
627
+
628
+ /**
629
+ * @param {number} value
630
+ * @return {!proto.ondewo.qa.GetAnswerRequest} returns this
631
+ */
632
+ proto.ondewo.qa.GetAnswerRequest.prototype.setThresholdOverall = function(value) {
633
+ return jspb.Message.setProto3FloatField(this, 6, value);
634
+ };
635
+
636
+
637
+ /**
638
+ * optional string reader_model_name = 7;
639
+ * @return {string}
640
+ */
641
+ proto.ondewo.qa.GetAnswerRequest.prototype.getReaderModelName = function() {
642
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
643
+ };
644
+
645
+
646
+ /**
647
+ * @param {string} value
648
+ * @return {!proto.ondewo.qa.GetAnswerRequest} returns this
649
+ */
650
+ proto.ondewo.qa.GetAnswerRequest.prototype.setReaderModelName = function(value) {
651
+ return jspb.Message.setProto3StringField(this, 7, value);
652
+ };
653
+
654
+
655
+ /**
656
+ * optional UrlFilter url_filter = 8;
657
+ * @return {?proto.ondewo.qa.UrlFilter}
658
+ */
659
+ proto.ondewo.qa.GetAnswerRequest.prototype.getUrlFilter = function() {
660
+ return /** @type{?proto.ondewo.qa.UrlFilter} */ (
661
+ jspb.Message.getWrapperField(this, proto.ondewo.qa.UrlFilter, 8));
662
+ };
663
+
664
+
665
+ /**
666
+ * @param {?proto.ondewo.qa.UrlFilter|undefined} value
667
+ * @return {!proto.ondewo.qa.GetAnswerRequest} returns this
668
+ */
669
+ proto.ondewo.qa.GetAnswerRequest.prototype.setUrlFilter = function(value) {
670
+ return jspb.Message.setWrapperField(this, 8, value);
671
+ };
672
+
673
+
674
+ /**
675
+ * Clears the message field making it undefined.
676
+ * @return {!proto.ondewo.qa.GetAnswerRequest} returns this
677
+ */
678
+ proto.ondewo.qa.GetAnswerRequest.prototype.clearUrlFilter = function() {
679
+ return this.setUrlFilter(undefined);
680
+ };
681
+
682
+
683
+ /**
684
+ * Returns whether this field is set.
685
+ * @return {boolean}
686
+ */
687
+ proto.ondewo.qa.GetAnswerRequest.prototype.hasUrlFilter = function() {
688
+ return jspb.Message.getField(this, 8) != null;
689
+ };
690
+
691
+
692
+
693
+
694
+
695
+ if (jspb.Message.GENERATE_TO_OBJECT) {
696
+ /**
697
+ * Creates an object representation of this proto.
698
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
699
+ * Optional fields that are not set will be set to undefined.
700
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
701
+ * For the list of reserved names please see:
702
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
703
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
704
+ * JSPB instance for transitional soy proto support:
705
+ * http://goto/soy-param-migration
706
+ * @return {!Object}
707
+ */
708
+ proto.ondewo.qa.GetAnswerResponse.prototype.toObject = function(opt_includeInstance) {
709
+ return proto.ondewo.qa.GetAnswerResponse.toObject(opt_includeInstance, this);
710
+ };
711
+
712
+
713
+ /**
714
+ * Static version of the {@see toObject} method.
715
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
716
+ * the JSPB instance for transitional soy proto support:
717
+ * http://goto/soy-param-migration
718
+ * @param {!proto.ondewo.qa.GetAnswerResponse} msg The msg instance to transform.
719
+ * @return {!Object}
720
+ * @suppress {unusedLocalVariables} f is only used for nested messages
721
+ */
722
+ proto.ondewo.qa.GetAnswerResponse.toObject = function(includeInstance, msg) {
723
+ var f, obj = {
724
+ queryResult: (f = msg.getQueryResult()) && ondewo_nlu_session_pb.DetectIntentResponse.toObject(includeInstance, f)
725
+ };
726
+
727
+ if (includeInstance) {
728
+ obj.$jspbMessageInstance = msg;
729
+ }
730
+ return obj;
731
+ };
732
+ }
733
+
734
+
735
+ /**
736
+ * Deserializes binary data (in protobuf wire format).
737
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
738
+ * @return {!proto.ondewo.qa.GetAnswerResponse}
739
+ */
740
+ proto.ondewo.qa.GetAnswerResponse.deserializeBinary = function(bytes) {
741
+ var reader = new jspb.BinaryReader(bytes);
742
+ var msg = new proto.ondewo.qa.GetAnswerResponse;
743
+ return proto.ondewo.qa.GetAnswerResponse.deserializeBinaryFromReader(msg, reader);
744
+ };
745
+
746
+
747
+ /**
748
+ * Deserializes binary data (in protobuf wire format) from the
749
+ * given reader into the given message object.
750
+ * @param {!proto.ondewo.qa.GetAnswerResponse} msg The message object to deserialize into.
751
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
752
+ * @return {!proto.ondewo.qa.GetAnswerResponse}
753
+ */
754
+ proto.ondewo.qa.GetAnswerResponse.deserializeBinaryFromReader = function(msg, reader) {
755
+ while (reader.nextField()) {
756
+ if (reader.isEndGroup()) {
757
+ break;
758
+ }
759
+ var field = reader.getFieldNumber();
760
+ switch (field) {
761
+ case 2:
762
+ var value = new ondewo_nlu_session_pb.DetectIntentResponse;
763
+ reader.readMessage(value,ondewo_nlu_session_pb.DetectIntentResponse.deserializeBinaryFromReader);
764
+ msg.setQueryResult(value);
765
+ break;
766
+ default:
767
+ reader.skipField();
768
+ break;
769
+ }
770
+ }
771
+ return msg;
772
+ };
773
+
774
+
775
+ /**
776
+ * Serializes the message to binary data (in protobuf wire format).
777
+ * @return {!Uint8Array}
778
+ */
779
+ proto.ondewo.qa.GetAnswerResponse.prototype.serializeBinary = function() {
780
+ var writer = new jspb.BinaryWriter();
781
+ proto.ondewo.qa.GetAnswerResponse.serializeBinaryToWriter(this, writer);
782
+ return writer.getResultBuffer();
783
+ };
784
+
785
+
786
+ /**
787
+ * Serializes the given message to binary data (in protobuf wire
788
+ * format), writing to the given BinaryWriter.
789
+ * @param {!proto.ondewo.qa.GetAnswerResponse} message
790
+ * @param {!jspb.BinaryWriter} writer
791
+ * @suppress {unusedLocalVariables} f is only used for nested messages
792
+ */
793
+ proto.ondewo.qa.GetAnswerResponse.serializeBinaryToWriter = function(message, writer) {
794
+ var f = undefined;
795
+ f = message.getQueryResult();
796
+ if (f != null) {
797
+ writer.writeMessage(
798
+ 2,
799
+ f,
800
+ ondewo_nlu_session_pb.DetectIntentResponse.serializeBinaryToWriter
801
+ );
802
+ }
803
+ };
804
+
805
+
806
+ /**
807
+ * optional ondewo.nlu.DetectIntentResponse query_result = 2;
808
+ * @return {?proto.ondewo.nlu.DetectIntentResponse}
809
+ */
810
+ proto.ondewo.qa.GetAnswerResponse.prototype.getQueryResult = function() {
811
+ return /** @type{?proto.ondewo.nlu.DetectIntentResponse} */ (
812
+ jspb.Message.getWrapperField(this, ondewo_nlu_session_pb.DetectIntentResponse, 2));
813
+ };
814
+
815
+
816
+ /**
817
+ * @param {?proto.ondewo.nlu.DetectIntentResponse|undefined} value
818
+ * @return {!proto.ondewo.qa.GetAnswerResponse} returns this
819
+ */
820
+ proto.ondewo.qa.GetAnswerResponse.prototype.setQueryResult = function(value) {
821
+ return jspb.Message.setWrapperField(this, 2, value);
822
+ };
823
+
824
+
825
+ /**
826
+ * Clears the message field making it undefined.
827
+ * @return {!proto.ondewo.qa.GetAnswerResponse} returns this
828
+ */
829
+ proto.ondewo.qa.GetAnswerResponse.prototype.clearQueryResult = function() {
830
+ return this.setQueryResult(undefined);
831
+ };
832
+
833
+
834
+ /**
835
+ * Returns whether this field is set.
836
+ * @return {boolean}
837
+ */
838
+ proto.ondewo.qa.GetAnswerResponse.prototype.hasQueryResult = function() {
839
+ return jspb.Message.getField(this, 2) != null;
840
+ };
841
+
842
+
843
+
844
+ /**
845
+ * List of repeated fields within this message type.
846
+ * @private {!Array<number>}
847
+ * @const
848
+ */
849
+ proto.ondewo.qa.RunScraperRequest.repeatedFields_ = [1];
850
+
851
+
852
+
853
+ if (jspb.Message.GENERATE_TO_OBJECT) {
854
+ /**
855
+ * Creates an object representation of this proto.
856
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
857
+ * Optional fields that are not set will be set to undefined.
858
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
859
+ * For the list of reserved names please see:
860
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
861
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
862
+ * JSPB instance for transitional soy proto support:
863
+ * http://goto/soy-param-migration
864
+ * @return {!Object}
865
+ */
866
+ proto.ondewo.qa.RunScraperRequest.prototype.toObject = function(opt_includeInstance) {
867
+ return proto.ondewo.qa.RunScraperRequest.toObject(opt_includeInstance, this);
868
+ };
869
+
870
+
871
+ /**
872
+ * Static version of the {@see toObject} method.
873
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
874
+ * the JSPB instance for transitional soy proto support:
875
+ * http://goto/soy-param-migration
876
+ * @param {!proto.ondewo.qa.RunScraperRequest} msg The msg instance to transform.
877
+ * @return {!Object}
878
+ * @suppress {unusedLocalVariables} f is only used for nested messages
879
+ */
880
+ proto.ondewo.qa.RunScraperRequest.toObject = function(includeInstance, msg) {
881
+ var f, obj = {
882
+ projectIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
883
+ };
884
+
885
+ if (includeInstance) {
886
+ obj.$jspbMessageInstance = msg;
887
+ }
888
+ return obj;
889
+ };
890
+ }
891
+
892
+
893
+ /**
894
+ * Deserializes binary data (in protobuf wire format).
895
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
896
+ * @return {!proto.ondewo.qa.RunScraperRequest}
897
+ */
898
+ proto.ondewo.qa.RunScraperRequest.deserializeBinary = function(bytes) {
899
+ var reader = new jspb.BinaryReader(bytes);
900
+ var msg = new proto.ondewo.qa.RunScraperRequest;
901
+ return proto.ondewo.qa.RunScraperRequest.deserializeBinaryFromReader(msg, reader);
902
+ };
903
+
904
+
905
+ /**
906
+ * Deserializes binary data (in protobuf wire format) from the
907
+ * given reader into the given message object.
908
+ * @param {!proto.ondewo.qa.RunScraperRequest} msg The message object to deserialize into.
909
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
910
+ * @return {!proto.ondewo.qa.RunScraperRequest}
911
+ */
912
+ proto.ondewo.qa.RunScraperRequest.deserializeBinaryFromReader = function(msg, reader) {
913
+ while (reader.nextField()) {
914
+ if (reader.isEndGroup()) {
915
+ break;
916
+ }
917
+ var field = reader.getFieldNumber();
918
+ switch (field) {
919
+ case 1:
920
+ var value = /** @type {string} */ (reader.readString());
921
+ msg.addProjectIds(value);
922
+ break;
923
+ default:
924
+ reader.skipField();
925
+ break;
926
+ }
927
+ }
928
+ return msg;
929
+ };
930
+
931
+
932
+ /**
933
+ * Serializes the message to binary data (in protobuf wire format).
934
+ * @return {!Uint8Array}
935
+ */
936
+ proto.ondewo.qa.RunScraperRequest.prototype.serializeBinary = function() {
937
+ var writer = new jspb.BinaryWriter();
938
+ proto.ondewo.qa.RunScraperRequest.serializeBinaryToWriter(this, writer);
939
+ return writer.getResultBuffer();
940
+ };
941
+
942
+
943
+ /**
944
+ * Serializes the given message to binary data (in protobuf wire
945
+ * format), writing to the given BinaryWriter.
946
+ * @param {!proto.ondewo.qa.RunScraperRequest} message
947
+ * @param {!jspb.BinaryWriter} writer
948
+ * @suppress {unusedLocalVariables} f is only used for nested messages
949
+ */
950
+ proto.ondewo.qa.RunScraperRequest.serializeBinaryToWriter = function(message, writer) {
951
+ var f = undefined;
952
+ f = message.getProjectIdsList();
953
+ if (f.length > 0) {
954
+ writer.writeRepeatedString(
955
+ 1,
956
+ f
957
+ );
958
+ }
959
+ };
960
+
961
+
962
+ /**
963
+ * repeated string project_ids = 1;
964
+ * @return {!Array<string>}
965
+ */
966
+ proto.ondewo.qa.RunScraperRequest.prototype.getProjectIdsList = function() {
967
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
968
+ };
969
+
970
+
971
+ /**
972
+ * @param {!Array<string>} value
973
+ * @return {!proto.ondewo.qa.RunScraperRequest} returns this
974
+ */
975
+ proto.ondewo.qa.RunScraperRequest.prototype.setProjectIdsList = function(value) {
976
+ return jspb.Message.setField(this, 1, value || []);
977
+ };
978
+
979
+
980
+ /**
981
+ * @param {string} value
982
+ * @param {number=} opt_index
983
+ * @return {!proto.ondewo.qa.RunScraperRequest} returns this
984
+ */
985
+ proto.ondewo.qa.RunScraperRequest.prototype.addProjectIds = function(value, opt_index) {
986
+ return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
987
+ };
988
+
989
+
990
+ /**
991
+ * Clears the list making it empty but non-null.
992
+ * @return {!proto.ondewo.qa.RunScraperRequest} returns this
993
+ */
994
+ proto.ondewo.qa.RunScraperRequest.prototype.clearProjectIdsList = function() {
995
+ return this.setProjectIdsList([]);
996
+ };
997
+
998
+
999
+
1000
+ /**
1001
+ * List of repeated fields within this message type.
1002
+ * @private {!Array<number>}
1003
+ * @const
1004
+ */
1005
+ proto.ondewo.qa.RunScraperResponse.repeatedFields_ = [1];
1006
+
1007
+
1008
+
1009
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1010
+ /**
1011
+ * Creates an object representation of this proto.
1012
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1013
+ * Optional fields that are not set will be set to undefined.
1014
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1015
+ * For the list of reserved names please see:
1016
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1017
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1018
+ * JSPB instance for transitional soy proto support:
1019
+ * http://goto/soy-param-migration
1020
+ * @return {!Object}
1021
+ */
1022
+ proto.ondewo.qa.RunScraperResponse.prototype.toObject = function(opt_includeInstance) {
1023
+ return proto.ondewo.qa.RunScraperResponse.toObject(opt_includeInstance, this);
1024
+ };
1025
+
1026
+
1027
+ /**
1028
+ * Static version of the {@see toObject} method.
1029
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1030
+ * the JSPB instance for transitional soy proto support:
1031
+ * http://goto/soy-param-migration
1032
+ * @param {!proto.ondewo.qa.RunScraperResponse} msg The msg instance to transform.
1033
+ * @return {!Object}
1034
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1035
+ */
1036
+ proto.ondewo.qa.RunScraperResponse.toObject = function(includeInstance, msg) {
1037
+ var f, obj = {
1038
+ scraperContainersList: jspb.Message.toObjectList(msg.getScraperContainersList(),
1039
+ proto.ondewo.qa.RunScraperResponse.ScraperContainer.toObject, includeInstance)
1040
+ };
1041
+
1042
+ if (includeInstance) {
1043
+ obj.$jspbMessageInstance = msg;
1044
+ }
1045
+ return obj;
1046
+ };
1047
+ }
1048
+
1049
+
1050
+ /**
1051
+ * Deserializes binary data (in protobuf wire format).
1052
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1053
+ * @return {!proto.ondewo.qa.RunScraperResponse}
1054
+ */
1055
+ proto.ondewo.qa.RunScraperResponse.deserializeBinary = function(bytes) {
1056
+ var reader = new jspb.BinaryReader(bytes);
1057
+ var msg = new proto.ondewo.qa.RunScraperResponse;
1058
+ return proto.ondewo.qa.RunScraperResponse.deserializeBinaryFromReader(msg, reader);
1059
+ };
1060
+
1061
+
1062
+ /**
1063
+ * Deserializes binary data (in protobuf wire format) from the
1064
+ * given reader into the given message object.
1065
+ * @param {!proto.ondewo.qa.RunScraperResponse} msg The message object to deserialize into.
1066
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1067
+ * @return {!proto.ondewo.qa.RunScraperResponse}
1068
+ */
1069
+ proto.ondewo.qa.RunScraperResponse.deserializeBinaryFromReader = function(msg, reader) {
1070
+ while (reader.nextField()) {
1071
+ if (reader.isEndGroup()) {
1072
+ break;
1073
+ }
1074
+ var field = reader.getFieldNumber();
1075
+ switch (field) {
1076
+ case 1:
1077
+ var value = new proto.ondewo.qa.RunScraperResponse.ScraperContainer;
1078
+ reader.readMessage(value,proto.ondewo.qa.RunScraperResponse.ScraperContainer.deserializeBinaryFromReader);
1079
+ msg.addScraperContainers(value);
1080
+ break;
1081
+ default:
1082
+ reader.skipField();
1083
+ break;
1084
+ }
1085
+ }
1086
+ return msg;
1087
+ };
1088
+
1089
+
1090
+ /**
1091
+ * Serializes the message to binary data (in protobuf wire format).
1092
+ * @return {!Uint8Array}
1093
+ */
1094
+ proto.ondewo.qa.RunScraperResponse.prototype.serializeBinary = function() {
1095
+ var writer = new jspb.BinaryWriter();
1096
+ proto.ondewo.qa.RunScraperResponse.serializeBinaryToWriter(this, writer);
1097
+ return writer.getResultBuffer();
1098
+ };
1099
+
1100
+
1101
+ /**
1102
+ * Serializes the given message to binary data (in protobuf wire
1103
+ * format), writing to the given BinaryWriter.
1104
+ * @param {!proto.ondewo.qa.RunScraperResponse} message
1105
+ * @param {!jspb.BinaryWriter} writer
1106
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1107
+ */
1108
+ proto.ondewo.qa.RunScraperResponse.serializeBinaryToWriter = function(message, writer) {
1109
+ var f = undefined;
1110
+ f = message.getScraperContainersList();
1111
+ if (f.length > 0) {
1112
+ writer.writeRepeatedMessage(
1113
+ 1,
1114
+ f,
1115
+ proto.ondewo.qa.RunScraperResponse.ScraperContainer.serializeBinaryToWriter
1116
+ );
1117
+ }
1118
+ };
1119
+
1120
+
1121
+
1122
+
1123
+
1124
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1125
+ /**
1126
+ * Creates an object representation of this proto.
1127
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1128
+ * Optional fields that are not set will be set to undefined.
1129
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1130
+ * For the list of reserved names please see:
1131
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1132
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1133
+ * JSPB instance for transitional soy proto support:
1134
+ * http://goto/soy-param-migration
1135
+ * @return {!Object}
1136
+ */
1137
+ proto.ondewo.qa.RunScraperResponse.ScraperContainer.prototype.toObject = function(opt_includeInstance) {
1138
+ return proto.ondewo.qa.RunScraperResponse.ScraperContainer.toObject(opt_includeInstance, this);
1139
+ };
1140
+
1141
+
1142
+ /**
1143
+ * Static version of the {@see toObject} method.
1144
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1145
+ * the JSPB instance for transitional soy proto support:
1146
+ * http://goto/soy-param-migration
1147
+ * @param {!proto.ondewo.qa.RunScraperResponse.ScraperContainer} msg The msg instance to transform.
1148
+ * @return {!Object}
1149
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1150
+ */
1151
+ proto.ondewo.qa.RunScraperResponse.ScraperContainer.toObject = function(includeInstance, msg) {
1152
+ var f, obj = {
1153
+ containerName: jspb.Message.getFieldWithDefault(msg, 1, ""),
1154
+ containerId: jspb.Message.getFieldWithDefault(msg, 2, "")
1155
+ };
1156
+
1157
+ if (includeInstance) {
1158
+ obj.$jspbMessageInstance = msg;
1159
+ }
1160
+ return obj;
1161
+ };
1162
+ }
1163
+
1164
+
1165
+ /**
1166
+ * Deserializes binary data (in protobuf wire format).
1167
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1168
+ * @return {!proto.ondewo.qa.RunScraperResponse.ScraperContainer}
1169
+ */
1170
+ proto.ondewo.qa.RunScraperResponse.ScraperContainer.deserializeBinary = function(bytes) {
1171
+ var reader = new jspb.BinaryReader(bytes);
1172
+ var msg = new proto.ondewo.qa.RunScraperResponse.ScraperContainer;
1173
+ return proto.ondewo.qa.RunScraperResponse.ScraperContainer.deserializeBinaryFromReader(msg, reader);
1174
+ };
1175
+
1176
+
1177
+ /**
1178
+ * Deserializes binary data (in protobuf wire format) from the
1179
+ * given reader into the given message object.
1180
+ * @param {!proto.ondewo.qa.RunScraperResponse.ScraperContainer} msg The message object to deserialize into.
1181
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1182
+ * @return {!proto.ondewo.qa.RunScraperResponse.ScraperContainer}
1183
+ */
1184
+ proto.ondewo.qa.RunScraperResponse.ScraperContainer.deserializeBinaryFromReader = function(msg, reader) {
1185
+ while (reader.nextField()) {
1186
+ if (reader.isEndGroup()) {
1187
+ break;
1188
+ }
1189
+ var field = reader.getFieldNumber();
1190
+ switch (field) {
1191
+ case 1:
1192
+ var value = /** @type {string} */ (reader.readString());
1193
+ msg.setContainerName(value);
1194
+ break;
1195
+ case 2:
1196
+ var value = /** @type {string} */ (reader.readString());
1197
+ msg.setContainerId(value);
1198
+ break;
1199
+ default:
1200
+ reader.skipField();
1201
+ break;
1202
+ }
1203
+ }
1204
+ return msg;
1205
+ };
1206
+
1207
+
1208
+ /**
1209
+ * Serializes the message to binary data (in protobuf wire format).
1210
+ * @return {!Uint8Array}
1211
+ */
1212
+ proto.ondewo.qa.RunScraperResponse.ScraperContainer.prototype.serializeBinary = function() {
1213
+ var writer = new jspb.BinaryWriter();
1214
+ proto.ondewo.qa.RunScraperResponse.ScraperContainer.serializeBinaryToWriter(this, writer);
1215
+ return writer.getResultBuffer();
1216
+ };
1217
+
1218
+
1219
+ /**
1220
+ * Serializes the given message to binary data (in protobuf wire
1221
+ * format), writing to the given BinaryWriter.
1222
+ * @param {!proto.ondewo.qa.RunScraperResponse.ScraperContainer} message
1223
+ * @param {!jspb.BinaryWriter} writer
1224
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1225
+ */
1226
+ proto.ondewo.qa.RunScraperResponse.ScraperContainer.serializeBinaryToWriter = function(message, writer) {
1227
+ var f = undefined;
1228
+ f = message.getContainerName();
1229
+ if (f.length > 0) {
1230
+ writer.writeString(
1231
+ 1,
1232
+ f
1233
+ );
1234
+ }
1235
+ f = message.getContainerId();
1236
+ if (f.length > 0) {
1237
+ writer.writeString(
1238
+ 2,
1239
+ f
1240
+ );
1241
+ }
1242
+ };
1243
+
1244
+
1245
+ /**
1246
+ * optional string container_name = 1;
1247
+ * @return {string}
1248
+ */
1249
+ proto.ondewo.qa.RunScraperResponse.ScraperContainer.prototype.getContainerName = function() {
1250
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1251
+ };
1252
+
1253
+
1254
+ /**
1255
+ * @param {string} value
1256
+ * @return {!proto.ondewo.qa.RunScraperResponse.ScraperContainer} returns this
1257
+ */
1258
+ proto.ondewo.qa.RunScraperResponse.ScraperContainer.prototype.setContainerName = function(value) {
1259
+ return jspb.Message.setProto3StringField(this, 1, value);
1260
+ };
1261
+
1262
+
1263
+ /**
1264
+ * optional string container_id = 2;
1265
+ * @return {string}
1266
+ */
1267
+ proto.ondewo.qa.RunScraperResponse.ScraperContainer.prototype.getContainerId = function() {
1268
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
1269
+ };
1270
+
1271
+
1272
+ /**
1273
+ * @param {string} value
1274
+ * @return {!proto.ondewo.qa.RunScraperResponse.ScraperContainer} returns this
1275
+ */
1276
+ proto.ondewo.qa.RunScraperResponse.ScraperContainer.prototype.setContainerId = function(value) {
1277
+ return jspb.Message.setProto3StringField(this, 2, value);
1278
+ };
1279
+
1280
+
1281
+ /**
1282
+ * repeated ScraperContainer scraper_containers = 1;
1283
+ * @return {!Array<!proto.ondewo.qa.RunScraperResponse.ScraperContainer>}
1284
+ */
1285
+ proto.ondewo.qa.RunScraperResponse.prototype.getScraperContainersList = function() {
1286
+ return /** @type{!Array<!proto.ondewo.qa.RunScraperResponse.ScraperContainer>} */ (
1287
+ jspb.Message.getRepeatedWrapperField(this, proto.ondewo.qa.RunScraperResponse.ScraperContainer, 1));
1288
+ };
1289
+
1290
+
1291
+ /**
1292
+ * @param {!Array<!proto.ondewo.qa.RunScraperResponse.ScraperContainer>} value
1293
+ * @return {!proto.ondewo.qa.RunScraperResponse} returns this
1294
+ */
1295
+ proto.ondewo.qa.RunScraperResponse.prototype.setScraperContainersList = function(value) {
1296
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
1297
+ };
1298
+
1299
+
1300
+ /**
1301
+ * @param {!proto.ondewo.qa.RunScraperResponse.ScraperContainer=} opt_value
1302
+ * @param {number=} opt_index
1303
+ * @return {!proto.ondewo.qa.RunScraperResponse.ScraperContainer}
1304
+ */
1305
+ proto.ondewo.qa.RunScraperResponse.prototype.addScraperContainers = function(opt_value, opt_index) {
1306
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ondewo.qa.RunScraperResponse.ScraperContainer, opt_index);
1307
+ };
1308
+
1309
+
1310
+ /**
1311
+ * Clears the list making it empty but non-null.
1312
+ * @return {!proto.ondewo.qa.RunScraperResponse} returns this
1313
+ */
1314
+ proto.ondewo.qa.RunScraperResponse.prototype.clearScraperContainersList = function() {
1315
+ return this.setScraperContainersList([]);
1316
+ };
1317
+
1318
+
1319
+
1320
+
1321
+
1322
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1323
+ /**
1324
+ * Creates an object representation of this proto.
1325
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1326
+ * Optional fields that are not set will be set to undefined.
1327
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1328
+ * For the list of reserved names please see:
1329
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1330
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1331
+ * JSPB instance for transitional soy proto support:
1332
+ * http://goto/soy-param-migration
1333
+ * @return {!Object}
1334
+ */
1335
+ proto.ondewo.qa.RunTrainingResponse.prototype.toObject = function(opt_includeInstance) {
1336
+ return proto.ondewo.qa.RunTrainingResponse.toObject(opt_includeInstance, this);
1337
+ };
1338
+
1339
+
1340
+ /**
1341
+ * Static version of the {@see toObject} method.
1342
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1343
+ * the JSPB instance for transitional soy proto support:
1344
+ * http://goto/soy-param-migration
1345
+ * @param {!proto.ondewo.qa.RunTrainingResponse} msg The msg instance to transform.
1346
+ * @return {!Object}
1347
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1348
+ */
1349
+ proto.ondewo.qa.RunTrainingResponse.toObject = function(includeInstance, msg) {
1350
+ var f, obj = {
1351
+ f1: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0),
1352
+ accuracy: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0)
1353
+ };
1354
+
1355
+ if (includeInstance) {
1356
+ obj.$jspbMessageInstance = msg;
1357
+ }
1358
+ return obj;
1359
+ };
1360
+ }
1361
+
1362
+
1363
+ /**
1364
+ * Deserializes binary data (in protobuf wire format).
1365
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1366
+ * @return {!proto.ondewo.qa.RunTrainingResponse}
1367
+ */
1368
+ proto.ondewo.qa.RunTrainingResponse.deserializeBinary = function(bytes) {
1369
+ var reader = new jspb.BinaryReader(bytes);
1370
+ var msg = new proto.ondewo.qa.RunTrainingResponse;
1371
+ return proto.ondewo.qa.RunTrainingResponse.deserializeBinaryFromReader(msg, reader);
1372
+ };
1373
+
1374
+
1375
+ /**
1376
+ * Deserializes binary data (in protobuf wire format) from the
1377
+ * given reader into the given message object.
1378
+ * @param {!proto.ondewo.qa.RunTrainingResponse} msg The message object to deserialize into.
1379
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1380
+ * @return {!proto.ondewo.qa.RunTrainingResponse}
1381
+ */
1382
+ proto.ondewo.qa.RunTrainingResponse.deserializeBinaryFromReader = function(msg, reader) {
1383
+ while (reader.nextField()) {
1384
+ if (reader.isEndGroup()) {
1385
+ break;
1386
+ }
1387
+ var field = reader.getFieldNumber();
1388
+ switch (field) {
1389
+ case 1:
1390
+ var value = /** @type {number} */ (reader.readFloat());
1391
+ msg.setF1(value);
1392
+ break;
1393
+ case 2:
1394
+ var value = /** @type {number} */ (reader.readFloat());
1395
+ msg.setAccuracy(value);
1396
+ break;
1397
+ default:
1398
+ reader.skipField();
1399
+ break;
1400
+ }
1401
+ }
1402
+ return msg;
1403
+ };
1404
+
1405
+
1406
+ /**
1407
+ * Serializes the message to binary data (in protobuf wire format).
1408
+ * @return {!Uint8Array}
1409
+ */
1410
+ proto.ondewo.qa.RunTrainingResponse.prototype.serializeBinary = function() {
1411
+ var writer = new jspb.BinaryWriter();
1412
+ proto.ondewo.qa.RunTrainingResponse.serializeBinaryToWriter(this, writer);
1413
+ return writer.getResultBuffer();
1414
+ };
1415
+
1416
+
1417
+ /**
1418
+ * Serializes the given message to binary data (in protobuf wire
1419
+ * format), writing to the given BinaryWriter.
1420
+ * @param {!proto.ondewo.qa.RunTrainingResponse} message
1421
+ * @param {!jspb.BinaryWriter} writer
1422
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1423
+ */
1424
+ proto.ondewo.qa.RunTrainingResponse.serializeBinaryToWriter = function(message, writer) {
1425
+ var f = undefined;
1426
+ f = message.getF1();
1427
+ if (f !== 0.0) {
1428
+ writer.writeFloat(
1429
+ 1,
1430
+ f
1431
+ );
1432
+ }
1433
+ f = message.getAccuracy();
1434
+ if (f !== 0.0) {
1435
+ writer.writeFloat(
1436
+ 2,
1437
+ f
1438
+ );
1439
+ }
1440
+ };
1441
+
1442
+
1443
+ /**
1444
+ * optional float f1 = 1;
1445
+ * @return {number}
1446
+ */
1447
+ proto.ondewo.qa.RunTrainingResponse.prototype.getF1 = function() {
1448
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 1, 0.0));
1449
+ };
1450
+
1451
+
1452
+ /**
1453
+ * @param {number} value
1454
+ * @return {!proto.ondewo.qa.RunTrainingResponse} returns this
1455
+ */
1456
+ proto.ondewo.qa.RunTrainingResponse.prototype.setF1 = function(value) {
1457
+ return jspb.Message.setProto3FloatField(this, 1, value);
1458
+ };
1459
+
1460
+
1461
+ /**
1462
+ * optional float accuracy = 2;
1463
+ * @return {number}
1464
+ */
1465
+ proto.ondewo.qa.RunTrainingResponse.prototype.getAccuracy = function() {
1466
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 2, 0.0));
1467
+ };
1468
+
1469
+
1470
+ /**
1471
+ * @param {number} value
1472
+ * @return {!proto.ondewo.qa.RunTrainingResponse} returns this
1473
+ */
1474
+ proto.ondewo.qa.RunTrainingResponse.prototype.setAccuracy = function(value) {
1475
+ return jspb.Message.setProto3FloatField(this, 2, value);
1476
+ };
1477
+
1478
+
1479
+
1480
+ /**
1481
+ * List of repeated fields within this message type.
1482
+ * @private {!Array<number>}
1483
+ * @const
1484
+ */
1485
+ proto.ondewo.qa.UrlFilter.repeatedFields_ = [1];
1486
+
1487
+
1488
+
1489
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1490
+ /**
1491
+ * Creates an object representation of this proto.
1492
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1493
+ * Optional fields that are not set will be set to undefined.
1494
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1495
+ * For the list of reserved names please see:
1496
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1497
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1498
+ * JSPB instance for transitional soy proto support:
1499
+ * http://goto/soy-param-migration
1500
+ * @return {!Object}
1501
+ */
1502
+ proto.ondewo.qa.UrlFilter.prototype.toObject = function(opt_includeInstance) {
1503
+ return proto.ondewo.qa.UrlFilter.toObject(opt_includeInstance, this);
1504
+ };
1505
+
1506
+
1507
+ /**
1508
+ * Static version of the {@see toObject} method.
1509
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1510
+ * the JSPB instance for transitional soy proto support:
1511
+ * http://goto/soy-param-migration
1512
+ * @param {!proto.ondewo.qa.UrlFilter} msg The msg instance to transform.
1513
+ * @return {!Object}
1514
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1515
+ */
1516
+ proto.ondewo.qa.UrlFilter.toObject = function(includeInstance, msg) {
1517
+ var f, obj = {
1518
+ allowedValuesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
1519
+ regexFilterInclude: jspb.Message.getFieldWithDefault(msg, 2, ""),
1520
+ regexFilterExclude: jspb.Message.getFieldWithDefault(msg, 3, "")
1521
+ };
1522
+
1523
+ if (includeInstance) {
1524
+ obj.$jspbMessageInstance = msg;
1525
+ }
1526
+ return obj;
1527
+ };
1528
+ }
1529
+
1530
+
1531
+ /**
1532
+ * Deserializes binary data (in protobuf wire format).
1533
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1534
+ * @return {!proto.ondewo.qa.UrlFilter}
1535
+ */
1536
+ proto.ondewo.qa.UrlFilter.deserializeBinary = function(bytes) {
1537
+ var reader = new jspb.BinaryReader(bytes);
1538
+ var msg = new proto.ondewo.qa.UrlFilter;
1539
+ return proto.ondewo.qa.UrlFilter.deserializeBinaryFromReader(msg, reader);
1540
+ };
1541
+
1542
+
1543
+ /**
1544
+ * Deserializes binary data (in protobuf wire format) from the
1545
+ * given reader into the given message object.
1546
+ * @param {!proto.ondewo.qa.UrlFilter} msg The message object to deserialize into.
1547
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1548
+ * @return {!proto.ondewo.qa.UrlFilter}
1549
+ */
1550
+ proto.ondewo.qa.UrlFilter.deserializeBinaryFromReader = function(msg, reader) {
1551
+ while (reader.nextField()) {
1552
+ if (reader.isEndGroup()) {
1553
+ break;
1554
+ }
1555
+ var field = reader.getFieldNumber();
1556
+ switch (field) {
1557
+ case 1:
1558
+ var value = /** @type {string} */ (reader.readString());
1559
+ msg.addAllowedValues(value);
1560
+ break;
1561
+ case 2:
1562
+ var value = /** @type {string} */ (reader.readString());
1563
+ msg.setRegexFilterInclude(value);
1564
+ break;
1565
+ case 3:
1566
+ var value = /** @type {string} */ (reader.readString());
1567
+ msg.setRegexFilterExclude(value);
1568
+ break;
1569
+ default:
1570
+ reader.skipField();
1571
+ break;
1572
+ }
1573
+ }
1574
+ return msg;
1575
+ };
1576
+
1577
+
1578
+ /**
1579
+ * Serializes the message to binary data (in protobuf wire format).
1580
+ * @return {!Uint8Array}
1581
+ */
1582
+ proto.ondewo.qa.UrlFilter.prototype.serializeBinary = function() {
1583
+ var writer = new jspb.BinaryWriter();
1584
+ proto.ondewo.qa.UrlFilter.serializeBinaryToWriter(this, writer);
1585
+ return writer.getResultBuffer();
1586
+ };
1587
+
1588
+
1589
+ /**
1590
+ * Serializes the given message to binary data (in protobuf wire
1591
+ * format), writing to the given BinaryWriter.
1592
+ * @param {!proto.ondewo.qa.UrlFilter} message
1593
+ * @param {!jspb.BinaryWriter} writer
1594
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1595
+ */
1596
+ proto.ondewo.qa.UrlFilter.serializeBinaryToWriter = function(message, writer) {
1597
+ var f = undefined;
1598
+ f = message.getAllowedValuesList();
1599
+ if (f.length > 0) {
1600
+ writer.writeRepeatedString(
1601
+ 1,
1602
+ f
1603
+ );
1604
+ }
1605
+ f = message.getRegexFilterInclude();
1606
+ if (f.length > 0) {
1607
+ writer.writeString(
1608
+ 2,
1609
+ f
1610
+ );
1611
+ }
1612
+ f = message.getRegexFilterExclude();
1613
+ if (f.length > 0) {
1614
+ writer.writeString(
1615
+ 3,
1616
+ f
1617
+ );
1618
+ }
1619
+ };
1620
+
1621
+
1622
+ /**
1623
+ * repeated string allowed_values = 1;
1624
+ * @return {!Array<string>}
1625
+ */
1626
+ proto.ondewo.qa.UrlFilter.prototype.getAllowedValuesList = function() {
1627
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
1628
+ };
1629
+
1630
+
1631
+ /**
1632
+ * @param {!Array<string>} value
1633
+ * @return {!proto.ondewo.qa.UrlFilter} returns this
1634
+ */
1635
+ proto.ondewo.qa.UrlFilter.prototype.setAllowedValuesList = function(value) {
1636
+ return jspb.Message.setField(this, 1, value || []);
1637
+ };
1638
+
1639
+
1640
+ /**
1641
+ * @param {string} value
1642
+ * @param {number=} opt_index
1643
+ * @return {!proto.ondewo.qa.UrlFilter} returns this
1644
+ */
1645
+ proto.ondewo.qa.UrlFilter.prototype.addAllowedValues = function(value, opt_index) {
1646
+ return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
1647
+ };
1648
+
1649
+
1650
+ /**
1651
+ * Clears the list making it empty but non-null.
1652
+ * @return {!proto.ondewo.qa.UrlFilter} returns this
1653
+ */
1654
+ proto.ondewo.qa.UrlFilter.prototype.clearAllowedValuesList = function() {
1655
+ return this.setAllowedValuesList([]);
1656
+ };
1657
+
1658
+
1659
+ /**
1660
+ * optional string regex_filter_include = 2;
1661
+ * @return {string}
1662
+ */
1663
+ proto.ondewo.qa.UrlFilter.prototype.getRegexFilterInclude = function() {
1664
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
1665
+ };
1666
+
1667
+
1668
+ /**
1669
+ * @param {string} value
1670
+ * @return {!proto.ondewo.qa.UrlFilter} returns this
1671
+ */
1672
+ proto.ondewo.qa.UrlFilter.prototype.setRegexFilterInclude = function(value) {
1673
+ return jspb.Message.setProto3StringField(this, 2, value);
1674
+ };
1675
+
1676
+
1677
+ /**
1678
+ * optional string regex_filter_exclude = 3;
1679
+ * @return {string}
1680
+ */
1681
+ proto.ondewo.qa.UrlFilter.prototype.getRegexFilterExclude = function() {
1682
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
1683
+ };
1684
+
1685
+
1686
+ /**
1687
+ * @param {string} value
1688
+ * @return {!proto.ondewo.qa.UrlFilter} returns this
1689
+ */
1690
+ proto.ondewo.qa.UrlFilter.prototype.setRegexFilterExclude = function(value) {
1691
+ return jspb.Message.setProto3StringField(this, 3, value);
1692
+ };
1693
+
1694
+
1695
+
1696
+
1697
+
1698
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1699
+ /**
1700
+ * Creates an object representation of this proto.
1701
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1702
+ * Optional fields that are not set will be set to undefined.
1703
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1704
+ * For the list of reserved names please see:
1705
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1706
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1707
+ * JSPB instance for transitional soy proto support:
1708
+ * http://goto/soy-param-migration
1709
+ * @return {!Object}
1710
+ */
1711
+ proto.ondewo.qa.GetServerStateResponse.prototype.toObject = function(opt_includeInstance) {
1712
+ return proto.ondewo.qa.GetServerStateResponse.toObject(opt_includeInstance, this);
1713
+ };
1714
+
1715
+
1716
+ /**
1717
+ * Static version of the {@see toObject} method.
1718
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1719
+ * the JSPB instance for transitional soy proto support:
1720
+ * http://goto/soy-param-migration
1721
+ * @param {!proto.ondewo.qa.GetServerStateResponse} msg The msg instance to transform.
1722
+ * @return {!Object}
1723
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1724
+ */
1725
+ proto.ondewo.qa.GetServerStateResponse.toObject = function(includeInstance, msg) {
1726
+ var f, obj = {
1727
+ serverIsReady: jspb.Message.getBooleanFieldWithDefault(msg, 1, false)
1728
+ };
1729
+
1730
+ if (includeInstance) {
1731
+ obj.$jspbMessageInstance = msg;
1732
+ }
1733
+ return obj;
1734
+ };
1735
+ }
1736
+
1737
+
1738
+ /**
1739
+ * Deserializes binary data (in protobuf wire format).
1740
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1741
+ * @return {!proto.ondewo.qa.GetServerStateResponse}
1742
+ */
1743
+ proto.ondewo.qa.GetServerStateResponse.deserializeBinary = function(bytes) {
1744
+ var reader = new jspb.BinaryReader(bytes);
1745
+ var msg = new proto.ondewo.qa.GetServerStateResponse;
1746
+ return proto.ondewo.qa.GetServerStateResponse.deserializeBinaryFromReader(msg, reader);
1747
+ };
1748
+
1749
+
1750
+ /**
1751
+ * Deserializes binary data (in protobuf wire format) from the
1752
+ * given reader into the given message object.
1753
+ * @param {!proto.ondewo.qa.GetServerStateResponse} msg The message object to deserialize into.
1754
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1755
+ * @return {!proto.ondewo.qa.GetServerStateResponse}
1756
+ */
1757
+ proto.ondewo.qa.GetServerStateResponse.deserializeBinaryFromReader = function(msg, reader) {
1758
+ while (reader.nextField()) {
1759
+ if (reader.isEndGroup()) {
1760
+ break;
1761
+ }
1762
+ var field = reader.getFieldNumber();
1763
+ switch (field) {
1764
+ case 1:
1765
+ var value = /** @type {boolean} */ (reader.readBool());
1766
+ msg.setServerIsReady(value);
1767
+ break;
1768
+ default:
1769
+ reader.skipField();
1770
+ break;
1771
+ }
1772
+ }
1773
+ return msg;
1774
+ };
1775
+
1776
+
1777
+ /**
1778
+ * Serializes the message to binary data (in protobuf wire format).
1779
+ * @return {!Uint8Array}
1780
+ */
1781
+ proto.ondewo.qa.GetServerStateResponse.prototype.serializeBinary = function() {
1782
+ var writer = new jspb.BinaryWriter();
1783
+ proto.ondewo.qa.GetServerStateResponse.serializeBinaryToWriter(this, writer);
1784
+ return writer.getResultBuffer();
1785
+ };
1786
+
1787
+
1788
+ /**
1789
+ * Serializes the given message to binary data (in protobuf wire
1790
+ * format), writing to the given BinaryWriter.
1791
+ * @param {!proto.ondewo.qa.GetServerStateResponse} message
1792
+ * @param {!jspb.BinaryWriter} writer
1793
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1794
+ */
1795
+ proto.ondewo.qa.GetServerStateResponse.serializeBinaryToWriter = function(message, writer) {
1796
+ var f = undefined;
1797
+ f = message.getServerIsReady();
1798
+ if (f) {
1799
+ writer.writeBool(
1800
+ 1,
1801
+ f
1802
+ );
1803
+ }
1804
+ };
1805
+
1806
+
1807
+ /**
1808
+ * optional bool server_is_ready = 1;
1809
+ * @return {boolean}
1810
+ */
1811
+ proto.ondewo.qa.GetServerStateResponse.prototype.getServerIsReady = function() {
1812
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
1813
+ };
1814
+
1815
+
1816
+ /**
1817
+ * @param {boolean} value
1818
+ * @return {!proto.ondewo.qa.GetServerStateResponse} returns this
1819
+ */
1820
+ proto.ondewo.qa.GetServerStateResponse.prototype.setServerIsReady = function(value) {
1821
+ return jspb.Message.setProto3BooleanField(this, 1, value);
1822
+ };
1823
+
1824
+
1825
+
1826
+ /**
1827
+ * List of repeated fields within this message type.
1828
+ * @private {!Array<number>}
1829
+ * @const
1830
+ */
1831
+ proto.ondewo.qa.ListProjectIdsResponse.repeatedFields_ = [1];
1832
+
1833
+
1834
+
1835
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1836
+ /**
1837
+ * Creates an object representation of this proto.
1838
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1839
+ * Optional fields that are not set will be set to undefined.
1840
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1841
+ * For the list of reserved names please see:
1842
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1843
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1844
+ * JSPB instance for transitional soy proto support:
1845
+ * http://goto/soy-param-migration
1846
+ * @return {!Object}
1847
+ */
1848
+ proto.ondewo.qa.ListProjectIdsResponse.prototype.toObject = function(opt_includeInstance) {
1849
+ return proto.ondewo.qa.ListProjectIdsResponse.toObject(opt_includeInstance, this);
1850
+ };
1851
+
1852
+
1853
+ /**
1854
+ * Static version of the {@see toObject} method.
1855
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1856
+ * the JSPB instance for transitional soy proto support:
1857
+ * http://goto/soy-param-migration
1858
+ * @param {!proto.ondewo.qa.ListProjectIdsResponse} msg The msg instance to transform.
1859
+ * @return {!Object}
1860
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1861
+ */
1862
+ proto.ondewo.qa.ListProjectIdsResponse.toObject = function(includeInstance, msg) {
1863
+ var f, obj = {
1864
+ projectIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
1865
+ };
1866
+
1867
+ if (includeInstance) {
1868
+ obj.$jspbMessageInstance = msg;
1869
+ }
1870
+ return obj;
1871
+ };
1872
+ }
1873
+
1874
+
1875
+ /**
1876
+ * Deserializes binary data (in protobuf wire format).
1877
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1878
+ * @return {!proto.ondewo.qa.ListProjectIdsResponse}
1879
+ */
1880
+ proto.ondewo.qa.ListProjectIdsResponse.deserializeBinary = function(bytes) {
1881
+ var reader = new jspb.BinaryReader(bytes);
1882
+ var msg = new proto.ondewo.qa.ListProjectIdsResponse;
1883
+ return proto.ondewo.qa.ListProjectIdsResponse.deserializeBinaryFromReader(msg, reader);
1884
+ };
1885
+
1886
+
1887
+ /**
1888
+ * Deserializes binary data (in protobuf wire format) from the
1889
+ * given reader into the given message object.
1890
+ * @param {!proto.ondewo.qa.ListProjectIdsResponse} msg The message object to deserialize into.
1891
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1892
+ * @return {!proto.ondewo.qa.ListProjectIdsResponse}
1893
+ */
1894
+ proto.ondewo.qa.ListProjectIdsResponse.deserializeBinaryFromReader = function(msg, reader) {
1895
+ while (reader.nextField()) {
1896
+ if (reader.isEndGroup()) {
1897
+ break;
1898
+ }
1899
+ var field = reader.getFieldNumber();
1900
+ switch (field) {
1901
+ case 1:
1902
+ var value = /** @type {string} */ (reader.readString());
1903
+ msg.addProjectIds(value);
1904
+ break;
1905
+ default:
1906
+ reader.skipField();
1907
+ break;
1908
+ }
1909
+ }
1910
+ return msg;
1911
+ };
1912
+
1913
+
1914
+ /**
1915
+ * Serializes the message to binary data (in protobuf wire format).
1916
+ * @return {!Uint8Array}
1917
+ */
1918
+ proto.ondewo.qa.ListProjectIdsResponse.prototype.serializeBinary = function() {
1919
+ var writer = new jspb.BinaryWriter();
1920
+ proto.ondewo.qa.ListProjectIdsResponse.serializeBinaryToWriter(this, writer);
1921
+ return writer.getResultBuffer();
1922
+ };
1923
+
1924
+
1925
+ /**
1926
+ * Serializes the given message to binary data (in protobuf wire
1927
+ * format), writing to the given BinaryWriter.
1928
+ * @param {!proto.ondewo.qa.ListProjectIdsResponse} message
1929
+ * @param {!jspb.BinaryWriter} writer
1930
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1931
+ */
1932
+ proto.ondewo.qa.ListProjectIdsResponse.serializeBinaryToWriter = function(message, writer) {
1933
+ var f = undefined;
1934
+ f = message.getProjectIdsList();
1935
+ if (f.length > 0) {
1936
+ writer.writeRepeatedString(
1937
+ 1,
1938
+ f
1939
+ );
1940
+ }
1941
+ };
1942
+
1943
+
1944
+ /**
1945
+ * repeated string project_ids = 1;
1946
+ * @return {!Array<string>}
1947
+ */
1948
+ proto.ondewo.qa.ListProjectIdsResponse.prototype.getProjectIdsList = function() {
1949
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
1950
+ };
1951
+
1952
+
1953
+ /**
1954
+ * @param {!Array<string>} value
1955
+ * @return {!proto.ondewo.qa.ListProjectIdsResponse} returns this
1956
+ */
1957
+ proto.ondewo.qa.ListProjectIdsResponse.prototype.setProjectIdsList = function(value) {
1958
+ return jspb.Message.setField(this, 1, value || []);
1959
+ };
1960
+
1961
+
1962
+ /**
1963
+ * @param {string} value
1964
+ * @param {number=} opt_index
1965
+ * @return {!proto.ondewo.qa.ListProjectIdsResponse} returns this
1966
+ */
1967
+ proto.ondewo.qa.ListProjectIdsResponse.prototype.addProjectIds = function(value, opt_index) {
1968
+ return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
1969
+ };
1970
+
1971
+
1972
+ /**
1973
+ * Clears the list making it empty but non-null.
1974
+ * @return {!proto.ondewo.qa.ListProjectIdsResponse} returns this
1975
+ */
1976
+ proto.ondewo.qa.ListProjectIdsResponse.prototype.clearProjectIdsList = function() {
1977
+ return this.setProjectIdsList([]);
1978
+ };
1979
+
1980
+
1981
+
1982
+
1983
+
1984
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1985
+ /**
1986
+ * Creates an object representation of this proto.
1987
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1988
+ * Optional fields that are not set will be set to undefined.
1989
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1990
+ * For the list of reserved names please see:
1991
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1992
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1993
+ * JSPB instance for transitional soy proto support:
1994
+ * http://goto/soy-param-migration
1995
+ * @return {!Object}
1996
+ */
1997
+ proto.ondewo.qa.GetProjectConfigRequest.prototype.toObject = function(opt_includeInstance) {
1998
+ return proto.ondewo.qa.GetProjectConfigRequest.toObject(opt_includeInstance, this);
1999
+ };
2000
+
2001
+
2002
+ /**
2003
+ * Static version of the {@see toObject} method.
2004
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2005
+ * the JSPB instance for transitional soy proto support:
2006
+ * http://goto/soy-param-migration
2007
+ * @param {!proto.ondewo.qa.GetProjectConfigRequest} msg The msg instance to transform.
2008
+ * @return {!Object}
2009
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2010
+ */
2011
+ proto.ondewo.qa.GetProjectConfigRequest.toObject = function(includeInstance, msg) {
2012
+ var f, obj = {
2013
+ projectId: jspb.Message.getFieldWithDefault(msg, 1, "")
2014
+ };
2015
+
2016
+ if (includeInstance) {
2017
+ obj.$jspbMessageInstance = msg;
2018
+ }
2019
+ return obj;
2020
+ };
2021
+ }
2022
+
2023
+
2024
+ /**
2025
+ * Deserializes binary data (in protobuf wire format).
2026
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2027
+ * @return {!proto.ondewo.qa.GetProjectConfigRequest}
2028
+ */
2029
+ proto.ondewo.qa.GetProjectConfigRequest.deserializeBinary = function(bytes) {
2030
+ var reader = new jspb.BinaryReader(bytes);
2031
+ var msg = new proto.ondewo.qa.GetProjectConfigRequest;
2032
+ return proto.ondewo.qa.GetProjectConfigRequest.deserializeBinaryFromReader(msg, reader);
2033
+ };
2034
+
2035
+
2036
+ /**
2037
+ * Deserializes binary data (in protobuf wire format) from the
2038
+ * given reader into the given message object.
2039
+ * @param {!proto.ondewo.qa.GetProjectConfigRequest} msg The message object to deserialize into.
2040
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2041
+ * @return {!proto.ondewo.qa.GetProjectConfigRequest}
2042
+ */
2043
+ proto.ondewo.qa.GetProjectConfigRequest.deserializeBinaryFromReader = function(msg, reader) {
2044
+ while (reader.nextField()) {
2045
+ if (reader.isEndGroup()) {
2046
+ break;
2047
+ }
2048
+ var field = reader.getFieldNumber();
2049
+ switch (field) {
2050
+ case 1:
2051
+ var value = /** @type {string} */ (reader.readString());
2052
+ msg.setProjectId(value);
2053
+ break;
2054
+ default:
2055
+ reader.skipField();
2056
+ break;
2057
+ }
2058
+ }
2059
+ return msg;
2060
+ };
2061
+
2062
+
2063
+ /**
2064
+ * Serializes the message to binary data (in protobuf wire format).
2065
+ * @return {!Uint8Array}
2066
+ */
2067
+ proto.ondewo.qa.GetProjectConfigRequest.prototype.serializeBinary = function() {
2068
+ var writer = new jspb.BinaryWriter();
2069
+ proto.ondewo.qa.GetProjectConfigRequest.serializeBinaryToWriter(this, writer);
2070
+ return writer.getResultBuffer();
2071
+ };
2072
+
2073
+
2074
+ /**
2075
+ * Serializes the given message to binary data (in protobuf wire
2076
+ * format), writing to the given BinaryWriter.
2077
+ * @param {!proto.ondewo.qa.GetProjectConfigRequest} message
2078
+ * @param {!jspb.BinaryWriter} writer
2079
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2080
+ */
2081
+ proto.ondewo.qa.GetProjectConfigRequest.serializeBinaryToWriter = function(message, writer) {
2082
+ var f = undefined;
2083
+ f = message.getProjectId();
2084
+ if (f.length > 0) {
2085
+ writer.writeString(
2086
+ 1,
2087
+ f
2088
+ );
2089
+ }
2090
+ };
2091
+
2092
+
2093
+ /**
2094
+ * optional string project_id = 1;
2095
+ * @return {string}
2096
+ */
2097
+ proto.ondewo.qa.GetProjectConfigRequest.prototype.getProjectId = function() {
2098
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
2099
+ };
2100
+
2101
+
2102
+ /**
2103
+ * @param {string} value
2104
+ * @return {!proto.ondewo.qa.GetProjectConfigRequest} returns this
2105
+ */
2106
+ proto.ondewo.qa.GetProjectConfigRequest.prototype.setProjectId = function(value) {
2107
+ return jspb.Message.setProto3StringField(this, 1, value);
2108
+ };
2109
+
2110
+
2111
+
2112
+
2113
+
2114
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2115
+ /**
2116
+ * Creates an object representation of this proto.
2117
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2118
+ * Optional fields that are not set will be set to undefined.
2119
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2120
+ * For the list of reserved names please see:
2121
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2122
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2123
+ * JSPB instance for transitional soy proto support:
2124
+ * http://goto/soy-param-migration
2125
+ * @return {!Object}
2126
+ */
2127
+ proto.ondewo.qa.GetProjectConfigResponse.prototype.toObject = function(opt_includeInstance) {
2128
+ return proto.ondewo.qa.GetProjectConfigResponse.toObject(opt_includeInstance, this);
2129
+ };
2130
+
2131
+
2132
+ /**
2133
+ * Static version of the {@see toObject} method.
2134
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2135
+ * the JSPB instance for transitional soy proto support:
2136
+ * http://goto/soy-param-migration
2137
+ * @param {!proto.ondewo.qa.GetProjectConfigResponse} msg The msg instance to transform.
2138
+ * @return {!Object}
2139
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2140
+ */
2141
+ proto.ondewo.qa.GetProjectConfigResponse.toObject = function(includeInstance, msg) {
2142
+ var f, obj = {
2143
+ configSerialized: jspb.Message.getFieldWithDefault(msg, 1, "")
2144
+ };
2145
+
2146
+ if (includeInstance) {
2147
+ obj.$jspbMessageInstance = msg;
2148
+ }
2149
+ return obj;
2150
+ };
2151
+ }
2152
+
2153
+
2154
+ /**
2155
+ * Deserializes binary data (in protobuf wire format).
2156
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2157
+ * @return {!proto.ondewo.qa.GetProjectConfigResponse}
2158
+ */
2159
+ proto.ondewo.qa.GetProjectConfigResponse.deserializeBinary = function(bytes) {
2160
+ var reader = new jspb.BinaryReader(bytes);
2161
+ var msg = new proto.ondewo.qa.GetProjectConfigResponse;
2162
+ return proto.ondewo.qa.GetProjectConfigResponse.deserializeBinaryFromReader(msg, reader);
2163
+ };
2164
+
2165
+
2166
+ /**
2167
+ * Deserializes binary data (in protobuf wire format) from the
2168
+ * given reader into the given message object.
2169
+ * @param {!proto.ondewo.qa.GetProjectConfigResponse} msg The message object to deserialize into.
2170
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2171
+ * @return {!proto.ondewo.qa.GetProjectConfigResponse}
2172
+ */
2173
+ proto.ondewo.qa.GetProjectConfigResponse.deserializeBinaryFromReader = function(msg, reader) {
2174
+ while (reader.nextField()) {
2175
+ if (reader.isEndGroup()) {
2176
+ break;
2177
+ }
2178
+ var field = reader.getFieldNumber();
2179
+ switch (field) {
2180
+ case 1:
2181
+ var value = /** @type {string} */ (reader.readString());
2182
+ msg.setConfigSerialized(value);
2183
+ break;
2184
+ default:
2185
+ reader.skipField();
2186
+ break;
2187
+ }
2188
+ }
2189
+ return msg;
2190
+ };
2191
+
2192
+
2193
+ /**
2194
+ * Serializes the message to binary data (in protobuf wire format).
2195
+ * @return {!Uint8Array}
2196
+ */
2197
+ proto.ondewo.qa.GetProjectConfigResponse.prototype.serializeBinary = function() {
2198
+ var writer = new jspb.BinaryWriter();
2199
+ proto.ondewo.qa.GetProjectConfigResponse.serializeBinaryToWriter(this, writer);
2200
+ return writer.getResultBuffer();
2201
+ };
2202
+
2203
+
2204
+ /**
2205
+ * Serializes the given message to binary data (in protobuf wire
2206
+ * format), writing to the given BinaryWriter.
2207
+ * @param {!proto.ondewo.qa.GetProjectConfigResponse} message
2208
+ * @param {!jspb.BinaryWriter} writer
2209
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2210
+ */
2211
+ proto.ondewo.qa.GetProjectConfigResponse.serializeBinaryToWriter = function(message, writer) {
2212
+ var f = undefined;
2213
+ f = message.getConfigSerialized();
2214
+ if (f.length > 0) {
2215
+ writer.writeString(
2216
+ 1,
2217
+ f
2218
+ );
2219
+ }
2220
+ };
2221
+
2222
+
2223
+ /**
2224
+ * optional string config_serialized = 1;
2225
+ * @return {string}
2226
+ */
2227
+ proto.ondewo.qa.GetProjectConfigResponse.prototype.getConfigSerialized = function() {
2228
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
2229
+ };
2230
+
2231
+
2232
+ /**
2233
+ * @param {string} value
2234
+ * @return {!proto.ondewo.qa.GetProjectConfigResponse} returns this
2235
+ */
2236
+ proto.ondewo.qa.GetProjectConfigResponse.prototype.setConfigSerialized = function(value) {
2237
+ return jspb.Message.setProto3StringField(this, 1, value);
2238
+ };
2239
+
2240
+
2241
+
2242
+ /**
2243
+ * List of repeated fields within this message type.
2244
+ * @private {!Array<number>}
2245
+ * @const
2246
+ */
2247
+ proto.ondewo.qa.UpdateDatabaseRequest.repeatedFields_ = [1];
2248
+
2249
+
2250
+
2251
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2252
+ /**
2253
+ * Creates an object representation of this proto.
2254
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2255
+ * Optional fields that are not set will be set to undefined.
2256
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2257
+ * For the list of reserved names please see:
2258
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2259
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2260
+ * JSPB instance for transitional soy proto support:
2261
+ * http://goto/soy-param-migration
2262
+ * @return {!Object}
2263
+ */
2264
+ proto.ondewo.qa.UpdateDatabaseRequest.prototype.toObject = function(opt_includeInstance) {
2265
+ return proto.ondewo.qa.UpdateDatabaseRequest.toObject(opt_includeInstance, this);
2266
+ };
2267
+
2268
+
2269
+ /**
2270
+ * Static version of the {@see toObject} method.
2271
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2272
+ * the JSPB instance for transitional soy proto support:
2273
+ * http://goto/soy-param-migration
2274
+ * @param {!proto.ondewo.qa.UpdateDatabaseRequest} msg The msg instance to transform.
2275
+ * @return {!Object}
2276
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2277
+ */
2278
+ proto.ondewo.qa.UpdateDatabaseRequest.toObject = function(includeInstance, msg) {
2279
+ var f, obj = {
2280
+ projectIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
2281
+ };
2282
+
2283
+ if (includeInstance) {
2284
+ obj.$jspbMessageInstance = msg;
2285
+ }
2286
+ return obj;
2287
+ };
2288
+ }
2289
+
2290
+
2291
+ /**
2292
+ * Deserializes binary data (in protobuf wire format).
2293
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2294
+ * @return {!proto.ondewo.qa.UpdateDatabaseRequest}
2295
+ */
2296
+ proto.ondewo.qa.UpdateDatabaseRequest.deserializeBinary = function(bytes) {
2297
+ var reader = new jspb.BinaryReader(bytes);
2298
+ var msg = new proto.ondewo.qa.UpdateDatabaseRequest;
2299
+ return proto.ondewo.qa.UpdateDatabaseRequest.deserializeBinaryFromReader(msg, reader);
2300
+ };
2301
+
2302
+
2303
+ /**
2304
+ * Deserializes binary data (in protobuf wire format) from the
2305
+ * given reader into the given message object.
2306
+ * @param {!proto.ondewo.qa.UpdateDatabaseRequest} msg The message object to deserialize into.
2307
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2308
+ * @return {!proto.ondewo.qa.UpdateDatabaseRequest}
2309
+ */
2310
+ proto.ondewo.qa.UpdateDatabaseRequest.deserializeBinaryFromReader = function(msg, reader) {
2311
+ while (reader.nextField()) {
2312
+ if (reader.isEndGroup()) {
2313
+ break;
2314
+ }
2315
+ var field = reader.getFieldNumber();
2316
+ switch (field) {
2317
+ case 1:
2318
+ var value = /** @type {string} */ (reader.readString());
2319
+ msg.addProjectIds(value);
2320
+ break;
2321
+ default:
2322
+ reader.skipField();
2323
+ break;
2324
+ }
2325
+ }
2326
+ return msg;
2327
+ };
2328
+
2329
+
2330
+ /**
2331
+ * Serializes the message to binary data (in protobuf wire format).
2332
+ * @return {!Uint8Array}
2333
+ */
2334
+ proto.ondewo.qa.UpdateDatabaseRequest.prototype.serializeBinary = function() {
2335
+ var writer = new jspb.BinaryWriter();
2336
+ proto.ondewo.qa.UpdateDatabaseRequest.serializeBinaryToWriter(this, writer);
2337
+ return writer.getResultBuffer();
2338
+ };
2339
+
2340
+
2341
+ /**
2342
+ * Serializes the given message to binary data (in protobuf wire
2343
+ * format), writing to the given BinaryWriter.
2344
+ * @param {!proto.ondewo.qa.UpdateDatabaseRequest} message
2345
+ * @param {!jspb.BinaryWriter} writer
2346
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2347
+ */
2348
+ proto.ondewo.qa.UpdateDatabaseRequest.serializeBinaryToWriter = function(message, writer) {
2349
+ var f = undefined;
2350
+ f = message.getProjectIdsList();
2351
+ if (f.length > 0) {
2352
+ writer.writeRepeatedString(
2353
+ 1,
2354
+ f
2355
+ );
2356
+ }
2357
+ };
2358
+
2359
+
2360
+ /**
2361
+ * repeated string project_ids = 1;
2362
+ * @return {!Array<string>}
2363
+ */
2364
+ proto.ondewo.qa.UpdateDatabaseRequest.prototype.getProjectIdsList = function() {
2365
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
2366
+ };
2367
+
2368
+
2369
+ /**
2370
+ * @param {!Array<string>} value
2371
+ * @return {!proto.ondewo.qa.UpdateDatabaseRequest} returns this
2372
+ */
2373
+ proto.ondewo.qa.UpdateDatabaseRequest.prototype.setProjectIdsList = function(value) {
2374
+ return jspb.Message.setField(this, 1, value || []);
2375
+ };
2376
+
2377
+
2378
+ /**
2379
+ * @param {string} value
2380
+ * @param {number=} opt_index
2381
+ * @return {!proto.ondewo.qa.UpdateDatabaseRequest} returns this
2382
+ */
2383
+ proto.ondewo.qa.UpdateDatabaseRequest.prototype.addProjectIds = function(value, opt_index) {
2384
+ return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
2385
+ };
2386
+
2387
+
2388
+ /**
2389
+ * Clears the list making it empty but non-null.
2390
+ * @return {!proto.ondewo.qa.UpdateDatabaseRequest} returns this
2391
+ */
2392
+ proto.ondewo.qa.UpdateDatabaseRequest.prototype.clearProjectIdsList = function() {
2393
+ return this.setProjectIdsList([]);
2394
+ };
2395
+
2396
+
2397
+
2398
+ /**
2399
+ * List of repeated fields within this message type.
2400
+ * @private {!Array<number>}
2401
+ * @const
2402
+ */
2403
+ proto.ondewo.qa.UpdateDatabaseResponse.repeatedFields_ = [1];
2404
+
2405
+
2406
+
2407
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2408
+ /**
2409
+ * Creates an object representation of this proto.
2410
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2411
+ * Optional fields that are not set will be set to undefined.
2412
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2413
+ * For the list of reserved names please see:
2414
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2415
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2416
+ * JSPB instance for transitional soy proto support:
2417
+ * http://goto/soy-param-migration
2418
+ * @return {!Object}
2419
+ */
2420
+ proto.ondewo.qa.UpdateDatabaseResponse.prototype.toObject = function(opt_includeInstance) {
2421
+ return proto.ondewo.qa.UpdateDatabaseResponse.toObject(opt_includeInstance, this);
2422
+ };
2423
+
2424
+
2425
+ /**
2426
+ * Static version of the {@see toObject} method.
2427
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2428
+ * the JSPB instance for transitional soy proto support:
2429
+ * http://goto/soy-param-migration
2430
+ * @param {!proto.ondewo.qa.UpdateDatabaseResponse} msg The msg instance to transform.
2431
+ * @return {!Object}
2432
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2433
+ */
2434
+ proto.ondewo.qa.UpdateDatabaseResponse.toObject = function(includeInstance, msg) {
2435
+ var f, obj = {
2436
+ errorMessagesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
2437
+ };
2438
+
2439
+ if (includeInstance) {
2440
+ obj.$jspbMessageInstance = msg;
2441
+ }
2442
+ return obj;
2443
+ };
2444
+ }
2445
+
2446
+
2447
+ /**
2448
+ * Deserializes binary data (in protobuf wire format).
2449
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2450
+ * @return {!proto.ondewo.qa.UpdateDatabaseResponse}
2451
+ */
2452
+ proto.ondewo.qa.UpdateDatabaseResponse.deserializeBinary = function(bytes) {
2453
+ var reader = new jspb.BinaryReader(bytes);
2454
+ var msg = new proto.ondewo.qa.UpdateDatabaseResponse;
2455
+ return proto.ondewo.qa.UpdateDatabaseResponse.deserializeBinaryFromReader(msg, reader);
2456
+ };
2457
+
2458
+
2459
+ /**
2460
+ * Deserializes binary data (in protobuf wire format) from the
2461
+ * given reader into the given message object.
2462
+ * @param {!proto.ondewo.qa.UpdateDatabaseResponse} msg The message object to deserialize into.
2463
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2464
+ * @return {!proto.ondewo.qa.UpdateDatabaseResponse}
2465
+ */
2466
+ proto.ondewo.qa.UpdateDatabaseResponse.deserializeBinaryFromReader = function(msg, reader) {
2467
+ while (reader.nextField()) {
2468
+ if (reader.isEndGroup()) {
2469
+ break;
2470
+ }
2471
+ var field = reader.getFieldNumber();
2472
+ switch (field) {
2473
+ case 1:
2474
+ var value = /** @type {string} */ (reader.readString());
2475
+ msg.addErrorMessages(value);
2476
+ break;
2477
+ default:
2478
+ reader.skipField();
2479
+ break;
2480
+ }
2481
+ }
2482
+ return msg;
2483
+ };
2484
+
2485
+
2486
+ /**
2487
+ * Serializes the message to binary data (in protobuf wire format).
2488
+ * @return {!Uint8Array}
2489
+ */
2490
+ proto.ondewo.qa.UpdateDatabaseResponse.prototype.serializeBinary = function() {
2491
+ var writer = new jspb.BinaryWriter();
2492
+ proto.ondewo.qa.UpdateDatabaseResponse.serializeBinaryToWriter(this, writer);
2493
+ return writer.getResultBuffer();
2494
+ };
2495
+
2496
+
2497
+ /**
2498
+ * Serializes the given message to binary data (in protobuf wire
2499
+ * format), writing to the given BinaryWriter.
2500
+ * @param {!proto.ondewo.qa.UpdateDatabaseResponse} message
2501
+ * @param {!jspb.BinaryWriter} writer
2502
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2503
+ */
2504
+ proto.ondewo.qa.UpdateDatabaseResponse.serializeBinaryToWriter = function(message, writer) {
2505
+ var f = undefined;
2506
+ f = message.getErrorMessagesList();
2507
+ if (f.length > 0) {
2508
+ writer.writeRepeatedString(
2509
+ 1,
2510
+ f
2511
+ );
2512
+ }
2513
+ };
2514
+
2515
+
2516
+ /**
2517
+ * repeated string error_messages = 1;
2518
+ * @return {!Array<string>}
2519
+ */
2520
+ proto.ondewo.qa.UpdateDatabaseResponse.prototype.getErrorMessagesList = function() {
2521
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
2522
+ };
2523
+
2524
+
2525
+ /**
2526
+ * @param {!Array<string>} value
2527
+ * @return {!proto.ondewo.qa.UpdateDatabaseResponse} returns this
2528
+ */
2529
+ proto.ondewo.qa.UpdateDatabaseResponse.prototype.setErrorMessagesList = function(value) {
2530
+ return jspb.Message.setField(this, 1, value || []);
2531
+ };
2532
+
2533
+
2534
+ /**
2535
+ * @param {string} value
2536
+ * @param {number=} opt_index
2537
+ * @return {!proto.ondewo.qa.UpdateDatabaseResponse} returns this
2538
+ */
2539
+ proto.ondewo.qa.UpdateDatabaseResponse.prototype.addErrorMessages = function(value, opt_index) {
2540
+ return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
2541
+ };
2542
+
2543
+
2544
+ /**
2545
+ * Clears the list making it empty but non-null.
2546
+ * @return {!proto.ondewo.qa.UpdateDatabaseResponse} returns this
2547
+ */
2548
+ proto.ondewo.qa.UpdateDatabaseResponse.prototype.clearErrorMessagesList = function() {
2549
+ return this.setErrorMessagesList([]);
2550
+ };
2551
+
2552
+
2553
+ goog.object.extend(exports, proto.ondewo.qa);