@ondewo/nlu-client-typescript 6.14.0 → 7.0.1

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.
@@ -35,16 +35,28 @@ var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/time
35
35
  goog.object.extend(proto, google_protobuf_timestamp_pb);
36
36
  var ondewo_nlu_operation_metadata_pb = require('../../ondewo/nlu/operation_metadata_pb.js');
37
37
  goog.object.extend(proto, ondewo_nlu_operation_metadata_pb);
38
+ var ondewo_nlu_common_pb = require('../../ondewo/nlu/common_pb.js');
39
+ goog.object.extend(proto, ondewo_nlu_common_pb);
38
40
  goog.exportSymbol('proto.ondewo.nlu.CancelOperationRequest', null, global);
39
41
  goog.exportSymbol('proto.ondewo.nlu.DeleteOperationRequest', null, global);
40
42
  goog.exportSymbol('proto.ondewo.nlu.GetOperationRequest', null, global);
43
+ goog.exportSymbol('proto.ondewo.nlu.GetRemoteOperationContainerLogsRequest', null, global);
44
+ goog.exportSymbol('proto.ondewo.nlu.GetRemoteOperationContainerLogsResponse', null, global);
45
+ goog.exportSymbol('proto.ondewo.nlu.GetRemoteOperationContainerStatusRequest', null, global);
41
46
  goog.exportSymbol('proto.ondewo.nlu.ListOperationsRequest', null, global);
42
47
  goog.exportSymbol('proto.ondewo.nlu.ListOperationsResponse', null, global);
48
+ goog.exportSymbol('proto.ondewo.nlu.ListRemoteOperationContainersRequest', null, global);
49
+ goog.exportSymbol('proto.ondewo.nlu.ListRemoteOperationContainersResponse', null, global);
43
50
  goog.exportSymbol('proto.ondewo.nlu.Operation', null, global);
44
51
  goog.exportSymbol('proto.ondewo.nlu.Operation.ResultCase', null, global);
45
52
  goog.exportSymbol('proto.ondewo.nlu.OperationFilter', null, global);
46
53
  goog.exportSymbol('proto.ondewo.nlu.OperationFilter.EndTimeOneofCase', null, global);
47
54
  goog.exportSymbol('proto.ondewo.nlu.OperationFilter.StartTimeOneofCase', null, global);
55
+ goog.exportSymbol('proto.ondewo.nlu.RemoteOperationContainer', null, global);
56
+ goog.exportSymbol('proto.ondewo.nlu.RemoteOperationContainerLifecycleState', null, global);
57
+ goog.exportSymbol('proto.ondewo.nlu.RemoteOperationContainerLogLine', null, global);
58
+ goog.exportSymbol('proto.ondewo.nlu.RemoteOperationContainerStatus', null, global);
59
+ goog.exportSymbol('proto.ondewo.nlu.StreamRemoteOperationContainerLogsRequest', null, global);
48
60
  /**
49
61
  * Generated by JsPbCodeGenerator.
50
62
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -192,6 +204,195 @@ if (goog.DEBUG && !COMPILED) {
192
204
  */
193
205
  proto.ondewo.nlu.DeleteOperationRequest.displayName = 'proto.ondewo.nlu.DeleteOperationRequest';
194
206
  }
207
+ /**
208
+ * Generated by JsPbCodeGenerator.
209
+ * @param {Array=} opt_data Optional initial data array, typically from a
210
+ * server response, or constructed directly in Javascript. The array is used
211
+ * in place and becomes part of the constructed object. It is not cloned.
212
+ * If no data is provided, the constructed object will be empty, but still
213
+ * valid.
214
+ * @extends {jspb.Message}
215
+ * @constructor
216
+ */
217
+ proto.ondewo.nlu.StreamRemoteOperationContainerLogsRequest = function(opt_data) {
218
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
219
+ };
220
+ goog.inherits(proto.ondewo.nlu.StreamRemoteOperationContainerLogsRequest, jspb.Message);
221
+ if (goog.DEBUG && !COMPILED) {
222
+ /**
223
+ * @public
224
+ * @override
225
+ */
226
+ proto.ondewo.nlu.StreamRemoteOperationContainerLogsRequest.displayName = 'proto.ondewo.nlu.StreamRemoteOperationContainerLogsRequest';
227
+ }
228
+ /**
229
+ * Generated by JsPbCodeGenerator.
230
+ * @param {Array=} opt_data Optional initial data array, typically from a
231
+ * server response, or constructed directly in Javascript. The array is used
232
+ * in place and becomes part of the constructed object. It is not cloned.
233
+ * If no data is provided, the constructed object will be empty, but still
234
+ * valid.
235
+ * @extends {jspb.Message}
236
+ * @constructor
237
+ */
238
+ proto.ondewo.nlu.GetRemoteOperationContainerLogsRequest = function(opt_data) {
239
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
240
+ };
241
+ goog.inherits(proto.ondewo.nlu.GetRemoteOperationContainerLogsRequest, jspb.Message);
242
+ if (goog.DEBUG && !COMPILED) {
243
+ /**
244
+ * @public
245
+ * @override
246
+ */
247
+ proto.ondewo.nlu.GetRemoteOperationContainerLogsRequest.displayName = 'proto.ondewo.nlu.GetRemoteOperationContainerLogsRequest';
248
+ }
249
+ /**
250
+ * Generated by JsPbCodeGenerator.
251
+ * @param {Array=} opt_data Optional initial data array, typically from a
252
+ * server response, or constructed directly in Javascript. The array is used
253
+ * in place and becomes part of the constructed object. It is not cloned.
254
+ * If no data is provided, the constructed object will be empty, but still
255
+ * valid.
256
+ * @extends {jspb.Message}
257
+ * @constructor
258
+ */
259
+ proto.ondewo.nlu.GetRemoteOperationContainerLogsResponse = function(opt_data) {
260
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.ondewo.nlu.GetRemoteOperationContainerLogsResponse.repeatedFields_, null);
261
+ };
262
+ goog.inherits(proto.ondewo.nlu.GetRemoteOperationContainerLogsResponse, jspb.Message);
263
+ if (goog.DEBUG && !COMPILED) {
264
+ /**
265
+ * @public
266
+ * @override
267
+ */
268
+ proto.ondewo.nlu.GetRemoteOperationContainerLogsResponse.displayName = 'proto.ondewo.nlu.GetRemoteOperationContainerLogsResponse';
269
+ }
270
+ /**
271
+ * Generated by JsPbCodeGenerator.
272
+ * @param {Array=} opt_data Optional initial data array, typically from a
273
+ * server response, or constructed directly in Javascript. The array is used
274
+ * in place and becomes part of the constructed object. It is not cloned.
275
+ * If no data is provided, the constructed object will be empty, but still
276
+ * valid.
277
+ * @extends {jspb.Message}
278
+ * @constructor
279
+ */
280
+ proto.ondewo.nlu.RemoteOperationContainerLogLine = function(opt_data) {
281
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
282
+ };
283
+ goog.inherits(proto.ondewo.nlu.RemoteOperationContainerLogLine, jspb.Message);
284
+ if (goog.DEBUG && !COMPILED) {
285
+ /**
286
+ * @public
287
+ * @override
288
+ */
289
+ proto.ondewo.nlu.RemoteOperationContainerLogLine.displayName = 'proto.ondewo.nlu.RemoteOperationContainerLogLine';
290
+ }
291
+ /**
292
+ * Generated by JsPbCodeGenerator.
293
+ * @param {Array=} opt_data Optional initial data array, typically from a
294
+ * server response, or constructed directly in Javascript. The array is used
295
+ * in place and becomes part of the constructed object. It is not cloned.
296
+ * If no data is provided, the constructed object will be empty, but still
297
+ * valid.
298
+ * @extends {jspb.Message}
299
+ * @constructor
300
+ */
301
+ proto.ondewo.nlu.GetRemoteOperationContainerStatusRequest = function(opt_data) {
302
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
303
+ };
304
+ goog.inherits(proto.ondewo.nlu.GetRemoteOperationContainerStatusRequest, jspb.Message);
305
+ if (goog.DEBUG && !COMPILED) {
306
+ /**
307
+ * @public
308
+ * @override
309
+ */
310
+ proto.ondewo.nlu.GetRemoteOperationContainerStatusRequest.displayName = 'proto.ondewo.nlu.GetRemoteOperationContainerStatusRequest';
311
+ }
312
+ /**
313
+ * Generated by JsPbCodeGenerator.
314
+ * @param {Array=} opt_data Optional initial data array, typically from a
315
+ * server response, or constructed directly in Javascript. The array is used
316
+ * in place and becomes part of the constructed object. It is not cloned.
317
+ * If no data is provided, the constructed object will be empty, but still
318
+ * valid.
319
+ * @extends {jspb.Message}
320
+ * @constructor
321
+ */
322
+ proto.ondewo.nlu.RemoteOperationContainerStatus = function(opt_data) {
323
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.ondewo.nlu.RemoteOperationContainerStatus.repeatedFields_, null);
324
+ };
325
+ goog.inherits(proto.ondewo.nlu.RemoteOperationContainerStatus, jspb.Message);
326
+ if (goog.DEBUG && !COMPILED) {
327
+ /**
328
+ * @public
329
+ * @override
330
+ */
331
+ proto.ondewo.nlu.RemoteOperationContainerStatus.displayName = 'proto.ondewo.nlu.RemoteOperationContainerStatus';
332
+ }
333
+ /**
334
+ * Generated by JsPbCodeGenerator.
335
+ * @param {Array=} opt_data Optional initial data array, typically from a
336
+ * server response, or constructed directly in Javascript. The array is used
337
+ * in place and becomes part of the constructed object. It is not cloned.
338
+ * If no data is provided, the constructed object will be empty, but still
339
+ * valid.
340
+ * @extends {jspb.Message}
341
+ * @constructor
342
+ */
343
+ proto.ondewo.nlu.RemoteOperationContainer = function(opt_data) {
344
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.ondewo.nlu.RemoteOperationContainer.repeatedFields_, null);
345
+ };
346
+ goog.inherits(proto.ondewo.nlu.RemoteOperationContainer, jspb.Message);
347
+ if (goog.DEBUG && !COMPILED) {
348
+ /**
349
+ * @public
350
+ * @override
351
+ */
352
+ proto.ondewo.nlu.RemoteOperationContainer.displayName = 'proto.ondewo.nlu.RemoteOperationContainer';
353
+ }
354
+ /**
355
+ * Generated by JsPbCodeGenerator.
356
+ * @param {Array=} opt_data Optional initial data array, typically from a
357
+ * server response, or constructed directly in Javascript. The array is used
358
+ * in place and becomes part of the constructed object. It is not cloned.
359
+ * If no data is provided, the constructed object will be empty, but still
360
+ * valid.
361
+ * @extends {jspb.Message}
362
+ * @constructor
363
+ */
364
+ proto.ondewo.nlu.ListRemoteOperationContainersRequest = function(opt_data) {
365
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
366
+ };
367
+ goog.inherits(proto.ondewo.nlu.ListRemoteOperationContainersRequest, jspb.Message);
368
+ if (goog.DEBUG && !COMPILED) {
369
+ /**
370
+ * @public
371
+ * @override
372
+ */
373
+ proto.ondewo.nlu.ListRemoteOperationContainersRequest.displayName = 'proto.ondewo.nlu.ListRemoteOperationContainersRequest';
374
+ }
375
+ /**
376
+ * Generated by JsPbCodeGenerator.
377
+ * @param {Array=} opt_data Optional initial data array, typically from a
378
+ * server response, or constructed directly in Javascript. The array is used
379
+ * in place and becomes part of the constructed object. It is not cloned.
380
+ * If no data is provided, the constructed object will be empty, but still
381
+ * valid.
382
+ * @extends {jspb.Message}
383
+ * @constructor
384
+ */
385
+ proto.ondewo.nlu.ListRemoteOperationContainersResponse = function(opt_data) {
386
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.ondewo.nlu.ListRemoteOperationContainersResponse.repeatedFields_, null);
387
+ };
388
+ goog.inherits(proto.ondewo.nlu.ListRemoteOperationContainersResponse, jspb.Message);
389
+ if (goog.DEBUG && !COMPILED) {
390
+ /**
391
+ * @public
392
+ * @override
393
+ */
394
+ proto.ondewo.nlu.ListRemoteOperationContainersResponse.displayName = 'proto.ondewo.nlu.ListRemoteOperationContainersResponse';
395
+ }
195
396
 
