@ondewo/sip-client-nodejs 4.0.0 → 5.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +56 -14
- package/api/google/protobuf/empty_pb.js +7 -1
- package/api/google/protobuf/timestamp_pb.js +7 -1
- package/api/ondewo/sip/sip_grpc_pb.d.ts +122 -122
- package/api/ondewo/sip/sip_grpc_pb.js +81 -81
- package/api/ondewo/sip/sip_pb.d.ts +55 -52
- package/api/ondewo/sip/sip_pb.js +196 -160
- package/package.json +1 -1
- package/public-api.d.ts +3 -3
- package/public-api.js +3 -3
package/api/ondewo/sip/sip_pb.js
CHANGED
|
@@ -13,21 +13,27 @@
|
|
|
13
13
|
|
|
14
14
|
var jspb = require('google-protobuf');
|
|
15
15
|
var goog = jspb;
|
|
16
|
-
var global =
|
|
16
|
+
var global = (function() {
|
|
17
|
+
if (this) { return this; }
|
|
18
|
+
if (typeof window !== 'undefined') { return window; }
|
|
19
|
+
if (typeof global !== 'undefined') { return global; }
|
|
20
|
+
if (typeof self !== 'undefined') { return self; }
|
|
21
|
+
return Function('return this')();
|
|
22
|
+
}.call(null));
|
|
17
23
|
|
|
18
24
|
var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
|
|
19
25
|
goog.object.extend(proto, google_protobuf_empty_pb);
|
|
20
26
|
var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
|
|
21
27
|
goog.object.extend(proto, google_protobuf_timestamp_pb);
|
|
22
|
-
goog.exportSymbol('proto.ondewo.sip.
|
|
23
|
-
goog.exportSymbol('proto.ondewo.sip.
|
|
24
|
-
goog.exportSymbol('proto.ondewo.sip.
|
|
28
|
+
goog.exportSymbol('proto.ondewo.sip.SipEndCallRequest', null, global);
|
|
29
|
+
goog.exportSymbol('proto.ondewo.sip.SipPlayWavFilesRequest', null, global);
|
|
30
|
+
goog.exportSymbol('proto.ondewo.sip.SipRegisterAccountRequest', null, global);
|
|
31
|
+
goog.exportSymbol('proto.ondewo.sip.SipStartCallRequest', null, global);
|
|
32
|
+
goog.exportSymbol('proto.ondewo.sip.SipStartSessionRequest', null, global);
|
|
25
33
|
goog.exportSymbol('proto.ondewo.sip.SipStatus', null, global);
|
|
26
34
|
goog.exportSymbol('proto.ondewo.sip.SipStatus.StatusType', null, global);
|
|
27
35
|
goog.exportSymbol('proto.ondewo.sip.SipStatusHistoryResponse', null, global);
|
|
28
|
-
goog.exportSymbol('proto.ondewo.sip.
|
|
29
|
-
goog.exportSymbol('proto.ondewo.sip.StartSessionRequest', null, global);
|
|
30
|
-
goog.exportSymbol('proto.ondewo.sip.TransferCallRequest', null, global);
|
|
36
|
+
goog.exportSymbol('proto.ondewo.sip.SipTransferCallRequest', null, global);
|
|
31
37
|
/**
|
|
32
38
|
* Generated by JsPbCodeGenerator.
|
|
33
39
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -38,16 +44,16 @@ goog.exportSymbol('proto.ondewo.sip.TransferCallRequest', null, global);
|
|
|
38
44
|
* @extends {jspb.Message}
|
|
39
45
|
* @constructor
|
|
40
46
|
*/
|
|
41
|
-
proto.ondewo.sip.
|
|
47
|
+
proto.ondewo.sip.SipEndCallRequest = function(opt_data) {
|
|
42
48
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
43
49
|
};
|
|
44
|
-
goog.inherits(proto.ondewo.sip.
|
|
50
|
+
goog.inherits(proto.ondewo.sip.SipEndCallRequest, jspb.Message);
|
|
45
51
|
if (goog.DEBUG && !COMPILED) {
|
|
46
52
|
/**
|
|
47
53
|
* @public
|
|
48
54
|
* @override
|
|
49
55
|
*/
|
|
50
|
-
proto.ondewo.sip.
|
|
56
|
+
proto.ondewo.sip.SipEndCallRequest.displayName = 'proto.ondewo.sip.SipEndCallRequest';
|
|
51
57
|
}
|
|
52
58
|
/**
|
|
53
59
|
* Generated by JsPbCodeGenerator.
|
|
@@ -59,16 +65,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
59
65
|
* @extends {jspb.Message}
|
|
60
66
|
* @constructor
|
|
61
67
|
*/
|
|
62
|
-
proto.ondewo.sip.
|
|
68
|
+
proto.ondewo.sip.SipStartCallRequest = function(opt_data) {
|
|
63
69
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
64
70
|
};
|
|
65
|
-
goog.inherits(proto.ondewo.sip.
|
|
71
|
+
goog.inherits(proto.ondewo.sip.SipStartCallRequest, jspb.Message);
|
|
66
72
|
if (goog.DEBUG && !COMPILED) {
|
|
67
73
|
/**
|
|
68
74
|
* @public
|
|
69
75
|
* @override
|
|
70
76
|
*/
|
|
71
|
-
proto.ondewo.sip.
|
|
77
|
+
proto.ondewo.sip.SipStartCallRequest.displayName = 'proto.ondewo.sip.SipStartCallRequest';
|
|
72
78
|
}
|
|
73
79
|
/**
|
|
74
80
|
* Generated by JsPbCodeGenerator.
|
|
@@ -80,16 +86,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
80
86
|
* @extends {jspb.Message}
|
|
81
87
|
* @constructor
|
|
82
88
|
*/
|
|
83
|
-
proto.ondewo.sip.
|
|
89
|
+
proto.ondewo.sip.SipRegisterAccountRequest = function(opt_data) {
|
|
84
90
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
85
91
|
};
|
|
86
|
-
goog.inherits(proto.ondewo.sip.
|
|
92
|
+
goog.inherits(proto.ondewo.sip.SipRegisterAccountRequest, jspb.Message);
|
|
87
93
|
if (goog.DEBUG && !COMPILED) {
|
|
88
94
|
/**
|
|
89
95
|
* @public
|
|
90
96
|
* @override
|
|
91
97
|
*/
|
|
92
|
-
proto.ondewo.sip.
|
|
98
|
+
proto.ondewo.sip.SipRegisterAccountRequest.displayName = 'proto.ondewo.sip.SipRegisterAccountRequest';
|
|
93
99
|
}
|
|
94
100
|
/**
|
|
95
101
|
* Generated by JsPbCodeGenerator.
|
|
@@ -101,16 +107,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
101
107
|
* @extends {jspb.Message}
|
|
102
108
|
* @constructor
|
|
103
109
|
*/
|
|
104
|
-
proto.ondewo.sip.
|
|
110
|
+
proto.ondewo.sip.SipStartSessionRequest = function(opt_data) {
|
|
105
111
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
106
112
|
};
|
|
107
|
-
goog.inherits(proto.ondewo.sip.
|
|
113
|
+
goog.inherits(proto.ondewo.sip.SipStartSessionRequest, jspb.Message);
|
|
108
114
|
if (goog.DEBUG && !COMPILED) {
|
|
109
115
|
/**
|
|
110
116
|
* @public
|
|
111
117
|
* @override
|
|
112
118
|
*/
|
|
113
|
-
proto.ondewo.sip.
|
|
119
|
+
proto.ondewo.sip.SipStartSessionRequest.displayName = 'proto.ondewo.sip.SipStartSessionRequest';
|
|
114
120
|
}
|
|
115
121
|
/**
|
|
116
122
|
* Generated by JsPbCodeGenerator.
|
|
@@ -122,16 +128,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
122
128
|
* @extends {jspb.Message}
|
|
123
129
|
* @constructor
|
|
124
130
|
*/
|
|
125
|
-
proto.ondewo.sip.
|
|
131
|
+
proto.ondewo.sip.SipTransferCallRequest = function(opt_data) {
|
|
126
132
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
127
133
|
};
|
|
128
|
-
goog.inherits(proto.ondewo.sip.
|
|
134
|
+
goog.inherits(proto.ondewo.sip.SipTransferCallRequest, jspb.Message);
|
|
129
135
|
if (goog.DEBUG && !COMPILED) {
|
|
130
136
|
/**
|
|
131
137
|
* @public
|
|
132
138
|
* @override
|
|
133
139
|
*/
|
|
134
|
-
proto.ondewo.sip.
|
|
140
|
+
proto.ondewo.sip.SipTransferCallRequest.displayName = 'proto.ondewo.sip.SipTransferCallRequest';
|
|
135
141
|
}
|
|
136
142
|
/**
|
|
137
143
|
* Generated by JsPbCodeGenerator.
|
|
@@ -185,16 +191,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
185
191
|
* @extends {jspb.Message}
|
|
186
192
|
* @constructor
|
|
187
193
|
*/
|
|
188
|
-
proto.ondewo.sip.
|
|
189
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.ondewo.sip.
|
|
194
|
+
proto.ondewo.sip.SipPlayWavFilesRequest = function(opt_data) {
|
|
195
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.ondewo.sip.SipPlayWavFilesRequest.repeatedFields_, null);
|
|
190
196
|
};
|
|
191
|
-
goog.inherits(proto.ondewo.sip.
|
|
197
|
+
goog.inherits(proto.ondewo.sip.SipPlayWavFilesRequest, jspb.Message);
|
|
192
198
|
if (goog.DEBUG && !COMPILED) {
|
|
193
199
|
/**
|
|
194
200
|
* @public
|
|
195
201
|
* @override
|
|
196
202
|
*/
|
|
197
|
-
proto.ondewo.sip.
|
|
203
|
+
proto.ondewo.sip.SipPlayWavFilesRequest.displayName = 'proto.ondewo.sip.SipPlayWavFilesRequest';
|
|
198
204
|
}
|
|
199
205
|
|
|
200
206
|
|
|
@@ -212,8 +218,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
212
218
|
* http://goto/soy-param-migration
|
|
213
219
|
* @return {!Object}
|
|
214
220
|
*/
|
|
215
|
-
proto.ondewo.sip.
|
|
216
|
-
return proto.ondewo.sip.
|
|
221
|
+
proto.ondewo.sip.SipEndCallRequest.prototype.toObject = function(opt_includeInstance) {
|
|
222
|
+
return proto.ondewo.sip.SipEndCallRequest.toObject(opt_includeInstance, this);
|
|
217
223
|
};
|
|
218
224
|
|
|
219
225
|
|
|
@@ -222,11 +228,11 @@ proto.ondewo.sip.EndCallRequest.prototype.toObject = function(opt_includeInstanc
|
|
|
222
228
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
223
229
|
* the JSPB instance for transitional soy proto support:
|
|
224
230
|
* http://goto/soy-param-migration
|
|
225
|
-
* @param {!proto.ondewo.sip.
|
|
231
|
+
* @param {!proto.ondewo.sip.SipEndCallRequest} msg The msg instance to transform.
|
|
226
232
|
* @return {!Object}
|
|
227
233
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
228
234
|
*/
|
|
229
|
-
proto.ondewo.sip.
|
|
235
|
+
proto.ondewo.sip.SipEndCallRequest.toObject = function(includeInstance, msg) {
|
|
230
236
|
var f, obj = {
|
|
231
237
|
hardHangup: jspb.Message.getBooleanFieldWithDefault(msg, 1, false)
|
|
232
238
|
};
|
|
@@ -242,23 +248,23 @@ proto.ondewo.sip.EndCallRequest.toObject = function(includeInstance, msg) {
|
|
|
242
248
|
/**
|
|
243
249
|
* Deserializes binary data (in protobuf wire format).
|
|
244
250
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
245
|
-
* @return {!proto.ondewo.sip.
|
|
251
|
+
* @return {!proto.ondewo.sip.SipEndCallRequest}
|
|
246
252
|
*/
|
|
247
|
-
proto.ondewo.sip.
|
|
253
|
+
proto.ondewo.sip.SipEndCallRequest.deserializeBinary = function(bytes) {
|
|
248
254
|
var reader = new jspb.BinaryReader(bytes);
|
|
249
|
-
var msg = new proto.ondewo.sip.
|
|
250
|
-
return proto.ondewo.sip.
|
|
255
|
+
var msg = new proto.ondewo.sip.SipEndCallRequest;
|
|
256
|
+
return proto.ondewo.sip.SipEndCallRequest.deserializeBinaryFromReader(msg, reader);
|
|
251
257
|
};
|
|
252
258
|
|
|
253
259
|
|
|
254
260
|
/**
|
|
255
261
|
* Deserializes binary data (in protobuf wire format) from the
|
|
256
262
|
* given reader into the given message object.
|
|
257
|
-
* @param {!proto.ondewo.sip.
|
|
263
|
+
* @param {!proto.ondewo.sip.SipEndCallRequest} msg The message object to deserialize into.
|
|
258
264
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
259
|
-
* @return {!proto.ondewo.sip.
|
|
265
|
+
* @return {!proto.ondewo.sip.SipEndCallRequest}
|
|
260
266
|
*/
|
|
261
|
-
proto.ondewo.sip.
|
|
267
|
+
proto.ondewo.sip.SipEndCallRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
262
268
|
while (reader.nextField()) {
|
|
263
269
|
if (reader.isEndGroup()) {
|
|
264
270
|
break;
|
|
@@ -282,9 +288,9 @@ proto.ondewo.sip.EndCallRequest.deserializeBinaryFromReader = function(msg, read
|
|
|
282
288
|
* Serializes the message to binary data (in protobuf wire format).
|
|
283
289
|
* @return {!Uint8Array}
|
|
284
290
|
*/
|
|
285
|
-
proto.ondewo.sip.
|
|
291
|
+
proto.ondewo.sip.SipEndCallRequest.prototype.serializeBinary = function() {
|
|
286
292
|
var writer = new jspb.BinaryWriter();
|
|
287
|
-
proto.ondewo.sip.
|
|
293
|
+
proto.ondewo.sip.SipEndCallRequest.serializeBinaryToWriter(this, writer);
|
|
288
294
|
return writer.getResultBuffer();
|
|
289
295
|
};
|
|
290
296
|
|
|
@@ -292,11 +298,11 @@ proto.ondewo.sip.EndCallRequest.prototype.serializeBinary = function() {
|
|
|
292
298
|
/**
|
|
293
299
|
* Serializes the given message to binary data (in protobuf wire
|
|
294
300
|
* format), writing to the given BinaryWriter.
|
|
295
|
-
* @param {!proto.ondewo.sip.
|
|
301
|
+
* @param {!proto.ondewo.sip.SipEndCallRequest} message
|
|
296
302
|
* @param {!jspb.BinaryWriter} writer
|
|
297
303
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
298
304
|
*/
|
|
299
|
-
proto.ondewo.sip.
|
|
305
|
+
proto.ondewo.sip.SipEndCallRequest.serializeBinaryToWriter = function(message, writer) {
|
|
300
306
|
var f = undefined;
|
|
301
307
|
f = message.getHardHangup();
|
|
302
308
|
if (f) {
|
|
@@ -312,16 +318,16 @@ proto.ondewo.sip.EndCallRequest.serializeBinaryToWriter = function(message, writ
|
|
|
312
318
|
* optional bool hard_hangup = 1;
|
|
313
319
|
* @return {boolean}
|
|
314
320
|
*/
|
|
315
|
-
proto.ondewo.sip.
|
|
321
|
+
proto.ondewo.sip.SipEndCallRequest.prototype.getHardHangup = function() {
|
|
316
322
|
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
|
|
317
323
|
};
|
|
318
324
|
|
|
319
325
|
|
|
320
326
|
/**
|
|
321
327
|
* @param {boolean} value
|
|
322
|
-
* @return {!proto.ondewo.sip.
|
|
328
|
+
* @return {!proto.ondewo.sip.SipEndCallRequest} returns this
|
|
323
329
|
*/
|
|
324
|
-
proto.ondewo.sip.
|
|
330
|
+
proto.ondewo.sip.SipEndCallRequest.prototype.setHardHangup = function(value) {
|
|
325
331
|
return jspb.Message.setProto3BooleanField(this, 1, value);
|
|
326
332
|
};
|
|
327
333
|
|
|
@@ -342,8 +348,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
342
348
|
* http://goto/soy-param-migration
|
|
343
349
|
* @return {!Object}
|
|
344
350
|
*/
|
|
345
|
-
proto.ondewo.sip.
|
|
346
|
-
return proto.ondewo.sip.
|
|
351
|
+
proto.ondewo.sip.SipStartCallRequest.prototype.toObject = function(opt_includeInstance) {
|
|
352
|
+
return proto.ondewo.sip.SipStartCallRequest.toObject(opt_includeInstance, this);
|
|
347
353
|
};
|
|
348
354
|
|
|
349
355
|
|
|
@@ -352,11 +358,11 @@ proto.ondewo.sip.StartCallRequest.prototype.toObject = function(opt_includeInsta
|
|
|
352
358
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
353
359
|
* the JSPB instance for transitional soy proto support:
|
|
354
360
|
* http://goto/soy-param-migration
|
|
355
|
-
* @param {!proto.ondewo.sip.
|
|
361
|
+
* @param {!proto.ondewo.sip.SipStartCallRequest} msg The msg instance to transform.
|
|
356
362
|
* @return {!Object}
|
|
357
363
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
358
364
|
*/
|
|
359
|
-
proto.ondewo.sip.
|
|
365
|
+
proto.ondewo.sip.SipStartCallRequest.toObject = function(includeInstance, msg) {
|
|
360
366
|
var f, obj = {
|
|
361
367
|
calleeId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
362
368
|
headersMap: (f = msg.getHeadersMap()) ? f.toObject(includeInstance, undefined) : []
|
|
@@ -373,23 +379,23 @@ proto.ondewo.sip.StartCallRequest.toObject = function(includeInstance, msg) {
|
|
|
373
379
|
/**
|
|
374
380
|
* Deserializes binary data (in protobuf wire format).
|
|
375
381
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
376
|
-
* @return {!proto.ondewo.sip.
|
|
382
|
+
* @return {!proto.ondewo.sip.SipStartCallRequest}
|
|
377
383
|
*/
|
|
378
|
-
proto.ondewo.sip.
|
|
384
|
+
proto.ondewo.sip.SipStartCallRequest.deserializeBinary = function(bytes) {
|
|
379
385
|
var reader = new jspb.BinaryReader(bytes);
|
|
380
|
-
var msg = new proto.ondewo.sip.
|
|
381
|
-
return proto.ondewo.sip.
|
|
386
|
+
var msg = new proto.ondewo.sip.SipStartCallRequest;
|
|
387
|
+
return proto.ondewo.sip.SipStartCallRequest.deserializeBinaryFromReader(msg, reader);
|
|
382
388
|
};
|
|
383
389
|
|
|
384
390
|
|
|
385
391
|
/**
|
|
386
392
|
* Deserializes binary data (in protobuf wire format) from the
|
|
387
393
|
* given reader into the given message object.
|
|
388
|
-
* @param {!proto.ondewo.sip.
|
|
394
|
+
* @param {!proto.ondewo.sip.SipStartCallRequest} msg The message object to deserialize into.
|
|
389
395
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
390
|
-
* @return {!proto.ondewo.sip.
|
|
396
|
+
* @return {!proto.ondewo.sip.SipStartCallRequest}
|
|
391
397
|
*/
|
|
392
|
-
proto.ondewo.sip.
|
|
398
|
+
proto.ondewo.sip.SipStartCallRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
393
399
|
while (reader.nextField()) {
|
|
394
400
|
if (reader.isEndGroup()) {
|
|
395
401
|
break;
|
|
@@ -419,9 +425,9 @@ proto.ondewo.sip.StartCallRequest.deserializeBinaryFromReader = function(msg, re
|
|
|
419
425
|
* Serializes the message to binary data (in protobuf wire format).
|
|
420
426
|
* @return {!Uint8Array}
|
|
421
427
|
*/
|
|
422
|
-
proto.ondewo.sip.
|
|
428
|
+
proto.ondewo.sip.SipStartCallRequest.prototype.serializeBinary = function() {
|
|
423
429
|
var writer = new jspb.BinaryWriter();
|
|
424
|
-
proto.ondewo.sip.
|
|
430
|
+
proto.ondewo.sip.SipStartCallRequest.serializeBinaryToWriter(this, writer);
|
|
425
431
|
return writer.getResultBuffer();
|
|
426
432
|
};
|
|
427
433
|
|
|
@@ -429,11 +435,11 @@ proto.ondewo.sip.StartCallRequest.prototype.serializeBinary = function() {
|
|
|
429
435
|
/**
|
|
430
436
|
* Serializes the given message to binary data (in protobuf wire
|
|
431
437
|
* format), writing to the given BinaryWriter.
|
|
432
|
-
* @param {!proto.ondewo.sip.
|
|
438
|
+
* @param {!proto.ondewo.sip.SipStartCallRequest} message
|
|
433
439
|
* @param {!jspb.BinaryWriter} writer
|
|
434
440
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
435
441
|
*/
|
|
436
|
-
proto.ondewo.sip.
|
|
442
|
+
proto.ondewo.sip.SipStartCallRequest.serializeBinaryToWriter = function(message, writer) {
|
|
437
443
|
var f = undefined;
|
|
438
444
|
f = message.getCalleeId();
|
|
439
445
|
if (f.length > 0) {
|
|
@@ -453,16 +459,16 @@ proto.ondewo.sip.StartCallRequest.serializeBinaryToWriter = function(message, wr
|
|
|
453
459
|
* optional string callee_id = 1;
|
|
454
460
|
* @return {string}
|
|
455
461
|
*/
|
|
456
|
-
proto.ondewo.sip.
|
|
462
|
+
proto.ondewo.sip.SipStartCallRequest.prototype.getCalleeId = function() {
|
|
457
463
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
458
464
|
};
|
|
459
465
|
|
|
460
466
|
|
|
461
467
|
/**
|
|
462
468
|
* @param {string} value
|
|
463
|
-
* @return {!proto.ondewo.sip.
|
|
469
|
+
* @return {!proto.ondewo.sip.SipStartCallRequest} returns this
|
|
464
470
|
*/
|
|
465
|
-
proto.ondewo.sip.
|
|
471
|
+
proto.ondewo.sip.SipStartCallRequest.prototype.setCalleeId = function(value) {
|
|
466
472
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
467
473
|
};
|
|
468
474
|
|
|
@@ -473,7 +479,7 @@ proto.ondewo.sip.StartCallRequest.prototype.setCalleeId = function(value) {
|
|
|
473
479
|
* empty, instead returning `undefined`
|
|
474
480
|
* @return {!jspb.Map<string,string>}
|
|
475
481
|
*/
|
|
476
|
-
proto.ondewo.sip.
|
|
482
|
+
proto.ondewo.sip.SipStartCallRequest.prototype.getHeadersMap = function(opt_noLazyCreate) {
|
|
477
483
|
return /** @type {!jspb.Map<string,string>} */ (
|
|
478
484
|
jspb.Message.getMapField(this, 2, opt_noLazyCreate,
|
|
479
485
|
null));
|
|
@@ -482,9 +488,9 @@ proto.ondewo.sip.StartCallRequest.prototype.getHeadersMap = function(opt_noLazyC
|
|
|
482
488
|
|
|
483
489
|
/**
|
|
484
490
|
* Clears values from the map. The map will be non-null.
|
|
485
|
-
* @return {!proto.ondewo.sip.
|
|
491
|
+
* @return {!proto.ondewo.sip.SipStartCallRequest} returns this
|
|
486
492
|
*/
|
|
487
|
-
proto.ondewo.sip.
|
|
493
|
+
proto.ondewo.sip.SipStartCallRequest.prototype.clearHeadersMap = function() {
|
|
488
494
|
this.getHeadersMap().clear();
|
|
489
495
|
return this;};
|
|
490
496
|
|
|
@@ -505,8 +511,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
505
511
|
* http://goto/soy-param-migration
|
|
506
512
|
* @return {!Object}
|
|
507
513
|
*/
|
|
508
|
-
proto.ondewo.sip.
|
|
509
|
-
return proto.ondewo.sip.
|
|
514
|
+
proto.ondewo.sip.SipRegisterAccountRequest.prototype.toObject = function(opt_includeInstance) {
|
|
515
|
+
return proto.ondewo.sip.SipRegisterAccountRequest.toObject(opt_includeInstance, this);
|
|
510
516
|
};
|
|
511
517
|
|
|
512
518
|
|
|
@@ -515,11 +521,11 @@ proto.ondewo.sip.RegisterAccountRequest.prototype.toObject = function(opt_includ
|
|
|
515
521
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
516
522
|
* the JSPB instance for transitional soy proto support:
|
|
517
523
|
* http://goto/soy-param-migration
|
|
518
|
-
* @param {!proto.ondewo.sip.
|
|
524
|
+
* @param {!proto.ondewo.sip.SipRegisterAccountRequest} msg The msg instance to transform.
|
|
519
525
|
* @return {!Object}
|
|
520
526
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
521
527
|
*/
|
|
522
|
-
proto.ondewo.sip.
|
|
528
|
+
proto.ondewo.sip.SipRegisterAccountRequest.toObject = function(includeInstance, msg) {
|
|
523
529
|
var f, obj = {
|
|
524
530
|
accountName: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
525
531
|
password: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
@@ -538,23 +544,23 @@ proto.ondewo.sip.RegisterAccountRequest.toObject = function(includeInstance, msg
|
|
|
538
544
|
/**
|
|
539
545
|
* Deserializes binary data (in protobuf wire format).
|
|
540
546
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
541
|
-
* @return {!proto.ondewo.sip.
|
|
547
|
+
* @return {!proto.ondewo.sip.SipRegisterAccountRequest}
|
|
542
548
|
*/
|
|
543
|
-
proto.ondewo.sip.
|
|
549
|
+
proto.ondewo.sip.SipRegisterAccountRequest.deserializeBinary = function(bytes) {
|
|
544
550
|
var reader = new jspb.BinaryReader(bytes);
|
|
545
|
-
var msg = new proto.ondewo.sip.
|
|
546
|
-
return proto.ondewo.sip.
|
|
551
|
+
var msg = new proto.ondewo.sip.SipRegisterAccountRequest;
|
|
552
|
+
return proto.ondewo.sip.SipRegisterAccountRequest.deserializeBinaryFromReader(msg, reader);
|
|
547
553
|
};
|
|
548
554
|
|
|
549
555
|
|
|
550
556
|
/**
|
|
551
557
|
* Deserializes binary data (in protobuf wire format) from the
|
|
552
558
|
* given reader into the given message object.
|
|
553
|
-
* @param {!proto.ondewo.sip.
|
|
559
|
+
* @param {!proto.ondewo.sip.SipRegisterAccountRequest} msg The message object to deserialize into.
|
|
554
560
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
555
|
-
* @return {!proto.ondewo.sip.
|
|
561
|
+
* @return {!proto.ondewo.sip.SipRegisterAccountRequest}
|
|
556
562
|
*/
|
|
557
|
-
proto.ondewo.sip.
|
|
563
|
+
proto.ondewo.sip.SipRegisterAccountRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
558
564
|
while (reader.nextField()) {
|
|
559
565
|
if (reader.isEndGroup()) {
|
|
560
566
|
break;
|
|
@@ -590,9 +596,9 @@ proto.ondewo.sip.RegisterAccountRequest.deserializeBinaryFromReader = function(m
|
|
|
590
596
|
* Serializes the message to binary data (in protobuf wire format).
|
|
591
597
|
* @return {!Uint8Array}
|
|
592
598
|
*/
|
|
593
|
-
proto.ondewo.sip.
|
|
599
|
+
proto.ondewo.sip.SipRegisterAccountRequest.prototype.serializeBinary = function() {
|
|
594
600
|
var writer = new jspb.BinaryWriter();
|
|
595
|
-
proto.ondewo.sip.
|
|
601
|
+
proto.ondewo.sip.SipRegisterAccountRequest.serializeBinaryToWriter(this, writer);
|
|
596
602
|
return writer.getResultBuffer();
|
|
597
603
|
};
|
|
598
604
|
|
|
@@ -600,11 +606,11 @@ proto.ondewo.sip.RegisterAccountRequest.prototype.serializeBinary = function() {
|
|
|
600
606
|
/**
|
|
601
607
|
* Serializes the given message to binary data (in protobuf wire
|
|
602
608
|
* format), writing to the given BinaryWriter.
|
|
603
|
-
* @param {!proto.ondewo.sip.
|
|
609
|
+
* @param {!proto.ondewo.sip.SipRegisterAccountRequest} message
|
|
604
610
|
* @param {!jspb.BinaryWriter} writer
|
|
605
611
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
606
612
|
*/
|
|
607
|
-
proto.ondewo.sip.
|
|
613
|
+
proto.ondewo.sip.SipRegisterAccountRequest.serializeBinaryToWriter = function(message, writer) {
|
|
608
614
|
var f = undefined;
|
|
609
615
|
f = message.getAccountName();
|
|
610
616
|
if (f.length > 0) {
|
|
@@ -641,16 +647,16 @@ proto.ondewo.sip.RegisterAccountRequest.serializeBinaryToWriter = function(messa
|
|
|
641
647
|
* optional string account_name = 1;
|
|
642
648
|
* @return {string}
|
|
643
649
|
*/
|
|
644
|
-
proto.ondewo.sip.
|
|
650
|
+
proto.ondewo.sip.SipRegisterAccountRequest.prototype.getAccountName = function() {
|
|
645
651
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
646
652
|
};
|
|
647
653
|
|
|
648
654
|
|
|
649
655
|
/**
|
|
650
656
|
* @param {string} value
|
|
651
|
-
* @return {!proto.ondewo.sip.
|
|
657
|
+
* @return {!proto.ondewo.sip.SipRegisterAccountRequest} returns this
|
|
652
658
|
*/
|
|
653
|
-
proto.ondewo.sip.
|
|
659
|
+
proto.ondewo.sip.SipRegisterAccountRequest.prototype.setAccountName = function(value) {
|
|
654
660
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
655
661
|
};
|
|
656
662
|
|
|
@@ -659,16 +665,16 @@ proto.ondewo.sip.RegisterAccountRequest.prototype.setAccountName = function(valu
|
|
|
659
665
|
* optional string password = 2;
|
|
660
666
|
* @return {string}
|
|
661
667
|
*/
|
|
662
|
-
proto.ondewo.sip.
|
|
668
|
+
proto.ondewo.sip.SipRegisterAccountRequest.prototype.getPassword = function() {
|
|
663
669
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
664
670
|
};
|
|
665
671
|
|
|
666
672
|
|
|
667
673
|
/**
|
|
668
674
|
* @param {string} value
|
|
669
|
-
* @return {!proto.ondewo.sip.
|
|
675
|
+
* @return {!proto.ondewo.sip.SipRegisterAccountRequest} returns this
|
|
670
676
|
*/
|
|
671
|
-
proto.ondewo.sip.
|
|
677
|
+
proto.ondewo.sip.SipRegisterAccountRequest.prototype.setPassword = function(value) {
|
|
672
678
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
673
679
|
};
|
|
674
680
|
|
|
@@ -677,16 +683,16 @@ proto.ondewo.sip.RegisterAccountRequest.prototype.setPassword = function(value)
|
|
|
677
683
|
* optional string auth_username = 3;
|
|
678
684
|
* @return {string}
|
|
679
685
|
*/
|
|
680
|
-
proto.ondewo.sip.
|
|
686
|
+
proto.ondewo.sip.SipRegisterAccountRequest.prototype.getAuthUsername = function() {
|
|
681
687
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
682
688
|
};
|
|
683
689
|
|
|
684
690
|
|
|
685
691
|
/**
|
|
686
692
|
* @param {string} value
|
|
687
|
-
* @return {!proto.ondewo.sip.
|
|
693
|
+
* @return {!proto.ondewo.sip.SipRegisterAccountRequest} returns this
|
|
688
694
|
*/
|
|
689
|
-
proto.ondewo.sip.
|
|
695
|
+
proto.ondewo.sip.SipRegisterAccountRequest.prototype.setAuthUsername = function(value) {
|
|
690
696
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
691
697
|
};
|
|
692
698
|
|
|
@@ -695,16 +701,16 @@ proto.ondewo.sip.RegisterAccountRequest.prototype.setAuthUsername = function(val
|
|
|
695
701
|
* optional string outbound_proxy = 4;
|
|
696
702
|
* @return {string}
|
|
697
703
|
*/
|
|
698
|
-
proto.ondewo.sip.
|
|
704
|
+
proto.ondewo.sip.SipRegisterAccountRequest.prototype.getOutboundProxy = function() {
|
|
699
705
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
700
706
|
};
|
|
701
707
|
|
|
702
708
|
|
|
703
709
|
/**
|
|
704
710
|
* @param {string} value
|
|
705
|
-
* @return {!proto.ondewo.sip.
|
|
711
|
+
* @return {!proto.ondewo.sip.SipRegisterAccountRequest} returns this
|
|
706
712
|
*/
|
|
707
|
-
proto.ondewo.sip.
|
|
713
|
+
proto.ondewo.sip.SipRegisterAccountRequest.prototype.setOutboundProxy = function(value) {
|
|
708
714
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
709
715
|
};
|
|
710
716
|
|
|
@@ -725,8 +731,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
725
731
|
* http://goto/soy-param-migration
|
|
726
732
|
* @return {!Object}
|
|
727
733
|
*/
|
|
728
|
-
proto.ondewo.sip.
|
|
729
|
-
return proto.ondewo.sip.
|
|
734
|
+
proto.ondewo.sip.SipStartSessionRequest.prototype.toObject = function(opt_includeInstance) {
|
|
735
|
+
return proto.ondewo.sip.SipStartSessionRequest.toObject(opt_includeInstance, this);
|
|
730
736
|
};
|
|
731
737
|
|
|
732
738
|
|
|
@@ -735,11 +741,11 @@ proto.ondewo.sip.StartSessionRequest.prototype.toObject = function(opt_includeIn
|
|
|
735
741
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
736
742
|
* the JSPB instance for transitional soy proto support:
|
|
737
743
|
* http://goto/soy-param-migration
|
|
738
|
-
* @param {!proto.ondewo.sip.
|
|
744
|
+
* @param {!proto.ondewo.sip.SipStartSessionRequest} msg The msg instance to transform.
|
|
739
745
|
* @return {!Object}
|
|
740
746
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
741
747
|
*/
|
|
742
|
-
proto.ondewo.sip.
|
|
748
|
+
proto.ondewo.sip.SipStartSessionRequest.toObject = function(includeInstance, msg) {
|
|
743
749
|
var f, obj = {
|
|
744
750
|
accountName: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
745
751
|
autoAnswerInterval: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
@@ -756,23 +762,23 @@ proto.ondewo.sip.StartSessionRequest.toObject = function(includeInstance, msg) {
|
|
|
756
762
|
/**
|
|
757
763
|
* Deserializes binary data (in protobuf wire format).
|
|
758
764
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
759
|
-
* @return {!proto.ondewo.sip.
|
|
765
|
+
* @return {!proto.ondewo.sip.SipStartSessionRequest}
|
|
760
766
|
*/
|
|
761
|
-
proto.ondewo.sip.
|
|
767
|
+
proto.ondewo.sip.SipStartSessionRequest.deserializeBinary = function(bytes) {
|
|
762
768
|
var reader = new jspb.BinaryReader(bytes);
|
|
763
|
-
var msg = new proto.ondewo.sip.
|
|
764
|
-
return proto.ondewo.sip.
|
|
769
|
+
var msg = new proto.ondewo.sip.SipStartSessionRequest;
|
|
770
|
+
return proto.ondewo.sip.SipStartSessionRequest.deserializeBinaryFromReader(msg, reader);
|
|
765
771
|
};
|
|
766
772
|
|
|
767
773
|
|
|
768
774
|
/**
|
|
769
775
|
* Deserializes binary data (in protobuf wire format) from the
|
|
770
776
|
* given reader into the given message object.
|
|
771
|
-
* @param {!proto.ondewo.sip.
|
|
777
|
+
* @param {!proto.ondewo.sip.SipStartSessionRequest} msg The message object to deserialize into.
|
|
772
778
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
773
|
-
* @return {!proto.ondewo.sip.
|
|
779
|
+
* @return {!proto.ondewo.sip.SipStartSessionRequest}
|
|
774
780
|
*/
|
|
775
|
-
proto.ondewo.sip.
|
|
781
|
+
proto.ondewo.sip.SipStartSessionRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
776
782
|
while (reader.nextField()) {
|
|
777
783
|
if (reader.isEndGroup()) {
|
|
778
784
|
break;
|
|
@@ -800,9 +806,9 @@ proto.ondewo.sip.StartSessionRequest.deserializeBinaryFromReader = function(msg,
|
|
|
800
806
|
* Serializes the message to binary data (in protobuf wire format).
|
|
801
807
|
* @return {!Uint8Array}
|
|
802
808
|
*/
|
|
803
|
-
proto.ondewo.sip.
|
|
809
|
+
proto.ondewo.sip.SipStartSessionRequest.prototype.serializeBinary = function() {
|
|
804
810
|
var writer = new jspb.BinaryWriter();
|
|
805
|
-
proto.ondewo.sip.
|
|
811
|
+
proto.ondewo.sip.SipStartSessionRequest.serializeBinaryToWriter(this, writer);
|
|
806
812
|
return writer.getResultBuffer();
|
|
807
813
|
};
|
|
808
814
|
|
|
@@ -810,11 +816,11 @@ proto.ondewo.sip.StartSessionRequest.prototype.serializeBinary = function() {
|
|
|
810
816
|
/**
|
|
811
817
|
* Serializes the given message to binary data (in protobuf wire
|
|
812
818
|
* format), writing to the given BinaryWriter.
|
|
813
|
-
* @param {!proto.ondewo.sip.
|
|
819
|
+
* @param {!proto.ondewo.sip.SipStartSessionRequest} message
|
|
814
820
|
* @param {!jspb.BinaryWriter} writer
|
|
815
821
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
816
822
|
*/
|
|
817
|
-
proto.ondewo.sip.
|
|
823
|
+
proto.ondewo.sip.SipStartSessionRequest.serializeBinaryToWriter = function(message, writer) {
|
|
818
824
|
var f = undefined;
|
|
819
825
|
f = message.getAccountName();
|
|
820
826
|
if (f.length > 0) {
|
|
@@ -837,16 +843,16 @@ proto.ondewo.sip.StartSessionRequest.serializeBinaryToWriter = function(message,
|
|
|
837
843
|
* optional string account_name = 1;
|
|
838
844
|
* @return {string}
|
|
839
845
|
*/
|
|
840
|
-
proto.ondewo.sip.
|
|
846
|
+
proto.ondewo.sip.SipStartSessionRequest.prototype.getAccountName = function() {
|
|
841
847
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
842
848
|
};
|
|
843
849
|
|
|
844
850
|
|
|
845
851
|
/**
|
|
846
852
|
* @param {string} value
|
|
847
|
-
* @return {!proto.ondewo.sip.
|
|
853
|
+
* @return {!proto.ondewo.sip.SipStartSessionRequest} returns this
|
|
848
854
|
*/
|
|
849
|
-
proto.ondewo.sip.
|
|
855
|
+
proto.ondewo.sip.SipStartSessionRequest.prototype.setAccountName = function(value) {
|
|
850
856
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
851
857
|
};
|
|
852
858
|
|
|
@@ -855,16 +861,16 @@ proto.ondewo.sip.StartSessionRequest.prototype.setAccountName = function(value)
|
|
|
855
861
|
* optional int32 auto_answer_interval = 2;
|
|
856
862
|
* @return {number}
|
|
857
863
|
*/
|
|
858
|
-
proto.ondewo.sip.
|
|
864
|
+
proto.ondewo.sip.SipStartSessionRequest.prototype.getAutoAnswerInterval = function() {
|
|
859
865
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
860
866
|
};
|
|
861
867
|
|
|
862
868
|
|
|
863
869
|
/**
|
|
864
870
|
* @param {number} value
|
|
865
|
-
* @return {!proto.ondewo.sip.
|
|
871
|
+
* @return {!proto.ondewo.sip.SipStartSessionRequest} returns this
|
|
866
872
|
*/
|
|
867
|
-
proto.ondewo.sip.
|
|
873
|
+
proto.ondewo.sip.SipStartSessionRequest.prototype.setAutoAnswerInterval = function(value) {
|
|
868
874
|
return jspb.Message.setProto3IntField(this, 2, value);
|
|
869
875
|
};
|
|
870
876
|
|
|
@@ -885,8 +891,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
885
891
|
* http://goto/soy-param-migration
|
|
886
892
|
* @return {!Object}
|
|
887
893
|
*/
|
|
888
|
-
proto.ondewo.sip.
|
|
889
|
-
return proto.ondewo.sip.
|
|
894
|
+
proto.ondewo.sip.SipTransferCallRequest.prototype.toObject = function(opt_includeInstance) {
|
|
895
|
+
return proto.ondewo.sip.SipTransferCallRequest.toObject(opt_includeInstance, this);
|
|
890
896
|
};
|
|
891
897
|
|
|
892
898
|
|
|
@@ -895,11 +901,11 @@ proto.ondewo.sip.TransferCallRequest.prototype.toObject = function(opt_includeIn
|
|
|
895
901
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
896
902
|
* the JSPB instance for transitional soy proto support:
|
|
897
903
|
* http://goto/soy-param-migration
|
|
898
|
-
* @param {!proto.ondewo.sip.
|
|
904
|
+
* @param {!proto.ondewo.sip.SipTransferCallRequest} msg The msg instance to transform.
|
|
899
905
|
* @return {!Object}
|
|
900
906
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
901
907
|
*/
|
|
902
|
-
proto.ondewo.sip.
|
|
908
|
+
proto.ondewo.sip.SipTransferCallRequest.toObject = function(includeInstance, msg) {
|
|
903
909
|
var f, obj = {
|
|
904
910
|
transferId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
905
911
|
headersMap: (f = msg.getHeadersMap()) ? f.toObject(includeInstance, undefined) : []
|
|
@@ -916,23 +922,23 @@ proto.ondewo.sip.TransferCallRequest.toObject = function(includeInstance, msg) {
|
|
|
916
922
|
/**
|
|
917
923
|
* Deserializes binary data (in protobuf wire format).
|
|
918
924
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
919
|
-
* @return {!proto.ondewo.sip.
|
|
925
|
+
* @return {!proto.ondewo.sip.SipTransferCallRequest}
|
|
920
926
|
*/
|
|
921
|
-
proto.ondewo.sip.
|
|
927
|
+
proto.ondewo.sip.SipTransferCallRequest.deserializeBinary = function(bytes) {
|
|
922
928
|
var reader = new jspb.BinaryReader(bytes);
|
|
923
|
-
var msg = new proto.ondewo.sip.
|
|
924
|
-
return proto.ondewo.sip.
|
|
929
|
+
var msg = new proto.ondewo.sip.SipTransferCallRequest;
|
|
930
|
+
return proto.ondewo.sip.SipTransferCallRequest.deserializeBinaryFromReader(msg, reader);
|
|
925
931
|
};
|
|
926
932
|
|
|
927
933
|
|
|
928
934
|
/**
|
|
929
935
|
* Deserializes binary data (in protobuf wire format) from the
|
|
930
936
|
* given reader into the given message object.
|
|
931
|
-
* @param {!proto.ondewo.sip.
|
|
937
|
+
* @param {!proto.ondewo.sip.SipTransferCallRequest} msg The message object to deserialize into.
|
|
932
938
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
933
|
-
* @return {!proto.ondewo.sip.
|
|
939
|
+
* @return {!proto.ondewo.sip.SipTransferCallRequest}
|
|
934
940
|
*/
|
|
935
|
-
proto.ondewo.sip.
|
|
941
|
+
proto.ondewo.sip.SipTransferCallRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
936
942
|
while (reader.nextField()) {
|
|
937
943
|
if (reader.isEndGroup()) {
|
|
938
944
|
break;
|
|
@@ -962,9 +968,9 @@ proto.ondewo.sip.TransferCallRequest.deserializeBinaryFromReader = function(msg,
|
|
|
962
968
|
* Serializes the message to binary data (in protobuf wire format).
|
|
963
969
|
* @return {!Uint8Array}
|
|
964
970
|
*/
|
|
965
|
-
proto.ondewo.sip.
|
|
971
|
+
proto.ondewo.sip.SipTransferCallRequest.prototype.serializeBinary = function() {
|
|
966
972
|
var writer = new jspb.BinaryWriter();
|
|
967
|
-
proto.ondewo.sip.
|
|
973
|
+
proto.ondewo.sip.SipTransferCallRequest.serializeBinaryToWriter(this, writer);
|
|
968
974
|
return writer.getResultBuffer();
|
|
969
975
|
};
|
|
970
976
|
|
|
@@ -972,11 +978,11 @@ proto.ondewo.sip.TransferCallRequest.prototype.serializeBinary = function() {
|
|
|
972
978
|
/**
|
|
973
979
|
* Serializes the given message to binary data (in protobuf wire
|
|
974
980
|
* format), writing to the given BinaryWriter.
|
|
975
|
-
* @param {!proto.ondewo.sip.
|
|
981
|
+
* @param {!proto.ondewo.sip.SipTransferCallRequest} message
|
|
976
982
|
* @param {!jspb.BinaryWriter} writer
|
|
977
983
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
978
984
|
*/
|
|
979
|
-
proto.ondewo.sip.
|
|
985
|
+
proto.ondewo.sip.SipTransferCallRequest.serializeBinaryToWriter = function(message, writer) {
|
|
980
986
|
var f = undefined;
|
|
981
987
|
f = message.getTransferId();
|
|
982
988
|
if (f.length > 0) {
|
|
@@ -996,16 +1002,16 @@ proto.ondewo.sip.TransferCallRequest.serializeBinaryToWriter = function(message,
|
|
|
996
1002
|
* optional string transfer_id = 1;
|
|
997
1003
|
* @return {string}
|
|
998
1004
|
*/
|
|
999
|
-
proto.ondewo.sip.
|
|
1005
|
+
proto.ondewo.sip.SipTransferCallRequest.prototype.getTransferId = function() {
|
|
1000
1006
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1001
1007
|
};
|
|
1002
1008
|
|
|
1003
1009
|
|
|
1004
1010
|
/**
|
|
1005
1011
|
* @param {string} value
|
|
1006
|
-
* @return {!proto.ondewo.sip.
|
|
1012
|
+
* @return {!proto.ondewo.sip.SipTransferCallRequest} returns this
|
|
1007
1013
|
*/
|
|
1008
|
-
proto.ondewo.sip.
|
|
1014
|
+
proto.ondewo.sip.SipTransferCallRequest.prototype.setTransferId = function(value) {
|
|
1009
1015
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1010
1016
|
};
|
|
1011
1017
|
|
|
@@ -1016,7 +1022,7 @@ proto.ondewo.sip.TransferCallRequest.prototype.setTransferId = function(value) {
|
|
|
1016
1022
|
* empty, instead returning `undefined`
|
|
1017
1023
|
* @return {!jspb.Map<string,string>}
|
|
1018
1024
|
*/
|
|
1019
|
-
proto.ondewo.sip.
|
|
1025
|
+
proto.ondewo.sip.SipTransferCallRequest.prototype.getHeadersMap = function(opt_noLazyCreate) {
|
|
1020
1026
|
return /** @type {!jspb.Map<string,string>} */ (
|
|
1021
1027
|
jspb.Message.getMapField(this, 2, opt_noLazyCreate,
|
|
1022
1028
|
null));
|
|
@@ -1025,9 +1031,9 @@ proto.ondewo.sip.TransferCallRequest.prototype.getHeadersMap = function(opt_noLa
|
|
|
1025
1031
|
|
|
1026
1032
|
/**
|
|
1027
1033
|
* Clears values from the map. The map will be non-null.
|
|
1028
|
-
* @return {!proto.ondewo.sip.
|
|
1034
|
+
* @return {!proto.ondewo.sip.SipTransferCallRequest} returns this
|
|
1029
1035
|
*/
|
|
1030
|
-
proto.ondewo.sip.
|
|
1036
|
+
proto.ondewo.sip.SipTransferCallRequest.prototype.clearHeadersMap = function() {
|
|
1031
1037
|
this.getHeadersMap().clear();
|
|
1032
1038
|
return this;};
|
|
1033
1039
|
|
|
@@ -1072,7 +1078,8 @@ proto.ondewo.sip.SipStatus.toObject = function(includeInstance, msg) {
|
|
|
1072
1078
|
headersMap: (f = msg.getHeadersMap()) ? f.toObject(includeInstance, undefined) : [],
|
|
1073
1079
|
description: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
1074
1080
|
exceptionName: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
1075
|
-
exceptionTraceback: jspb.Message.getFieldWithDefault(msg, 9, "")
|
|
1081
|
+
exceptionTraceback: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
1082
|
+
nluSessionName: jspb.Message.getFieldWithDefault(msg, 10, "")
|
|
1076
1083
|
};
|
|
1077
1084
|
|
|
1078
1085
|
if (includeInstance) {
|
|
@@ -1148,6 +1155,10 @@ proto.ondewo.sip.SipStatus.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
1148
1155
|
var value = /** @type {string} */ (reader.readString());
|
|
1149
1156
|
msg.setExceptionTraceback(value);
|
|
1150
1157
|
break;
|
|
1158
|
+
case 10:
|
|
1159
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1160
|
+
msg.setNluSessionName(value);
|
|
1161
|
+
break;
|
|
1151
1162
|
default:
|
|
1152
1163
|
reader.skipField();
|
|
1153
1164
|
break;
|
|
@@ -1238,6 +1249,13 @@ proto.ondewo.sip.SipStatus.serializeBinaryToWriter = function(message, writer) {
|
|
|
1238
1249
|
f
|
|
1239
1250
|
);
|
|
1240
1251
|
}
|
|
1252
|
+
f = message.getNluSessionName();
|
|
1253
|
+
if (f.length > 0) {
|
|
1254
|
+
writer.writeString(
|
|
1255
|
+
10,
|
|
1256
|
+
f
|
|
1257
|
+
);
|
|
1258
|
+
}
|
|
1241
1259
|
};
|
|
1242
1260
|
|
|
1243
1261
|
|
|
@@ -1454,6 +1472,24 @@ proto.ondewo.sip.SipStatus.prototype.setExceptionTraceback = function(value) {
|
|
|
1454
1472
|
};
|
|
1455
1473
|
|
|
1456
1474
|
|
|
1475
|
+
/**
|
|
1476
|
+
* optional string nlu_session_name = 10;
|
|
1477
|
+
* @return {string}
|
|
1478
|
+
*/
|
|
1479
|
+
proto.ondewo.sip.SipStatus.prototype.getNluSessionName = function() {
|
|
1480
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
1481
|
+
};
|
|
1482
|
+
|
|
1483
|
+
|
|
1484
|
+
/**
|
|
1485
|
+
* @param {string} value
|
|
1486
|
+
* @return {!proto.ondewo.sip.SipStatus} returns this
|
|
1487
|
+
*/
|
|
1488
|
+
proto.ondewo.sip.SipStatus.prototype.setNluSessionName = function(value) {
|
|
1489
|
+
return jspb.Message.setProto3StringField(this, 10, value);
|
|
1490
|
+
};
|
|
1491
|
+
|
|
1492
|
+
|
|
1457
1493
|
|
|
1458
1494
|
/**
|
|
1459
1495
|
* List of repeated fields within this message type.
|
|
@@ -1620,7 +1656,7 @@ proto.ondewo.sip.SipStatusHistoryResponse.prototype.clearStatusHistoryList = fun
|
|
|
1620
1656
|
* @private {!Array<number>}
|
|
1621
1657
|
* @const
|
|
1622
1658
|
*/
|
|
1623
|
-
proto.ondewo.sip.
|
|
1659
|
+
proto.ondewo.sip.SipPlayWavFilesRequest.repeatedFields_ = [1];
|
|
1624
1660
|
|
|
1625
1661
|
|
|
1626
1662
|
|
|
@@ -1637,8 +1673,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
1637
1673
|
* http://goto/soy-param-migration
|
|
1638
1674
|
* @return {!Object}
|
|
1639
1675
|
*/
|
|
1640
|
-
proto.ondewo.sip.
|
|
1641
|
-
return proto.ondewo.sip.
|
|
1676
|
+
proto.ondewo.sip.SipPlayWavFilesRequest.prototype.toObject = function(opt_includeInstance) {
|
|
1677
|
+
return proto.ondewo.sip.SipPlayWavFilesRequest.toObject(opt_includeInstance, this);
|
|
1642
1678
|
};
|
|
1643
1679
|
|
|
1644
1680
|
|
|
@@ -1647,11 +1683,11 @@ proto.ondewo.sip.PlayWavFilesRequest.prototype.toObject = function(opt_includeIn
|
|
|
1647
1683
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1648
1684
|
* the JSPB instance for transitional soy proto support:
|
|
1649
1685
|
* http://goto/soy-param-migration
|
|
1650
|
-
* @param {!proto.ondewo.sip.
|
|
1686
|
+
* @param {!proto.ondewo.sip.SipPlayWavFilesRequest} msg The msg instance to transform.
|
|
1651
1687
|
* @return {!Object}
|
|
1652
1688
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1653
1689
|
*/
|
|
1654
|
-
proto.ondewo.sip.
|
|
1690
|
+
proto.ondewo.sip.SipPlayWavFilesRequest.toObject = function(includeInstance, msg) {
|
|
1655
1691
|
var f, obj = {
|
|
1656
1692
|
wavFilesList: msg.getWavFilesList_asB64()
|
|
1657
1693
|
};
|
|
@@ -1667,23 +1703,23 @@ proto.ondewo.sip.PlayWavFilesRequest.toObject = function(includeInstance, msg) {
|
|
|
1667
1703
|
/**
|
|
1668
1704
|
* Deserializes binary data (in protobuf wire format).
|
|
1669
1705
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1670
|
-
* @return {!proto.ondewo.sip.
|
|
1706
|
+
* @return {!proto.ondewo.sip.SipPlayWavFilesRequest}
|
|
1671
1707
|
*/
|
|
1672
|
-
proto.ondewo.sip.
|
|
1708
|
+
proto.ondewo.sip.SipPlayWavFilesRequest.deserializeBinary = function(bytes) {
|
|
1673
1709
|
var reader = new jspb.BinaryReader(bytes);
|
|
1674
|
-
var msg = new proto.ondewo.sip.
|
|
1675
|
-
return proto.ondewo.sip.
|
|
1710
|
+
var msg = new proto.ondewo.sip.SipPlayWavFilesRequest;
|
|
1711
|
+
return proto.ondewo.sip.SipPlayWavFilesRequest.deserializeBinaryFromReader(msg, reader);
|
|
1676
1712
|
};
|
|
1677
1713
|
|
|
1678
1714
|
|
|
1679
1715
|
/**
|
|
1680
1716
|
* Deserializes binary data (in protobuf wire format) from the
|
|
1681
1717
|
* given reader into the given message object.
|
|
1682
|
-
* @param {!proto.ondewo.sip.
|
|
1718
|
+
* @param {!proto.ondewo.sip.SipPlayWavFilesRequest} msg The message object to deserialize into.
|
|
1683
1719
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1684
|
-
* @return {!proto.ondewo.sip.
|
|
1720
|
+
* @return {!proto.ondewo.sip.SipPlayWavFilesRequest}
|
|
1685
1721
|
*/
|
|
1686
|
-
proto.ondewo.sip.
|
|
1722
|
+
proto.ondewo.sip.SipPlayWavFilesRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
1687
1723
|
while (reader.nextField()) {
|
|
1688
1724
|
if (reader.isEndGroup()) {
|
|
1689
1725
|
break;
|
|
@@ -1707,9 +1743,9 @@ proto.ondewo.sip.PlayWavFilesRequest.deserializeBinaryFromReader = function(msg,
|
|
|
1707
1743
|
* Serializes the message to binary data (in protobuf wire format).
|
|
1708
1744
|
* @return {!Uint8Array}
|
|
1709
1745
|
*/
|
|
1710
|
-
proto.ondewo.sip.
|
|
1746
|
+
proto.ondewo.sip.SipPlayWavFilesRequest.prototype.serializeBinary = function() {
|
|
1711
1747
|
var writer = new jspb.BinaryWriter();
|
|
1712
|
-
proto.ondewo.sip.
|
|
1748
|
+
proto.ondewo.sip.SipPlayWavFilesRequest.serializeBinaryToWriter(this, writer);
|
|
1713
1749
|
return writer.getResultBuffer();
|
|
1714
1750
|
};
|
|
1715
1751
|
|
|
@@ -1717,11 +1753,11 @@ proto.ondewo.sip.PlayWavFilesRequest.prototype.serializeBinary = function() {
|
|
|
1717
1753
|
/**
|
|
1718
1754
|
* Serializes the given message to binary data (in protobuf wire
|
|
1719
1755
|
* format), writing to the given BinaryWriter.
|
|
1720
|
-
* @param {!proto.ondewo.sip.
|
|
1756
|
+
* @param {!proto.ondewo.sip.SipPlayWavFilesRequest} message
|
|
1721
1757
|
* @param {!jspb.BinaryWriter} writer
|
|
1722
1758
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1723
1759
|
*/
|
|
1724
|
-
proto.ondewo.sip.
|
|
1760
|
+
proto.ondewo.sip.SipPlayWavFilesRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1725
1761
|
var f = undefined;
|
|
1726
1762
|
f = message.getWavFilesList_asU8();
|
|
1727
1763
|
if (f.length > 0) {
|
|
@@ -1737,7 +1773,7 @@ proto.ondewo.sip.PlayWavFilesRequest.serializeBinaryToWriter = function(message,
|
|
|
1737
1773
|
* repeated bytes wav_files = 1;
|
|
1738
1774
|
* @return {!(Array<!Uint8Array>|Array<string>)}
|
|
1739
1775
|
*/
|
|
1740
|
-
proto.ondewo.sip.
|
|
1776
|
+
proto.ondewo.sip.SipPlayWavFilesRequest.prototype.getWavFilesList = function() {
|
|
1741
1777
|
return /** @type {!(Array<!Uint8Array>|Array<string>)} */ (jspb.Message.getRepeatedField(this, 1));
|
|
1742
1778
|
};
|
|
1743
1779
|
|
|
@@ -1747,7 +1783,7 @@ proto.ondewo.sip.PlayWavFilesRequest.prototype.getWavFilesList = function() {
|
|
|
1747
1783
|
* This is a type-conversion wrapper around `getWavFilesList()`
|
|
1748
1784
|
* @return {!Array<string>}
|
|
1749
1785
|
*/
|
|
1750
|
-
proto.ondewo.sip.
|
|
1786
|
+
proto.ondewo.sip.SipPlayWavFilesRequest.prototype.getWavFilesList_asB64 = function() {
|
|
1751
1787
|
return /** @type {!Array<string>} */ (jspb.Message.bytesListAsB64(
|
|
1752
1788
|
this.getWavFilesList()));
|
|
1753
1789
|
};
|
|
@@ -1760,7 +1796,7 @@ proto.ondewo.sip.PlayWavFilesRequest.prototype.getWavFilesList_asB64 = function(
|
|
|
1760
1796
|
* This is a type-conversion wrapper around `getWavFilesList()`
|
|
1761
1797
|
* @return {!Array<!Uint8Array>}
|
|
1762
1798
|
*/
|
|
1763
|
-
proto.ondewo.sip.
|
|
1799
|
+
proto.ondewo.sip.SipPlayWavFilesRequest.prototype.getWavFilesList_asU8 = function() {
|
|
1764
1800
|
return /** @type {!Array<!Uint8Array>} */ (jspb.Message.bytesListAsU8(
|
|
1765
1801
|
this.getWavFilesList()));
|
|
1766
1802
|
};
|
|
@@ -1768,9 +1804,9 @@ proto.ondewo.sip.PlayWavFilesRequest.prototype.getWavFilesList_asU8 = function()
|
|
|
1768
1804
|
|
|
1769
1805
|
/**
|
|
1770
1806
|
* @param {!(Array<!Uint8Array>|Array<string>)} value
|
|
1771
|
-
* @return {!proto.ondewo.sip.
|
|
1807
|
+
* @return {!proto.ondewo.sip.SipPlayWavFilesRequest} returns this
|
|
1772
1808
|
*/
|
|
1773
|
-
proto.ondewo.sip.
|
|
1809
|
+
proto.ondewo.sip.SipPlayWavFilesRequest.prototype.setWavFilesList = function(value) {
|
|
1774
1810
|
return jspb.Message.setField(this, 1, value || []);
|
|
1775
1811
|
};
|
|
1776
1812
|
|
|
@@ -1778,18 +1814,18 @@ proto.ondewo.sip.PlayWavFilesRequest.prototype.setWavFilesList = function(value)
|
|
|
1778
1814
|
/**
|
|
1779
1815
|
* @param {!(string|Uint8Array)} value
|
|
1780
1816
|
* @param {number=} opt_index
|
|
1781
|
-
* @return {!proto.ondewo.sip.
|
|
1817
|
+
* @return {!proto.ondewo.sip.SipPlayWavFilesRequest} returns this
|
|
1782
1818
|
*/
|
|
1783
|
-
proto.ondewo.sip.
|
|
1819
|
+
proto.ondewo.sip.SipPlayWavFilesRequest.prototype.addWavFiles = function(value, opt_index) {
|
|
1784
1820
|
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
1785
1821
|
};
|
|
1786
1822
|
|
|
1787
1823
|
|
|
1788
1824
|
/**
|
|
1789
1825
|
* Clears the list making it empty but non-null.
|
|
1790
|
-
* @return {!proto.ondewo.sip.
|
|
1826
|
+
* @return {!proto.ondewo.sip.SipPlayWavFilesRequest} returns this
|
|
1791
1827
|
*/
|
|
1792
|
-
proto.ondewo.sip.
|
|
1828
|
+
proto.ondewo.sip.SipPlayWavFilesRequest.prototype.clearWavFilesList = function() {
|
|
1793
1829
|
return this.setWavFilesList([]);
|
|
1794
1830
|
};
|
|
1795
1831
|
|