@ondewo/nlu-client-typescript 4.1.0 → 4.2.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.
- package/api/ondewo/nlu/agent_grpc_web_pb.d.ts +490 -450
- package/api/ondewo/nlu/agent_grpc_web_pb.js +1244 -1113
- package/api/ondewo/nlu/agent_pb.d.ts +1751 -1939
- package/api/ondewo/nlu/agent_pb.js +10484 -9063
- package/api/ondewo/nlu/aiservices_grpc_web_pb.d.ts +106 -98
- package/api/ondewo/nlu/aiservices_grpc_web_pb.js +280 -245
- package/api/ondewo/nlu/aiservices_pb.d.ts +674 -745
- package/api/ondewo/nlu/aiservices_pb.js +4403 -3638
- package/api/ondewo/nlu/common_pb.d.ts +17 -15
- package/api/ondewo/nlu/common_pb.js +93 -83
- package/api/ondewo/nlu/context_grpc_web_pb.d.ts +82 -76
- package/api/ondewo/nlu/context_grpc_web_pb.js +220 -191
- package/api/ondewo/nlu/context_pb.d.ts +151 -151
- package/api/ondewo/nlu/context_pb.js +1042 -889
- package/api/ondewo/nlu/entity_type_grpc_web_pb.d.ts +154 -142
- package/api/ondewo/nlu/entity_type_grpc_web_pb.js +398 -351
- package/api/ondewo/nlu/entity_type_pb.d.ts +571 -614
- package/api/ondewo/nlu/entity_type_pb.js +3369 -2893
- package/api/ondewo/nlu/intent_grpc_web_pb.d.ts +334 -310
- package/api/ondewo/nlu/intent_grpc_web_pb.js +851 -766
- package/api/ondewo/nlu/intent_pb.d.ts +1993 -2151
- package/api/ondewo/nlu/intent_pb.js +10692 -9502
- package/api/ondewo/nlu/operation_metadata_pb.d.ts +88 -86
- package/api/ondewo/nlu/operation_metadata_pb.js +412 -321
- package/api/ondewo/nlu/operations_grpc_web_pb.d.ts +50 -46
- package/api/ondewo/nlu/operations_grpc_web_pb.js +163 -140
- package/api/ondewo/nlu/operations_pb.d.ts +182 -189
- package/api/ondewo/nlu/operations_pb.js +1004 -843
- package/api/ondewo/nlu/project_role_grpc_web_pb.d.ts +70 -65
- package/api/ondewo/nlu/project_role_grpc_web_pb.js +190 -164
- package/api/ondewo/nlu/project_role_pb.d.ts +151 -165
- package/api/ondewo/nlu/project_role_pb.js +963 -796
- package/api/ondewo/nlu/project_statistics_grpc_web_pb.d.ts +106 -98
- package/api/ondewo/nlu/project_statistics_grpc_web_pb.js +281 -246
- package/api/ondewo/nlu/project_statistics_pb.d.ts +63 -67
- package/api/ondewo/nlu/project_statistics_pb.js +418 -354
- package/api/ondewo/nlu/server_statistics_grpc_web_pb.d.ts +46 -43
- package/api/ondewo/nlu/server_statistics_grpc_web_pb.js +130 -110
- package/api/ondewo/nlu/server_statistics_pb.d.ts +14 -15
- package/api/ondewo/nlu/server_statistics_pb.js +91 -81
- package/api/ondewo/nlu/session_grpc_web_pb.d.ts +334 -164
- package/api/ondewo/nlu/session_grpc_web_pb.js +1255 -409
- package/api/ondewo/nlu/session_pb.d.ts +1721 -1080
- package/api/ondewo/nlu/session_pb.js +13885 -6673
- package/api/ondewo/nlu/user_grpc_web_pb.d.ts +190 -172
- package/api/ondewo/nlu/user_grpc_web_pb.js +487 -431
- package/api/ondewo/nlu/user_pb.d.ts +325 -345
- package/api/ondewo/nlu/user_pb.js +2312 -1948
- package/api/ondewo/nlu/utility_grpc_web_pb.d.ts +106 -98
- package/api/ondewo/nlu/utility_grpc_web_pb.js +279 -244
- package/api/ondewo/nlu/utility_pb.d.ts +535 -588
- package/api/ondewo/nlu/utility_pb.js +3348 -2814
- package/api/ondewo/nlu/webhook_grpc_web_pb.d.ts +46 -43
- package/api/ondewo/nlu/webhook_grpc_web_pb.js +132 -112
- package/api/ondewo/nlu/webhook_pb.d.ts +119 -123
- package/api/ondewo/nlu/webhook_pb.js +718 -599
- package/api/ondewo/qa/qa_grpc_web_pb.d.ts +94 -87
- package/api/ondewo/qa/qa_grpc_web_pb.js +250 -218
- package/api/ondewo/qa/qa_pb.d.ts +220 -235
- package/api/ondewo/qa/qa_pb.js +1452 -1222
- package/package.json +1 -1
- package/public-api.d.ts +30 -0
|
@@ -13,9 +13,7 @@
|
|
|
13
13
|
|
|
14
14
|
var jspb = require('google-protobuf');
|
|
15
15
|
var goog = jspb;
|
|
16
|
-
var global = function ()
|
|
17
|
-
return this || window || global || self || Function('return this')();
|
|
18
|
-
}.call(null);
|
|
16
|
+
var global = (function() { return this || window || global || self || Function('return this')(); }).call(null);
|
|
19
17
|
|
|
20
18
|
var google_api_annotations_pb = require('../../google/api/annotations_pb.js');
|
|
21
19
|
goog.object.extend(proto, google_api_annotations_pb);
|
|
@@ -49,16 +47,16 @@ goog.exportSymbol('proto.ondewo.nlu.OperationFilter.StartTimeOneofCase', null, g
|
|
|
49
47
|
* @extends {jspb.Message}
|
|
50
48
|
* @constructor
|
|
51
49
|
*/
|
|
52
|
-
proto.ondewo.nlu.Operation = function
|
|
53
|
-
|
|
50
|
+
proto.ondewo.nlu.Operation = function(opt_data) {
|
|
51
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.ondewo.nlu.Operation.oneofGroups_);
|
|
54
52
|
};
|
|
55
53
|
goog.inherits(proto.ondewo.nlu.Operation, jspb.Message);
|
|
56
54
|
if (goog.DEBUG && !COMPILED) {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
55
|
+
/**
|
|
56
|
+
* @public
|
|
57
|
+
* @override
|
|
58
|
+
*/
|
|
59
|
+
proto.ondewo.nlu.Operation.displayName = 'proto.ondewo.nlu.Operation';
|
|
62
60
|
}
|
|
63
61
|
/**
|
|
64
62
|
* Generated by JsPbCodeGenerator.
|
|
@@ -70,16 +68,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
70
68
|
* @extends {jspb.Message}
|
|
71
69
|
* @constructor
|
|
72
70
|
*/
|
|
73
|
-
proto.ondewo.nlu.GetOperationRequest = function
|
|
74
|
-
|
|
71
|
+
proto.ondewo.nlu.GetOperationRequest = function(opt_data) {
|
|
72
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
75
73
|
};
|
|
76
74
|
goog.inherits(proto.ondewo.nlu.GetOperationRequest, jspb.Message);
|
|
77
75
|
if (goog.DEBUG && !COMPILED) {
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
76
|
+
/**
|
|
77
|
+
* @public
|
|
78
|
+
* @override
|
|
79
|
+
*/
|
|
80
|
+
proto.ondewo.nlu.GetOperationRequest.displayName = 'proto.ondewo.nlu.GetOperationRequest';
|
|
83
81
|
}
|
|
84
82
|
/**
|
|
85
83
|
* Generated by JsPbCodeGenerator.
|
|
@@ -91,16 +89,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
91
89
|
* @extends {jspb.Message}
|
|
92
90
|
* @constructor
|
|
93
91
|
*/
|
|
94
|
-
proto.ondewo.nlu.ListOperationsRequest = function
|
|
95
|
-
|
|
92
|
+
proto.ondewo.nlu.ListOperationsRequest = function(opt_data) {
|
|
93
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
96
94
|
};
|
|
97
95
|
goog.inherits(proto.ondewo.nlu.ListOperationsRequest, jspb.Message);
|
|
98
96
|
if (goog.DEBUG && !COMPILED) {
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
97
|
+
/**
|
|
98
|
+
* @public
|
|
99
|
+
* @override
|
|
100
|
+
*/
|
|
101
|
+
proto.ondewo.nlu.ListOperationsRequest.displayName = 'proto.ondewo.nlu.ListOperationsRequest';
|
|
104
102
|
}
|
|
105
103
|
/**
|
|
106
104
|
* Generated by JsPbCodeGenerator.
|
|
@@ -112,23 +110,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
112
110
|
* @extends {jspb.Message}
|
|
113
111
|
* @constructor
|
|
114
112
|
*/
|
|
115
|
-
proto.ondewo.nlu.OperationFilter = function
|
|
116
|
-
|
|
117
|
-
this,
|
|
118
|
-
opt_data,
|
|
119
|
-
0,
|
|
120
|
-
-1,
|
|
121
|
-
proto.ondewo.nlu.OperationFilter.repeatedFields_,
|
|
122
|
-
proto.ondewo.nlu.OperationFilter.oneofGroups_
|
|
123
|
-
);
|
|
113
|
+
proto.ondewo.nlu.OperationFilter = function(opt_data) {
|
|
114
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.ondewo.nlu.OperationFilter.repeatedFields_, proto.ondewo.nlu.OperationFilter.oneofGroups_);
|
|
124
115
|
};
|
|
125
116
|
goog.inherits(proto.ondewo.nlu.OperationFilter, jspb.Message);
|
|
126
117
|
if (goog.DEBUG && !COMPILED) {
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
118
|
+
/**
|
|
119
|
+
* @public
|
|
120
|
+
* @override
|
|
121
|
+
*/
|
|
122
|
+
proto.ondewo.nlu.OperationFilter.displayName = 'proto.ondewo.nlu.OperationFilter';
|
|
132
123
|
}
|
|
133
124
|
/**
|
|
134
125
|
* Generated by JsPbCodeGenerator.
|
|
@@ -140,16 +131,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
140
131
|
* @extends {jspb.Message}
|
|
141
132
|
* @constructor
|
|
142
133
|
*/
|
|
143
|
-
proto.ondewo.nlu.ListOperationsResponse = function
|
|
144
|
-
|
|
134
|
+
proto.ondewo.nlu.ListOperationsResponse = function(opt_data) {
|
|
135
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.ondewo.nlu.ListOperationsResponse.repeatedFields_, null);
|
|
145
136
|
};
|
|
146
137
|
goog.inherits(proto.ondewo.nlu.ListOperationsResponse, jspb.Message);
|
|
147
138
|
if (goog.DEBUG && !COMPILED) {
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
139
|
+
/**
|
|
140
|
+
* @public
|
|
141
|
+
* @override
|
|
142
|
+
*/
|
|
143
|
+
proto.ondewo.nlu.ListOperationsResponse.displayName = 'proto.ondewo.nlu.ListOperationsResponse';
|
|
153
144
|
}
|
|
154
145
|
/**
|
|
155
146
|
* Generated by JsPbCodeGenerator.
|
|
@@ -161,16 +152,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
161
152
|
* @extends {jspb.Message}
|
|
162
153
|
* @constructor
|
|
163
154
|
*/
|
|
164
|
-
proto.ondewo.nlu.CancelOperationRequest = function
|
|
165
|
-
|
|
155
|
+
proto.ondewo.nlu.CancelOperationRequest = function(opt_data) {
|
|
156
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
166
157
|
};
|
|
167
158
|
goog.inherits(proto.ondewo.nlu.CancelOperationRequest, jspb.Message);
|
|
168
159
|
if (goog.DEBUG && !COMPILED) {
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
160
|
+
/**
|
|
161
|
+
* @public
|
|
162
|
+
* @override
|
|
163
|
+
*/
|
|
164
|
+
proto.ondewo.nlu.CancelOperationRequest.displayName = 'proto.ondewo.nlu.CancelOperationRequest';
|
|
174
165
|
}
|
|
175
166
|
/**
|
|
176
167
|
* Generated by JsPbCodeGenerator.
|
|
@@ -182,16 +173,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
182
173
|
* @extends {jspb.Message}
|
|
183
174
|
* @constructor
|
|
184
175
|
*/
|
|
185
|
-
proto.ondewo.nlu.DeleteOperationRequest = function
|
|
186
|
-
|
|
176
|
+
proto.ondewo.nlu.DeleteOperationRequest = function(opt_data) {
|
|
177
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
187
178
|
};
|
|
188
179
|
goog.inherits(proto.ondewo.nlu.DeleteOperationRequest, jspb.Message);
|
|
189
180
|
if (goog.DEBUG && !COMPILED) {
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
181
|
+
/**
|
|
182
|
+
* @public
|
|
183
|
+
* @override
|
|
184
|
+
*/
|
|
185
|
+
proto.ondewo.nlu.DeleteOperationRequest.displayName = 'proto.ondewo.nlu.DeleteOperationRequest';
|
|
195
186
|
}
|
|
196
187
|
|
|
197
188
|
/**
|
|
@@ -202,81 +193,82 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
202
193
|
* @private {!Array<!Array<number>>}
|
|
203
194
|
* @const
|
|
204
195
|
*/
|
|
205
|
-
proto.ondewo.nlu.Operation.oneofGroups_ = [[4,
|
|
196
|
+
proto.ondewo.nlu.Operation.oneofGroups_ = [[4,5]];
|
|
206
197
|
|
|
207
198
|
/**
|
|
208
199
|
* @enum {number}
|
|
209
200
|
*/
|
|
210
201
|
proto.ondewo.nlu.Operation.ResultCase = {
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
202
|
+
RESULT_NOT_SET: 0,
|
|
203
|
+
ERROR: 4,
|
|
204
|
+
RESPONSE: 5
|
|
214
205
|
};
|
|
215
206
|
|
|
216
207
|
/**
|
|
217
208
|
* @return {proto.ondewo.nlu.Operation.ResultCase}
|
|
218
209
|
*/
|
|
219
|
-
proto.ondewo.nlu.Operation.prototype.getResultCase = function
|
|
220
|
-
|
|
221
|
-
jspb.Message.computeOneofCase(this, proto.ondewo.nlu.Operation.oneofGroups_[0])
|
|
222
|
-
);
|
|
210
|
+
proto.ondewo.nlu.Operation.prototype.getResultCase = function() {
|
|
211
|
+
return /** @type {proto.ondewo.nlu.Operation.ResultCase} */(jspb.Message.computeOneofCase(this, proto.ondewo.nlu.Operation.oneofGroups_[0]));
|
|
223
212
|
};
|
|
224
213
|
|
|
214
|
+
|
|
215
|
+
|
|
225
216
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
};
|
|
217
|
+
/**
|
|
218
|
+
* Creates an object representation of this proto.
|
|
219
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
220
|
+
* Optional fields that are not set will be set to undefined.
|
|
221
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
222
|
+
* For the list of reserved names please see:
|
|
223
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
224
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
225
|
+
* JSPB instance for transitional soy proto support:
|
|
226
|
+
* http://goto/soy-param-migration
|
|
227
|
+
* @return {!Object}
|
|
228
|
+
*/
|
|
229
|
+
proto.ondewo.nlu.Operation.prototype.toObject = function(opt_includeInstance) {
|
|
230
|
+
return proto.ondewo.nlu.Operation.toObject(opt_includeInstance, this);
|
|
231
|
+
};
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
/**
|
|
235
|
+
* Static version of the {@see toObject} method.
|
|
236
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
237
|
+
* the JSPB instance for transitional soy proto support:
|
|
238
|
+
* http://goto/soy-param-migration
|
|
239
|
+
* @param {!proto.ondewo.nlu.Operation} msg The msg instance to transform.
|
|
240
|
+
* @return {!Object}
|
|
241
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
242
|
+
*/
|
|
243
|
+
proto.ondewo.nlu.Operation.toObject = function(includeInstance, msg) {
|
|
244
|
+
var f, obj = {
|
|
245
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
246
|
+
metadata: (f = msg.getMetadata()) && ondewo_nlu_operation_metadata_pb.OperationMetadata.toObject(includeInstance, f),
|
|
247
|
+
done: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
|
|
248
|
+
error: (f = msg.getError()) && google_rpc_status_pb.Status.toObject(includeInstance, f),
|
|
249
|
+
response: (f = msg.getResponse()) && google_protobuf_any_pb.Any.toObject(includeInstance, f)
|
|
250
|
+
};
|
|
251
|
+
|
|
252
|
+
if (includeInstance) {
|
|
253
|
+
obj.$jspbMessageInstance = msg;
|
|
254
|
+
}
|
|
255
|
+
return obj;
|
|
256
|
+
};
|
|
267
257
|
}
|
|
268
258
|
|
|
259
|
+
|
|
269
260
|
/**
|
|
270
261
|
* Deserializes binary data (in protobuf wire format).
|
|
271
262
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
272
263
|
* @return {!proto.ondewo.nlu.Operation}
|
|
273
264
|
*/
|
|
274
|
-
proto.ondewo.nlu.Operation.deserializeBinary = function
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
265
|
+
proto.ondewo.nlu.Operation.deserializeBinary = function(bytes) {
|
|
266
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
267
|
+
var msg = new proto.ondewo.nlu.Operation;
|
|
268
|
+
return proto.ondewo.nlu.Operation.deserializeBinaryFromReader(msg, reader);
|
|
278
269
|
};
|
|
279
270
|
|
|
271
|
+
|
|
280
272
|
/**
|
|
281
273
|
* Deserializes binary data (in protobuf wire format) from the
|
|
282
274
|
* given reader into the given message object.
|
|
@@ -284,54 +276,56 @@ proto.ondewo.nlu.Operation.deserializeBinary = function (bytes) {
|
|
|
284
276
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
285
277
|
* @return {!proto.ondewo.nlu.Operation}
|
|
286
278
|
*/
|
|
287
|
-
proto.ondewo.nlu.Operation.deserializeBinaryFromReader = function
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
279
|
+
proto.ondewo.nlu.Operation.deserializeBinaryFromReader = function(msg, reader) {
|
|
280
|
+
while (reader.nextField()) {
|
|
281
|
+
if (reader.isEndGroup()) {
|
|
282
|
+
break;
|
|
283
|
+
}
|
|
284
|
+
var field = reader.getFieldNumber();
|
|
285
|
+
switch (field) {
|
|
286
|
+
case 1:
|
|
287
|
+
var value = /** @type {string} */ (reader.readString());
|
|
288
|
+
msg.setName(value);
|
|
289
|
+
break;
|
|
290
|
+
case 2:
|
|
291
|
+
var value = new ondewo_nlu_operation_metadata_pb.OperationMetadata;
|
|
292
|
+
reader.readMessage(value,ondewo_nlu_operation_metadata_pb.OperationMetadata.deserializeBinaryFromReader);
|
|
293
|
+
msg.setMetadata(value);
|
|
294
|
+
break;
|
|
295
|
+
case 3:
|
|
296
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
297
|
+
msg.setDone(value);
|
|
298
|
+
break;
|
|
299
|
+
case 4:
|
|
300
|
+
var value = new google_rpc_status_pb.Status;
|
|
301
|
+
reader.readMessage(value,google_rpc_status_pb.Status.deserializeBinaryFromReader);
|
|
302
|
+
msg.setError(value);
|
|
303
|
+
break;
|
|
304
|
+
case 5:
|
|
305
|
+
var value = new google_protobuf_any_pb.Any;
|
|
306
|
+
reader.readMessage(value,google_protobuf_any_pb.Any.deserializeBinaryFromReader);
|
|
307
|
+
msg.setResponse(value);
|
|
308
|
+
break;
|
|
309
|
+
default:
|
|
310
|
+
reader.skipField();
|
|
311
|
+
break;
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
return msg;
|
|
323
315
|
};
|
|
324
316
|
|
|
317
|
+
|
|
325
318
|
/**
|
|
326
319
|
* Serializes the message to binary data (in protobuf wire format).
|
|
327
320
|
* @return {!Uint8Array}
|
|
328
321
|
*/
|
|
329
|
-
proto.ondewo.nlu.Operation.prototype.serializeBinary = function
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
322
|
+
proto.ondewo.nlu.Operation.prototype.serializeBinary = function() {
|
|
323
|
+
var writer = new jspb.BinaryWriter();
|
|
324
|
+
proto.ondewo.nlu.Operation.serializeBinaryToWriter(this, writer);
|
|
325
|
+
return writer.getResultBuffer();
|
|
333
326
|
};
|
|
334
327
|
|
|
328
|
+
|
|
335
329
|
/**
|
|
336
330
|
* Serializes the given message to binary data (in protobuf wire
|
|
337
331
|
* format), writing to the given BinaryWriter.
|
|
@@ -339,210 +333,251 @@ proto.ondewo.nlu.Operation.prototype.serializeBinary = function () {
|
|
|
339
333
|
* @param {!jspb.BinaryWriter} writer
|
|
340
334
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
341
335
|
*/
|
|
342
|
-
proto.ondewo.nlu.Operation.serializeBinaryToWriter = function
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
336
|
+
proto.ondewo.nlu.Operation.serializeBinaryToWriter = function(message, writer) {
|
|
337
|
+
var f = undefined;
|
|
338
|
+
f = message.getName();
|
|
339
|
+
if (f.length > 0) {
|
|
340
|
+
writer.writeString(
|
|
341
|
+
1,
|
|
342
|
+
f
|
|
343
|
+
);
|
|
344
|
+
}
|
|
345
|
+
f = message.getMetadata();
|
|
346
|
+
if (f != null) {
|
|
347
|
+
writer.writeMessage(
|
|
348
|
+
2,
|
|
349
|
+
f,
|
|
350
|
+
ondewo_nlu_operation_metadata_pb.OperationMetadata.serializeBinaryToWriter
|
|
351
|
+
);
|
|
352
|
+
}
|
|
353
|
+
f = message.getDone();
|
|
354
|
+
if (f) {
|
|
355
|
+
writer.writeBool(
|
|
356
|
+
3,
|
|
357
|
+
f
|
|
358
|
+
);
|
|
359
|
+
}
|
|
360
|
+
f = message.getError();
|
|
361
|
+
if (f != null) {
|
|
362
|
+
writer.writeMessage(
|
|
363
|
+
4,
|
|
364
|
+
f,
|
|
365
|
+
google_rpc_status_pb.Status.serializeBinaryToWriter
|
|
366
|
+
);
|
|
367
|
+
}
|
|
368
|
+
f = message.getResponse();
|
|
369
|
+
if (f != null) {
|
|
370
|
+
writer.writeMessage(
|
|
371
|
+
5,
|
|
372
|
+
f,
|
|
373
|
+
google_protobuf_any_pb.Any.serializeBinaryToWriter
|
|
374
|
+
);
|
|
375
|
+
}
|
|
364
376
|
};
|
|
365
377
|
|
|
378
|
+
|
|
366
379
|
/**
|
|
367
380
|
* optional string name = 1;
|
|
368
381
|
* @return {string}
|
|
369
382
|
*/
|
|
370
|
-
proto.ondewo.nlu.Operation.prototype.getName = function
|
|
371
|
-
|
|
383
|
+
proto.ondewo.nlu.Operation.prototype.getName = function() {
|
|
384
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
372
385
|
};
|
|
373
386
|
|
|
387
|
+
|
|
374
388
|
/**
|
|
375
389
|
* @param {string} value
|
|
376
390
|
* @return {!proto.ondewo.nlu.Operation} returns this
|
|
377
391
|
*/
|
|
378
|
-
proto.ondewo.nlu.Operation.prototype.setName = function
|
|
379
|
-
|
|
392
|
+
proto.ondewo.nlu.Operation.prototype.setName = function(value) {
|
|
393
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
380
394
|
};
|
|
381
395
|
|
|
396
|
+
|
|
382
397
|
/**
|
|
383
398
|
* optional OperationMetadata metadata = 2;
|
|
384
399
|
* @return {?proto.ondewo.nlu.OperationMetadata}
|
|
385
400
|
*/
|
|
386
|
-
proto.ondewo.nlu.Operation.prototype.getMetadata = function
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
);
|
|
401
|
+
proto.ondewo.nlu.Operation.prototype.getMetadata = function() {
|
|
402
|
+
return /** @type{?proto.ondewo.nlu.OperationMetadata} */ (
|
|
403
|
+
jspb.Message.getWrapperField(this, ondewo_nlu_operation_metadata_pb.OperationMetadata, 2));
|
|
390
404
|
};
|
|
391
405
|
|
|
406
|
+
|
|
392
407
|
/**
|
|
393
408
|
* @param {?proto.ondewo.nlu.OperationMetadata|undefined} value
|
|
394
409
|
* @return {!proto.ondewo.nlu.Operation} returns this
|
|
395
|
-
|
|
396
|
-
proto.ondewo.nlu.Operation.prototype.setMetadata = function
|
|
397
|
-
|
|
410
|
+
*/
|
|
411
|
+
proto.ondewo.nlu.Operation.prototype.setMetadata = function(value) {
|
|
412
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
398
413
|
};
|
|
399
414
|
|
|
415
|
+
|
|
400
416
|
/**
|
|
401
417
|
* Clears the message field making it undefined.
|
|
402
418
|
* @return {!proto.ondewo.nlu.Operation} returns this
|
|
403
419
|
*/
|
|
404
|
-
proto.ondewo.nlu.Operation.prototype.clearMetadata = function
|
|
405
|
-
|
|
420
|
+
proto.ondewo.nlu.Operation.prototype.clearMetadata = function() {
|
|
421
|
+
return this.setMetadata(undefined);
|
|
406
422
|
};
|
|
407
423
|
|
|
424
|
+
|
|
408
425
|
/**
|
|
409
426
|
* Returns whether this field is set.
|
|
410
427
|
* @return {boolean}
|
|
411
428
|
*/
|
|
412
|
-
proto.ondewo.nlu.Operation.prototype.hasMetadata = function
|
|
413
|
-
|
|
429
|
+
proto.ondewo.nlu.Operation.prototype.hasMetadata = function() {
|
|
430
|
+
return jspb.Message.getField(this, 2) != null;
|
|
414
431
|
};
|
|
415
432
|
|
|
433
|
+
|
|
416
434
|
/**
|
|
417
435
|
* optional bool done = 3;
|
|
418
436
|
* @return {boolean}
|
|
419
437
|
*/
|
|
420
|
-
proto.ondewo.nlu.Operation.prototype.getDone = function
|
|
421
|
-
|
|
438
|
+
proto.ondewo.nlu.Operation.prototype.getDone = function() {
|
|
439
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
|
|
422
440
|
};
|
|
423
441
|
|
|
442
|
+
|
|
424
443
|
/**
|
|
425
444
|
* @param {boolean} value
|
|
426
445
|
* @return {!proto.ondewo.nlu.Operation} returns this
|
|
427
446
|
*/
|
|
428
|
-
proto.ondewo.nlu.Operation.prototype.setDone = function
|
|
429
|
-
|
|
447
|
+
proto.ondewo.nlu.Operation.prototype.setDone = function(value) {
|
|
448
|
+
return jspb.Message.setProto3BooleanField(this, 3, value);
|
|
430
449
|
};
|
|
431
450
|
|
|
451
|
+
|
|
432
452
|
/**
|
|
433
453
|
* optional google.rpc.Status error = 4;
|
|
434
454
|
* @return {?proto.google.rpc.Status}
|
|
435
455
|
*/
|
|
436
|
-
proto.ondewo.nlu.Operation.prototype.getError = function
|
|
437
|
-
|
|
456
|
+
proto.ondewo.nlu.Operation.prototype.getError = function() {
|
|
457
|
+
return /** @type{?proto.google.rpc.Status} */ (
|
|
458
|
+
jspb.Message.getWrapperField(this, google_rpc_status_pb.Status, 4));
|
|
438
459
|
};
|
|
439
460
|
|
|
461
|
+
|
|
440
462
|
/**
|
|
441
463
|
* @param {?proto.google.rpc.Status|undefined} value
|
|
442
464
|
* @return {!proto.ondewo.nlu.Operation} returns this
|
|
443
|
-
|
|
444
|
-
proto.ondewo.nlu.Operation.prototype.setError = function
|
|
445
|
-
|
|
465
|
+
*/
|
|
466
|
+
proto.ondewo.nlu.Operation.prototype.setError = function(value) {
|
|
467
|
+
return jspb.Message.setOneofWrapperField(this, 4, proto.ondewo.nlu.Operation.oneofGroups_[0], value);
|
|
446
468
|
};
|
|
447
469
|
|
|
470
|
+
|
|
448
471
|
/**
|
|
449
472
|
* Clears the message field making it undefined.
|
|
450
473
|
* @return {!proto.ondewo.nlu.Operation} returns this
|
|
451
474
|
*/
|
|
452
|
-
proto.ondewo.nlu.Operation.prototype.clearError = function
|
|
453
|
-
|
|
475
|
+
proto.ondewo.nlu.Operation.prototype.clearError = function() {
|
|
476
|
+
return this.setError(undefined);
|
|
454
477
|
};
|
|
455
478
|
|
|
479
|
+
|
|
456
480
|
/**
|
|
457
481
|
* Returns whether this field is set.
|
|
458
482
|
* @return {boolean}
|
|
459
483
|
*/
|
|
460
|
-
proto.ondewo.nlu.Operation.prototype.hasError = function
|
|
461
|
-
|
|
484
|
+
proto.ondewo.nlu.Operation.prototype.hasError = function() {
|
|
485
|
+
return jspb.Message.getField(this, 4) != null;
|
|
462
486
|
};
|
|
463
487
|
|
|
488
|
+
|
|
464
489
|
/**
|
|
465
490
|
* optional google.protobuf.Any response = 5;
|
|
466
491
|
* @return {?proto.google.protobuf.Any}
|
|
467
492
|
*/
|
|
468
|
-
proto.ondewo.nlu.Operation.prototype.getResponse = function
|
|
469
|
-
|
|
493
|
+
proto.ondewo.nlu.Operation.prototype.getResponse = function() {
|
|
494
|
+
return /** @type{?proto.google.protobuf.Any} */ (
|
|
495
|
+
jspb.Message.getWrapperField(this, google_protobuf_any_pb.Any, 5));
|
|
470
496
|
};
|
|
471
497
|
|
|
498
|
+
|
|
472
499
|
/**
|
|
473
500
|
* @param {?proto.google.protobuf.Any|undefined} value
|
|
474
501
|
* @return {!proto.ondewo.nlu.Operation} returns this
|
|
475
|
-
|
|
476
|
-
proto.ondewo.nlu.Operation.prototype.setResponse = function
|
|
477
|
-
|
|
502
|
+
*/
|
|
503
|
+
proto.ondewo.nlu.Operation.prototype.setResponse = function(value) {
|
|
504
|
+
return jspb.Message.setOneofWrapperField(this, 5, proto.ondewo.nlu.Operation.oneofGroups_[0], value);
|
|
478
505
|
};
|
|
479
506
|
|
|
507
|
+
|
|
480
508
|
/**
|
|
481
509
|
* Clears the message field making it undefined.
|
|
482
510
|
* @return {!proto.ondewo.nlu.Operation} returns this
|
|
483
511
|
*/
|
|
484
|
-
proto.ondewo.nlu.Operation.prototype.clearResponse = function
|
|
485
|
-
|
|
512
|
+
proto.ondewo.nlu.Operation.prototype.clearResponse = function() {
|
|
513
|
+
return this.setResponse(undefined);
|
|
486
514
|
};
|
|
487
515
|
|
|
516
|
+
|
|
488
517
|
/**
|
|
489
518
|
* Returns whether this field is set.
|
|
490
519
|
* @return {boolean}
|
|
491
520
|
*/
|
|
492
|
-
proto.ondewo.nlu.Operation.prototype.hasResponse = function
|
|
493
|
-
|
|
521
|
+
proto.ondewo.nlu.Operation.prototype.hasResponse = function() {
|
|
522
|
+
return jspb.Message.getField(this, 5) != null;
|
|
494
523
|
};
|
|
495
524
|
|
|
525
|
+
|
|
526
|
+
|
|
527
|
+
|
|
528
|
+
|
|
496
529
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
530
|
+
/**
|
|
531
|
+
* Creates an object representation of this proto.
|
|
532
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
533
|
+
* Optional fields that are not set will be set to undefined.
|
|
534
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
535
|
+
* For the list of reserved names please see:
|
|
536
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
537
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
538
|
+
* JSPB instance for transitional soy proto support:
|
|
539
|
+
* http://goto/soy-param-migration
|
|
540
|
+
* @return {!Object}
|
|
541
|
+
*/
|
|
542
|
+
proto.ondewo.nlu.GetOperationRequest.prototype.toObject = function(opt_includeInstance) {
|
|
543
|
+
return proto.ondewo.nlu.GetOperationRequest.toObject(opt_includeInstance, this);
|
|
544
|
+
};
|
|
545
|
+
|
|
546
|
+
|
|
547
|
+
/**
|
|
548
|
+
* Static version of the {@see toObject} method.
|
|
549
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
550
|
+
* the JSPB instance for transitional soy proto support:
|
|
551
|
+
* http://goto/soy-param-migration
|
|
552
|
+
* @param {!proto.ondewo.nlu.GetOperationRequest} msg The msg instance to transform.
|
|
553
|
+
* @return {!Object}
|
|
554
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
555
|
+
*/
|
|
556
|
+
proto.ondewo.nlu.GetOperationRequest.toObject = function(includeInstance, msg) {
|
|
557
|
+
var f, obj = {
|
|
558
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
559
|
+
};
|
|
560
|
+
|
|
561
|
+
if (includeInstance) {
|
|
562
|
+
obj.$jspbMessageInstance = msg;
|
|
563
|
+
}
|
|
564
|
+
return obj;
|
|
565
|
+
};
|
|
533
566
|
}
|
|
534
567
|
|
|
568
|
+
|
|
535
569
|
/**
|
|
536
570
|
* Deserializes binary data (in protobuf wire format).
|
|
537
571
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
538
572
|
* @return {!proto.ondewo.nlu.GetOperationRequest}
|
|
539
573
|
*/
|
|
540
|
-
proto.ondewo.nlu.GetOperationRequest.deserializeBinary = function
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
574
|
+
proto.ondewo.nlu.GetOperationRequest.deserializeBinary = function(bytes) {
|
|
575
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
576
|
+
var msg = new proto.ondewo.nlu.GetOperationRequest;
|
|
577
|
+
return proto.ondewo.nlu.GetOperationRequest.deserializeBinaryFromReader(msg, reader);
|
|
544
578
|
};
|
|
545
579
|
|
|
580
|
+
|
|
546
581
|
/**
|
|
547
582
|
* Deserializes binary data (in protobuf wire format) from the
|
|
548
583
|
* given reader into the given message object.
|
|
@@ -550,35 +585,37 @@ proto.ondewo.nlu.GetOperationRequest.deserializeBinary = function (bytes) {
|
|
|
550
585
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
551
586
|
* @return {!proto.ondewo.nlu.GetOperationRequest}
|
|
552
587
|
*/
|
|
553
|
-
proto.ondewo.nlu.GetOperationRequest.deserializeBinaryFromReader = function
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
588
|
+
proto.ondewo.nlu.GetOperationRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
589
|
+
while (reader.nextField()) {
|
|
590
|
+
if (reader.isEndGroup()) {
|
|
591
|
+
break;
|
|
592
|
+
}
|
|
593
|
+
var field = reader.getFieldNumber();
|
|
594
|
+
switch (field) {
|
|
595
|
+
case 1:
|
|
596
|
+
var value = /** @type {string} */ (reader.readString());
|
|
597
|
+
msg.setName(value);
|
|
598
|
+
break;
|
|
599
|
+
default:
|
|
600
|
+
reader.skipField();
|
|
601
|
+
break;
|
|
602
|
+
}
|
|
603
|
+
}
|
|
604
|
+
return msg;
|
|
570
605
|
};
|
|
571
606
|
|
|
607
|
+
|
|
572
608
|
/**
|
|
573
609
|
* Serializes the message to binary data (in protobuf wire format).
|
|
574
610
|
* @return {!Uint8Array}
|
|
575
611
|
*/
|
|
576
|
-
proto.ondewo.nlu.GetOperationRequest.prototype.serializeBinary = function
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
612
|
+
proto.ondewo.nlu.GetOperationRequest.prototype.serializeBinary = function() {
|
|
613
|
+
var writer = new jspb.BinaryWriter();
|
|
614
|
+
proto.ondewo.nlu.GetOperationRequest.serializeBinaryToWriter(this, writer);
|
|
615
|
+
return writer.getResultBuffer();
|
|
580
616
|
};
|
|
581
617
|
|
|
618
|
+
|
|
582
619
|
/**
|
|
583
620
|
* Serializes the given message to binary data (in protobuf wire
|
|
584
621
|
* format), writing to the given BinaryWriter.
|
|
@@ -586,84 +623,95 @@ proto.ondewo.nlu.GetOperationRequest.prototype.serializeBinary = function () {
|
|
|
586
623
|
* @param {!jspb.BinaryWriter} writer
|
|
587
624
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
588
625
|
*/
|
|
589
|
-
proto.ondewo.nlu.GetOperationRequest.serializeBinaryToWriter = function
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
626
|
+
proto.ondewo.nlu.GetOperationRequest.serializeBinaryToWriter = function(message, writer) {
|
|
627
|
+
var f = undefined;
|
|
628
|
+
f = message.getName();
|
|
629
|
+
if (f.length > 0) {
|
|
630
|
+
writer.writeString(
|
|
631
|
+
1,
|
|
632
|
+
f
|
|
633
|
+
);
|
|
634
|
+
}
|
|
595
635
|
};
|
|
596
636
|
|
|
637
|
+
|
|
597
638
|
/**
|
|
598
639
|
* optional string name = 1;
|
|
599
640
|
* @return {string}
|
|
600
641
|
*/
|
|
601
|
-
proto.ondewo.nlu.GetOperationRequest.prototype.getName = function
|
|
602
|
-
|
|
642
|
+
proto.ondewo.nlu.GetOperationRequest.prototype.getName = function() {
|
|
643
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
603
644
|
};
|
|
604
645
|
|
|
646
|
+
|
|
605
647
|
/**
|
|
606
648
|
* @param {string} value
|
|
607
649
|
* @return {!proto.ondewo.nlu.GetOperationRequest} returns this
|
|
608
650
|
*/
|
|
609
|
-
proto.ondewo.nlu.GetOperationRequest.prototype.setName = function
|
|
610
|
-
|
|
651
|
+
proto.ondewo.nlu.GetOperationRequest.prototype.setName = function(value) {
|
|
652
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
611
653
|
};
|
|
612
654
|
|
|
655
|
+
|
|
656
|
+
|
|
657
|
+
|
|
658
|
+
|
|
613
659
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
660
|
+
/**
|
|
661
|
+
* Creates an object representation of this proto.
|
|
662
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
663
|
+
* Optional fields that are not set will be set to undefined.
|
|
664
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
665
|
+
* For the list of reserved names please see:
|
|
666
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
667
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
668
|
+
* JSPB instance for transitional soy proto support:
|
|
669
|
+
* http://goto/soy-param-migration
|
|
670
|
+
* @return {!Object}
|
|
671
|
+
*/
|
|
672
|
+
proto.ondewo.nlu.ListOperationsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
673
|
+
return proto.ondewo.nlu.ListOperationsRequest.toObject(opt_includeInstance, this);
|
|
674
|
+
};
|
|
675
|
+
|
|
676
|
+
|
|
677
|
+
/**
|
|
678
|
+
* Static version of the {@see toObject} method.
|
|
679
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
680
|
+
* the JSPB instance for transitional soy proto support:
|
|
681
|
+
* http://goto/soy-param-migration
|
|
682
|
+
* @param {!proto.ondewo.nlu.ListOperationsRequest} msg The msg instance to transform.
|
|
683
|
+
* @return {!Object}
|
|
684
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
685
|
+
*/
|
|
686
|
+
proto.ondewo.nlu.ListOperationsRequest.toObject = function(includeInstance, msg) {
|
|
687
|
+
var f, obj = {
|
|
688
|
+
name: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
689
|
+
filter: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
690
|
+
pageSize: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
691
|
+
pageToken: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
692
|
+
operationFilter: (f = msg.getOperationFilter()) && proto.ondewo.nlu.OperationFilter.toObject(includeInstance, f)
|
|
693
|
+
};
|
|
694
|
+
|
|
695
|
+
if (includeInstance) {
|
|
696
|
+
obj.$jspbMessageInstance = msg;
|
|
697
|
+
}
|
|
698
|
+
return obj;
|
|
699
|
+
};
|
|
654
700
|
}
|
|
655
701
|
|
|
702
|
+
|
|
656
703
|
/**
|
|
657
704
|
* Deserializes binary data (in protobuf wire format).
|
|
658
705
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
659
706
|
* @return {!proto.ondewo.nlu.ListOperationsRequest}
|
|
660
707
|
*/
|
|
661
|
-
proto.ondewo.nlu.ListOperationsRequest.deserializeBinary = function
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
708
|
+
proto.ondewo.nlu.ListOperationsRequest.deserializeBinary = function(bytes) {
|
|
709
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
710
|
+
var msg = new proto.ondewo.nlu.ListOperationsRequest;
|
|
711
|
+
return proto.ondewo.nlu.ListOperationsRequest.deserializeBinaryFromReader(msg, reader);
|
|
665
712
|
};
|
|
666
713
|
|
|
714
|
+
|
|
667
715
|
/**
|
|
668
716
|
* Deserializes binary data (in protobuf wire format) from the
|
|
669
717
|
* given reader into the given message object.
|
|
@@ -671,52 +719,54 @@ proto.ondewo.nlu.ListOperationsRequest.deserializeBinary = function (bytes) {
|
|
|
671
719
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
672
720
|
* @return {!proto.ondewo.nlu.ListOperationsRequest}
|
|
673
721
|
*/
|
|
674
|
-
proto.ondewo.nlu.ListOperationsRequest.deserializeBinaryFromReader = function
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
722
|
+
proto.ondewo.nlu.ListOperationsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
723
|
+
while (reader.nextField()) {
|
|
724
|
+
if (reader.isEndGroup()) {
|
|
725
|
+
break;
|
|
726
|
+
}
|
|
727
|
+
var field = reader.getFieldNumber();
|
|
728
|
+
switch (field) {
|
|
729
|
+
case 4:
|
|
730
|
+
var value = /** @type {string} */ (reader.readString());
|
|
731
|
+
msg.setName(value);
|
|
732
|
+
break;
|
|
733
|
+
case 1:
|
|
734
|
+
var value = /** @type {string} */ (reader.readString());
|
|
735
|
+
msg.setFilter(value);
|
|
736
|
+
break;
|
|
737
|
+
case 2:
|
|
738
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
739
|
+
msg.setPageSize(value);
|
|
740
|
+
break;
|
|
741
|
+
case 3:
|
|
742
|
+
var value = /** @type {string} */ (reader.readString());
|
|
743
|
+
msg.setPageToken(value);
|
|
744
|
+
break;
|
|
745
|
+
case 5:
|
|
746
|
+
var value = new proto.ondewo.nlu.OperationFilter;
|
|
747
|
+
reader.readMessage(value,proto.ondewo.nlu.OperationFilter.deserializeBinaryFromReader);
|
|
748
|
+
msg.setOperationFilter(value);
|
|
749
|
+
break;
|
|
750
|
+
default:
|
|
751
|
+
reader.skipField();
|
|
752
|
+
break;
|
|
753
|
+
}
|
|
754
|
+
}
|
|
755
|
+
return msg;
|
|
708
756
|
};
|
|
709
757
|
|
|
758
|
+
|
|
710
759
|
/**
|
|
711
760
|
* Serializes the message to binary data (in protobuf wire format).
|
|
712
761
|
* @return {!Uint8Array}
|
|
713
762
|
*/
|
|
714
|
-
proto.ondewo.nlu.ListOperationsRequest.prototype.serializeBinary = function
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
763
|
+
proto.ondewo.nlu.ListOperationsRequest.prototype.serializeBinary = function() {
|
|
764
|
+
var writer = new jspb.BinaryWriter();
|
|
765
|
+
proto.ondewo.nlu.ListOperationsRequest.serializeBinaryToWriter(this, writer);
|
|
766
|
+
return writer.getResultBuffer();
|
|
718
767
|
};
|
|
719
768
|
|
|
769
|
+
|
|
720
770
|
/**
|
|
721
771
|
* Serializes the given message to binary data (in protobuf wire
|
|
722
772
|
* format), writing to the given BinaryWriter.
|
|
@@ -724,134 +774,163 @@ proto.ondewo.nlu.ListOperationsRequest.prototype.serializeBinary = function () {
|
|
|
724
774
|
* @param {!jspb.BinaryWriter} writer
|
|
725
775
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
726
776
|
*/
|
|
727
|
-
proto.ondewo.nlu.ListOperationsRequest.serializeBinaryToWriter = function
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
777
|
+
proto.ondewo.nlu.ListOperationsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
778
|
+
var f = undefined;
|
|
779
|
+
f = message.getName();
|
|
780
|
+
if (f.length > 0) {
|
|
781
|
+
writer.writeString(
|
|
782
|
+
4,
|
|
783
|
+
f
|
|
784
|
+
);
|
|
785
|
+
}
|
|
786
|
+
f = message.getFilter();
|
|
787
|
+
if (f.length > 0) {
|
|
788
|
+
writer.writeString(
|
|
789
|
+
1,
|
|
790
|
+
f
|
|
791
|
+
);
|
|
792
|
+
}
|
|
793
|
+
f = message.getPageSize();
|
|
794
|
+
if (f !== 0) {
|
|
795
|
+
writer.writeInt32(
|
|
796
|
+
2,
|
|
797
|
+
f
|
|
798
|
+
);
|
|
799
|
+
}
|
|
800
|
+
f = message.getPageToken();
|
|
801
|
+
if (f.length > 0) {
|
|
802
|
+
writer.writeString(
|
|
803
|
+
3,
|
|
804
|
+
f
|
|
805
|
+
);
|
|
806
|
+
}
|
|
807
|
+
f = message.getOperationFilter();
|
|
808
|
+
if (f != null) {
|
|
809
|
+
writer.writeMessage(
|
|
810
|
+
5,
|
|
811
|
+
f,
|
|
812
|
+
proto.ondewo.nlu.OperationFilter.serializeBinaryToWriter
|
|
813
|
+
);
|
|
814
|
+
}
|
|
749
815
|
};
|
|
750
816
|
|
|
817
|
+
|
|
751
818
|
/**
|
|
752
819
|
* optional string name = 4;
|
|
753
820
|
* @return {string}
|
|
754
821
|
*/
|
|
755
|
-
proto.ondewo.nlu.ListOperationsRequest.prototype.getName = function
|
|
756
|
-
|
|
822
|
+
proto.ondewo.nlu.ListOperationsRequest.prototype.getName = function() {
|
|
823
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
757
824
|
};
|
|
758
825
|
|
|
826
|
+
|
|
759
827
|
/**
|
|
760
828
|
* @param {string} value
|
|
761
829
|
* @return {!proto.ondewo.nlu.ListOperationsRequest} returns this
|
|
762
830
|
*/
|
|
763
|
-
proto.ondewo.nlu.ListOperationsRequest.prototype.setName = function
|
|
764
|
-
|
|
831
|
+
proto.ondewo.nlu.ListOperationsRequest.prototype.setName = function(value) {
|
|
832
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
765
833
|
};
|
|
766
834
|
|
|
835
|
+
|
|
767
836
|
/**
|
|
768
837
|
* optional string filter = 1;
|
|
769
838
|
* @return {string}
|
|
770
839
|
*/
|
|
771
|
-
proto.ondewo.nlu.ListOperationsRequest.prototype.getFilter = function
|
|
772
|
-
|
|
840
|
+
proto.ondewo.nlu.ListOperationsRequest.prototype.getFilter = function() {
|
|
841
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
773
842
|
};
|
|
774
843
|
|
|
844
|
+
|
|
775
845
|
/**
|
|
776
846
|
* @param {string} value
|
|
777
847
|
* @return {!proto.ondewo.nlu.ListOperationsRequest} returns this
|
|
778
848
|
*/
|
|
779
|
-
proto.ondewo.nlu.ListOperationsRequest.prototype.setFilter = function
|
|
780
|
-
|
|
849
|
+
proto.ondewo.nlu.ListOperationsRequest.prototype.setFilter = function(value) {
|
|
850
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
781
851
|
};
|
|
782
852
|
|
|
853
|
+
|
|
783
854
|
/**
|
|
784
855
|
* optional int32 page_size = 2;
|
|
785
856
|
* @return {number}
|
|
786
857
|
*/
|
|
787
|
-
proto.ondewo.nlu.ListOperationsRequest.prototype.getPageSize = function
|
|
788
|
-
|
|
858
|
+
proto.ondewo.nlu.ListOperationsRequest.prototype.getPageSize = function() {
|
|
859
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
789
860
|
};
|
|
790
861
|
|
|
862
|
+
|
|
791
863
|
/**
|
|
792
864
|
* @param {number} value
|
|
793
865
|
* @return {!proto.ondewo.nlu.ListOperationsRequest} returns this
|
|
794
866
|
*/
|
|
795
|
-
proto.ondewo.nlu.ListOperationsRequest.prototype.setPageSize = function
|
|
796
|
-
|
|
867
|
+
proto.ondewo.nlu.ListOperationsRequest.prototype.setPageSize = function(value) {
|
|
868
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
797
869
|
};
|
|
798
870
|
|
|
871
|
+
|
|
799
872
|
/**
|
|
800
873
|
* optional string page_token = 3;
|
|
801
874
|
* @return {string}
|
|
802
875
|
*/
|
|
803
|
-
proto.ondewo.nlu.ListOperationsRequest.prototype.getPageToken = function
|
|
804
|
-
|
|
876
|
+
proto.ondewo.nlu.ListOperationsRequest.prototype.getPageToken = function() {
|
|
877
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
805
878
|
};
|
|
806
879
|
|
|
880
|
+
|
|
807
881
|
/**
|
|
808
882
|
* @param {string} value
|
|
809
883
|
* @return {!proto.ondewo.nlu.ListOperationsRequest} returns this
|
|
810
884
|
*/
|
|
811
|
-
proto.ondewo.nlu.ListOperationsRequest.prototype.setPageToken = function
|
|
812
|
-
|
|
885
|
+
proto.ondewo.nlu.ListOperationsRequest.prototype.setPageToken = function(value) {
|
|
886
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
813
887
|
};
|
|
814
888
|
|
|
889
|
+
|
|
815
890
|
/**
|
|
816
891
|
* optional OperationFilter operation_filter = 5;
|
|
817
892
|
* @return {?proto.ondewo.nlu.OperationFilter}
|
|
818
893
|
*/
|
|
819
|
-
proto.ondewo.nlu.ListOperationsRequest.prototype.getOperationFilter = function
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
);
|
|
894
|
+
proto.ondewo.nlu.ListOperationsRequest.prototype.getOperationFilter = function() {
|
|
895
|
+
return /** @type{?proto.ondewo.nlu.OperationFilter} */ (
|
|
896
|
+
jspb.Message.getWrapperField(this, proto.ondewo.nlu.OperationFilter, 5));
|
|
823
897
|
};
|
|
824
898
|
|
|
899
|
+
|
|
825
900
|
/**
|
|
826
901
|
* @param {?proto.ondewo.nlu.OperationFilter|undefined} value
|
|
827
902
|
* @return {!proto.ondewo.nlu.ListOperationsRequest} returns this
|
|
828
|
-
|
|
829
|
-
proto.ondewo.nlu.ListOperationsRequest.prototype.setOperationFilter = function
|
|
830
|
-
|
|
903
|
+
*/
|
|
904
|
+
proto.ondewo.nlu.ListOperationsRequest.prototype.setOperationFilter = function(value) {
|
|
905
|
+
return jspb.Message.setWrapperField(this, 5, value);
|
|
831
906
|
};
|
|
832
907
|
|
|
908
|
+
|
|
833
909
|
/**
|
|
834
910
|
* Clears the message field making it undefined.
|
|
835
911
|
* @return {!proto.ondewo.nlu.ListOperationsRequest} returns this
|
|
836
912
|
*/
|
|
837
|
-
proto.ondewo.nlu.ListOperationsRequest.prototype.clearOperationFilter = function
|
|
838
|
-
|
|
913
|
+
proto.ondewo.nlu.ListOperationsRequest.prototype.clearOperationFilter = function() {
|
|
914
|
+
return this.setOperationFilter(undefined);
|
|
839
915
|
};
|
|
840
916
|
|
|
917
|
+
|
|
841
918
|
/**
|
|
842
919
|
* Returns whether this field is set.
|
|
843
920
|
* @return {boolean}
|
|
844
921
|
*/
|
|
845
|
-
proto.ondewo.nlu.ListOperationsRequest.prototype.hasOperationFilter = function
|
|
846
|
-
|
|
922
|
+
proto.ondewo.nlu.ListOperationsRequest.prototype.hasOperationFilter = function() {
|
|
923
|
+
return jspb.Message.getField(this, 5) != null;
|
|
847
924
|
};
|
|
848
925
|
|
|
926
|
+
|
|
927
|
+
|
|
849
928
|
/**
|
|
850
929
|
* List of repeated fields within this message type.
|
|
851
930
|
* @private {!Array<number>}
|
|
852
931
|
* @const
|
|
853
932
|
*/
|
|
854
|
-
proto.ondewo.nlu.OperationFilter.repeatedFields_ = [1,
|
|
933
|
+
proto.ondewo.nlu.OperationFilter.repeatedFields_ = [1,2,3,6];
|
|
855
934
|
|
|
856
935
|
/**
|
|
857
936
|
* Oneof group definitions for this message. Each group defines the field
|
|
@@ -861,97 +940,97 @@ proto.ondewo.nlu.OperationFilter.repeatedFields_ = [1, 2, 3, 6];
|
|
|
861
940
|
* @private {!Array<!Array<number>>}
|
|
862
941
|
* @const
|
|
863
942
|
*/
|
|
864
|
-
proto.ondewo.nlu.OperationFilter.oneofGroups_ = [[4],
|
|
943
|
+
proto.ondewo.nlu.OperationFilter.oneofGroups_ = [[4],[5]];
|
|
865
944
|
|
|
866
945
|
/**
|
|
867
946
|
* @enum {number}
|
|
868
947
|
*/
|
|
869
948
|
proto.ondewo.nlu.OperationFilter.StartTimeOneofCase = {
|
|
870
|
-
|
|
871
|
-
|
|
949
|
+
START_TIME_ONEOF_NOT_SET: 0,
|
|
950
|
+
START_TIME: 4
|
|
872
951
|
};
|
|
873
952
|
|
|
874
953
|
/**
|
|
875
954
|
* @return {proto.ondewo.nlu.OperationFilter.StartTimeOneofCase}
|
|
876
955
|
*/
|
|
877
|
-
proto.ondewo.nlu.OperationFilter.prototype.getStartTimeOneofCase = function
|
|
878
|
-
|
|
879
|
-
jspb.Message.computeOneofCase(this, proto.ondewo.nlu.OperationFilter.oneofGroups_[0])
|
|
880
|
-
);
|
|
956
|
+
proto.ondewo.nlu.OperationFilter.prototype.getStartTimeOneofCase = function() {
|
|
957
|
+
return /** @type {proto.ondewo.nlu.OperationFilter.StartTimeOneofCase} */(jspb.Message.computeOneofCase(this, proto.ondewo.nlu.OperationFilter.oneofGroups_[0]));
|
|
881
958
|
};
|
|
882
959
|
|
|
883
960
|
/**
|
|
884
961
|
* @enum {number}
|
|
885
962
|
*/
|
|
886
963
|
proto.ondewo.nlu.OperationFilter.EndTimeOneofCase = {
|
|
887
|
-
|
|
888
|
-
|
|
964
|
+
END_TIME_ONEOF_NOT_SET: 0,
|
|
965
|
+
END_TIME: 5
|
|
889
966
|
};
|
|
890
967
|
|
|
891
968
|
/**
|
|
892
969
|
* @return {proto.ondewo.nlu.OperationFilter.EndTimeOneofCase}
|
|
893
970
|
*/
|
|
894
|
-
proto.ondewo.nlu.OperationFilter.prototype.getEndTimeOneofCase = function
|
|
895
|
-
|
|
896
|
-
jspb.Message.computeOneofCase(this, proto.ondewo.nlu.OperationFilter.oneofGroups_[1])
|
|
897
|
-
);
|
|
971
|
+
proto.ondewo.nlu.OperationFilter.prototype.getEndTimeOneofCase = function() {
|
|
972
|
+
return /** @type {proto.ondewo.nlu.OperationFilter.EndTimeOneofCase} */(jspb.Message.computeOneofCase(this, proto.ondewo.nlu.OperationFilter.oneofGroups_[1]));
|
|
898
973
|
};
|
|
899
974
|
|
|
975
|
+
|
|
976
|
+
|
|
900
977
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
978
|
+
/**
|
|
979
|
+
* Creates an object representation of this proto.
|
|
980
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
981
|
+
* Optional fields that are not set will be set to undefined.
|
|
982
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
983
|
+
* For the list of reserved names please see:
|
|
984
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
985
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
986
|
+
* JSPB instance for transitional soy proto support:
|
|
987
|
+
* http://goto/soy-param-migration
|
|
988
|
+
* @return {!Object}
|
|
989
|
+
*/
|
|
990
|
+
proto.ondewo.nlu.OperationFilter.prototype.toObject = function(opt_includeInstance) {
|
|
991
|
+
return proto.ondewo.nlu.OperationFilter.toObject(opt_includeInstance, this);
|
|
992
|
+
};
|
|
993
|
+
|
|
994
|
+
|
|
995
|
+
/**
|
|
996
|
+
* Static version of the {@see toObject} method.
|
|
997
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
998
|
+
* the JSPB instance for transitional soy proto support:
|
|
999
|
+
* http://goto/soy-param-migration
|
|
1000
|
+
* @param {!proto.ondewo.nlu.OperationFilter} msg The msg instance to transform.
|
|
1001
|
+
* @return {!Object}
|
|
1002
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1003
|
+
*/
|
|
1004
|
+
proto.ondewo.nlu.OperationFilter.toObject = function(includeInstance, msg) {
|
|
1005
|
+
var f, obj = {
|
|
1006
|
+
projectParentsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
|
1007
|
+
statusesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
|
|
1008
|
+
typesList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
|
1009
|
+
startTime: (f = msg.getStartTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
1010
|
+
endTime: (f = msg.getEndTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
1011
|
+
userIdsList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f
|
|
1012
|
+
};
|
|
1013
|
+
|
|
1014
|
+
if (includeInstance) {
|
|
1015
|
+
obj.$jspbMessageInstance = msg;
|
|
1016
|
+
}
|
|
1017
|
+
return obj;
|
|
1018
|
+
};
|
|
942
1019
|
}
|
|
943
1020
|
|
|
1021
|
+
|
|
944
1022
|
/**
|
|
945
1023
|
* Deserializes binary data (in protobuf wire format).
|
|
946
1024
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
947
1025
|
* @return {!proto.ondewo.nlu.OperationFilter}
|
|
948
1026
|
*/
|
|
949
|
-
proto.ondewo.nlu.OperationFilter.deserializeBinary = function
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
1027
|
+
proto.ondewo.nlu.OperationFilter.deserializeBinary = function(bytes) {
|
|
1028
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1029
|
+
var msg = new proto.ondewo.nlu.OperationFilter;
|
|
1030
|
+
return proto.ondewo.nlu.OperationFilter.deserializeBinaryFromReader(msg, reader);
|
|
953
1031
|
};
|
|
954
1032
|
|
|
1033
|
+
|
|
955
1034
|
/**
|
|
956
1035
|
* Deserializes binary data (in protobuf wire format) from the
|
|
957
1036
|
* given reader into the given message object.
|
|
@@ -959,65 +1038,63 @@ proto.ondewo.nlu.OperationFilter.deserializeBinary = function (bytes) {
|
|
|
959
1038
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
960
1039
|
* @return {!proto.ondewo.nlu.OperationFilter}
|
|
961
1040
|
*/
|
|
962
|
-
proto.ondewo.nlu.OperationFilter.deserializeBinaryFromReader = function
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
break;
|
|
1006
|
-
}
|
|
1007
|
-
}
|
|
1008
|
-
return msg;
|
|
1041
|
+
proto.ondewo.nlu.OperationFilter.deserializeBinaryFromReader = function(msg, reader) {
|
|
1042
|
+
while (reader.nextField()) {
|
|
1043
|
+
if (reader.isEndGroup()) {
|
|
1044
|
+
break;
|
|
1045
|
+
}
|
|
1046
|
+
var field = reader.getFieldNumber();
|
|
1047
|
+
switch (field) {
|
|
1048
|
+
case 1:
|
|
1049
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1050
|
+
msg.addProjectParents(value);
|
|
1051
|
+
break;
|
|
1052
|
+
case 2:
|
|
1053
|
+
var values = /** @type {!Array<!proto.ondewo.nlu.OperationMetadata.Status>} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]);
|
|
1054
|
+
for (var i = 0; i < values.length; i++) {
|
|
1055
|
+
msg.addStatuses(values[i]);
|
|
1056
|
+
}
|
|
1057
|
+
break;
|
|
1058
|
+
case 3:
|
|
1059
|
+
var values = /** @type {!Array<!proto.ondewo.nlu.OperationMetadata.OperationType>} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]);
|
|
1060
|
+
for (var i = 0; i < values.length; i++) {
|
|
1061
|
+
msg.addTypes(values[i]);
|
|
1062
|
+
}
|
|
1063
|
+
break;
|
|
1064
|
+
case 4:
|
|
1065
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
1066
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
1067
|
+
msg.setStartTime(value);
|
|
1068
|
+
break;
|
|
1069
|
+
case 5:
|
|
1070
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
1071
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
1072
|
+
msg.setEndTime(value);
|
|
1073
|
+
break;
|
|
1074
|
+
case 6:
|
|
1075
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1076
|
+
msg.addUserIds(value);
|
|
1077
|
+
break;
|
|
1078
|
+
default:
|
|
1079
|
+
reader.skipField();
|
|
1080
|
+
break;
|
|
1081
|
+
}
|
|
1082
|
+
}
|
|
1083
|
+
return msg;
|
|
1009
1084
|
};
|
|
1010
1085
|
|
|
1086
|
+
|
|
1011
1087
|
/**
|
|
1012
1088
|
* Serializes the message to binary data (in protobuf wire format).
|
|
1013
1089
|
* @return {!Uint8Array}
|
|
1014
1090
|
*/
|
|
1015
|
-
proto.ondewo.nlu.OperationFilter.prototype.serializeBinary = function
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1091
|
+
proto.ondewo.nlu.OperationFilter.prototype.serializeBinary = function() {
|
|
1092
|
+
var writer = new jspb.BinaryWriter();
|
|
1093
|
+
proto.ondewo.nlu.OperationFilter.serializeBinaryToWriter(this, writer);
|
|
1094
|
+
return writer.getResultBuffer();
|
|
1019
1095
|
};
|
|
1020
1096
|
|
|
1097
|
+
|
|
1021
1098
|
/**
|
|
1022
1099
|
* Serializes the given message to binary data (in protobuf wire
|
|
1023
1100
|
* format), writing to the given BinaryWriter.
|
|
@@ -1025,236 +1102,278 @@ proto.ondewo.nlu.OperationFilter.prototype.serializeBinary = function () {
|
|
|
1025
1102
|
* @param {!jspb.BinaryWriter} writer
|
|
1026
1103
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1027
1104
|
*/
|
|
1028
|
-
proto.ondewo.nlu.OperationFilter.serializeBinaryToWriter = function
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1105
|
+
proto.ondewo.nlu.OperationFilter.serializeBinaryToWriter = function(message, writer) {
|
|
1106
|
+
var f = undefined;
|
|
1107
|
+
f = message.getProjectParentsList();
|
|
1108
|
+
if (f.length > 0) {
|
|
1109
|
+
writer.writeRepeatedString(
|
|
1110
|
+
1,
|
|
1111
|
+
f
|
|
1112
|
+
);
|
|
1113
|
+
}
|
|
1114
|
+
f = message.getStatusesList();
|
|
1115
|
+
if (f.length > 0) {
|
|
1116
|
+
writer.writePackedEnum(
|
|
1117
|
+
2,
|
|
1118
|
+
f
|
|
1119
|
+
);
|
|
1120
|
+
}
|
|
1121
|
+
f = message.getTypesList();
|
|
1122
|
+
if (f.length > 0) {
|
|
1123
|
+
writer.writePackedEnum(
|
|
1124
|
+
3,
|
|
1125
|
+
f
|
|
1126
|
+
);
|
|
1127
|
+
}
|
|
1128
|
+
f = message.getStartTime();
|
|
1129
|
+
if (f != null) {
|
|
1130
|
+
writer.writeMessage(
|
|
1131
|
+
4,
|
|
1132
|
+
f,
|
|
1133
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
1134
|
+
);
|
|
1135
|
+
}
|
|
1136
|
+
f = message.getEndTime();
|
|
1137
|
+
if (f != null) {
|
|
1138
|
+
writer.writeMessage(
|
|
1139
|
+
5,
|
|
1140
|
+
f,
|
|
1141
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
1142
|
+
);
|
|
1143
|
+
}
|
|
1144
|
+
f = message.getUserIdsList();
|
|
1145
|
+
if (f.length > 0) {
|
|
1146
|
+
writer.writeRepeatedString(
|
|
1147
|
+
6,
|
|
1148
|
+
f
|
|
1149
|
+
);
|
|
1150
|
+
}
|
|
1054
1151
|
};
|
|
1055
1152
|
|
|
1153
|
+
|
|
1056
1154
|
/**
|
|
1057
1155
|
* repeated string project_parents = 1;
|
|
1058
1156
|
* @return {!Array<string>}
|
|
1059
1157
|
*/
|
|
1060
|
-
proto.ondewo.nlu.OperationFilter.prototype.getProjectParentsList = function
|
|
1061
|
-
|
|
1158
|
+
proto.ondewo.nlu.OperationFilter.prototype.getProjectParentsList = function() {
|
|
1159
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
1062
1160
|
};
|
|
1063
1161
|
|
|
1162
|
+
|
|
1064
1163
|
/**
|
|
1065
1164
|
* @param {!Array<string>} value
|
|
1066
1165
|
* @return {!proto.ondewo.nlu.OperationFilter} returns this
|
|
1067
1166
|
*/
|
|
1068
|
-
proto.ondewo.nlu.OperationFilter.prototype.setProjectParentsList = function
|
|
1069
|
-
|
|
1167
|
+
proto.ondewo.nlu.OperationFilter.prototype.setProjectParentsList = function(value) {
|
|
1168
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
1070
1169
|
};
|
|
1071
1170
|
|
|
1171
|
+
|
|
1072
1172
|
/**
|
|
1073
1173
|
* @param {string} value
|
|
1074
1174
|
* @param {number=} opt_index
|
|
1075
1175
|
* @return {!proto.ondewo.nlu.OperationFilter} returns this
|
|
1076
1176
|
*/
|
|
1077
|
-
proto.ondewo.nlu.OperationFilter.prototype.addProjectParents = function
|
|
1078
|
-
|
|
1177
|
+
proto.ondewo.nlu.OperationFilter.prototype.addProjectParents = function(value, opt_index) {
|
|
1178
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
1079
1179
|
};
|
|
1080
1180
|
|
|
1181
|
+
|
|
1081
1182
|
/**
|
|
1082
1183
|
* Clears the list making it empty but non-null.
|
|
1083
1184
|
* @return {!proto.ondewo.nlu.OperationFilter} returns this
|
|
1084
1185
|
*/
|
|
1085
|
-
proto.ondewo.nlu.OperationFilter.prototype.clearProjectParentsList = function
|
|
1086
|
-
|
|
1186
|
+
proto.ondewo.nlu.OperationFilter.prototype.clearProjectParentsList = function() {
|
|
1187
|
+
return this.setProjectParentsList([]);
|
|
1087
1188
|
};
|
|
1088
1189
|
|
|
1190
|
+
|
|
1089
1191
|
/**
|
|
1090
1192
|
* repeated OperationMetadata.Status statuses = 2;
|
|
1091
1193
|
* @return {!Array<!proto.ondewo.nlu.OperationMetadata.Status>}
|
|
1092
1194
|
*/
|
|
1093
|
-
proto.ondewo.nlu.OperationFilter.prototype.getStatusesList = function
|
|
1094
|
-
|
|
1195
|
+
proto.ondewo.nlu.OperationFilter.prototype.getStatusesList = function() {
|
|
1196
|
+
return /** @type {!Array<!proto.ondewo.nlu.OperationMetadata.Status>} */ (jspb.Message.getRepeatedField(this, 2));
|
|
1095
1197
|
};
|
|
1096
1198
|
|
|
1199
|
+
|
|
1097
1200
|
/**
|
|
1098
1201
|
* @param {!Array<!proto.ondewo.nlu.OperationMetadata.Status>} value
|
|
1099
1202
|
* @return {!proto.ondewo.nlu.OperationFilter} returns this
|
|
1100
1203
|
*/
|
|
1101
|
-
proto.ondewo.nlu.OperationFilter.prototype.setStatusesList = function
|
|
1102
|
-
|
|
1204
|
+
proto.ondewo.nlu.OperationFilter.prototype.setStatusesList = function(value) {
|
|
1205
|
+
return jspb.Message.setField(this, 2, value || []);
|
|
1103
1206
|
};
|
|
1104
1207
|
|
|
1208
|
+
|
|
1105
1209
|
/**
|
|
1106
1210
|
* @param {!proto.ondewo.nlu.OperationMetadata.Status} value
|
|
1107
1211
|
* @param {number=} opt_index
|
|
1108
1212
|
* @return {!proto.ondewo.nlu.OperationFilter} returns this
|
|
1109
1213
|
*/
|
|
1110
|
-
proto.ondewo.nlu.OperationFilter.prototype.addStatuses = function
|
|
1111
|
-
|
|
1214
|
+
proto.ondewo.nlu.OperationFilter.prototype.addStatuses = function(value, opt_index) {
|
|
1215
|
+
return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
|
|
1112
1216
|
};
|
|
1113
1217
|
|
|
1218
|
+
|
|
1114
1219
|
/**
|
|
1115
1220
|
* Clears the list making it empty but non-null.
|
|
1116
1221
|
* @return {!proto.ondewo.nlu.OperationFilter} returns this
|
|
1117
1222
|
*/
|
|
1118
|
-
proto.ondewo.nlu.OperationFilter.prototype.clearStatusesList = function
|
|
1119
|
-
|
|
1223
|
+
proto.ondewo.nlu.OperationFilter.prototype.clearStatusesList = function() {
|
|
1224
|
+
return this.setStatusesList([]);
|
|
1120
1225
|
};
|
|
1121
1226
|
|
|
1227
|
+
|
|
1122
1228
|
/**
|
|
1123
1229
|
* repeated OperationMetadata.OperationType types = 3;
|
|
1124
1230
|
* @return {!Array<!proto.ondewo.nlu.OperationMetadata.OperationType>}
|
|
1125
1231
|
*/
|
|
1126
|
-
proto.ondewo.nlu.OperationFilter.prototype.getTypesList = function
|
|
1127
|
-
|
|
1128
|
-
jspb.Message.getRepeatedField(this, 3)
|
|
1129
|
-
);
|
|
1232
|
+
proto.ondewo.nlu.OperationFilter.prototype.getTypesList = function() {
|
|
1233
|
+
return /** @type {!Array<!proto.ondewo.nlu.OperationMetadata.OperationType>} */ (jspb.Message.getRepeatedField(this, 3));
|
|
1130
1234
|
};
|
|
1131
1235
|
|
|
1236
|
+
|
|
1132
1237
|
/**
|
|
1133
1238
|
* @param {!Array<!proto.ondewo.nlu.OperationMetadata.OperationType>} value
|
|
1134
1239
|
* @return {!proto.ondewo.nlu.OperationFilter} returns this
|
|
1135
1240
|
*/
|
|
1136
|
-
proto.ondewo.nlu.OperationFilter.prototype.setTypesList = function
|
|
1137
|
-
|
|
1241
|
+
proto.ondewo.nlu.OperationFilter.prototype.setTypesList = function(value) {
|
|
1242
|
+
return jspb.Message.setField(this, 3, value || []);
|
|
1138
1243
|
};
|
|
1139
1244
|
|
|
1245
|
+
|
|
1140
1246
|
/**
|
|
1141
1247
|
* @param {!proto.ondewo.nlu.OperationMetadata.OperationType} value
|
|
1142
1248
|
* @param {number=} opt_index
|
|
1143
1249
|
* @return {!proto.ondewo.nlu.OperationFilter} returns this
|
|
1144
1250
|
*/
|
|
1145
|
-
proto.ondewo.nlu.OperationFilter.prototype.addTypes = function
|
|
1146
|
-
|
|
1251
|
+
proto.ondewo.nlu.OperationFilter.prototype.addTypes = function(value, opt_index) {
|
|
1252
|
+
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
|
1147
1253
|
};
|
|
1148
1254
|
|
|
1255
|
+
|
|
1149
1256
|
/**
|
|
1150
1257
|
* Clears the list making it empty but non-null.
|
|
1151
1258
|
* @return {!proto.ondewo.nlu.OperationFilter} returns this
|
|
1152
1259
|
*/
|
|
1153
|
-
proto.ondewo.nlu.OperationFilter.prototype.clearTypesList = function
|
|
1154
|
-
|
|
1260
|
+
proto.ondewo.nlu.OperationFilter.prototype.clearTypesList = function() {
|
|
1261
|
+
return this.setTypesList([]);
|
|
1155
1262
|
};
|
|
1156
1263
|
|
|
1264
|
+
|
|
1157
1265
|
/**
|
|
1158
1266
|
* optional google.protobuf.Timestamp start_time = 4;
|
|
1159
1267
|
* @return {?proto.google.protobuf.Timestamp}
|
|
1160
1268
|
*/
|
|
1161
|
-
proto.ondewo.nlu.OperationFilter.prototype.getStartTime = function
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
);
|
|
1269
|
+
proto.ondewo.nlu.OperationFilter.prototype.getStartTime = function() {
|
|
1270
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
1271
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 4));
|
|
1165
1272
|
};
|
|
1166
1273
|
|
|
1274
|
+
|
|
1167
1275
|
/**
|
|
1168
1276
|
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
1169
1277
|
* @return {!proto.ondewo.nlu.OperationFilter} returns this
|
|
1170
|
-
|
|
1171
|
-
proto.ondewo.nlu.OperationFilter.prototype.setStartTime = function
|
|
1172
|
-
|
|
1278
|
+
*/
|
|
1279
|
+
proto.ondewo.nlu.OperationFilter.prototype.setStartTime = function(value) {
|
|
1280
|
+
return jspb.Message.setOneofWrapperField(this, 4, proto.ondewo.nlu.OperationFilter.oneofGroups_[0], value);
|
|
1173
1281
|
};
|
|
1174
1282
|
|
|
1283
|
+
|
|
1175
1284
|
/**
|
|
1176
1285
|
* Clears the message field making it undefined.
|
|
1177
1286
|
* @return {!proto.ondewo.nlu.OperationFilter} returns this
|
|
1178
1287
|
*/
|
|
1179
|
-
proto.ondewo.nlu.OperationFilter.prototype.clearStartTime = function
|
|
1180
|
-
|
|
1288
|
+
proto.ondewo.nlu.OperationFilter.prototype.clearStartTime = function() {
|
|
1289
|
+
return this.setStartTime(undefined);
|
|
1181
1290
|
};
|
|
1182
1291
|
|
|
1292
|
+
|
|
1183
1293
|
/**
|
|
1184
1294
|
* Returns whether this field is set.
|
|
1185
1295
|
* @return {boolean}
|
|
1186
1296
|
*/
|
|
1187
|
-
proto.ondewo.nlu.OperationFilter.prototype.hasStartTime = function
|
|
1188
|
-
|
|
1297
|
+
proto.ondewo.nlu.OperationFilter.prototype.hasStartTime = function() {
|
|
1298
|
+
return jspb.Message.getField(this, 4) != null;
|
|
1189
1299
|
};
|
|
1190
1300
|
|
|
1301
|
+
|
|
1191
1302
|
/**
|
|
1192
1303
|
* optional google.protobuf.Timestamp end_time = 5;
|
|
1193
1304
|
* @return {?proto.google.protobuf.Timestamp}
|
|
1194
1305
|
*/
|
|
1195
|
-
proto.ondewo.nlu.OperationFilter.prototype.getEndTime = function
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
);
|
|
1306
|
+
proto.ondewo.nlu.OperationFilter.prototype.getEndTime = function() {
|
|
1307
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
1308
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 5));
|
|
1199
1309
|
};
|
|
1200
1310
|
|
|
1311
|
+
|
|
1201
1312
|
/**
|
|
1202
1313
|
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
1203
1314
|
* @return {!proto.ondewo.nlu.OperationFilter} returns this
|
|
1204
|
-
|
|
1205
|
-
proto.ondewo.nlu.OperationFilter.prototype.setEndTime = function
|
|
1206
|
-
|
|
1315
|
+
*/
|
|
1316
|
+
proto.ondewo.nlu.OperationFilter.prototype.setEndTime = function(value) {
|
|
1317
|
+
return jspb.Message.setOneofWrapperField(this, 5, proto.ondewo.nlu.OperationFilter.oneofGroups_[1], value);
|
|
1207
1318
|
};
|
|
1208
1319
|
|
|
1320
|
+
|
|
1209
1321
|
/**
|
|
1210
1322
|
* Clears the message field making it undefined.
|
|
1211
1323
|
* @return {!proto.ondewo.nlu.OperationFilter} returns this
|
|
1212
1324
|
*/
|
|
1213
|
-
proto.ondewo.nlu.OperationFilter.prototype.clearEndTime = function
|
|
1214
|
-
|
|
1325
|
+
proto.ondewo.nlu.OperationFilter.prototype.clearEndTime = function() {
|
|
1326
|
+
return this.setEndTime(undefined);
|
|
1215
1327
|
};
|
|
1216
1328
|
|
|
1329
|
+
|
|
1217
1330
|
/**
|
|
1218
1331
|
* Returns whether this field is set.
|
|
1219
1332
|
* @return {boolean}
|
|
1220
1333
|
*/
|
|
1221
|
-
proto.ondewo.nlu.OperationFilter.prototype.hasEndTime = function
|
|
1222
|
-
|
|
1334
|
+
proto.ondewo.nlu.OperationFilter.prototype.hasEndTime = function() {
|
|
1335
|
+
return jspb.Message.getField(this, 5) != null;
|
|
1223
1336
|
};
|
|
1224
1337
|
|
|
1338
|
+
|
|
1225
1339
|
/**
|
|
1226
1340
|
* repeated string user_ids = 6;
|
|
1227
1341
|
* @return {!Array<string>}
|
|
1228
1342
|
*/
|
|
1229
|
-
proto.ondewo.nlu.OperationFilter.prototype.getUserIdsList = function
|
|
1230
|
-
|
|
1343
|
+
proto.ondewo.nlu.OperationFilter.prototype.getUserIdsList = function() {
|
|
1344
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 6));
|
|
1231
1345
|
};
|
|
1232
1346
|
|
|
1347
|
+
|
|
1233
1348
|
/**
|
|
1234
1349
|
* @param {!Array<string>} value
|
|
1235
1350
|
* @return {!proto.ondewo.nlu.OperationFilter} returns this
|
|
1236
1351
|
*/
|
|
1237
|
-
proto.ondewo.nlu.OperationFilter.prototype.setUserIdsList = function
|
|
1238
|
-
|
|
1352
|
+
proto.ondewo.nlu.OperationFilter.prototype.setUserIdsList = function(value) {
|
|
1353
|
+
return jspb.Message.setField(this, 6, value || []);
|
|
1239
1354
|
};
|
|
1240
1355
|
|
|
1356
|
+
|
|
1241
1357
|
/**
|
|
1242
1358
|
* @param {string} value
|
|
1243
1359
|
* @param {number=} opt_index
|
|
1244
1360
|
* @return {!proto.ondewo.nlu.OperationFilter} returns this
|
|
1245
1361
|
*/
|
|
1246
|
-
proto.ondewo.nlu.OperationFilter.prototype.addUserIds = function
|
|
1247
|
-
|
|
1362
|
+
proto.ondewo.nlu.OperationFilter.prototype.addUserIds = function(value, opt_index) {
|
|
1363
|
+
return jspb.Message.addToRepeatedField(this, 6, value, opt_index);
|
|
1248
1364
|
};
|
|
1249
1365
|
|
|
1366
|
+
|
|
1250
1367
|
/**
|
|
1251
1368
|
* Clears the list making it empty but non-null.
|
|
1252
1369
|
* @return {!proto.ondewo.nlu.OperationFilter} returns this
|
|
1253
1370
|
*/
|
|
1254
|
-
proto.ondewo.nlu.OperationFilter.prototype.clearUserIdsList = function
|
|
1255
|
-
|
|
1371
|
+
proto.ondewo.nlu.OperationFilter.prototype.clearUserIdsList = function() {
|
|
1372
|
+
return this.setUserIdsList([]);
|
|
1256
1373
|
};
|
|
1257
1374
|
|
|
1375
|
+
|
|
1376
|
+
|
|
1258
1377
|
/**
|
|
1259
1378
|
* List of repeated fields within this message type.
|
|
1260
1379
|
* @private {!Array<number>}
|
|
@@ -1262,61 +1381,62 @@ proto.ondewo.nlu.OperationFilter.prototype.clearUserIdsList = function () {
|
|
|
1262
1381
|
*/
|
|
1263
1382
|
proto.ondewo.nlu.ListOperationsResponse.repeatedFields_ = [1];
|
|
1264
1383
|
|
|
1384
|
+
|
|
1385
|
+
|
|
1265
1386
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
}
|
|
1305
|
-
return obj;
|
|
1306
|
-
};
|
|
1387
|
+
/**
|
|
1388
|
+
* Creates an object representation of this proto.
|
|
1389
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1390
|
+
* Optional fields that are not set will be set to undefined.
|
|
1391
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1392
|
+
* For the list of reserved names please see:
|
|
1393
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1394
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1395
|
+
* JSPB instance for transitional soy proto support:
|
|
1396
|
+
* http://goto/soy-param-migration
|
|
1397
|
+
* @return {!Object}
|
|
1398
|
+
*/
|
|
1399
|
+
proto.ondewo.nlu.ListOperationsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
1400
|
+
return proto.ondewo.nlu.ListOperationsResponse.toObject(opt_includeInstance, this);
|
|
1401
|
+
};
|
|
1402
|
+
|
|
1403
|
+
|
|
1404
|
+
/**
|
|
1405
|
+
* Static version of the {@see toObject} method.
|
|
1406
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1407
|
+
* the JSPB instance for transitional soy proto support:
|
|
1408
|
+
* http://goto/soy-param-migration
|
|
1409
|
+
* @param {!proto.ondewo.nlu.ListOperationsResponse} msg The msg instance to transform.
|
|
1410
|
+
* @return {!Object}
|
|
1411
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1412
|
+
*/
|
|
1413
|
+
proto.ondewo.nlu.ListOperationsResponse.toObject = function(includeInstance, msg) {
|
|
1414
|
+
var f, obj = {
|
|
1415
|
+
operationsList: jspb.Message.toObjectList(msg.getOperationsList(),
|
|
1416
|
+
proto.ondewo.nlu.Operation.toObject, includeInstance),
|
|
1417
|
+
nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
1418
|
+
};
|
|
1419
|
+
|
|
1420
|
+
if (includeInstance) {
|
|
1421
|
+
obj.$jspbMessageInstance = msg;
|
|
1422
|
+
}
|
|
1423
|
+
return obj;
|
|
1424
|
+
};
|
|
1307
1425
|
}
|
|
1308
1426
|
|
|
1427
|
+
|
|
1309
1428
|
/**
|
|
1310
1429
|
* Deserializes binary data (in protobuf wire format).
|
|
1311
1430
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1312
1431
|
* @return {!proto.ondewo.nlu.ListOperationsResponse}
|
|
1313
1432
|
*/
|
|
1314
|
-
proto.ondewo.nlu.ListOperationsResponse.deserializeBinary = function
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1433
|
+
proto.ondewo.nlu.ListOperationsResponse.deserializeBinary = function(bytes) {
|
|
1434
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1435
|
+
var msg = new proto.ondewo.nlu.ListOperationsResponse;
|
|
1436
|
+
return proto.ondewo.nlu.ListOperationsResponse.deserializeBinaryFromReader(msg, reader);
|
|
1318
1437
|
};
|
|
1319
1438
|
|
|
1439
|
+
|
|
1320
1440
|
/**
|
|
1321
1441
|
* Deserializes binary data (in protobuf wire format) from the
|
|
1322
1442
|
* given reader into the given message object.
|
|
@@ -1324,40 +1444,42 @@ proto.ondewo.nlu.ListOperationsResponse.deserializeBinary = function (bytes) {
|
|
|
1324
1444
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1325
1445
|
* @return {!proto.ondewo.nlu.ListOperationsResponse}
|
|
1326
1446
|
*/
|
|
1327
|
-
proto.ondewo.nlu.ListOperationsResponse.deserializeBinaryFromReader = function
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1447
|
+
proto.ondewo.nlu.ListOperationsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
1448
|
+
while (reader.nextField()) {
|
|
1449
|
+
if (reader.isEndGroup()) {
|
|
1450
|
+
break;
|
|
1451
|
+
}
|
|
1452
|
+
var field = reader.getFieldNumber();
|
|
1453
|
+
switch (field) {
|
|
1454
|
+
case 1:
|
|
1455
|
+
var value = new proto.ondewo.nlu.Operation;
|
|
1456
|
+
reader.readMessage(value,proto.ondewo.nlu.Operation.deserializeBinaryFromReader);
|
|
1457
|
+
msg.addOperations(value);
|
|
1458
|
+
break;
|
|
1459
|
+
case 2:
|
|
1460
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1461
|
+
msg.setNextPageToken(value);
|
|
1462
|
+
break;
|
|
1463
|
+
default:
|
|
1464
|
+
reader.skipField();
|
|
1465
|
+
break;
|
|
1466
|
+
}
|
|
1467
|
+
}
|
|
1468
|
+
return msg;
|
|
1349
1469
|
};
|
|
1350
1470
|
|
|
1471
|
+
|
|
1351
1472
|
/**
|
|
1352
1473
|
* Serializes the message to binary data (in protobuf wire format).
|
|
1353
1474
|
* @return {!Uint8Array}
|
|
1354
1475
|
*/
|
|
1355
|
-
proto.ondewo.nlu.ListOperationsResponse.prototype.serializeBinary = function
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1476
|
+
proto.ondewo.nlu.ListOperationsResponse.prototype.serializeBinary = function() {
|
|
1477
|
+
var writer = new jspb.BinaryWriter();
|
|
1478
|
+
proto.ondewo.nlu.ListOperationsResponse.serializeBinaryToWriter(this, writer);
|
|
1479
|
+
return writer.getResultBuffer();
|
|
1359
1480
|
};
|
|
1360
1481
|
|
|
1482
|
+
|
|
1361
1483
|
/**
|
|
1362
1484
|
* Serializes the given message to binary data (in protobuf wire
|
|
1363
1485
|
* format), writing to the given BinaryWriter.
|
|
@@ -1365,119 +1487,137 @@ proto.ondewo.nlu.ListOperationsResponse.prototype.serializeBinary = function ()
|
|
|
1365
1487
|
* @param {!jspb.BinaryWriter} writer
|
|
1366
1488
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1367
1489
|
*/
|
|
1368
|
-
proto.ondewo.nlu.ListOperationsResponse.serializeBinaryToWriter = function
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1490
|
+
proto.ondewo.nlu.ListOperationsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
1491
|
+
var f = undefined;
|
|
1492
|
+
f = message.getOperationsList();
|
|
1493
|
+
if (f.length > 0) {
|
|
1494
|
+
writer.writeRepeatedMessage(
|
|
1495
|
+
1,
|
|
1496
|
+
f,
|
|
1497
|
+
proto.ondewo.nlu.Operation.serializeBinaryToWriter
|
|
1498
|
+
);
|
|
1499
|
+
}
|
|
1500
|
+
f = message.getNextPageToken();
|
|
1501
|
+
if (f.length > 0) {
|
|
1502
|
+
writer.writeString(
|
|
1503
|
+
2,
|
|
1504
|
+
f
|
|
1505
|
+
);
|
|
1506
|
+
}
|
|
1378
1507
|
};
|
|
1379
1508
|
|
|
1509
|
+
|
|
1380
1510
|
/**
|
|
1381
1511
|
* repeated Operation operations = 1;
|
|
1382
1512
|
* @return {!Array<!proto.ondewo.nlu.Operation>}
|
|
1383
1513
|
*/
|
|
1384
|
-
proto.ondewo.nlu.ListOperationsResponse.prototype.getOperationsList = function
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
);
|
|
1514
|
+
proto.ondewo.nlu.ListOperationsResponse.prototype.getOperationsList = function() {
|
|
1515
|
+
return /** @type{!Array<!proto.ondewo.nlu.Operation>} */ (
|
|
1516
|
+
jspb.Message.getRepeatedWrapperField(this, proto.ondewo.nlu.Operation, 1));
|
|
1388
1517
|
};
|
|
1389
1518
|
|
|
1519
|
+
|
|
1390
1520
|
/**
|
|
1391
1521
|
* @param {!Array<!proto.ondewo.nlu.Operation>} value
|
|
1392
1522
|
* @return {!proto.ondewo.nlu.ListOperationsResponse} returns this
|
|
1393
|
-
|
|
1394
|
-
proto.ondewo.nlu.ListOperationsResponse.prototype.setOperationsList = function
|
|
1395
|
-
|
|
1523
|
+
*/
|
|
1524
|
+
proto.ondewo.nlu.ListOperationsResponse.prototype.setOperationsList = function(value) {
|
|
1525
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
1396
1526
|
};
|
|
1397
1527
|
|
|
1528
|
+
|
|
1398
1529
|
/**
|
|
1399
1530
|
* @param {!proto.ondewo.nlu.Operation=} opt_value
|
|
1400
1531
|
* @param {number=} opt_index
|
|
1401
1532
|
* @return {!proto.ondewo.nlu.Operation}
|
|
1402
1533
|
*/
|
|
1403
|
-
proto.ondewo.nlu.ListOperationsResponse.prototype.addOperations = function
|
|
1404
|
-
|
|
1534
|
+
proto.ondewo.nlu.ListOperationsResponse.prototype.addOperations = function(opt_value, opt_index) {
|
|
1535
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ondewo.nlu.Operation, opt_index);
|
|
1405
1536
|
};
|
|
1406
1537
|
|
|
1538
|
+
|
|
1407
1539
|
/**
|
|
1408
1540
|
* Clears the list making it empty but non-null.
|
|
1409
1541
|
* @return {!proto.ondewo.nlu.ListOperationsResponse} returns this
|
|
1410
1542
|
*/
|
|
1411
|
-
proto.ondewo.nlu.ListOperationsResponse.prototype.clearOperationsList = function
|
|
1412
|
-
|
|
1543
|
+
proto.ondewo.nlu.ListOperationsResponse.prototype.clearOperationsList = function() {
|
|
1544
|
+
return this.setOperationsList([]);
|
|
1413
1545
|
};
|
|
1414
1546
|
|
|
1547
|
+
|
|
1415
1548
|
/**
|
|
1416
1549
|
* optional string next_page_token = 2;
|
|
1417
1550
|
* @return {string}
|
|
1418
1551
|
*/
|
|
1419
|
-
proto.ondewo.nlu.ListOperationsResponse.prototype.getNextPageToken = function
|
|
1420
|
-
|
|
1552
|
+
proto.ondewo.nlu.ListOperationsResponse.prototype.getNextPageToken = function() {
|
|
1553
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
1421
1554
|
};
|
|
1422
1555
|
|
|
1556
|
+
|
|
1423
1557
|
/**
|
|
1424
1558
|
* @param {string} value
|
|
1425
1559
|
* @return {!proto.ondewo.nlu.ListOperationsResponse} returns this
|
|
1426
1560
|
*/
|
|
1427
|
-
proto.ondewo.nlu.ListOperationsResponse.prototype.setNextPageToken = function
|
|
1428
|
-
|
|
1561
|
+
proto.ondewo.nlu.ListOperationsResponse.prototype.setNextPageToken = function(value) {
|
|
1562
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
1429
1563
|
};
|
|
1430
1564
|
|
|
1565
|
+
|
|
1566
|
+
|
|
1567
|
+
|
|
1568
|
+
|
|
1431
1569
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1570
|
+
/**
|
|
1571
|
+
* Creates an object representation of this proto.
|
|
1572
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1573
|
+
* Optional fields that are not set will be set to undefined.
|
|
1574
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1575
|
+
* For the list of reserved names please see:
|
|
1576
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1577
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1578
|
+
* JSPB instance for transitional soy proto support:
|
|
1579
|
+
* http://goto/soy-param-migration
|
|
1580
|
+
* @return {!Object}
|
|
1581
|
+
*/
|
|
1582
|
+
proto.ondewo.nlu.CancelOperationRequest.prototype.toObject = function(opt_includeInstance) {
|
|
1583
|
+
return proto.ondewo.nlu.CancelOperationRequest.toObject(opt_includeInstance, this);
|
|
1584
|
+
};
|
|
1585
|
+
|
|
1586
|
+
|
|
1587
|
+
/**
|
|
1588
|
+
* Static version of the {@see toObject} method.
|
|
1589
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1590
|
+
* the JSPB instance for transitional soy proto support:
|
|
1591
|
+
* http://goto/soy-param-migration
|
|
1592
|
+
* @param {!proto.ondewo.nlu.CancelOperationRequest} msg The msg instance to transform.
|
|
1593
|
+
* @return {!Object}
|
|
1594
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1595
|
+
*/
|
|
1596
|
+
proto.ondewo.nlu.CancelOperationRequest.toObject = function(includeInstance, msg) {
|
|
1597
|
+
var f, obj = {
|
|
1598
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
1599
|
+
};
|
|
1600
|
+
|
|
1601
|
+
if (includeInstance) {
|
|
1602
|
+
obj.$jspbMessageInstance = msg;
|
|
1603
|
+
}
|
|
1604
|
+
return obj;
|
|
1605
|
+
};
|
|
1468
1606
|
}
|
|
1469
1607
|
|
|
1608
|
+
|
|
1470
1609
|
/**
|
|
1471
1610
|
* Deserializes binary data (in protobuf wire format).
|
|
1472
1611
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1473
1612
|
* @return {!proto.ondewo.nlu.CancelOperationRequest}
|
|
1474
1613
|
*/
|
|
1475
|
-
proto.ondewo.nlu.CancelOperationRequest.deserializeBinary = function
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1614
|
+
proto.ondewo.nlu.CancelOperationRequest.deserializeBinary = function(bytes) {
|
|
1615
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1616
|
+
var msg = new proto.ondewo.nlu.CancelOperationRequest;
|
|
1617
|
+
return proto.ondewo.nlu.CancelOperationRequest.deserializeBinaryFromReader(msg, reader);
|
|
1479
1618
|
};
|
|
1480
1619
|
|
|
1620
|
+
|
|
1481
1621
|
/**
|
|
1482
1622
|
* Deserializes binary data (in protobuf wire format) from the
|
|
1483
1623
|
* given reader into the given message object.
|
|
@@ -1485,35 +1625,37 @@ proto.ondewo.nlu.CancelOperationRequest.deserializeBinary = function (bytes) {
|
|
|
1485
1625
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1486
1626
|
* @return {!proto.ondewo.nlu.CancelOperationRequest}
|
|
1487
1627
|
*/
|
|
1488
|
-
proto.ondewo.nlu.CancelOperationRequest.deserializeBinaryFromReader = function
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1628
|
+
proto.ondewo.nlu.CancelOperationRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
1629
|
+
while (reader.nextField()) {
|
|
1630
|
+
if (reader.isEndGroup()) {
|
|
1631
|
+
break;
|
|
1632
|
+
}
|
|
1633
|
+
var field = reader.getFieldNumber();
|
|
1634
|
+
switch (field) {
|
|
1635
|
+
case 1:
|
|
1636
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1637
|
+
msg.setName(value);
|
|
1638
|
+
break;
|
|
1639
|
+
default:
|
|
1640
|
+
reader.skipField();
|
|
1641
|
+
break;
|
|
1642
|
+
}
|
|
1643
|
+
}
|
|
1644
|
+
return msg;
|
|
1505
1645
|
};
|
|
1506
1646
|
|
|
1647
|
+
|
|
1507
1648
|
/**
|
|
1508
1649
|
* Serializes the message to binary data (in protobuf wire format).
|
|
1509
1650
|
* @return {!Uint8Array}
|
|
1510
1651
|
*/
|
|
1511
|
-
proto.ondewo.nlu.CancelOperationRequest.prototype.serializeBinary = function
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1652
|
+
proto.ondewo.nlu.CancelOperationRequest.prototype.serializeBinary = function() {
|
|
1653
|
+
var writer = new jspb.BinaryWriter();
|
|
1654
|
+
proto.ondewo.nlu.CancelOperationRequest.serializeBinaryToWriter(this, writer);
|
|
1655
|
+
return writer.getResultBuffer();
|
|
1515
1656
|
};
|
|
1516
1657
|
|
|
1658
|
+
|
|
1517
1659
|
/**
|
|
1518
1660
|
* Serializes the given message to binary data (in protobuf wire
|
|
1519
1661
|
* format), writing to the given BinaryWriter.
|
|
@@ -1521,80 +1663,91 @@ proto.ondewo.nlu.CancelOperationRequest.prototype.serializeBinary = function ()
|
|
|
1521
1663
|
* @param {!jspb.BinaryWriter} writer
|
|
1522
1664
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1523
1665
|
*/
|
|
1524
|
-
proto.ondewo.nlu.CancelOperationRequest.serializeBinaryToWriter = function
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1666
|
+
proto.ondewo.nlu.CancelOperationRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1667
|
+
var f = undefined;
|
|
1668
|
+
f = message.getName();
|
|
1669
|
+
if (f.length > 0) {
|
|
1670
|
+
writer.writeString(
|
|
1671
|
+
1,
|
|
1672
|
+
f
|
|
1673
|
+
);
|
|
1674
|
+
}
|
|
1530
1675
|
};
|
|
1531
1676
|
|
|
1677
|
+
|
|
1532
1678
|
/**
|
|
1533
1679
|
* optional string name = 1;
|
|
1534
1680
|
* @return {string}
|
|
1535
1681
|
*/
|
|
1536
|
-
proto.ondewo.nlu.CancelOperationRequest.prototype.getName = function
|
|
1537
|
-
|
|
1682
|
+
proto.ondewo.nlu.CancelOperationRequest.prototype.getName = function() {
|
|
1683
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1538
1684
|
};
|
|
1539
1685
|
|
|
1686
|
+
|
|
1540
1687
|
/**
|
|
1541
1688
|
* @param {string} value
|
|
1542
1689
|
* @return {!proto.ondewo.nlu.CancelOperationRequest} returns this
|
|
1543
1690
|
*/
|
|
1544
|
-
proto.ondewo.nlu.CancelOperationRequest.prototype.setName = function
|
|
1545
|
-
|
|
1691
|
+
proto.ondewo.nlu.CancelOperationRequest.prototype.setName = function(value) {
|
|
1692
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1546
1693
|
};
|
|
1547
1694
|
|
|
1695
|
+
|
|
1696
|
+
|
|
1697
|
+
|
|
1698
|
+
|
|
1548
1699
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1700
|
+
/**
|
|
1701
|
+
* Creates an object representation of this proto.
|
|
1702
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1703
|
+
* Optional fields that are not set will be set to undefined.
|
|
1704
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1705
|
+
* For the list of reserved names please see:
|
|
1706
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1707
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1708
|
+
* JSPB instance for transitional soy proto support:
|
|
1709
|
+
* http://goto/soy-param-migration
|
|
1710
|
+
* @return {!Object}
|
|
1711
|
+
*/
|
|
1712
|
+
proto.ondewo.nlu.DeleteOperationRequest.prototype.toObject = function(opt_includeInstance) {
|
|
1713
|
+
return proto.ondewo.nlu.DeleteOperationRequest.toObject(opt_includeInstance, this);
|
|
1714
|
+
};
|
|
1715
|
+
|
|
1716
|
+
|
|
1717
|
+
/**
|
|
1718
|
+
* Static version of the {@see toObject} method.
|
|
1719
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1720
|
+
* the JSPB instance for transitional soy proto support:
|
|
1721
|
+
* http://goto/soy-param-migration
|
|
1722
|
+
* @param {!proto.ondewo.nlu.DeleteOperationRequest} msg The msg instance to transform.
|
|
1723
|
+
* @return {!Object}
|
|
1724
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1725
|
+
*/
|
|
1726
|
+
proto.ondewo.nlu.DeleteOperationRequest.toObject = function(includeInstance, msg) {
|
|
1727
|
+
var f, obj = {
|
|
1728
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
1729
|
+
};
|
|
1730
|
+
|
|
1731
|
+
if (includeInstance) {
|
|
1732
|
+
obj.$jspbMessageInstance = msg;
|
|
1733
|
+
}
|
|
1734
|
+
return obj;
|
|
1735
|
+
};
|
|
1585
1736
|
}
|
|
1586
1737
|
|
|
1738
|
+
|
|
1587
1739
|
/**
|
|
1588
1740
|
* Deserializes binary data (in protobuf wire format).
|
|
1589
1741
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1590
1742
|
* @return {!proto.ondewo.nlu.DeleteOperationRequest}
|
|
1591
1743
|
*/
|
|
1592
|
-
proto.ondewo.nlu.DeleteOperationRequest.deserializeBinary = function
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1744
|
+
proto.ondewo.nlu.DeleteOperationRequest.deserializeBinary = function(bytes) {
|
|
1745
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1746
|
+
var msg = new proto.ondewo.nlu.DeleteOperationRequest;
|
|
1747
|
+
return proto.ondewo.nlu.DeleteOperationRequest.deserializeBinaryFromReader(msg, reader);
|
|
1596
1748
|
};
|
|
1597
1749
|
|
|
1750
|
+
|
|
1598
1751
|
/**
|
|
1599
1752
|
* Deserializes binary data (in protobuf wire format) from the
|
|
1600
1753
|
* given reader into the given message object.
|
|
@@ -1602,35 +1755,37 @@ proto.ondewo.nlu.DeleteOperationRequest.deserializeBinary = function (bytes) {
|
|
|
1602
1755
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1603
1756
|
* @return {!proto.ondewo.nlu.DeleteOperationRequest}
|
|
1604
1757
|
*/
|
|
1605
|
-
proto.ondewo.nlu.DeleteOperationRequest.deserializeBinaryFromReader = function
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1758
|
+
proto.ondewo.nlu.DeleteOperationRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
1759
|
+
while (reader.nextField()) {
|
|
1760
|
+
if (reader.isEndGroup()) {
|
|
1761
|
+
break;
|
|
1762
|
+
}
|
|
1763
|
+
var field = reader.getFieldNumber();
|
|
1764
|
+
switch (field) {
|
|
1765
|
+
case 1:
|
|
1766
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1767
|
+
msg.setName(value);
|
|
1768
|
+
break;
|
|
1769
|
+
default:
|
|
1770
|
+
reader.skipField();
|
|
1771
|
+
break;
|
|
1772
|
+
}
|
|
1773
|
+
}
|
|
1774
|
+
return msg;
|
|
1622
1775
|
};
|
|
1623
1776
|
|
|
1777
|
+
|
|
1624
1778
|
/**
|
|
1625
1779
|
* Serializes the message to binary data (in protobuf wire format).
|
|
1626
1780
|
* @return {!Uint8Array}
|
|
1627
1781
|
*/
|
|
1628
|
-
proto.ondewo.nlu.DeleteOperationRequest.prototype.serializeBinary = function
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1782
|
+
proto.ondewo.nlu.DeleteOperationRequest.prototype.serializeBinary = function() {
|
|
1783
|
+
var writer = new jspb.BinaryWriter();
|
|
1784
|
+
proto.ondewo.nlu.DeleteOperationRequest.serializeBinaryToWriter(this, writer);
|
|
1785
|
+
return writer.getResultBuffer();
|
|
1632
1786
|
};
|
|
1633
1787
|
|
|
1788
|
+
|
|
1634
1789
|
/**
|
|
1635
1790
|
* Serializes the given message to binary data (in protobuf wire
|
|
1636
1791
|
* format), writing to the given BinaryWriter.
|
|
@@ -1638,28 +1793,34 @@ proto.ondewo.nlu.DeleteOperationRequest.prototype.serializeBinary = function ()
|
|
|
1638
1793
|
* @param {!jspb.BinaryWriter} writer
|
|
1639
1794
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1640
1795
|
*/
|
|
1641
|
-
proto.ondewo.nlu.DeleteOperationRequest.serializeBinaryToWriter = function
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1796
|
+
proto.ondewo.nlu.DeleteOperationRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1797
|
+
var f = undefined;
|
|
1798
|
+
f = message.getName();
|
|
1799
|
+
if (f.length > 0) {
|
|
1800
|
+
writer.writeString(
|
|
1801
|
+
1,
|
|
1802
|
+
f
|
|
1803
|
+
);
|
|
1804
|
+
}
|
|
1647
1805
|
};
|
|
1648
1806
|
|
|
1807
|
+
|
|
1649
1808
|
/**
|
|
1650
1809
|
* optional string name = 1;
|
|
1651
1810
|
* @return {string}
|
|
1652
1811
|
*/
|
|
1653
|
-
proto.ondewo.nlu.DeleteOperationRequest.prototype.getName = function
|
|
1654
|
-
|
|
1812
|
+
proto.ondewo.nlu.DeleteOperationRequest.prototype.getName = function() {
|
|
1813
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1655
1814
|
};
|
|
1656
1815
|
|
|
1816
|
+
|
|
1657
1817
|
/**
|
|
1658
1818
|
* @param {string} value
|
|
1659
1819
|
* @return {!proto.ondewo.nlu.DeleteOperationRequest} returns this
|
|
1660
1820
|
*/
|
|
1661
|
-
proto.ondewo.nlu.DeleteOperationRequest.prototype.setName = function
|
|
1662
|
-
|
|
1821
|
+
proto.ondewo.nlu.DeleteOperationRequest.prototype.setName = function(value) {
|
|
1822
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1663
1823
|
};
|
|
1664
1824
|
|
|
1825
|
+
|
|
1665
1826
|
goog.object.extend(exports, proto.ondewo.nlu);
|