196
397
  /**
197
398
  * Oneof group definitions for this message. Each group defines the field
@@ -1933,4 +2134,3216 @@ proto.ondewo.nlu.DeleteOperationRequest.prototype.setName = function(value) {
1933
2134
  };
1934
2135
 
1935
2136
 
2137
+
2138
+
2139
+
2140
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2141
+ /**
2142
+ * Creates an object representation of this proto.
2143
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2144
+ * Optional fields that are not set will be set to undefined.
2145
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2146
+ * For the list of reserved names please see:
2147
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2148
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2149
+ * JSPB instance for transitional soy proto support:
2150
+ * http://goto/soy-param-migration
2151
+ * @return {!Object}
2152
+ */
2153
+ proto.ondewo.nlu.StreamRemoteOperationContainerLogsRequest.prototype.toObject = function(opt_includeInstance) {
2154
+ return proto.ondewo.nlu.StreamRemoteOperationContainerLogsRequest.toObject(opt_includeInstance, this);
2155
+ };
2156
+
2157
+
2158
+ /**
2159
+ * Static version of the {@see toObject} method.
2160
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2161
+ * the JSPB instance for transitional soy proto support:
2162
+ * http://goto/soy-param-migration
2163
+ * @param {!proto.ondewo.nlu.StreamRemoteOperationContainerLogsRequest} msg The msg instance to transform.
2164
+ * @return {!Object}
2165
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2166
+ */
2167
+ proto.ondewo.nlu.StreamRemoteOperationContainerLogsRequest.toObject = function(includeInstance, msg) {
2168
+ var f, obj = {
2169
+ name: jspb.Message.getFieldWithDefault(msg, 1, ""),
2170
+ minLogLevel: jspb.Message.getFieldWithDefault(msg, 2, 0),
2171
+ tailLines: jspb.Message.getFieldWithDefault(msg, 3, 0),
2172
+ containerId: jspb.Message.getFieldWithDefault(msg, 4, "")
2173
+ };
2174
+
2175
+ if (includeInstance) {
2176
+ obj.$jspbMessageInstance = msg;
2177
+ }
2178
+ return obj;
2179
+ };
2180
+ }
2181
+
2182
+
2183
+ /**
2184
+ * Deserializes binary data (in protobuf wire format).
2185
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2186
+ * @return {!proto.ondewo.nlu.StreamRemoteOperationContainerLogsRequest}
2187
+ */
2188
+ proto.ondewo.nlu.StreamRemoteOperationContainerLogsRequest.deserializeBinary = function(bytes) {
2189
+ var reader = new jspb.BinaryReader(bytes);
2190
+ var msg = new proto.ondewo.nlu.StreamRemoteOperationContainerLogsRequest;
2191
+ return proto.ondewo.nlu.StreamRemoteOperationContainerLogsRequest.deserializeBinaryFromReader(msg, reader);
2192
+ };
2193
+
2194
+
2195
+ /**
2196
+ * Deserializes binary data (in protobuf wire format) from the
2197
+ * given reader into the given message object.
2198
+ * @param {!proto.ondewo.nlu.StreamRemoteOperationContainerLogsRequest} msg The message object to deserialize into.
2199
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2200
+ * @return {!proto.ondewo.nlu.StreamRemoteOperationContainerLogsRequest}
2201
+ */
2202
+ proto.ondewo.nlu.StreamRemoteOperationContainerLogsRequest.deserializeBinaryFromReader = function(msg, reader) {
2203
+ while (reader.nextField()) {
2204
+ if (reader.isEndGroup()) {
2205
+ break;
2206
+ }
2207
+ var field = reader.getFieldNumber();
2208
+ switch (field) {
2209
+ case 1:
2210
+ var value = /** @type {string} */ (reader.readString());
2211
+ msg.setName(value);
2212
+ break;
2213
+ case 2:
2214
+ var value = /** @type {!proto.ondewo.nlu.LogSeverity} */ (reader.readEnum());
2215
+ msg.setMinLogLevel(value);
2216
+ break;
2217
+ case 3:
2218
+ var value = /** @type {number} */ (reader.readInt32());
2219
+ msg.setTailLines(value);
2220
+ break;
2221
+ case 4:
2222
+ var value = /** @type {string} */ (reader.readString());
2223
+ msg.setContainerId(value);
2224
+ break;
2225
+ default:
2226
+ reader.skipField();
2227
+ break;
2228
+ }
2229
+ }
2230
+ return msg;
2231
+ };
2232
+
2233
+
2234
+ /**
2235
+ * Serializes the message to binary data (in protobuf wire format).
2236
+ * @return {!Uint8Array}
2237
+ */
2238
+ proto.ondewo.nlu.StreamRemoteOperationContainerLogsRequest.prototype.serializeBinary = function() {
2239
+ var writer = new jspb.BinaryWriter();
2240
+ proto.ondewo.nlu.StreamRemoteOperationContainerLogsRequest.serializeBinaryToWriter(this, writer);
2241
+ return writer.getResultBuffer();
2242
+ };
2243
+
2244
+
2245
+ /**
2246
+ * Serializes the given message to binary data (in protobuf wire
2247
+ * format), writing to the given BinaryWriter.
2248
+ * @param {!proto.ondewo.nlu.StreamRemoteOperationContainerLogsRequest} message
2249
+ * @param {!jspb.BinaryWriter} writer
2250
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2251
+ */
2252
+ proto.ondewo.nlu.StreamRemoteOperationContainerLogsRequest.serializeBinaryToWriter = function(message, writer) {
2253
+ var f = undefined;
2254
+ f = message.getName();
2255
+ if (f.length > 0) {
2256
+ writer.writeString(
2257
+ 1,
2258
+ f
2259
+ );
2260
+ }
2261
+ f = message.getMinLogLevel();
2262
+ if (f !== 0.0) {
2263
+ writer.writeEnum(
2264
+ 2,
2265
+ f
2266
+ );
2267
+ }
2268
+ f = message.getTailLines();
2269
+ if (f !== 0) {
2270
+ writer.writeInt32(
2271
+ 3,
2272
+ f
2273
+ );
2274
+ }
2275
+ f = message.getContainerId();
2276
+ if (f.length > 0) {
2277
+ writer.writeString(
2278
+ 4,
2279
+ f
2280
+ );
2281
+ }
2282
+ };
2283
+
2284
+
2285
+ /**
2286
+ * optional string name = 1;
2287
+ * @return {string}
2288
+ */
2289
+ proto.ondewo.nlu.StreamRemoteOperationContainerLogsRequest.prototype.getName = function() {
2290
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
2291
+ };
2292
+
2293
+
2294
+ /**
2295
+ * @param {string} value
2296
+ * @return {!proto.ondewo.nlu.StreamRemoteOperationContainerLogsRequest} returns this
2297
+ */
2298
+ proto.ondewo.nlu.StreamRemoteOperationContainerLogsRequest.prototype.setName = function(value) {
2299
+ return jspb.Message.setProto3StringField(this, 1, value);
2300
+ };
2301
+
2302
+
2303
+ /**
2304
+ * optional LogSeverity min_log_level = 2;
2305
+ * @return {!proto.ondewo.nlu.LogSeverity}
2306
+ */
2307
+ proto.ondewo.nlu.StreamRemoteOperationContainerLogsRequest.prototype.getMinLogLevel = function() {
2308
+ return /** @type {!proto.ondewo.nlu.LogSeverity} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
2309
+ };
2310
+
2311
+
2312
+ /**
2313
+ * @param {!proto.ondewo.nlu.LogSeverity} value
2314
+ * @return {!proto.ondewo.nlu.StreamRemoteOperationContainerLogsRequest} returns this
2315
+ */
2316
+ proto.ondewo.nlu.StreamRemoteOperationContainerLogsRequest.prototype.setMinLogLevel = function(value) {
2317
+ return jspb.Message.setProto3EnumField(this, 2, value);
2318
+ };
2319
+
2320
+
2321
+ /**
2322
+ * optional int32 tail_lines = 3;
2323
+ * @return {number}
2324
+ */
2325
+ proto.ondewo.nlu.StreamRemoteOperationContainerLogsRequest.prototype.getTailLines = function() {
2326
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
2327
+ };
2328
+
2329
+
2330
+ /**
2331
+ * @param {number} value
2332
+ * @return {!proto.ondewo.nlu.StreamRemoteOperationContainerLogsRequest} returns this
2333
+ */
2334
+ proto.ondewo.nlu.StreamRemoteOperationContainerLogsRequest.prototype.setTailLines = function(value) {
2335
+ return jspb.Message.setProto3IntField(this, 3, value);
2336
+ };
2337
+
2338
+
2339
+ /**
2340
+ * optional string container_id = 4;
2341
+ * @return {string}
2342
+ */
2343
+ proto.ondewo.nlu.StreamRemoteOperationContainerLogsRequest.prototype.getContainerId = function() {
2344
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
2345
+ };
2346
+
2347
+
2348
+ /**
2349
+ * @param {string} value
2350
+ * @return {!proto.ondewo.nlu.StreamRemoteOperationContainerLogsRequest} returns this
2351
+ */
2352
+ proto.ondewo.nlu.StreamRemoteOperationContainerLogsRequest.prototype.setContainerId = function(value) {
2353
+ return jspb.Message.setProto3StringField(this, 4, value);
2354
+ };
2355
+
2356
+
2357
+
2358
+
2359
+
2360
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2361
+ /**
2362
+ * Creates an object representation of this proto.
2363
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2364
+ * Optional fields that are not set will be set to undefined.
2365
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2366
+ * For the list of reserved names please see:
2367
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2368
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2369
+ * JSPB instance for transitional soy proto support:
2370
+ * http://goto/soy-param-migration
2371
+ * @return {!Object}
2372
+ */
2373
+ proto.ondewo.nlu.GetRemoteOperationContainerLogsRequest.prototype.toObject = function(opt_includeInstance) {
2374
+ return proto.ondewo.nlu.GetRemoteOperationContainerLogsRequest.toObject(opt_includeInstance, this);
2375
+ };
2376
+
2377
+
2378
+ /**
2379
+ * Static version of the {@see toObject} method.
2380
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2381
+ * the JSPB instance for transitional soy proto support:
2382
+ * http://goto/soy-param-migration
2383
+ * @param {!proto.ondewo.nlu.GetRemoteOperationContainerLogsRequest} msg The msg instance to transform.
2384
+ * @return {!Object}
2385
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2386
+ */
2387
+ proto.ondewo.nlu.GetRemoteOperationContainerLogsRequest.toObject = function(includeInstance, msg) {
2388
+ var f, obj = {
2389
+ name: jspb.Message.getFieldWithDefault(msg, 1, ""),
2390
+ minLogLevel: jspb.Message.getFieldWithDefault(msg, 2, 0),
2391
+ startTime: (f = msg.getStartTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
2392
+ endTime: (f = msg.getEndTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
2393
+ maxLines: jspb.Message.getFieldWithDefault(msg, 5, 0),
2394
+ regex: jspb.Message.getFieldWithDefault(msg, 6, ""),
2395
+ containerId: jspb.Message.getFieldWithDefault(msg, 7, ""),
2396
+ beforeSeq: jspb.Message.getFieldWithDefault(msg, 8, 0),
2397
+ afterSeq: jspb.Message.getFieldWithDefault(msg, 9, 0)
2398
+ };
2399
+
2400
+ if (includeInstance) {
2401
+ obj.$jspbMessageInstance = msg;
2402
+ }
2403
+ return obj;
2404
+ };
2405
+ }
2406
+
2407
+
2408
+ /**
2409
+ * Deserializes binary data (in protobuf wire format).
2410
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2411
+ * @return {!proto.ondewo.nlu.GetRemoteOperationContainerLogsRequest}
2412
+ */
2413
+ proto.ondewo.nlu.GetRemoteOperationContainerLogsRequest.deserializeBinary = function(bytes) {
2414
+ var reader = new jspb.BinaryReader(bytes);
2415
+ var msg = new proto.ondewo.nlu.GetRemoteOperationContainerLogsRequest;
2416
+ return proto.ondewo.nlu.GetRemoteOperationContainerLogsRequest.deserializeBinaryFromReader(msg, reader);
2417
+ };
2418
+
2419
+
2420
+ /**
2421
+ * Deserializes binary data (in protobuf wire format) from the
2422
+ * given reader into the given message object.
2423
+ * @param {!proto.ondewo.nlu.GetRemoteOperationContainerLogsRequest} msg The message object to deserialize into.
2424
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2425
+ * @return {!proto.ondewo.nlu.GetRemoteOperationContainerLogsRequest}
2426
+ */
2427
+ proto.ondewo.nlu.GetRemoteOperationContainerLogsRequest.deserializeBinaryFromReader = function(msg, reader) {
2428
+ while (reader.nextField()) {
2429
+ if (reader.isEndGroup()) {
2430
+ break;
2431
+ }
2432
+ var field = reader.getFieldNumber();
2433
+ switch (field) {
2434
+ case 1:
2435
+ var value = /** @type {string} */ (reader.readString());
2436
+ msg.setName(value);
2437
+ break;
2438
+ case 2:
2439
+ var value = /** @type {!proto.ondewo.nlu.LogSeverity} */ (reader.readEnum());
2440
+ msg.setMinLogLevel(value);
2441
+ break;
2442
+ case 3:
2443
+ var value = new google_protobuf_timestamp_pb.Timestamp;
2444
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
2445
+ msg.setStartTime(value);
2446
+ break;
2447
+ case 4:
2448
+ var value = new google_protobuf_timestamp_pb.Timestamp;
2449
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
2450
+ msg.setEndTime(value);
2451
+ break;
2452
+ case 5:
2453
+ var value = /** @type {number} */ (reader.readInt32());
2454
+ msg.setMaxLines(value);
2455
+ break;
2456
+ case 6:
2457
+ var value = /** @type {string} */ (reader.readString());
2458
+ msg.setRegex(value);
2459
+ break;
2460
+ case 7:
2461
+ var value = /** @type {string} */ (reader.readString());
2462
+ msg.setContainerId(value);
2463
+ break;
2464
+ case 8:
2465
+ var value = /** @type {number} */ (reader.readInt64());
2466
+ msg.setBeforeSeq(value);
2467
+ break;
2468
+ case 9:
2469
+ var value = /** @type {number} */ (reader.readInt64());
2470
+ msg.setAfterSeq(value);
2471
+ break;
2472
+ default:
2473
+ reader.skipField();
2474
+ break;
2475
+ }
2476
+ }
2477
+ return msg;
2478
+ };
2479
+
2480
+
2481
+ /**
2482
+ * Serializes the message to binary data (in protobuf wire format).
2483
+ * @return {!Uint8Array}
2484
+ */
2485
+ proto.ondewo.nlu.GetRemoteOperationContainerLogsRequest.prototype.serializeBinary = function() {
2486
+ var writer = new jspb.BinaryWriter();
2487
+ proto.ondewo.nlu.GetRemoteOperationContainerLogsRequest.serializeBinaryToWriter(this, writer);
2488
+ return writer.getResultBuffer();
2489
+ };
2490
+
2491
+
2492
+ /**
2493
+ * Serializes the given message to binary data (in protobuf wire
2494
+ * format), writing to the given BinaryWriter.
2495
+ * @param {!proto.ondewo.nlu.GetRemoteOperationContainerLogsRequest} message
2496
+ * @param {!jspb.BinaryWriter} writer
2497
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2498
+ */
2499
+ proto.ondewo.nlu.GetRemoteOperationContainerLogsRequest.serializeBinaryToWriter = function(message, writer) {
2500
+ var f = undefined;
2501
+ f = message.getName();
2502
+ if (f.length > 0) {
2503
+ writer.writeString(
2504
+ 1,
2505
+ f
2506
+ );
2507
+ }
2508
+ f = message.getMinLogLevel();
2509
+ if (f !== 0.0) {
2510
+ writer.writeEnum(
2511
+ 2,
2512
+ f
2513
+ );
2514
+ }
2515
+ f = message.getStartTime();
2516
+ if (f != null) {
2517
+ writer.writeMessage(
2518
+ 3,
2519
+ f,
2520
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
2521
+ );
2522
+ }
2523
+ f = message.getEndTime();
2524
+ if (f != null) {
2525
+ writer.writeMessage(
2526
+ 4,
2527
+ f,
2528
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
2529
+ );
2530
+ }
2531
+ f = message.getMaxLines();
2532
+ if (f !== 0) {
2533
+ writer.writeInt32(
2534
+ 5,
2535
+ f
2536
+ );
2537
+ }
2538
+ f = message.getRegex();
2539
+ if (f.length > 0) {
2540
+ writer.writeString(
2541
+ 6,
2542
+ f
2543
+ );
2544
+ }
2545
+ f = message.getContainerId();
2546
+ if (f.length > 0) {
2547
+ writer.writeString(
2548
+ 7,
2549
+ f
2550
+ );
2551
+ }
2552
+ f = message.getBeforeSeq();
2553
+ if (f !== 0) {
2554
+ writer.writeInt64(
2555
+ 8,
2556
+ f
2557
+ );
2558
+ }
2559
+ f = message.getAfterSeq();
2560
+ if (f !== 0) {
2561
+ writer.writeInt64(
2562
+ 9,
2563
+ f
2564
+ );
2565
+ }
2566
+ };
2567
+
2568
+
2569
+ /**
2570
+ * optional string name = 1;
2571
+ * @return {string}
2572
+ */
2573
+ proto.ondewo.nlu.GetRemoteOperationContainerLogsRequest.prototype.getName = function() {
2574
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
2575
+ };
2576
+
2577
+
2578
+ /**
2579
+ * @param {string} value
2580
+ * @return {!proto.ondewo.nlu.GetRemoteOperationContainerLogsRequest} returns this
2581
+ */
2582
+ proto.ondewo.nlu.GetRemoteOperationContainerLogsRequest.prototype.setName = function(value) {
2583
+ return jspb.Message.setProto3StringField(this, 1, value);
2584
+ };
2585
+
2586
+
2587
+ /**
2588
+ * optional LogSeverity min_log_level = 2;
2589
+ * @return {!proto.ondewo.nlu.LogSeverity}
2590
+ */
2591
+ proto.ondewo.nlu.GetRemoteOperationContainerLogsRequest.prototype.getMinLogLevel = function() {
2592
+ return /** @type {!proto.ondewo.nlu.LogSeverity} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
2593
+ };
2594
+
2595
+
2596
+ /**
2597
+ * @param {!proto.ondewo.nlu.LogSeverity} value
2598
+ * @return {!proto.ondewo.nlu.GetRemoteOperationContainerLogsRequest} returns this
2599
+ */
2600
+ proto.ondewo.nlu.GetRemoteOperationContainerLogsRequest.prototype.setMinLogLevel = function(value) {
2601
+ return jspb.Message.setProto3EnumField(this, 2, value);
2602
+ };
2603
+
2604
+
2605
+ /**
2606
+ * optional google.protobuf.Timestamp start_time = 3;
2607
+ * @return {?proto.google.protobuf.Timestamp}
2608
+ */
2609
+ proto.ondewo.nlu.GetRemoteOperationContainerLogsRequest.prototype.getStartTime = function() {
2610
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
2611
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 3));
2612
+ };
2613
+
2614
+
2615
+ /**
2616
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
2617
+ * @return {!proto.ondewo.nlu.GetRemoteOperationContainerLogsRequest} returns this
2618
+ */
2619
+ proto.ondewo.nlu.GetRemoteOperationContainerLogsRequest.prototype.setStartTime = function(value) {
2620
+ return jspb.Message.setWrapperField(this, 3, value);
2621
+ };
2622
+
2623
+
2624
+ /**
2625
+ * Clears the message field making it undefined.
2626
+ * @return {!proto.ondewo.nlu.GetRemoteOperationContainerLogsRequest} returns this
2627
+ */
2628
+ proto.ondewo.nlu.GetRemoteOperationContainerLogsRequest.prototype.clearStartTime = function() {
2629
+ return this.setStartTime(undefined);
2630
+ };
2631
+
2632
+
2633
+ /**
2634
+ * Returns whether this field is set.
2635
+ * @return {boolean}
2636
+ */
2637
+ proto.ondewo.nlu.GetRemoteOperationContainerLogsRequest.prototype.hasStartTime = function() {
2638
+ return jspb.Message.getField(this, 3) != null;
2639
+ };
2640
+
2641
+
2642
+ /**
2643
+ * optional google.protobuf.Timestamp end_time = 4;
2644
+ * @return {?proto.google.protobuf.Timestamp}
2645
+ */
2646
+ proto.ondewo.nlu.GetRemoteOperationContainerLogsRequest.prototype.getEndTime = function() {
2647
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
2648
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 4));
2649
+ };
2650
+
2651
+
2652
+ /**
2653
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
2654
+ * @return {!proto.ondewo.nlu.GetRemoteOperationContainerLogsRequest} returns this
2655
+ */
2656
+ proto.ondewo.nlu.GetRemoteOperationContainerLogsRequest.prototype.setEndTime = function(value) {
2657
+ return jspb.Message.setWrapperField(this, 4, value);
2658
+ };
2659
+
2660
+
2661
+ /**
2662
+ * Clears the message field making it undefined.
2663
+ * @return {!proto.ondewo.nlu.GetRemoteOperationContainerLogsRequest} returns this
2664
+ */
2665
+ proto.ondewo.nlu.GetRemoteOperationContainerLogsRequest.prototype.clearEndTime = function() {
2666
+ return this.setEndTime(undefined);
2667
+ };
2668
+
2669
+
2670
+ /**
2671
+ * Returns whether this field is set.
2672
+ * @return {boolean}
2673
+ */
2674
+ proto.ondewo.nlu.GetRemoteOperationContainerLogsRequest.prototype.hasEndTime = function() {
2675
+ return jspb.Message.getField(this, 4) != null;
2676
+ };
2677
+
2678
+
2679
+ /**
2680
+ * optional int32 max_lines = 5;
2681
+ * @return {number}
2682
+ */
2683
+ proto.ondewo.nlu.GetRemoteOperationContainerLogsRequest.prototype.getMaxLines = function() {
2684
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
2685
+ };
2686
+
2687
+
2688
+ /**
2689
+ * @param {number} value
2690
+ * @return {!proto.ondewo.nlu.GetRemoteOperationContainerLogsRequest} returns this
2691
+ */
2692
+ proto.ondewo.nlu.GetRemoteOperationContainerLogsRequest.prototype.setMaxLines = function(value) {
2693
+ return jspb.Message.setProto3IntField(this, 5, value);
2694
+ };
2695
+
2696
+
2697
+ /**
2698
+ * optional string regex = 6;
2699
+ * @return {string}
2700
+ */
2701
+ proto.ondewo.nlu.GetRemoteOperationContainerLogsRequest.prototype.getRegex = function() {
2702
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
2703
+ };
2704
+
2705
+
2706
+ /**
2707
+ * @param {string} value
2708
+ * @return {!proto.ondewo.nlu.GetRemoteOperationContainerLogsRequest} returns this
2709
+ */
2710
+ proto.ondewo.nlu.GetRemoteOperationContainerLogsRequest.prototype.setRegex = function(value) {
2711
+ return jspb.Message.setProto3StringField(this, 6, value);
2712
+ };
2713
+
2714
+
2715
+ /**
2716
+ * optional string container_id = 7;
2717
+ * @return {string}
2718
+ */
2719
+ proto.ondewo.nlu.GetRemoteOperationContainerLogsRequest.prototype.getContainerId = function() {
2720
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
2721
+ };
2722
+
2723
+
2724
+ /**
2725
+ * @param {string} value
2726
+ * @return {!proto.ondewo.nlu.GetRemoteOperationContainerLogsRequest} returns this
2727
+ */
2728
+ proto.ondewo.nlu.GetRemoteOperationContainerLogsRequest.prototype.setContainerId = function(value) {
2729
+ return jspb.Message.setProto3StringField(this, 7, value);
2730
+ };
2731
+
2732
+
2733
+ /**
2734
+ * optional int64 before_seq = 8;
2735
+ * @return {number}
2736
+ */
2737
+ proto.ondewo.nlu.GetRemoteOperationContainerLogsRequest.prototype.getBeforeSeq = function() {
2738
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
2739
+ };
2740
+
2741
+
2742
+ /**
2743
+ * @param {number} value
2744
+ * @return {!proto.ondewo.nlu.GetRemoteOperationContainerLogsRequest} returns this
2745
+ */
2746
+ proto.ondewo.nlu.GetRemoteOperationContainerLogsRequest.prototype.setBeforeSeq = function(value) {
2747
+ return jspb.Message.setProto3IntField(this, 8, value);
2748
+ };
2749
+
2750
+
2751
+ /**
2752
+ * optional int64 after_seq = 9;
2753
+ * @return {number}
2754
+ */
2755
+ proto.ondewo.nlu.GetRemoteOperationContainerLogsRequest.prototype.getAfterSeq = function() {
2756
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
2757
+ };
2758
+
2759
+
2760
+ /**
2761
+ * @param {number} value
2762
+ * @return {!proto.ondewo.nlu.GetRemoteOperationContainerLogsRequest} returns this
2763
+ */
2764
+ proto.ondewo.nlu.GetRemoteOperationContainerLogsRequest.prototype.setAfterSeq = function(value) {
2765
+ return jspb.Message.setProto3IntField(this, 9, value);
2766
+ };
2767
+
2768
+
2769
+
2770
+ /**
2771
+ * List of repeated fields within this message type.
2772
+ * @private {!Array<number>}
2773
+ * @const
2774
+ */
2775
+ proto.ondewo.nlu.GetRemoteOperationContainerLogsResponse.repeatedFields_ = [1];
2776
+
2777
+
2778
+
2779
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2780
+ /**
2781
+ * Creates an object representation of this proto.
2782
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2783
+ * Optional fields that are not set will be set to undefined.
2784
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2785
+ * For the list of reserved names please see:
2786
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2787
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2788
+ * JSPB instance for transitional soy proto support:
2789
+ * http://goto/soy-param-migration
2790
+ * @return {!Object}
2791
+ */
2792
+ proto.ondewo.nlu.GetRemoteOperationContainerLogsResponse.prototype.toObject = function(opt_includeInstance) {
2793
+ return proto.ondewo.nlu.GetRemoteOperationContainerLogsResponse.toObject(opt_includeInstance, this);
2794
+ };
2795
+
2796
+
2797
+ /**
2798
+ * Static version of the {@see toObject} method.
2799
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2800
+ * the JSPB instance for transitional soy proto support:
2801
+ * http://goto/soy-param-migration
2802
+ * @param {!proto.ondewo.nlu.GetRemoteOperationContainerLogsResponse} msg The msg instance to transform.
2803
+ * @return {!Object}
2804
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2805
+ */
2806
+ proto.ondewo.nlu.GetRemoteOperationContainerLogsResponse.toObject = function(includeInstance, msg) {
2807
+ var f, obj = {
2808
+ logLinesList: jspb.Message.toObjectList(msg.getLogLinesList(),
2809
+ proto.ondewo.nlu.RemoteOperationContainerLogLine.toObject, includeInstance),
2810
+ truncated: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
2811
+ minAvailableSeq: jspb.Message.getFieldWithDefault(msg, 3, 0),
2812
+ maxAvailableSeq: jspb.Message.getFieldWithDefault(msg, 4, 0),
2813
+ hasMoreOlder: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
2814
+ };
2815
+
2816
+ if (includeInstance) {
2817
+ obj.$jspbMessageInstance = msg;
2818
+ }
2819
+ return obj;
2820
+ };
2821
+ }
2822
+
2823
+
2824
+ /**
2825
+ * Deserializes binary data (in protobuf wire format).
2826
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2827
+ * @return {!proto.ondewo.nlu.GetRemoteOperationContainerLogsResponse}
2828
+ */
2829
+ proto.ondewo.nlu.GetRemoteOperationContainerLogsResponse.deserializeBinary = function(bytes) {
2830
+ var reader = new jspb.BinaryReader(bytes);
2831
+ var msg = new proto.ondewo.nlu.GetRemoteOperationContainerLogsResponse;
2832
+ return proto.ondewo.nlu.GetRemoteOperationContainerLogsResponse.deserializeBinaryFromReader(msg, reader);
2833
+ };
2834
+
2835
+
2836
+ /**
2837
+ * Deserializes binary data (in protobuf wire format) from the
2838
+ * given reader into the given message object.
2839
+ * @param {!proto.ondewo.nlu.GetRemoteOperationContainerLogsResponse} msg The message object to deserialize into.
2840
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2841
+ * @return {!proto.ondewo.nlu.GetRemoteOperationContainerLogsResponse}
2842
+ */
2843
+ proto.ondewo.nlu.GetRemoteOperationContainerLogsResponse.deserializeBinaryFromReader = function(msg, reader) {
2844
+ while (reader.nextField()) {
2845
+ if (reader.isEndGroup()) {
2846
+ break;
2847
+ }
2848
+ var field = reader.getFieldNumber();
2849
+ switch (field) {
2850
+ case 1:
2851
+ var value = new proto.ondewo.nlu.RemoteOperationContainerLogLine;
2852
+ reader.readMessage(value,proto.ondewo.nlu.RemoteOperationContainerLogLine.deserializeBinaryFromReader);
2853
+ msg.addLogLines(value);
2854
+ break;
2855
+ case 2:
2856
+ var value = /** @type {boolean} */ (reader.readBool());
2857
+ msg.setTruncated(value);
2858
+ break;
2859
+ case 3:
2860
+ var value = /** @type {number} */ (reader.readInt64());
2861
+ msg.setMinAvailableSeq(value);
2862
+ break;
2863
+ case 4:
2864
+ var value = /** @type {number} */ (reader.readInt64());
2865
+ msg.setMaxAvailableSeq(value);
2866
+ break;
2867
+ case 5:
2868
+ var value = /** @type {boolean} */ (reader.readBool());
2869
+ msg.setHasMoreOlder(value);
2870
+ break;
2871
+ default:
2872
+ reader.skipField();
2873
+ break;
2874
+ }
2875
+ }
2876
+ return msg;
2877
+ };
2878
+
2879
+
2880
+ /**
2881
+ * Serializes the message to binary data (in protobuf wire format).
2882
+ * @return {!Uint8Array}
2883
+ */
2884
+ proto.ondewo.nlu.GetRemoteOperationContainerLogsResponse.prototype.serializeBinary = function() {
2885
+ var writer = new jspb.BinaryWriter();
2886
+ proto.ondewo.nlu.GetRemoteOperationContainerLogsResponse.serializeBinaryToWriter(this, writer);
2887
+ return writer.getResultBuffer();
2888
+ };
2889
+
2890
+
2891
+ /**
2892
+ * Serializes the given message to binary data (in protobuf wire
2893
+ * format), writing to the given BinaryWriter.
2894
+ * @param {!proto.ondewo.nlu.GetRemoteOperationContainerLogsResponse} message
2895
+ * @param {!jspb.BinaryWriter} writer
2896
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2897
+ */
2898
+ proto.ondewo.nlu.GetRemoteOperationContainerLogsResponse.serializeBinaryToWriter = function(message, writer) {
2899
+ var f = undefined;
2900
+ f = message.getLogLinesList();
2901
+ if (f.length > 0) {
2902
+ writer.writeRepeatedMessage(
2903
+ 1,
2904
+ f,
2905
+ proto.ondewo.nlu.RemoteOperationContainerLogLine.serializeBinaryToWriter
2906
+ );
2907
+ }
2908
+ f = message.getTruncated();
2909
+ if (f) {
2910
+ writer.writeBool(
2911
+ 2,
2912
+ f
2913
+ );
2914
+ }
2915
+ f = message.getMinAvailableSeq();
2916
+ if (f !== 0) {
2917
+ writer.writeInt64(
2918
+ 3,
2919
+ f
2920
+ );
2921
+ }
2922
+ f = message.getMaxAvailableSeq();
2923
+ if (f !== 0) {
2924
+ writer.writeInt64(
2925
+ 4,
2926
+ f
2927
+ );
2928
+ }
2929
+ f = message.getHasMoreOlder();
2930
+ if (f) {
2931
+ writer.writeBool(
2932
+ 5,
2933
+ f
2934
+ );
2935
+ }
2936
+ };
2937
+
2938
+
2939
+ /**
2940
+ * repeated RemoteOperationContainerLogLine log_lines = 1;
2941
+ * @return {!Array<!proto.ondewo.nlu.RemoteOperationContainerLogLine>}
2942
+ */
2943
+ proto.ondewo.nlu.GetRemoteOperationContainerLogsResponse.prototype.getLogLinesList = function() {
2944
+ return /** @type{!Array<!proto.ondewo.nlu.RemoteOperationContainerLogLine>} */ (
2945
+ jspb.Message.getRepeatedWrapperField(this, proto.ondewo.nlu.RemoteOperationContainerLogLine, 1));
2946
+ };
2947
+
2948
+
2949
+ /**
2950
+ * @param {!Array<!proto.ondewo.nlu.RemoteOperationContainerLogLine>} value
2951
+ * @return {!proto.ondewo.nlu.GetRemoteOperationContainerLogsResponse} returns this
2952
+ */
2953
+ proto.ondewo.nlu.GetRemoteOperationContainerLogsResponse.prototype.setLogLinesList = function(value) {
2954
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
2955
+ };
2956
+
2957
+
2958
+ /**
2959
+ * @param {!proto.ondewo.nlu.RemoteOperationContainerLogLine=} opt_value
2960
+ * @param {number=} opt_index
2961
+ * @return {!proto.ondewo.nlu.RemoteOperationContainerLogLine}
2962
+ */
2963
+ proto.ondewo.nlu.GetRemoteOperationContainerLogsResponse.prototype.addLogLines = function(opt_value, opt_index) {
2964
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ondewo.nlu.RemoteOperationContainerLogLine, opt_index);
2965
+ };
2966
+
2967
+
2968
+ /**
2969
+ * Clears the list making it empty but non-null.
2970
+ * @return {!proto.ondewo.nlu.GetRemoteOperationContainerLogsResponse} returns this
2971
+ */
2972
+ proto.ondewo.nlu.GetRemoteOperationContainerLogsResponse.prototype.clearLogLinesList = function() {
2973
+ return this.setLogLinesList([]);
2974
+ };
2975
+
2976
+
2977
+ /**
2978
+ * optional bool truncated = 2;
2979
+ * @return {boolean}
2980
+ */
2981
+ proto.ondewo.nlu.GetRemoteOperationContainerLogsResponse.prototype.getTruncated = function() {
2982
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
2983
+ };
2984
+
2985
+
2986
+ /**
2987
+ * @param {boolean} value
2988
+ * @return {!proto.ondewo.nlu.GetRemoteOperationContainerLogsResponse} returns this
2989
+ */
2990
+ proto.ondewo.nlu.GetRemoteOperationContainerLogsResponse.prototype.setTruncated = function(value) {
2991
+ return jspb.Message.setProto3BooleanField(this, 2, value);
2992
+ };
2993
+
2994
+
2995
+ /**
2996
+ * optional int64 min_available_seq = 3;
2997
+ * @return {number}
2998
+ */
2999
+ proto.ondewo.nlu.GetRemoteOperationContainerLogsResponse.prototype.getMinAvailableSeq = function() {
3000
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
3001
+ };
3002
+
3003
+
3004
+ /**
3005
+ * @param {number} value
3006
+ * @return {!proto.ondewo.nlu.GetRemoteOperationContainerLogsResponse} returns this
3007
+ */
3008
+ proto.ondewo.nlu.GetRemoteOperationContainerLogsResponse.prototype.setMinAvailableSeq = function(value) {
3009
+ return jspb.Message.setProto3IntField(this, 3, value);
3010
+ };
3011
+
3012
+
3013
+ /**
3014
+ * optional int64 max_available_seq = 4;
3015
+ * @return {number}
3016
+ */
3017
+ proto.ondewo.nlu.GetRemoteOperationContainerLogsResponse.prototype.getMaxAvailableSeq = function() {
3018
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
3019
+ };
3020
+
3021
+
3022
+ /**
3023
+ * @param {number} value
3024
+ * @return {!proto.ondewo.nlu.GetRemoteOperationContainerLogsResponse} returns this
3025
+ */
3026
+ proto.ondewo.nlu.GetRemoteOperationContainerLogsResponse.prototype.setMaxAvailableSeq = function(value) {
3027
+ return jspb.Message.setProto3IntField(this, 4, value);
3028
+ };
3029
+
3030
+
3031
+ /**
3032
+ * optional bool has_more_older = 5;
3033
+ * @return {boolean}
3034
+ */
3035
+ proto.ondewo.nlu.GetRemoteOperationContainerLogsResponse.prototype.getHasMoreOlder = function() {
3036
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
3037
+ };
3038
+
3039
+
3040
+ /**
3041
+ * @param {boolean} value
3042
+ * @return {!proto.ondewo.nlu.GetRemoteOperationContainerLogsResponse} returns this
3043
+ */
3044
+ proto.ondewo.nlu.GetRemoteOperationContainerLogsResponse.prototype.setHasMoreOlder = function(value) {
3045
+ return jspb.Message.setProto3BooleanField(this, 5, value);
3046
+ };
3047
+
3048
+
3049
+
3050
+
3051
+
3052
+ if (jspb.Message.GENERATE_TO_OBJECT) {
3053
+ /**
3054
+ * Creates an object representation of this proto.
3055
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
3056
+ * Optional fields that are not set will be set to undefined.
3057
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3058
+ * For the list of reserved names please see:
3059
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3060
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3061
+ * JSPB instance for transitional soy proto support:
3062
+ * http://goto/soy-param-migration
3063
+ * @return {!Object}
3064
+ */
3065
+ proto.ondewo.nlu.RemoteOperationContainerLogLine.prototype.toObject = function(opt_includeInstance) {
3066
+ return proto.ondewo.nlu.RemoteOperationContainerLogLine.toObject(opt_includeInstance, this);
3067
+ };
3068
+
3069
+
3070
+ /**
3071
+ * Static version of the {@see toObject} method.
3072
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3073
+ * the JSPB instance for transitional soy proto support:
3074
+ * http://goto/soy-param-migration
3075
+ * @param {!proto.ondewo.nlu.RemoteOperationContainerLogLine} msg The msg instance to transform.
3076
+ * @return {!Object}
3077
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3078
+ */
3079
+ proto.ondewo.nlu.RemoteOperationContainerLogLine.toObject = function(includeInstance, msg) {
3080
+ var f, obj = {
3081
+ timestamp: (f = msg.getTimestamp()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
3082
+ level: jspb.Message.getFieldWithDefault(msg, 2, 0),
3083
+ message: jspb.Message.getFieldWithDefault(msg, 3, ""),
3084
+ containerId: jspb.Message.getFieldWithDefault(msg, 4, ""),
3085
+ containerName: jspb.Message.getFieldWithDefault(msg, 5, ""),
3086
+ seq: jspb.Message.getFieldWithDefault(msg, 6, 0)
3087
+ };
3088
+
3089
+ if (includeInstance) {
3090
+ obj.$jspbMessageInstance = msg;
3091
+ }
3092
+ return obj;
3093
+ };
3094
+ }
3095
+
3096
+
3097
+ /**
3098
+ * Deserializes binary data (in protobuf wire format).
3099
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
3100
+ * @return {!proto.ondewo.nlu.RemoteOperationContainerLogLine}
3101
+ */
3102
+ proto.ondewo.nlu.RemoteOperationContainerLogLine.deserializeBinary = function(bytes) {
3103
+ var reader = new jspb.BinaryReader(bytes);
3104
+ var msg = new proto.ondewo.nlu.RemoteOperationContainerLogLine;
3105
+ return proto.ondewo.nlu.RemoteOperationContainerLogLine.deserializeBinaryFromReader(msg, reader);
3106
+ };
3107
+
3108
+
3109
+ /**
3110
+ * Deserializes binary data (in protobuf wire format) from the
3111
+ * given reader into the given message object.
3112
+ * @param {!proto.ondewo.nlu.RemoteOperationContainerLogLine} msg The message object to deserialize into.
3113
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3114
+ * @return {!proto.ondewo.nlu.RemoteOperationContainerLogLine}
3115
+ */
3116
+ proto.ondewo.nlu.RemoteOperationContainerLogLine.deserializeBinaryFromReader = function(msg, reader) {
3117
+ while (reader.nextField()) {
3118
+ if (reader.isEndGroup()) {
3119
+ break;
3120
+ }
3121
+ var field = reader.getFieldNumber();
3122
+ switch (field) {
3123
+ case 1:
3124
+ var value = new google_protobuf_timestamp_pb.Timestamp;
3125
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
3126
+ msg.setTimestamp(value);
3127
+ break;
3128
+ case 2:
3129
+ var value = /** @type {!proto.ondewo.nlu.LogSeverity} */ (reader.readEnum());
3130
+ msg.setLevel(value);
3131
+ break;
3132
+ case 3:
3133
+ var value = /** @type {string} */ (reader.readString());
3134
+ msg.setMessage(value);
3135
+ break;
3136
+ case 4:
3137
+ var value = /** @type {string} */ (reader.readString());
3138
+ msg.setContainerId(value);
3139
+ break;
3140
+ case 5:
3141
+ var value = /** @type {string} */ (reader.readString());
3142
+ msg.setContainerName(value);
3143
+ break;
3144
+ case 6:
3145
+ var value = /** @type {number} */ (reader.readInt64());
3146
+ msg.setSeq(value);
3147
+ break;
3148
+ default:
3149
+ reader.skipField();
3150
+ break;
3151
+ }
3152
+ }
3153
+ return msg;
3154
+ };
3155
+
3156
+
3157
+ /**
3158
+ * Serializes the message to binary data (in protobuf wire format).
3159
+ * @return {!Uint8Array}
3160
+ */
3161
+ proto.ondewo.nlu.RemoteOperationContainerLogLine.prototype.serializeBinary = function() {
3162
+ var writer = new jspb.BinaryWriter();
3163
+ proto.ondewo.nlu.RemoteOperationContainerLogLine.serializeBinaryToWriter(this, writer);
3164
+ return writer.getResultBuffer();
3165
+ };
3166
+
3167
+
3168
+ /**
3169
+ * Serializes the given message to binary data (in protobuf wire
3170
+ * format), writing to the given BinaryWriter.
3171
+ * @param {!proto.ondewo.nlu.RemoteOperationContainerLogLine} message
3172
+ * @param {!jspb.BinaryWriter} writer
3173
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3174
+ */
3175
+ proto.ondewo.nlu.RemoteOperationContainerLogLine.serializeBinaryToWriter = function(message, writer) {
3176
+ var f = undefined;
3177
+ f = message.getTimestamp();
3178
+ if (f != null) {
3179
+ writer.writeMessage(
3180
+ 1,
3181
+ f,
3182
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
3183
+ );
3184
+ }
3185
+ f = message.getLevel();
3186
+ if (f !== 0.0) {
3187
+ writer.writeEnum(
3188
+ 2,
3189
+ f
3190
+ );
3191
+ }
3192
+ f = message.getMessage();
3193
+ if (f.length > 0) {
3194
+ writer.writeString(
3195
+ 3,
3196
+ f
3197
+ );
3198
+ }
3199
+ f = message.getContainerId();
3200
+ if (f.length > 0) {
3201
+ writer.writeString(
3202
+ 4,
3203
+ f
3204
+ );
3205
+ }
3206
+ f = message.getContainerName();
3207
+ if (f.length > 0) {
3208
+ writer.writeString(
3209
+ 5,
3210
+ f
3211
+ );
3212
+ }
3213
+ f = message.getSeq();
3214
+ if (f !== 0) {
3215
+ writer.writeInt64(
3216
+ 6,
3217
+ f
3218
+ );
3219
+ }
3220
+ };
3221
+
3222
+
3223
+ /**
3224
+ * optional google.protobuf.Timestamp timestamp = 1;
3225
+ * @return {?proto.google.protobuf.Timestamp}
3226
+ */
3227
+ proto.ondewo.nlu.RemoteOperationContainerLogLine.prototype.getTimestamp = function() {
3228
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
3229
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 1));
3230
+ };
3231
+
3232
+
3233
+ /**
3234
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
3235
+ * @return {!proto.ondewo.nlu.RemoteOperationContainerLogLine} returns this
3236
+ */
3237
+ proto.ondewo.nlu.RemoteOperationContainerLogLine.prototype.setTimestamp = function(value) {
3238
+ return jspb.Message.setWrapperField(this, 1, value);
3239
+ };
3240
+
3241
+
3242
+ /**
3243
+ * Clears the message field making it undefined.
3244
+ * @return {!proto.ondewo.nlu.RemoteOperationContainerLogLine} returns this
3245
+ */
3246
+ proto.ondewo.nlu.RemoteOperationContainerLogLine.prototype.clearTimestamp = function() {
3247
+ return this.setTimestamp(undefined);
3248
+ };
3249
+
3250
+
3251
+ /**
3252
+ * Returns whether this field is set.
3253
+ * @return {boolean}
3254
+ */
3255
+ proto.ondewo.nlu.RemoteOperationContainerLogLine.prototype.hasTimestamp = function() {
3256
+ return jspb.Message.getField(this, 1) != null;
3257
+ };
3258
+
3259
+
3260
+ /**
3261
+ * optional LogSeverity level = 2;
3262
+ * @return {!proto.ondewo.nlu.LogSeverity}
3263
+ */
3264
+ proto.ondewo.nlu.RemoteOperationContainerLogLine.prototype.getLevel = function() {
3265
+ return /** @type {!proto.ondewo.nlu.LogSeverity} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
3266
+ };
3267
+
3268
+
3269
+ /**
3270
+ * @param {!proto.ondewo.nlu.LogSeverity} value
3271
+ * @return {!proto.ondewo.nlu.RemoteOperationContainerLogLine} returns this
3272
+ */
3273
+ proto.ondewo.nlu.RemoteOperationContainerLogLine.prototype.setLevel = function(value) {
3274
+ return jspb.Message.setProto3EnumField(this, 2, value);
3275
+ };
3276
+
3277
+
3278
+ /**
3279
+ * optional string message = 3;
3280
+ * @return {string}
3281
+ */
3282
+ proto.ondewo.nlu.RemoteOperationContainerLogLine.prototype.getMessage = function() {
3283
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
3284
+ };
3285
+
3286
+
3287
+ /**
3288
+ * @param {string} value
3289
+ * @return {!proto.ondewo.nlu.RemoteOperationContainerLogLine} returns this
3290
+ */
3291
+ proto.ondewo.nlu.RemoteOperationContainerLogLine.prototype.setMessage = function(value) {
3292
+ return jspb.Message.setProto3StringField(this, 3, value);
3293
+ };
3294
+
3295
+
3296
+ /**
3297
+ * optional string container_id = 4;
3298
+ * @return {string}
3299
+ */
3300
+ proto.ondewo.nlu.RemoteOperationContainerLogLine.prototype.getContainerId = function() {
3301
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
3302
+ };
3303
+
3304
+
3305
+ /**
3306
+ * @param {string} value
3307
+ * @return {!proto.ondewo.nlu.RemoteOperationContainerLogLine} returns this
3308
+ */
3309
+ proto.ondewo.nlu.RemoteOperationContainerLogLine.prototype.setContainerId = function(value) {
3310
+ return jspb.Message.setProto3StringField(this, 4, value);
3311
+ };
3312
+
3313
+
3314
+ /**
3315
+ * optional string container_name = 5;
3316
+ * @return {string}
3317
+ */
3318
+ proto.ondewo.nlu.RemoteOperationContainerLogLine.prototype.getContainerName = function() {
3319
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
3320
+ };
3321
+
3322
+
3323
+ /**
3324
+ * @param {string} value
3325
+ * @return {!proto.ondewo.nlu.RemoteOperationContainerLogLine} returns this
3326
+ */
3327
+ proto.ondewo.nlu.RemoteOperationContainerLogLine.prototype.setContainerName = function(value) {
3328
+ return jspb.Message.setProto3StringField(this, 5, value);
3329
+ };
3330
+
3331
+
3332
+ /**
3333
+ * optional int64 seq = 6;
3334
+ * @return {number}
3335
+ */
3336
+ proto.ondewo.nlu.RemoteOperationContainerLogLine.prototype.getSeq = function() {
3337
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
3338
+ };
3339
+
3340
+
3341
+ /**
3342
+ * @param {number} value
3343
+ * @return {!proto.ondewo.nlu.RemoteOperationContainerLogLine} returns this
3344
+ */
3345
+ proto.ondewo.nlu.RemoteOperationContainerLogLine.prototype.setSeq = function(value) {
3346
+ return jspb.Message.setProto3IntField(this, 6, value);
3347
+ };
3348
+
3349
+
3350
+
3351
+
3352
+
3353
+ if (jspb.Message.GENERATE_TO_OBJECT) {
3354
+ /**
3355
+ * Creates an object representation of this proto.
3356
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
3357
+ * Optional fields that are not set will be set to undefined.
3358
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3359
+ * For the list of reserved names please see:
3360
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3361
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3362
+ * JSPB instance for transitional soy proto support:
3363
+ * http://goto/soy-param-migration
3364
+ * @return {!Object}
3365
+ */
3366
+ proto.ondewo.nlu.GetRemoteOperationContainerStatusRequest.prototype.toObject = function(opt_includeInstance) {
3367
+ return proto.ondewo.nlu.GetRemoteOperationContainerStatusRequest.toObject(opt_includeInstance, this);
3368
+ };
3369
+
3370
+
3371
+ /**
3372
+ * Static version of the {@see toObject} method.
3373
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3374
+ * the JSPB instance for transitional soy proto support:
3375
+ * http://goto/soy-param-migration
3376
+ * @param {!proto.ondewo.nlu.GetRemoteOperationContainerStatusRequest} msg The msg instance to transform.
3377
+ * @return {!Object}
3378
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3379
+ */
3380
+ proto.ondewo.nlu.GetRemoteOperationContainerStatusRequest.toObject = function(includeInstance, msg) {
3381
+ var f, obj = {
3382
+ name: jspb.Message.getFieldWithDefault(msg, 1, ""),
3383
+ containerId: jspb.Message.getFieldWithDefault(msg, 2, "")
3384
+ };
3385
+
3386
+ if (includeInstance) {
3387
+ obj.$jspbMessageInstance = msg;
3388
+ }
3389
+ return obj;
3390
+ };
3391
+ }
3392
+
3393
+
3394
+ /**
3395
+ * Deserializes binary data (in protobuf wire format).
3396
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
3397
+ * @return {!proto.ondewo.nlu.GetRemoteOperationContainerStatusRequest}
3398
+ */
3399
+ proto.ondewo.nlu.GetRemoteOperationContainerStatusRequest.deserializeBinary = function(bytes) {
3400
+ var reader = new jspb.BinaryReader(bytes);
3401
+ var msg = new proto.ondewo.nlu.GetRemoteOperationContainerStatusRequest;
3402
+ return proto.ondewo.nlu.GetRemoteOperationContainerStatusRequest.deserializeBinaryFromReader(msg, reader);
3403
+ };
3404
+
3405
+
3406
+ /**
3407
+ * Deserializes binary data (in protobuf wire format) from the
3408
+ * given reader into the given message object.
3409
+ * @param {!proto.ondewo.nlu.GetRemoteOperationContainerStatusRequest} msg The message object to deserialize into.
3410
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3411
+ * @return {!proto.ondewo.nlu.GetRemoteOperationContainerStatusRequest}
3412
+ */
3413
+ proto.ondewo.nlu.GetRemoteOperationContainerStatusRequest.deserializeBinaryFromReader = function(msg, reader) {
3414
+ while (reader.nextField()) {
3415
+ if (reader.isEndGroup()) {
3416
+ break;
3417
+ }
3418
+ var field = reader.getFieldNumber();
3419
+ switch (field) {
3420
+ case 1:
3421
+ var value = /** @type {string} */ (reader.readString());
3422
+ msg.setName(value);
3423
+ break;
3424
+ case 2:
3425
+ var value = /** @type {string} */ (reader.readString());
3426
+ msg.setContainerId(value);
3427
+ break;
3428
+ default:
3429
+ reader.skipField();
3430
+ break;
3431
+ }
3432
+ }
3433
+ return msg;
3434
+ };
3435
+
3436
+
3437
+ /**
3438
+ * Serializes the message to binary data (in protobuf wire format).
3439
+ * @return {!Uint8Array}
3440
+ */
3441
+ proto.ondewo.nlu.GetRemoteOperationContainerStatusRequest.prototype.serializeBinary = function() {
3442
+ var writer = new jspb.BinaryWriter();
3443
+ proto.ondewo.nlu.GetRemoteOperationContainerStatusRequest.serializeBinaryToWriter(this, writer);
3444
+ return writer.getResultBuffer();
3445
+ };
3446
+
3447
+
3448
+ /**
3449
+ * Serializes the given message to binary data (in protobuf wire
3450
+ * format), writing to the given BinaryWriter.
3451
+ * @param {!proto.ondewo.nlu.GetRemoteOperationContainerStatusRequest} message
3452
+ * @param {!jspb.BinaryWriter} writer
3453
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3454
+ */
3455
+ proto.ondewo.nlu.GetRemoteOperationContainerStatusRequest.serializeBinaryToWriter = function(message, writer) {
3456
+ var f = undefined;
3457
+ f = message.getName();
3458
+ if (f.length > 0) {
3459
+ writer.writeString(
3460
+ 1,
3461
+ f
3462
+ );
3463
+ }
3464
+ f = message.getContainerId();
3465
+ if (f.length > 0) {
3466
+ writer.writeString(
3467
+ 2,
3468
+ f
3469
+ );
3470
+ }
3471
+ };
3472
+
3473
+
3474
+ /**
3475
+ * optional string name = 1;
3476
+ * @return {string}
3477
+ */
3478
+ proto.ondewo.nlu.GetRemoteOperationContainerStatusRequest.prototype.getName = function() {
3479
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
3480
+ };
3481
+
3482
+
3483
+ /**
3484
+ * @param {string} value
3485
+ * @return {!proto.ondewo.nlu.GetRemoteOperationContainerStatusRequest} returns this
3486
+ */
3487
+ proto.ondewo.nlu.GetRemoteOperationContainerStatusRequest.prototype.setName = function(value) {
3488
+ return jspb.Message.setProto3StringField(this, 1, value);
3489
+ };
3490
+
3491
+
3492
+ /**
3493
+ * optional string container_id = 2;
3494
+ * @return {string}
3495
+ */
3496
+ proto.ondewo.nlu.GetRemoteOperationContainerStatusRequest.prototype.getContainerId = function() {
3497
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
3498
+ };
3499
+
3500
+
3501
+ /**
3502
+ * @param {string} value
3503
+ * @return {!proto.ondewo.nlu.GetRemoteOperationContainerStatusRequest} returns this
3504
+ */
3505
+ proto.ondewo.nlu.GetRemoteOperationContainerStatusRequest.prototype.setContainerId = function(value) {
3506
+ return jspb.Message.setProto3StringField(this, 2, value);
3507
+ };
3508
+
3509
+
3510
+
3511
+ /**
3512
+ * List of repeated fields within this message type.
3513
+ * @private {!Array<number>}
3514
+ * @const
3515
+ */
3516
+ proto.ondewo.nlu.RemoteOperationContainerStatus.repeatedFields_ = [13];
3517
+
3518
+
3519
+
3520
+ if (jspb.Message.GENERATE_TO_OBJECT) {
3521
+ /**
3522
+ * Creates an object representation of this proto.
3523
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
3524
+ * Optional fields that are not set will be set to undefined.
3525
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3526
+ * For the list of reserved names please see:
3527
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3528
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3529
+ * JSPB instance for transitional soy proto support:
3530
+ * http://goto/soy-param-migration
3531
+ * @return {!Object}
3532
+ */
3533
+ proto.ondewo.nlu.RemoteOperationContainerStatus.prototype.toObject = function(opt_includeInstance) {
3534
+ return proto.ondewo.nlu.RemoteOperationContainerStatus.toObject(opt_includeInstance, this);
3535
+ };
3536
+
3537
+
3538
+ /**
3539
+ * Static version of the {@see toObject} method.
3540
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3541
+ * the JSPB instance for transitional soy proto support:
3542
+ * http://goto/soy-param-migration
3543
+ * @param {!proto.ondewo.nlu.RemoteOperationContainerStatus} msg The msg instance to transform.
3544
+ * @return {!Object}
3545
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3546
+ */
3547
+ proto.ondewo.nlu.RemoteOperationContainerStatus.toObject = function(includeInstance, msg) {
3548
+ var f, obj = {
3549
+ name: jspb.Message.getFieldWithDefault(msg, 1, ""),
3550
+ lifecycleState: jspb.Message.getFieldWithDefault(msg, 2, 0),
3551
+ hostName: jspb.Message.getFieldWithDefault(msg, 3, ""),
3552
+ containerName: jspb.Message.getFieldWithDefault(msg, 4, ""),
3553
+ containerId: jspb.Message.getFieldWithDefault(msg, 11, ""),
3554
+ exitCode: jspb.Message.getFieldWithDefault(msg, 5, 0),
3555
+ oomKilled: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
3556
+ healthStatus: jspb.Message.getFieldWithDefault(msg, 7, ""),
3557
+ startedAt: (f = msg.getStartedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
3558
+ finishedAt: (f = msg.getFinishedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
3559
+ observedAt: (f = msg.getObservedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
3560
+ environmentVariablesMap: (f = msg.getEnvironmentVariablesMap()) ? f.toObject(includeInstance, undefined) : [],
3561
+ commandList: (f = jspb.Message.getRepeatedField(msg, 13)) == null ? undefined : f,
3562
+ memoryLimitBytes: jspb.Message.getFieldWithDefault(msg, 14, 0),
3563
+ nanoCpus: jspb.Message.getFieldWithDefault(msg, 15, 0),
3564
+ cpusetCpus: jspb.Message.getFieldWithDefault(msg, 16, ""),
3565
+ cpuQuota: jspb.Message.getFieldWithDefault(msg, 17, 0),
3566
+ cpuPeriod: jspb.Message.getFieldWithDefault(msg, 18, 0),
3567
+ image: jspb.Message.getFieldWithDefault(msg, 19, "")
3568
+ };
3569
+
3570
+ if (includeInstance) {
3571
+ obj.$jspbMessageInstance = msg;
3572
+ }
3573
+ return obj;
3574
+ };
3575
+ }
3576
+
3577
+
3578
+ /**
3579
+ * Deserializes binary data (in protobuf wire format).
3580
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
3581
+ * @return {!proto.ondewo.nlu.RemoteOperationContainerStatus}
3582
+ */
3583
+ proto.ondewo.nlu.RemoteOperationContainerStatus.deserializeBinary = function(bytes) {
3584
+ var reader = new jspb.BinaryReader(bytes);
3585
+ var msg = new proto.ondewo.nlu.RemoteOperationContainerStatus;
3586
+ return proto.ondewo.nlu.RemoteOperationContainerStatus.deserializeBinaryFromReader(msg, reader);
3587
+ };
3588
+
3589
+
3590
+ /**
3591
+ * Deserializes binary data (in protobuf wire format) from the
3592
+ * given reader into the given message object.
3593
+ * @param {!proto.ondewo.nlu.RemoteOperationContainerStatus} msg The message object to deserialize into.
3594
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3595
+ * @return {!proto.ondewo.nlu.RemoteOperationContainerStatus}
3596
+ */
3597
+ proto.ondewo.nlu.RemoteOperationContainerStatus.deserializeBinaryFromReader = function(msg, reader) {
3598
+ while (reader.nextField()) {
3599
+ if (reader.isEndGroup()) {
3600
+ break;
3601
+ }
3602
+ var field = reader.getFieldNumber();
3603
+ switch (field) {
3604
+ case 1:
3605
+ var value = /** @type {string} */ (reader.readString());
3606
+ msg.setName(value);
3607
+ break;
3608
+ case 2:
3609
+ var value = /** @type {!proto.ondewo.nlu.RemoteOperationContainerLifecycleState} */ (reader.readEnum());
3610
+ msg.setLifecycleState(value);
3611
+ break;
3612
+ case 3:
3613
+ var value = /** @type {string} */ (reader.readString());
3614
+ msg.setHostName(value);
3615
+ break;
3616
+ case 4:
3617
+ var value = /** @type {string} */ (reader.readString());
3618
+ msg.setContainerName(value);
3619
+ break;
3620
+ case 11:
3621
+ var value = /** @type {string} */ (reader.readString());
3622
+ msg.setContainerId(value);
3623
+ break;
3624
+ case 5:
3625
+ var value = /** @type {number} */ (reader.readInt32());
3626
+ msg.setExitCode(value);
3627
+ break;
3628
+ case 6:
3629
+ var value = /** @type {boolean} */ (reader.readBool());
3630
+ msg.setOomKilled(value);
3631
+ break;
3632
+ case 7:
3633
+ var value = /** @type {string} */ (reader.readString());
3634
+ msg.setHealthStatus(value);
3635
+ break;
3636
+ case 8:
3637
+ var value = new google_protobuf_timestamp_pb.Timestamp;
3638
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
3639
+ msg.setStartedAt(value);
3640
+ break;
3641
+ case 9:
3642
+ var value = new google_protobuf_timestamp_pb.Timestamp;
3643
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
3644
+ msg.setFinishedAt(value);
3645
+ break;
3646
+ case 10:
3647
+ var value = new google_protobuf_timestamp_pb.Timestamp;
3648
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
3649
+ msg.setObservedAt(value);
3650
+ break;
3651
+ case 12:
3652
+ var value = msg.getEnvironmentVariablesMap();
3653
+ reader.readMessage(value, function(message, reader) {
3654
+ jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
3655
+ });
3656
+ break;
3657
+ case 13:
3658
+ var value = /** @type {string} */ (reader.readString());
3659
+ msg.addCommand(value);
3660
+ break;
3661
+ case 14:
3662
+ var value = /** @type {number} */ (reader.readInt64());
3663
+ msg.setMemoryLimitBytes(value);
3664
+ break;
3665
+ case 15:
3666
+ var value = /** @type {number} */ (reader.readInt64());
3667
+ msg.setNanoCpus(value);
3668
+ break;
3669
+ case 16:
3670
+ var value = /** @type {string} */ (reader.readString());
3671
+ msg.setCpusetCpus(value);
3672
+ break;
3673
+ case 17:
3674
+ var value = /** @type {number} */ (reader.readInt64());
3675
+ msg.setCpuQuota(value);
3676
+ break;
3677
+ case 18:
3678
+ var value = /** @type {number} */ (reader.readInt64());
3679
+ msg.setCpuPeriod(value);
3680
+ break;
3681
+ case 19:
3682
+ var value = /** @type {string} */ (reader.readString());
3683
+ msg.setImage(value);
3684
+ break;
3685
+ default:
3686
+ reader.skipField();
3687
+ break;
3688
+ }
3689
+ }
3690
+ return msg;
3691
+ };
3692
+
3693
+
3694
+ /**
3695
+ * Serializes the message to binary data (in protobuf wire format).
3696
+ * @return {!Uint8Array}
3697
+ */
3698
+ proto.ondewo.nlu.RemoteOperationContainerStatus.prototype.serializeBinary = function() {
3699
+ var writer = new jspb.BinaryWriter();
3700
+ proto.ondewo.nlu.RemoteOperationContainerStatus.serializeBinaryToWriter(this, writer);
3701
+ return writer.getResultBuffer();
3702
+ };
3703
+
3704
+
3705
+ /**
3706
+ * Serializes the given message to binary data (in protobuf wire
3707
+ * format), writing to the given BinaryWriter.
3708
+ * @param {!proto.ondewo.nlu.RemoteOperationContainerStatus} message
3709
+ * @param {!jspb.BinaryWriter} writer
3710
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3711
+ */
3712
+ proto.ondewo.nlu.RemoteOperationContainerStatus.serializeBinaryToWriter = function(message, writer) {
3713
+ var f = undefined;
3714
+ f = message.getName();
3715
+ if (f.length > 0) {
3716
+ writer.writeString(
3717
+ 1,
3718
+ f
3719
+ );
3720
+ }
3721
+ f = message.getLifecycleState();
3722
+ if (f !== 0.0) {
3723
+ writer.writeEnum(
3724
+ 2,
3725
+ f
3726
+ );
3727
+ }
3728
+ f = message.getHostName();
3729
+ if (f.length > 0) {
3730
+ writer.writeString(
3731
+ 3,
3732
+ f
3733
+ );
3734
+ }
3735
+ f = message.getContainerName();
3736
+ if (f.length > 0) {
3737
+ writer.writeString(
3738
+ 4,
3739
+ f
3740
+ );
3741
+ }
3742
+ f = message.getContainerId();
3743
+ if (f.length > 0) {
3744
+ writer.writeString(
3745
+ 11,
3746
+ f
3747
+ );
3748
+ }
3749
+ f = message.getExitCode();
3750
+ if (f !== 0) {
3751
+ writer.writeInt32(
3752
+ 5,
3753
+ f
3754
+ );
3755
+ }
3756
+ f = message.getOomKilled();
3757
+ if (f) {
3758
+ writer.writeBool(
3759
+ 6,
3760
+ f
3761
+ );
3762
+ }
3763
+ f = message.getHealthStatus();
3764
+ if (f.length > 0) {
3765
+ writer.writeString(
3766
+ 7,
3767
+ f
3768
+ );
3769
+ }
3770
+ f = message.getStartedAt();
3771
+ if (f != null) {
3772
+ writer.writeMessage(
3773
+ 8,
3774
+ f,
3775
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
3776
+ );
3777
+ }
3778
+ f = message.getFinishedAt();
3779
+ if (f != null) {
3780
+ writer.writeMessage(
3781
+ 9,
3782
+ f,
3783
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
3784
+ );
3785
+ }
3786
+ f = message.getObservedAt();
3787
+ if (f != null) {
3788
+ writer.writeMessage(
3789
+ 10,
3790
+ f,
3791
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
3792
+ );
3793
+ }
3794
+ f = message.getEnvironmentVariablesMap(true);
3795
+ if (f && f.getLength() > 0) {
3796
+ f.serializeBinary(12, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
3797
+ }
3798
+ f = message.getCommandList();
3799
+ if (f.length > 0) {
3800
+ writer.writeRepeatedString(
3801
+ 13,
3802
+ f
3803
+ );
3804
+ }
3805
+ f = message.getMemoryLimitBytes();
3806
+ if (f !== 0) {
3807
+ writer.writeInt64(
3808
+ 14,
3809
+ f
3810
+ );
3811
+ }
3812
+ f = message.getNanoCpus();
3813
+ if (f !== 0) {
3814
+ writer.writeInt64(
3815
+ 15,
3816
+ f
3817
+ );
3818
+ }
3819
+ f = message.getCpusetCpus();
3820
+ if (f.length > 0) {
3821
+ writer.writeString(
3822
+ 16,
3823
+ f
3824
+ );
3825
+ }
3826
+ f = message.getCpuQuota();
3827
+ if (f !== 0) {
3828
+ writer.writeInt64(
3829
+ 17,
3830
+ f
3831
+ );
3832
+ }
3833
+ f = message.getCpuPeriod();
3834
+ if (f !== 0) {
3835
+ writer.writeInt64(
3836
+ 18,
3837
+ f
3838
+ );
3839
+ }
3840
+ f = message.getImage();
3841
+ if (f.length > 0) {
3842
+ writer.writeString(
3843
+ 19,
3844
+ f
3845
+ );
3846
+ }
3847
+ };
3848
+
3849
+
3850
+ /**
3851
+ * optional string name = 1;
3852
+ * @return {string}
3853
+ */
3854
+ proto.ondewo.nlu.RemoteOperationContainerStatus.prototype.getName = function() {
3855
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
3856
+ };
3857
+
3858
+
3859
+ /**
3860
+ * @param {string} value
3861
+ * @return {!proto.ondewo.nlu.RemoteOperationContainerStatus} returns this
3862
+ */
3863
+ proto.ondewo.nlu.RemoteOperationContainerStatus.prototype.setName = function(value) {
3864
+ return jspb.Message.setProto3StringField(this, 1, value);
3865
+ };
3866
+
3867
+
3868
+ /**
3869
+ * optional RemoteOperationContainerLifecycleState lifecycle_state = 2;
3870
+ * @return {!proto.ondewo.nlu.RemoteOperationContainerLifecycleState}
3871
+ */
3872
+ proto.ondewo.nlu.RemoteOperationContainerStatus.prototype.getLifecycleState = function() {
3873
+ return /** @type {!proto.ondewo.nlu.RemoteOperationContainerLifecycleState} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
3874
+ };
3875
+
3876
+
3877
+ /**
3878
+ * @param {!proto.ondewo.nlu.RemoteOperationContainerLifecycleState} value
3879
+ * @return {!proto.ondewo.nlu.RemoteOperationContainerStatus} returns this
3880
+ */
3881
+ proto.ondewo.nlu.RemoteOperationContainerStatus.prototype.setLifecycleState = function(value) {
3882
+ return jspb.Message.setProto3EnumField(this, 2, value);
3883
+ };
3884
+
3885
+
3886
+ /**
3887
+ * optional string host_name = 3;
3888
+ * @return {string}
3889
+ */
3890
+ proto.ondewo.nlu.RemoteOperationContainerStatus.prototype.getHostName = function() {
3891
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
3892
+ };
3893
+
3894
+
3895
+ /**
3896
+ * @param {string} value
3897
+ * @return {!proto.ondewo.nlu.RemoteOperationContainerStatus} returns this
3898
+ */
3899
+ proto.ondewo.nlu.RemoteOperationContainerStatus.prototype.setHostName = function(value) {
3900
+ return jspb.Message.setProto3StringField(this, 3, value);
3901
+ };
3902
+
3903
+
3904
+ /**
3905
+ * optional string container_name = 4;
3906
+ * @return {string}
3907
+ */
3908
+ proto.ondewo.nlu.RemoteOperationContainerStatus.prototype.getContainerName = function() {
3909
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
3910
+ };
3911
+
3912
+
3913
+ /**
3914
+ * @param {string} value
3915
+ * @return {!proto.ondewo.nlu.RemoteOperationContainerStatus} returns this
3916
+ */
3917
+ proto.ondewo.nlu.RemoteOperationContainerStatus.prototype.setContainerName = function(value) {
3918
+ return jspb.Message.setProto3StringField(this, 4, value);
3919
+ };
3920
+
3921
+
3922
+ /**
3923
+ * optional string container_id = 11;
3924
+ * @return {string}
3925
+ */
3926
+ proto.ondewo.nlu.RemoteOperationContainerStatus.prototype.getContainerId = function() {
3927
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
3928
+ };
3929
+
3930
+
3931
+ /**
3932
+ * @param {string} value
3933
+ * @return {!proto.ondewo.nlu.RemoteOperationContainerStatus} returns this
3934
+ */
3935
+ proto.ondewo.nlu.RemoteOperationContainerStatus.prototype.setContainerId = function(value) {
3936
+ return jspb.Message.setProto3StringField(this, 11, value);
3937
+ };
3938
+
3939
+
3940
+ /**
3941
+ * optional int32 exit_code = 5;
3942
+ * @return {number}
3943
+ */
3944
+ proto.ondewo.nlu.RemoteOperationContainerStatus.prototype.getExitCode = function() {
3945
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
3946
+ };
3947
+
3948
+
3949
+ /**
3950
+ * @param {number} value
3951
+ * @return {!proto.ondewo.nlu.RemoteOperationContainerStatus} returns this
3952
+ */
3953
+ proto.ondewo.nlu.RemoteOperationContainerStatus.prototype.setExitCode = function(value) {
3954
+ return jspb.Message.setProto3IntField(this, 5, value);
3955
+ };
3956
+
3957
+
3958
+ /**
3959
+ * optional bool oom_killed = 6;
3960
+ * @return {boolean}
3961
+ */
3962
+ proto.ondewo.nlu.RemoteOperationContainerStatus.prototype.getOomKilled = function() {
3963
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
3964
+ };
3965
+
3966
+
3967
+ /**
3968
+ * @param {boolean} value
3969
+ * @return {!proto.ondewo.nlu.RemoteOperationContainerStatus} returns this
3970
+ */
3971
+ proto.ondewo.nlu.RemoteOperationContainerStatus.prototype.setOomKilled = function(value) {
3972
+ return jspb.Message.setProto3BooleanField(this, 6, value);
3973
+ };
3974
+
3975
+
3976
+ /**
3977
+ * optional string health_status = 7;
3978
+ * @return {string}
3979
+ */
3980
+ proto.ondewo.nlu.RemoteOperationContainerStatus.prototype.getHealthStatus = function() {
3981
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
3982
+ };
3983
+
3984
+
3985
+ /**
3986
+ * @param {string} value
3987
+ * @return {!proto.ondewo.nlu.RemoteOperationContainerStatus} returns this
3988
+ */
3989
+ proto.ondewo.nlu.RemoteOperationContainerStatus.prototype.setHealthStatus = function(value) {
3990
+ return jspb.Message.setProto3StringField(this, 7, value);
3991
+ };
3992
+
3993
+
3994
+ /**
3995
+ * optional google.protobuf.Timestamp started_at = 8;
3996
+ * @return {?proto.google.protobuf.Timestamp}
3997
+ */
3998
+ proto.ondewo.nlu.RemoteOperationContainerStatus.prototype.getStartedAt = function() {
3999
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
4000
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 8));
4001
+ };
4002
+
4003
+
4004
+ /**
4005
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
4006
+ * @return {!proto.ondewo.nlu.RemoteOperationContainerStatus} returns this
4007
+ */
4008
+ proto.ondewo.nlu.RemoteOperationContainerStatus.prototype.setStartedAt = function(value) {
4009
+ return jspb.Message.setWrapperField(this, 8, value);
4010
+ };
4011
+
4012
+
4013
+ /**
4014
+ * Clears the message field making it undefined.
4015
+ * @return {!proto.ondewo.nlu.RemoteOperationContainerStatus} returns this
4016
+ */
4017
+ proto.ondewo.nlu.RemoteOperationContainerStatus.prototype.clearStartedAt = function() {
4018
+ return this.setStartedAt(undefined);
4019
+ };
4020
+
4021
+
4022
+ /**
4023
+ * Returns whether this field is set.
4024
+ * @return {boolean}
4025
+ */
4026
+ proto.ondewo.nlu.RemoteOperationContainerStatus.prototype.hasStartedAt = function() {
4027
+ return jspb.Message.getField(this, 8) != null;
4028
+ };
4029
+
4030
+
4031
+ /**
4032
+ * optional google.protobuf.Timestamp finished_at = 9;
4033
+ * @return {?proto.google.protobuf.Timestamp}
4034
+ */
4035
+ proto.ondewo.nlu.RemoteOperationContainerStatus.prototype.getFinishedAt = function() {
4036
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
4037
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 9));
4038
+ };
4039
+
4040
+
4041
+ /**
4042
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
4043
+ * @return {!proto.ondewo.nlu.RemoteOperationContainerStatus} returns this
4044
+ */
4045
+ proto.ondewo.nlu.RemoteOperationContainerStatus.prototype.setFinishedAt = function(value) {
4046
+ return jspb.Message.setWrapperField(this, 9, value);
4047
+ };
4048
+
4049
+
4050
+ /**
4051
+ * Clears the message field making it undefined.
4052
+ * @return {!proto.ondewo.nlu.RemoteOperationContainerStatus} returns this
4053
+ */
4054
+ proto.ondewo.nlu.RemoteOperationContainerStatus.prototype.clearFinishedAt = function() {
4055
+ return this.setFinishedAt(undefined);
4056
+ };
4057
+
4058
+
4059
+ /**
4060
+ * Returns whether this field is set.
4061
+ * @return {boolean}
4062
+ */
4063
+ proto.ondewo.nlu.RemoteOperationContainerStatus.prototype.hasFinishedAt = function() {
4064
+ return jspb.Message.getField(this, 9) != null;
4065
+ };
4066
+
4067
+
4068
+ /**
4069
+ * optional google.protobuf.Timestamp observed_at = 10;
4070
+ * @return {?proto.google.protobuf.Timestamp}
4071
+ */
4072
+ proto.ondewo.nlu.RemoteOperationContainerStatus.prototype.getObservedAt = function() {
4073
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
4074
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 10));
4075
+ };
4076
+
4077
+
4078
+ /**
4079
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
4080
+ * @return {!proto.ondewo.nlu.RemoteOperationContainerStatus} returns this
4081
+ */
4082
+ proto.ondewo.nlu.RemoteOperationContainerStatus.prototype.setObservedAt = function(value) {
4083
+ return jspb.Message.setWrapperField(this, 10, value);
4084
+ };
4085
+
4086
+
4087
+ /**
4088
+ * Clears the message field making it undefined.
4089
+ * @return {!proto.ondewo.nlu.RemoteOperationContainerStatus} returns this
4090
+ */
4091
+ proto.ondewo.nlu.RemoteOperationContainerStatus.prototype.clearObservedAt = function() {
4092
+ return this.setObservedAt(undefined);
4093
+ };
4094
+
4095
+
4096
+ /**
4097
+ * Returns whether this field is set.
4098
+ * @return {boolean}
4099
+ */
4100
+ proto.ondewo.nlu.RemoteOperationContainerStatus.prototype.hasObservedAt = function() {
4101
+ return jspb.Message.getField(this, 10) != null;
4102
+ };
4103
+
4104
+
4105
+ /**
4106
+ * map<string, string> environment_variables = 12;
4107
+ * @param {boolean=} opt_noLazyCreate Do not create the map if
4108
+ * empty, instead returning `undefined`
4109
+ * @return {!jspb.Map<string,string>}
4110
+ */
4111
+ proto.ondewo.nlu.RemoteOperationContainerStatus.prototype.getEnvironmentVariablesMap = function(opt_noLazyCreate) {
4112
+ return /** @type {!jspb.Map<string,string>} */ (
4113
+ jspb.Message.getMapField(this, 12, opt_noLazyCreate,
4114
+ null));
4115
+ };
4116
+
4117
+
4118
+ /**
4119
+ * Clears values from the map. The map will be non-null.
4120
+ * @return {!proto.ondewo.nlu.RemoteOperationContainerStatus} returns this
4121
+ */
4122
+ proto.ondewo.nlu.RemoteOperationContainerStatus.prototype.clearEnvironmentVariablesMap = function() {
4123
+ this.getEnvironmentVariablesMap().clear();
4124
+ return this;
4125
+ };
4126
+
4127
+
4128
+ /**
4129
+ * repeated string command = 13;
4130
+ * @return {!Array<string>}
4131
+ */
4132
+ proto.ondewo.nlu.RemoteOperationContainerStatus.prototype.getCommandList = function() {
4133
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 13));
4134
+ };
4135
+
4136
+
4137
+ /**
4138
+ * @param {!Array<string>} value
4139
+ * @return {!proto.ondewo.nlu.RemoteOperationContainerStatus} returns this
4140
+ */
4141
+ proto.ondewo.nlu.RemoteOperationContainerStatus.prototype.setCommandList = function(value) {
4142
+ return jspb.Message.setField(this, 13, value || []);
4143
+ };
4144
+
4145
+
4146
+ /**
4147
+ * @param {string} value
4148
+ * @param {number=} opt_index
4149
+ * @return {!proto.ondewo.nlu.RemoteOperationContainerStatus} returns this
4150
+ */
4151
+ proto.ondewo.nlu.RemoteOperationContainerStatus.prototype.addCommand = function(value, opt_index) {
4152
+ return jspb.Message.addToRepeatedField(this, 13, value, opt_index);
4153
+ };
4154
+
4155
+
4156
+ /**
4157
+ * Clears the list making it empty but non-null.
4158
+ * @return {!proto.ondewo.nlu.RemoteOperationContainerStatus} returns this
4159
+ */
4160
+ proto.ondewo.nlu.RemoteOperationContainerStatus.prototype.clearCommandList = function() {
4161
+ return this.setCommandList([]);
4162
+ };
4163
+
4164
+
4165
+ /**
4166
+ * optional int64 memory_limit_bytes = 14;
4167
+ * @return {number}
4168
+ */
4169
+ proto.ondewo.nlu.RemoteOperationContainerStatus.prototype.getMemoryLimitBytes = function() {
4170
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 14, 0));
4171
+ };
4172
+
4173
+
4174
+ /**
4175
+ * @param {number} value
4176
+ * @return {!proto.ondewo.nlu.RemoteOperationContainerStatus} returns this
4177
+ */
4178
+ proto.ondewo.nlu.RemoteOperationContainerStatus.prototype.setMemoryLimitBytes = function(value) {
4179
+ return jspb.Message.setProto3IntField(this, 14, value);
4180
+ };
4181
+
4182
+
4183
+ /**
4184
+ * optional int64 nano_cpus = 15;
4185
+ * @return {number}
4186
+ */
4187
+ proto.ondewo.nlu.RemoteOperationContainerStatus.prototype.getNanoCpus = function() {
4188
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 15, 0));
4189
+ };
4190
+
4191
+
4192
+ /**
4193
+ * @param {number} value
4194
+ * @return {!proto.ondewo.nlu.RemoteOperationContainerStatus} returns this
4195
+ */
4196
+ proto.ondewo.nlu.RemoteOperationContainerStatus.prototype.setNanoCpus = function(value) {
4197
+ return jspb.Message.setProto3IntField(this, 15, value);
4198
+ };
4199
+
4200
+
4201
+ /**
4202
+ * optional string cpuset_cpus = 16;
4203
+ * @return {string}
4204
+ */
4205
+ proto.ondewo.nlu.RemoteOperationContainerStatus.prototype.getCpusetCpus = function() {
4206
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
4207
+ };
4208
+
4209
+
4210
+ /**
4211
+ * @param {string} value
4212
+ * @return {!proto.ondewo.nlu.RemoteOperationContainerStatus} returns this
4213
+ */
4214
+ proto.ondewo.nlu.RemoteOperationContainerStatus.prototype.setCpusetCpus = function(value) {
4215
+ return jspb.Message.setProto3StringField(this, 16, value);
4216
+ };
4217
+
4218
+
4219
+ /**
4220
+ * optional int64 cpu_quota = 17;
4221
+ * @return {number}
4222
+ */
4223
+ proto.ondewo.nlu.RemoteOperationContainerStatus.prototype.getCpuQuota = function() {
4224
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 17, 0));
4225
+ };
4226
+
4227
+
4228
+ /**
4229
+ * @param {number} value
4230
+ * @return {!proto.ondewo.nlu.RemoteOperationContainerStatus} returns this
4231
+ */
4232
+ proto.ondewo.nlu.RemoteOperationContainerStatus.prototype.setCpuQuota = function(value) {
4233
+ return jspb.Message.setProto3IntField(this, 17, value);
4234
+ };
4235
+
4236
+
4237
+ /**
4238
+ * optional int64 cpu_period = 18;
4239
+ * @return {number}
4240
+ */
4241
+ proto.ondewo.nlu.RemoteOperationContainerStatus.prototype.getCpuPeriod = function() {
4242
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 18, 0));
4243
+ };
4244
+
4245
+
4246
+ /**
4247
+ * @param {number} value
4248
+ * @return {!proto.ondewo.nlu.RemoteOperationContainerStatus} returns this
4249
+ */
4250
+ proto.ondewo.nlu.RemoteOperationContainerStatus.prototype.setCpuPeriod = function(value) {
4251
+ return jspb.Message.setProto3IntField(this, 18, value);
4252
+ };
4253
+
4254
+
4255
+ /**
4256
+ * optional string image = 19;
4257
+ * @return {string}
4258
+ */
4259
+ proto.ondewo.nlu.RemoteOperationContainerStatus.prototype.getImage = function() {
4260
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 19, ""));
4261
+ };
4262
+
4263
+
4264
+ /**
4265
+ * @param {string} value
4266
+ * @return {!proto.ondewo.nlu.RemoteOperationContainerStatus} returns this
4267
+ */
4268
+ proto.ondewo.nlu.RemoteOperationContainerStatus.prototype.setImage = function(value) {
4269
+ return jspb.Message.setProto3StringField(this, 19, value);
4270
+ };
4271
+
4272
+
4273
+
4274
+ /**
4275
+ * List of repeated fields within this message type.
4276
+ * @private {!Array<number>}
4277
+ * @const
4278
+ */
4279
+ proto.ondewo.nlu.RemoteOperationContainer.repeatedFields_ = [14];
4280
+
4281
+
4282
+
4283
+ if (jspb.Message.GENERATE_TO_OBJECT) {
4284
+ /**
4285
+ * Creates an object representation of this proto.
4286
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
4287
+ * Optional fields that are not set will be set to undefined.
4288
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
4289
+ * For the list of reserved names please see:
4290
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
4291
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
4292
+ * JSPB instance for transitional soy proto support:
4293
+ * http://goto/soy-param-migration
4294
+ * @return {!Object}
4295
+ */
4296
+ proto.ondewo.nlu.RemoteOperationContainer.prototype.toObject = function(opt_includeInstance) {
4297
+ return proto.ondewo.nlu.RemoteOperationContainer.toObject(opt_includeInstance, this);
4298
+ };
4299
+
4300
+
4301
+ /**
4302
+ * Static version of the {@see toObject} method.
4303
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4304
+ * the JSPB instance for transitional soy proto support:
4305
+ * http://goto/soy-param-migration
4306
+ * @param {!proto.ondewo.nlu.RemoteOperationContainer} msg The msg instance to transform.
4307
+ * @return {!Object}
4308
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4309
+ */
4310
+ proto.ondewo.nlu.RemoteOperationContainer.toObject = function(includeInstance, msg) {
4311
+ var f, obj = {
4312
+ containerId: jspb.Message.getFieldWithDefault(msg, 1, ""),
4313
+ containerName: jspb.Message.getFieldWithDefault(msg, 2, ""),
4314
+ hostName: jspb.Message.getFieldWithDefault(msg, 3, ""),
4315
+ lifecycleState: jspb.Message.getFieldWithDefault(msg, 4, 0),
4316
+ operationName: jspb.Message.getFieldWithDefault(msg, 5, ""),
4317
+ image: jspb.Message.getFieldWithDefault(msg, 6, ""),
4318
+ phase: jspb.Message.getFieldWithDefault(msg, 7, ""),
4319
+ exitCode: jspb.Message.getFieldWithDefault(msg, 8, 0),
4320
+ oomKilled: jspb.Message.getBooleanFieldWithDefault(msg, 9, false),
4321
+ startedAt: (f = msg.getStartedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
4322
+ finishedAt: (f = msg.getFinishedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
4323
+ logsAvailable: jspb.Message.getBooleanFieldWithDefault(msg, 12, false),
4324
+ environmentVariablesMap: (f = msg.getEnvironmentVariablesMap()) ? f.toObject(includeInstance, undefined) : [],
4325
+ commandList: (f = jspb.Message.getRepeatedField(msg, 14)) == null ? undefined : f,
4326
+ memoryLimitBytes: jspb.Message.getFieldWithDefault(msg, 15, 0),
4327
+ nanoCpus: jspb.Message.getFieldWithDefault(msg, 16, 0),
4328
+ cpusetCpus: jspb.Message.getFieldWithDefault(msg, 17, ""),
4329
+ cpuQuota: jspb.Message.getFieldWithDefault(msg, 18, 0),
4330
+ cpuPeriod: jspb.Message.getFieldWithDefault(msg, 19, 0)
4331
+ };
4332
+
4333
+ if (includeInstance) {
4334
+ obj.$jspbMessageInstance = msg;
4335
+ }
4336
+ return obj;
4337
+ };
4338
+ }
4339
+
4340
+
4341
+ /**
4342
+ * Deserializes binary data (in protobuf wire format).
4343
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
4344
+ * @return {!proto.ondewo.nlu.RemoteOperationContainer}
4345
+ */
4346
+ proto.ondewo.nlu.RemoteOperationContainer.deserializeBinary = function(bytes) {
4347
+ var reader = new jspb.BinaryReader(bytes);
4348
+ var msg = new proto.ondewo.nlu.RemoteOperationContainer;
4349
+ return proto.ondewo.nlu.RemoteOperationContainer.deserializeBinaryFromReader(msg, reader);
4350
+ };
4351
+
4352
+
4353
+ /**
4354
+ * Deserializes binary data (in protobuf wire format) from the
4355
+ * given reader into the given message object.
4356
+ * @param {!proto.ondewo.nlu.RemoteOperationContainer} msg The message object to deserialize into.
4357
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
4358
+ * @return {!proto.ondewo.nlu.RemoteOperationContainer}
4359
+ */
4360
+ proto.ondewo.nlu.RemoteOperationContainer.deserializeBinaryFromReader = function(msg, reader) {
4361
+ while (reader.nextField()) {
4362
+ if (reader.isEndGroup()) {
4363
+ break;
4364
+ }
4365
+ var field = reader.getFieldNumber();
4366
+ switch (field) {
4367
+ case 1:
4368
+ var value = /** @type {string} */ (reader.readString());
4369
+ msg.setContainerId(value);
4370
+ break;
4371
+ case 2:
4372
+ var value = /** @type {string} */ (reader.readString());
4373
+ msg.setContainerName(value);
4374
+ break;
4375
+ case 3:
4376
+ var value = /** @type {string} */ (reader.readString());
4377
+ msg.setHostName(value);
4378
+ break;
4379
+ case 4:
4380
+ var value = /** @type {!proto.ondewo.nlu.RemoteOperationContainerLifecycleState} */ (reader.readEnum());
4381
+ msg.setLifecycleState(value);
4382
+ break;
4383
+ case 5:
4384
+ var value = /** @type {string} */ (reader.readString());
4385
+ msg.setOperationName(value);
4386
+ break;
4387
+ case 6:
4388
+ var value = /** @type {string} */ (reader.readString());
4389
+ msg.setImage(value);
4390
+ break;
4391
+ case 7:
4392
+ var value = /** @type {string} */ (reader.readString());
4393
+ msg.setPhase(value);
4394
+ break;
4395
+ case 8:
4396
+ var value = /** @type {number} */ (reader.readInt32());
4397
+ msg.setExitCode(value);
4398
+ break;
4399
+ case 9:
4400
+ var value = /** @type {boolean} */ (reader.readBool());
4401
+ msg.setOomKilled(value);
4402
+ break;
4403
+ case 10:
4404
+ var value = new google_protobuf_timestamp_pb.Timestamp;
4405
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
4406
+ msg.setStartedAt(value);
4407
+ break;
4408
+ case 11:
4409
+ var value = new google_protobuf_timestamp_pb.Timestamp;
4410
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
4411
+ msg.setFinishedAt(value);
4412
+ break;
4413
+ case 12:
4414
+ var value = /** @type {boolean} */ (reader.readBool());
4415
+ msg.setLogsAvailable(value);
4416
+ break;
4417
+ case 13:
4418
+ var value = msg.getEnvironmentVariablesMap();
4419
+ reader.readMessage(value, function(message, reader) {
4420
+ jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
4421
+ });
4422
+ break;
4423
+ case 14:
4424
+ var value = /** @type {string} */ (reader.readString());
4425
+ msg.addCommand(value);
4426
+ break;
4427
+ case 15:
4428
+ var value = /** @type {number} */ (reader.readInt64());
4429
+ msg.setMemoryLimitBytes(value);
4430
+ break;
4431
+ case 16:
4432
+ var value = /** @type {number} */ (reader.readInt64());
4433
+ msg.setNanoCpus(value);
4434
+ break;
4435
+ case 17:
4436
+ var value = /** @type {string} */ (reader.readString());
4437
+ msg.setCpusetCpus(value);
4438
+ break;
4439
+ case 18:
4440
+ var value = /** @type {number} */ (reader.readInt64());
4441
+ msg.setCpuQuota(value);
4442
+ break;
4443
+ case 19:
4444
+ var value = /** @type {number} */ (reader.readInt64());
4445
+ msg.setCpuPeriod(value);
4446
+ break;
4447
+ default:
4448
+ reader.skipField();
4449
+ break;
4450
+ }
4451
+ }
4452
+ return msg;
4453
+ };
4454
+
4455
+
4456
+ /**
4457
+ * Serializes the message to binary data (in protobuf wire format).
4458
+ * @return {!Uint8Array}
4459
+ */
4460
+ proto.ondewo.nlu.RemoteOperationContainer.prototype.serializeBinary = function() {
4461
+ var writer = new jspb.BinaryWriter();
4462
+ proto.ondewo.nlu.RemoteOperationContainer.serializeBinaryToWriter(this, writer);
4463
+ return writer.getResultBuffer();
4464
+ };
4465
+
4466
+
4467
+ /**
4468
+ * Serializes the given message to binary data (in protobuf wire
4469
+ * format), writing to the given BinaryWriter.
4470
+ * @param {!proto.ondewo.nlu.RemoteOperationContainer} message
4471
+ * @param {!jspb.BinaryWriter} writer
4472
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4473
+ */
4474
+ proto.ondewo.nlu.RemoteOperationContainer.serializeBinaryToWriter = function(message, writer) {
4475
+ var f = undefined;
4476
+ f = message.getContainerId();
4477
+ if (f.length > 0) {
4478
+ writer.writeString(
4479
+ 1,
4480
+ f
4481
+ );
4482
+ }
4483
+ f = message.getContainerName();
4484
+ if (f.length > 0) {
4485
+ writer.writeString(
4486
+ 2,
4487
+ f
4488
+ );
4489
+ }
4490
+ f = message.getHostName();
4491
+ if (f.length > 0) {
4492
+ writer.writeString(
4493
+ 3,
4494
+ f
4495
+ );
4496
+ }
4497
+ f = message.getLifecycleState();
4498
+ if (f !== 0.0) {
4499
+ writer.writeEnum(
4500
+ 4,
4501
+ f
4502
+ );
4503
+ }
4504
+ f = message.getOperationName();
4505
+ if (f.length > 0) {
4506
+ writer.writeString(
4507
+ 5,
4508
+ f
4509
+ );
4510
+ }
4511
+ f = message.getImage();
4512
+ if (f.length > 0) {
4513
+ writer.writeString(
4514
+ 6,
4515
+ f
4516
+ );
4517
+ }
4518
+ f = message.getPhase();
4519
+ if (f.length > 0) {
4520
+ writer.writeString(
4521
+ 7,
4522
+ f
4523
+ );
4524
+ }
4525
+ f = message.getExitCode();
4526
+ if (f !== 0) {
4527
+ writer.writeInt32(
4528
+ 8,
4529
+ f
4530
+ );
4531
+ }
4532
+ f = message.getOomKilled();
4533
+ if (f) {
4534
+ writer.writeBool(
4535
+ 9,
4536
+ f
4537
+ );
4538
+ }
4539
+ f = message.getStartedAt();
4540
+ if (f != null) {
4541
+ writer.writeMessage(
4542
+ 10,
4543
+ f,
4544
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
4545
+ );
4546
+ }
4547
+ f = message.getFinishedAt();
4548
+ if (f != null) {
4549
+ writer.writeMessage(
4550
+ 11,
4551
+ f,
4552
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
4553
+ );
4554
+ }
4555
+ f = message.getLogsAvailable();
4556
+ if (f) {
4557
+ writer.writeBool(
4558
+ 12,
4559
+ f
4560
+ );
4561
+ }
4562
+ f = message.getEnvironmentVariablesMap(true);
4563
+ if (f && f.getLength() > 0) {
4564
+ f.serializeBinary(13, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
4565
+ }
4566
+ f = message.getCommandList();
4567
+ if (f.length > 0) {
4568
+ writer.writeRepeatedString(
4569
+ 14,
4570
+ f
4571
+ );
4572
+ }
4573
+ f = message.getMemoryLimitBytes();
4574
+ if (f !== 0) {
4575
+ writer.writeInt64(
4576
+ 15,
4577
+ f
4578
+ );
4579
+ }
4580
+ f = message.getNanoCpus();
4581
+ if (f !== 0) {
4582
+ writer.writeInt64(
4583
+ 16,
4584
+ f
4585
+ );
4586
+ }
4587
+ f = message.getCpusetCpus();
4588
+ if (f.length > 0) {
4589
+ writer.writeString(
4590
+ 17,
4591
+ f
4592
+ );
4593
+ }
4594
+ f = message.getCpuQuota();
4595
+ if (f !== 0) {
4596
+ writer.writeInt64(
4597
+ 18,
4598
+ f
4599
+ );
4600
+ }
4601
+ f = message.getCpuPeriod();
4602
+ if (f !== 0) {
4603
+ writer.writeInt64(
4604
+ 19,
4605
+ f
4606
+ );
4607
+ }
4608
+ };
4609
+
4610
+
4611
+ /**
4612
+ * optional string container_id = 1;
4613
+ * @return {string}
4614
+ */
4615
+ proto.ondewo.nlu.RemoteOperationContainer.prototype.getContainerId = function() {
4616
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
4617
+ };
4618
+
4619
+
4620
+ /**
4621
+ * @param {string} value
4622
+ * @return {!proto.ondewo.nlu.RemoteOperationContainer} returns this
4623
+ */
4624
+ proto.ondewo.nlu.RemoteOperationContainer.prototype.setContainerId = function(value) {
4625
+ return jspb.Message.setProto3StringField(this, 1, value);
4626
+ };
4627
+
4628
+
4629
+ /**
4630
+ * optional string container_name = 2;
4631
+ * @return {string}
4632
+ */
4633
+ proto.ondewo.nlu.RemoteOperationContainer.prototype.getContainerName = function() {
4634
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
4635
+ };
4636
+
4637
+
4638
+ /**
4639
+ * @param {string} value
4640
+ * @return {!proto.ondewo.nlu.RemoteOperationContainer} returns this
4641
+ */
4642
+ proto.ondewo.nlu.RemoteOperationContainer.prototype.setContainerName = function(value) {
4643
+ return jspb.Message.setProto3StringField(this, 2, value);
4644
+ };
4645
+
4646
+
4647
+ /**
4648
+ * optional string host_name = 3;
4649
+ * @return {string}
4650
+ */
4651
+ proto.ondewo.nlu.RemoteOperationContainer.prototype.getHostName = function() {
4652
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
4653
+ };
4654
+
4655
+
4656
+ /**
4657
+ * @param {string} value
4658
+ * @return {!proto.ondewo.nlu.RemoteOperationContainer} returns this
4659
+ */
4660
+ proto.ondewo.nlu.RemoteOperationContainer.prototype.setHostName = function(value) {
4661
+ return jspb.Message.setProto3StringField(this, 3, value);
4662
+ };
4663
+
4664
+
4665
+ /**
4666
+ * optional RemoteOperationContainerLifecycleState lifecycle_state = 4;
4667
+ * @return {!proto.ondewo.nlu.RemoteOperationContainerLifecycleState}
4668
+ */
4669
+ proto.ondewo.nlu.RemoteOperationContainer.prototype.getLifecycleState = function() {
4670
+ return /** @type {!proto.ondewo.nlu.RemoteOperationContainerLifecycleState} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
4671
+ };
4672
+
4673
+
4674
+ /**
4675
+ * @param {!proto.ondewo.nlu.RemoteOperationContainerLifecycleState} value
4676
+ * @return {!proto.ondewo.nlu.RemoteOperationContainer} returns this
4677
+ */
4678
+ proto.ondewo.nlu.RemoteOperationContainer.prototype.setLifecycleState = function(value) {
4679
+ return jspb.Message.setProto3EnumField(this, 4, value);
4680
+ };
4681
+
4682
+
4683
+ /**
4684
+ * optional string operation_name = 5;
4685
+ * @return {string}
4686
+ */
4687
+ proto.ondewo.nlu.RemoteOperationContainer.prototype.getOperationName = function() {
4688
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
4689
+ };
4690
+
4691
+
4692
+ /**
4693
+ * @param {string} value
4694
+ * @return {!proto.ondewo.nlu.RemoteOperationContainer} returns this
4695
+ */
4696
+ proto.ondewo.nlu.RemoteOperationContainer.prototype.setOperationName = function(value) {
4697
+ return jspb.Message.setProto3StringField(this, 5, value);
4698
+ };
4699
+
4700
+
4701
+ /**
4702
+ * optional string image = 6;
4703
+ * @return {string}
4704
+ */
4705
+ proto.ondewo.nlu.RemoteOperationContainer.prototype.getImage = function() {
4706
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
4707
+ };
4708
+
4709
+
4710
+ /**
4711
+ * @param {string} value
4712
+ * @return {!proto.ondewo.nlu.RemoteOperationContainer} returns this
4713
+ */
4714
+ proto.ondewo.nlu.RemoteOperationContainer.prototype.setImage = function(value) {
4715
+ return jspb.Message.setProto3StringField(this, 6, value);
4716
+ };
4717
+
4718
+
4719
+ /**
4720
+ * optional string phase = 7;
4721
+ * @return {string}
4722
+ */
4723
+ proto.ondewo.nlu.RemoteOperationContainer.prototype.getPhase = function() {
4724
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
4725
+ };
4726
+
4727
+
4728
+ /**
4729
+ * @param {string} value
4730
+ * @return {!proto.ondewo.nlu.RemoteOperationContainer} returns this
4731
+ */
4732
+ proto.ondewo.nlu.RemoteOperationContainer.prototype.setPhase = function(value) {
4733
+ return jspb.Message.setProto3StringField(this, 7, value);
4734
+ };
4735
+
4736
+
4737
+ /**
4738
+ * optional int32 exit_code = 8;
4739
+ * @return {number}
4740
+ */
4741
+ proto.ondewo.nlu.RemoteOperationContainer.prototype.getExitCode = function() {
4742
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
4743
+ };
4744
+
4745
+
4746
+ /**
4747
+ * @param {number} value
4748
+ * @return {!proto.ondewo.nlu.RemoteOperationContainer} returns this
4749
+ */
4750
+ proto.ondewo.nlu.RemoteOperationContainer.prototype.setExitCode = function(value) {
4751
+ return jspb.Message.setProto3IntField(this, 8, value);
4752
+ };
4753
+
4754
+
4755
+ /**
4756
+ * optional bool oom_killed = 9;
4757
+ * @return {boolean}
4758
+ */
4759
+ proto.ondewo.nlu.RemoteOperationContainer.prototype.getOomKilled = function() {
4760
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 9, false));
4761
+ };
4762
+
4763
+
4764
+ /**
4765
+ * @param {boolean} value
4766
+ * @return {!proto.ondewo.nlu.RemoteOperationContainer} returns this
4767
+ */
4768
+ proto.ondewo.nlu.RemoteOperationContainer.prototype.setOomKilled = function(value) {
4769
+ return jspb.Message.setProto3BooleanField(this, 9, value);
4770
+ };
4771
+
4772
+
4773
+ /**
4774
+ * optional google.protobuf.Timestamp started_at = 10;
4775
+ * @return {?proto.google.protobuf.Timestamp}
4776
+ */
4777
+ proto.ondewo.nlu.RemoteOperationContainer.prototype.getStartedAt = function() {
4778
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
4779
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 10));
4780
+ };
4781
+
4782
+
4783
+ /**
4784
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
4785
+ * @return {!proto.ondewo.nlu.RemoteOperationContainer} returns this
4786
+ */
4787
+ proto.ondewo.nlu.RemoteOperationContainer.prototype.setStartedAt = function(value) {
4788
+ return jspb.Message.setWrapperField(this, 10, value);
4789
+ };
4790
+
4791
+
4792
+ /**
4793
+ * Clears the message field making it undefined.
4794
+ * @return {!proto.ondewo.nlu.RemoteOperationContainer} returns this
4795
+ */
4796
+ proto.ondewo.nlu.RemoteOperationContainer.prototype.clearStartedAt = function() {
4797
+ return this.setStartedAt(undefined);
4798
+ };
4799
+
4800
+
4801
+ /**
4802
+ * Returns whether this field is set.
4803
+ * @return {boolean}
4804
+ */
4805
+ proto.ondewo.nlu.RemoteOperationContainer.prototype.hasStartedAt = function() {
4806
+ return jspb.Message.getField(this, 10) != null;
4807
+ };
4808
+
4809
+
4810
+ /**
4811
+ * optional google.protobuf.Timestamp finished_at = 11;
4812
+ * @return {?proto.google.protobuf.Timestamp}
4813
+ */
4814
+ proto.ondewo.nlu.RemoteOperationContainer.prototype.getFinishedAt = function() {
4815
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
4816
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 11));
4817
+ };
4818
+
4819
+
4820
+ /**
4821
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
4822
+ * @return {!proto.ondewo.nlu.RemoteOperationContainer} returns this
4823
+ */
4824
+ proto.ondewo.nlu.RemoteOperationContainer.prototype.setFinishedAt = function(value) {
4825
+ return jspb.Message.setWrapperField(this, 11, value);
4826
+ };
4827
+
4828
+
4829
+ /**
4830
+ * Clears the message field making it undefined.
4831
+ * @return {!proto.ondewo.nlu.RemoteOperationContainer} returns this
4832
+ */
4833
+ proto.ondewo.nlu.RemoteOperationContainer.prototype.clearFinishedAt = function() {
4834
+ return this.setFinishedAt(undefined);
4835
+ };
4836
+
4837
+
4838
+ /**
4839
+ * Returns whether this field is set.
4840
+ * @return {boolean}
4841
+ */
4842
+ proto.ondewo.nlu.RemoteOperationContainer.prototype.hasFinishedAt = function() {
4843
+ return jspb.Message.getField(this, 11) != null;
4844
+ };
4845
+
4846
+
4847
+ /**
4848
+ * optional bool logs_available = 12;
4849
+ * @return {boolean}
4850
+ */
4851
+ proto.ondewo.nlu.RemoteOperationContainer.prototype.getLogsAvailable = function() {
4852
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 12, false));
4853
+ };
4854
+
4855
+
4856
+ /**
4857
+ * @param {boolean} value
4858
+ * @return {!proto.ondewo.nlu.RemoteOperationContainer} returns this
4859
+ */
4860
+ proto.ondewo.nlu.RemoteOperationContainer.prototype.setLogsAvailable = function(value) {
4861
+ return jspb.Message.setProto3BooleanField(this, 12, value);
4862
+ };
4863
+
4864
+
4865
+ /**
4866
+ * map<string, string> environment_variables = 13;
4867
+ * @param {boolean=} opt_noLazyCreate Do not create the map if
4868
+ * empty, instead returning `undefined`
4869
+ * @return {!jspb.Map<string,string>}
4870
+ */
4871
+ proto.ondewo.nlu.RemoteOperationContainer.prototype.getEnvironmentVariablesMap = function(opt_noLazyCreate) {
4872
+ return /** @type {!jspb.Map<string,string>} */ (
4873
+ jspb.Message.getMapField(this, 13, opt_noLazyCreate,
4874
+ null));
4875
+ };
4876
+
4877
+
4878
+ /**
4879
+ * Clears values from the map. The map will be non-null.
4880
+ * @return {!proto.ondewo.nlu.RemoteOperationContainer} returns this
4881
+ */
4882
+ proto.ondewo.nlu.RemoteOperationContainer.prototype.clearEnvironmentVariablesMap = function() {
4883
+ this.getEnvironmentVariablesMap().clear();
4884
+ return this;
4885
+ };
4886
+
4887
+
4888
+ /**
4889
+ * repeated string command = 14;
4890
+ * @return {!Array<string>}
4891
+ */
4892
+ proto.ondewo.nlu.RemoteOperationContainer.prototype.getCommandList = function() {
4893
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 14));
4894
+ };
4895
+
4896
+
4897
+ /**
4898
+ * @param {!Array<string>} value
4899
+ * @return {!proto.ondewo.nlu.RemoteOperationContainer} returns this
4900
+ */
4901
+ proto.ondewo.nlu.RemoteOperationContainer.prototype.setCommandList = function(value) {
4902
+ return jspb.Message.setField(this, 14, value || []);
4903
+ };
4904
+
4905
+
4906
+ /**
4907
+ * @param {string} value
4908
+ * @param {number=} opt_index
4909
+ * @return {!proto.ondewo.nlu.RemoteOperationContainer} returns this
4910
+ */
4911
+ proto.ondewo.nlu.RemoteOperationContainer.prototype.addCommand = function(value, opt_index) {
4912
+ return jspb.Message.addToRepeatedField(this, 14, value, opt_index);
4913
+ };
4914
+
4915
+
4916
+ /**
4917
+ * Clears the list making it empty but non-null.
4918
+ * @return {!proto.ondewo.nlu.RemoteOperationContainer} returns this
4919
+ */
4920
+ proto.ondewo.nlu.RemoteOperationContainer.prototype.clearCommandList = function() {
4921
+ return this.setCommandList([]);
4922
+ };
4923
+
4924
+
4925
+ /**
4926
+ * optional int64 memory_limit_bytes = 15;
4927
+ * @return {number}
4928
+ */
4929
+ proto.ondewo.nlu.RemoteOperationContainer.prototype.getMemoryLimitBytes = function() {
4930
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 15, 0));
4931
+ };
4932
+
4933
+
4934
+ /**
4935
+ * @param {number} value
4936
+ * @return {!proto.ondewo.nlu.RemoteOperationContainer} returns this
4937
+ */
4938
+ proto.ondewo.nlu.RemoteOperationContainer.prototype.setMemoryLimitBytes = function(value) {
4939
+ return jspb.Message.setProto3IntField(this, 15, value);
4940
+ };
4941
+
4942
+
4943
+ /**
4944
+ * optional int64 nano_cpus = 16;
4945
+ * @return {number}
4946
+ */
4947
+ proto.ondewo.nlu.RemoteOperationContainer.prototype.getNanoCpus = function() {
4948
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 16, 0));
4949
+ };
4950
+
4951
+
4952
+ /**
4953
+ * @param {number} value
4954
+ * @return {!proto.ondewo.nlu.RemoteOperationContainer} returns this
4955
+ */
4956
+ proto.ondewo.nlu.RemoteOperationContainer.prototype.setNanoCpus = function(value) {
4957
+ return jspb.Message.setProto3IntField(this, 16, value);
4958
+ };
4959
+
4960
+
4961
+ /**
4962
+ * optional string cpuset_cpus = 17;
4963
+ * @return {string}
4964
+ */
4965
+ proto.ondewo.nlu.RemoteOperationContainer.prototype.getCpusetCpus = function() {
4966
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
4967
+ };
4968
+
4969
+
4970
+ /**
4971
+ * @param {string} value
4972
+ * @return {!proto.ondewo.nlu.RemoteOperationContainer} returns this
4973
+ */
4974
+ proto.ondewo.nlu.RemoteOperationContainer.prototype.setCpusetCpus = function(value) {
4975
+ return jspb.Message.setProto3StringField(this, 17, value);
4976
+ };
4977
+
4978
+
4979
+ /**
4980
+ * optional int64 cpu_quota = 18;
4981
+ * @return {number}
4982
+ */
4983
+ proto.ondewo.nlu.RemoteOperationContainer.prototype.getCpuQuota = function() {
4984
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 18, 0));
4985
+ };
4986
+
4987
+
4988
+ /**
4989
+ * @param {number} value
4990
+ * @return {!proto.ondewo.nlu.RemoteOperationContainer} returns this
4991
+ */
4992
+ proto.ondewo.nlu.RemoteOperationContainer.prototype.setCpuQuota = function(value) {
4993
+ return jspb.Message.setProto3IntField(this, 18, value);
4994
+ };
4995
+
4996
+
4997
+ /**
4998
+ * optional int64 cpu_period = 19;
4999
+ * @return {number}
5000
+ */
5001
+ proto.ondewo.nlu.RemoteOperationContainer.prototype.getCpuPeriod = function() {
5002
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 19, 0));
5003
+ };
5004
+
5005
+
5006
+ /**
5007
+ * @param {number} value
5008
+ * @return {!proto.ondewo.nlu.RemoteOperationContainer} returns this
5009
+ */
5010
+ proto.ondewo.nlu.RemoteOperationContainer.prototype.setCpuPeriod = function(value) {
5011
+ return jspb.Message.setProto3IntField(this, 19, value);
5012
+ };
5013
+
5014
+
5015
+
5016
+
5017
+
5018
+ if (jspb.Message.GENERATE_TO_OBJECT) {
5019
+ /**
5020
+ * Creates an object representation of this proto.
5021
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
5022
+ * Optional fields that are not set will be set to undefined.
5023
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
5024
+ * For the list of reserved names please see:
5025
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
5026
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
5027
+ * JSPB instance for transitional soy proto support:
5028
+ * http://goto/soy-param-migration
5029
+ * @return {!Object}
5030
+ */
5031
+ proto.ondewo.nlu.ListRemoteOperationContainersRequest.prototype.toObject = function(opt_includeInstance) {
5032
+ return proto.ondewo.nlu.ListRemoteOperationContainersRequest.toObject(opt_includeInstance, this);
5033
+ };
5034
+
5035
+
5036
+ /**
5037
+ * Static version of the {@see toObject} method.
5038
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
5039
+ * the JSPB instance for transitional soy proto support:
5040
+ * http://goto/soy-param-migration
5041
+ * @param {!proto.ondewo.nlu.ListRemoteOperationContainersRequest} msg The msg instance to transform.
5042
+ * @return {!Object}
5043
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5044
+ */
5045
+ proto.ondewo.nlu.ListRemoteOperationContainersRequest.toObject = function(includeInstance, msg) {
5046
+ var f, obj = {
5047
+ name: jspb.Message.getFieldWithDefault(msg, 1, ""),
5048
+ includeSubOperations: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
5049
+ };
5050
+
5051
+ if (includeInstance) {
5052
+ obj.$jspbMessageInstance = msg;
5053
+ }
5054
+ return obj;
5055
+ };
5056
+ }
5057
+
5058
+
5059
+ /**
5060
+ * Deserializes binary data (in protobuf wire format).
5061
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
5062
+ * @return {!proto.ondewo.nlu.ListRemoteOperationContainersRequest}
5063
+ */
5064
+ proto.ondewo.nlu.ListRemoteOperationContainersRequest.deserializeBinary = function(bytes) {
5065
+ var reader = new jspb.BinaryReader(bytes);
5066
+ var msg = new proto.ondewo.nlu.ListRemoteOperationContainersRequest;
5067
+ return proto.ondewo.nlu.ListRemoteOperationContainersRequest.deserializeBinaryFromReader(msg, reader);
5068
+ };
5069
+
5070
+
5071
+ /**
5072
+ * Deserializes binary data (in protobuf wire format) from the
5073
+ * given reader into the given message object.
5074
+ * @param {!proto.ondewo.nlu.ListRemoteOperationContainersRequest} msg The message object to deserialize into.
5075
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
5076
+ * @return {!proto.ondewo.nlu.ListRemoteOperationContainersRequest}
5077
+ */
5078
+ proto.ondewo.nlu.ListRemoteOperationContainersRequest.deserializeBinaryFromReader = function(msg, reader) {
5079
+ while (reader.nextField()) {
5080
+ if (reader.isEndGroup()) {
5081
+ break;
5082
+ }
5083
+ var field = reader.getFieldNumber();
5084
+ switch (field) {
5085
+ case 1:
5086
+ var value = /** @type {string} */ (reader.readString());
5087
+ msg.setName(value);
5088
+ break;
5089
+ case 2:
5090
+ var value = /** @type {boolean} */ (reader.readBool());
5091
+ msg.setIncludeSubOperations(value);
5092
+ break;
5093
+ default:
5094
+ reader.skipField();
5095
+ break;
5096
+ }
5097
+ }
5098
+ return msg;
5099
+ };
5100
+
5101
+
5102
+ /**
5103
+ * Serializes the message to binary data (in protobuf wire format).
5104
+ * @return {!Uint8Array}
5105
+ */
5106
+ proto.ondewo.nlu.ListRemoteOperationContainersRequest.prototype.serializeBinary = function() {
5107
+ var writer = new jspb.BinaryWriter();
5108
+ proto.ondewo.nlu.ListRemoteOperationContainersRequest.serializeBinaryToWriter(this, writer);
5109
+ return writer.getResultBuffer();
5110
+ };
5111
+
5112
+
5113
+ /**
5114
+ * Serializes the given message to binary data (in protobuf wire
5115
+ * format), writing to the given BinaryWriter.
5116
+ * @param {!proto.ondewo.nlu.ListRemoteOperationContainersRequest} message
5117
+ * @param {!jspb.BinaryWriter} writer
5118
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5119
+ */
5120
+ proto.ondewo.nlu.ListRemoteOperationContainersRequest.serializeBinaryToWriter = function(message, writer) {
5121
+ var f = undefined;
5122
+ f = message.getName();
5123
+ if (f.length > 0) {
5124
+ writer.writeString(
5125
+ 1,
5126
+ f
5127
+ );
5128
+ }
5129
+ f = message.getIncludeSubOperations();
5130
+ if (f) {
5131
+ writer.writeBool(
5132
+ 2,
5133
+ f
5134
+ );
5135
+ }
5136
+ };
5137
+
5138
+
5139
+ /**
5140
+ * optional string name = 1;
5141
+ * @return {string}
5142
+ */
5143
+ proto.ondewo.nlu.ListRemoteOperationContainersRequest.prototype.getName = function() {
5144
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
5145
+ };
5146
+
5147
+
5148
+ /**
5149
+ * @param {string} value
5150
+ * @return {!proto.ondewo.nlu.ListRemoteOperationContainersRequest} returns this
5151
+ */
5152
+ proto.ondewo.nlu.ListRemoteOperationContainersRequest.prototype.setName = function(value) {
5153
+ return jspb.Message.setProto3StringField(this, 1, value);
5154
+ };
5155
+
5156
+
5157
+ /**
5158
+ * optional bool include_sub_operations = 2;
5159
+ * @return {boolean}
5160
+ */
5161
+ proto.ondewo.nlu.ListRemoteOperationContainersRequest.prototype.getIncludeSubOperations = function() {
5162
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
5163
+ };
5164
+
5165
+
5166
+ /**
5167
+ * @param {boolean} value
5168
+ * @return {!proto.ondewo.nlu.ListRemoteOperationContainersRequest} returns this
5169
+ */
5170
+ proto.ondewo.nlu.ListRemoteOperationContainersRequest.prototype.setIncludeSubOperations = function(value) {
5171
+ return jspb.Message.setProto3BooleanField(this, 2, value);
5172
+ };
5173
+
5174
+
5175
+
5176
+ /**
5177
+ * List of repeated fields within this message type.
5178
+ * @private {!Array<number>}
5179
+ * @const
5180
+ */
5181
+ proto.ondewo.nlu.ListRemoteOperationContainersResponse.repeatedFields_ = [1];
5182
+
5183
+
5184
+
5185
+ if (jspb.Message.GENERATE_TO_OBJECT) {
5186
+ /**
5187
+ * Creates an object representation of this proto.
5188
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
5189
+ * Optional fields that are not set will be set to undefined.
5190
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
5191
+ * For the list of reserved names please see:
5192
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
5193
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
5194
+ * JSPB instance for transitional soy proto support:
5195
+ * http://goto/soy-param-migration
5196
+ * @return {!Object}
5197
+ */
5198
+ proto.ondewo.nlu.ListRemoteOperationContainersResponse.prototype.toObject = function(opt_includeInstance) {
5199
+ return proto.ondewo.nlu.ListRemoteOperationContainersResponse.toObject(opt_includeInstance, this);
5200
+ };
5201
+
5202
+
5203
+ /**
5204
+ * Static version of the {@see toObject} method.
5205
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
5206
+ * the JSPB instance for transitional soy proto support:
5207
+ * http://goto/soy-param-migration
5208
+ * @param {!proto.ondewo.nlu.ListRemoteOperationContainersResponse} msg The msg instance to transform.
5209
+ * @return {!Object}
5210
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5211
+ */
5212
+ proto.ondewo.nlu.ListRemoteOperationContainersResponse.toObject = function(includeInstance, msg) {
5213
+ var f, obj = {
5214
+ containersList: jspb.Message.toObjectList(msg.getContainersList(),
5215
+ proto.ondewo.nlu.RemoteOperationContainer.toObject, includeInstance)
5216
+ };
5217
+
5218
+ if (includeInstance) {
5219
+ obj.$jspbMessageInstance = msg;
5220
+ }
5221
+ return obj;
5222
+ };
5223
+ }
5224
+
5225
+
5226
+ /**
5227
+ * Deserializes binary data (in protobuf wire format).
5228
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
5229
+ * @return {!proto.ondewo.nlu.ListRemoteOperationContainersResponse}
5230
+ */
5231
+ proto.ondewo.nlu.ListRemoteOperationContainersResponse.deserializeBinary = function(bytes) {
5232
+ var reader = new jspb.BinaryReader(bytes);
5233
+ var msg = new proto.ondewo.nlu.ListRemoteOperationContainersResponse;
5234
+ return proto.ondewo.nlu.ListRemoteOperationContainersResponse.deserializeBinaryFromReader(msg, reader);
5235
+ };
5236
+
5237
+
5238
+ /**
5239
+ * Deserializes binary data (in protobuf wire format) from the
5240
+ * given reader into the given message object.
5241
+ * @param {!proto.ondewo.nlu.ListRemoteOperationContainersResponse} msg The message object to deserialize into.
5242
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
5243
+ * @return {!proto.ondewo.nlu.ListRemoteOperationContainersResponse}
5244
+ */
5245
+ proto.ondewo.nlu.ListRemoteOperationContainersResponse.deserializeBinaryFromReader = function(msg, reader) {
5246
+ while (reader.nextField()) {
5247
+ if (reader.isEndGroup()) {
5248
+ break;
5249
+ }
5250
+ var field = reader.getFieldNumber();
5251
+ switch (field) {
5252
+ case 1:
5253
+ var value = new proto.ondewo.nlu.RemoteOperationContainer;
5254
+ reader.readMessage(value,proto.ondewo.nlu.RemoteOperationContainer.deserializeBinaryFromReader);
5255
+ msg.addContainers(value);
5256
+ break;
5257
+ default:
5258
+ reader.skipField();
5259
+ break;
5260
+ }
5261
+ }
5262
+ return msg;
5263
+ };
5264
+
5265
+
5266
+ /**
5267
+ * Serializes the message to binary data (in protobuf wire format).
5268
+ * @return {!Uint8Array}
5269
+ */
5270
+ proto.ondewo.nlu.ListRemoteOperationContainersResponse.prototype.serializeBinary = function() {
5271
+ var writer = new jspb.BinaryWriter();
5272
+ proto.ondewo.nlu.ListRemoteOperationContainersResponse.serializeBinaryToWriter(this, writer);
5273
+ return writer.getResultBuffer();
5274
+ };
5275
+
5276
+
5277
+ /**
5278
+ * Serializes the given message to binary data (in protobuf wire
5279
+ * format), writing to the given BinaryWriter.
5280
+ * @param {!proto.ondewo.nlu.ListRemoteOperationContainersResponse} message
5281
+ * @param {!jspb.BinaryWriter} writer
5282
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5283
+ */
5284
+ proto.ondewo.nlu.ListRemoteOperationContainersResponse.serializeBinaryToWriter = function(message, writer) {
5285
+ var f = undefined;
5286
+ f = message.getContainersList();
5287
+ if (f.length > 0) {
5288
+ writer.writeRepeatedMessage(
5289
+ 1,
5290
+ f,
5291
+ proto.ondewo.nlu.RemoteOperationContainer.serializeBinaryToWriter
5292
+ );
5293
+ }
5294
+ };
5295
+
5296
+
5297
+ /**
5298
+ * repeated RemoteOperationContainer containers = 1;
5299
+ * @return {!Array<!proto.ondewo.nlu.RemoteOperationContainer>}
5300
+ */
5301
+ proto.ondewo.nlu.ListRemoteOperationContainersResponse.prototype.getContainersList = function() {
5302
+ return /** @type{!Array<!proto.ondewo.nlu.RemoteOperationContainer>} */ (
5303
+ jspb.Message.getRepeatedWrapperField(this, proto.ondewo.nlu.RemoteOperationContainer, 1));
5304
+ };
5305
+
5306
+
5307
+ /**
5308
+ * @param {!Array<!proto.ondewo.nlu.RemoteOperationContainer>} value
5309
+ * @return {!proto.ondewo.nlu.ListRemoteOperationContainersResponse} returns this
5310
+ */
5311
+ proto.ondewo.nlu.ListRemoteOperationContainersResponse.prototype.setContainersList = function(value) {
5312
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
5313
+ };
5314
+
5315
+
5316
+ /**
5317
+ * @param {!proto.ondewo.nlu.RemoteOperationContainer=} opt_value
5318
+ * @param {number=} opt_index
5319
+ * @return {!proto.ondewo.nlu.RemoteOperationContainer}
5320
+ */
5321
+ proto.ondewo.nlu.ListRemoteOperationContainersResponse.prototype.addContainers = function(opt_value, opt_index) {
5322
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ondewo.nlu.RemoteOperationContainer, opt_index);
5323
+ };
5324
+
5325
+
5326
+ /**
5327
+ * Clears the list making it empty but non-null.
5328
+ * @return {!proto.ondewo.nlu.ListRemoteOperationContainersResponse} returns this
5329
+ */
5330
+ proto.ondewo.nlu.ListRemoteOperationContainersResponse.prototype.clearContainersList = function() {
5331
+ return this.setContainersList([]);
5332
+ };
5333
+
5334
+
5335
+ /**
5336
+ * @enum {number}
5337
+ */
5338
+ proto.ondewo.nlu.RemoteOperationContainerLifecycleState = {
5339
+ REMOTE_OPERATION_CONTAINER_LIFECYCLE_STATE_UNSPECIFIED: 0,
5340
+ REMOTE_OPERATION_CONTAINER_LIFECYCLE_STATE_NOT_FOUND: 1,
5341
+ REMOTE_OPERATION_CONTAINER_LIFECYCLE_STATE_CREATED: 2,
5342
+ REMOTE_OPERATION_CONTAINER_LIFECYCLE_STATE_RUNNING: 3,
5343
+ REMOTE_OPERATION_CONTAINER_LIFECYCLE_STATE_PAUSED: 4,
5344
+ REMOTE_OPERATION_CONTAINER_LIFECYCLE_STATE_RESTARTING: 5,
5345
+ REMOTE_OPERATION_CONTAINER_LIFECYCLE_STATE_EXITED: 6,
5346
+ REMOTE_OPERATION_CONTAINER_LIFECYCLE_STATE_DEAD: 7
5347
+ };
5348
+
1936
5349
  goog.object.extend(exports, proto.ondewo.nlu);