@ondewo/nlu-client-typescript 6.0.0 → 6.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/api/google/protobuf/any_pb.js +2 -2
- package/api/google/protobuf/field_mask_pb.js +1 -1
- package/api/google/protobuf/struct_pb.js +8 -8
- package/api/google/protobuf/timestamp_pb.js +2 -2
- package/api/google/rpc/status_pb.js +3 -3
- package/api/google/type/latlng_pb.js +2 -2
- package/api/ondewo/nlu/agent_grpc_web_pb.d.ts +12 -0
- package/api/ondewo/nlu/agent_grpc_web_pb.js +61 -0
- package/api/ondewo/nlu/agent_pb.d.ts +20 -0
- package/api/ondewo/nlu/agent_pb.js +498 -322
- package/api/ondewo/nlu/aiservices_pb.js +124 -124
- package/api/ondewo/nlu/ccai_project_pb.d.ts +11 -0
- package/api/ondewo/nlu/ccai_project_pb.js +81 -70
- package/api/ondewo/nlu/common_pb.js +53 -53
- package/api/ondewo/nlu/context_pb.js +27 -27
- package/api/ondewo/nlu/entity_type_pb.js +81 -81
- package/api/ondewo/nlu/intent_pb.js +244 -244
- package/api/ondewo/nlu/operation_metadata_pb.js +22 -22
- package/api/ondewo/nlu/operations_pb.js +21 -21
- package/api/ondewo/nlu/project_role_pb.js +25 -25
- package/api/ondewo/nlu/project_statistics_pb.js +7 -7
- package/api/ondewo/nlu/server_statistics_pb.js +1 -1
- package/api/ondewo/nlu/session_pb.js +366 -366
- package/api/ondewo/nlu/user_pb.d.ts +6 -0
- package/api/ondewo/nlu/user_pb.js +122 -71
- package/api/ondewo/nlu/utility_pb.js +79 -79
- package/api/ondewo/nlu/webhook_pb.js +31 -31
- package/api/ondewo/qa/qa_pb.js +24 -24
- package/package.json +1 -1
|
@@ -1955,10 +1955,10 @@ proto.ondewo.nlu.DetectIntentRequest.prototype.toObject = function(opt_includeIn
|
|
|
1955
1955
|
*/
|
|
1956
1956
|
proto.ondewo.nlu.DetectIntentRequest.toObject = function(includeInstance, msg) {
|
|
1957
1957
|
var f, obj = {
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
1958
|
+
session: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1959
|
+
queryParams: (f = msg.getQueryParams()) && proto.ondewo.nlu.QueryParameters.toObject(includeInstance, f),
|
|
1960
|
+
queryInput: (f = msg.getQueryInput()) && proto.ondewo.nlu.QueryInput.toObject(includeInstance, f),
|
|
1961
|
+
inputAudio: msg.getInputAudio_asB64()
|
|
1962
1962
|
};
|
|
1963
1963
|
|
|
1964
1964
|
if (includeInstance) {
|
|
@@ -2241,9 +2241,9 @@ proto.ondewo.nlu.DetectIntentResponse.prototype.toObject = function(opt_includeI
|
|
|
2241
2241
|
*/
|
|
2242
2242
|
proto.ondewo.nlu.DetectIntentResponse.toObject = function(includeInstance, msg) {
|
|
2243
2243
|
var f, obj = {
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
|
|
2244
|
+
responseId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
2245
|
+
queryResult: (f = msg.getQueryResult()) && proto.ondewo.nlu.QueryResult.toObject(includeInstance, f),
|
|
2246
|
+
webhookStatus: (f = msg.getWebhookStatus()) && google_rpc_status_pb.Status.toObject(includeInstance, f)
|
|
2247
2247
|
};
|
|
2248
2248
|
|
|
2249
2249
|
if (includeInstance) {
|
|
@@ -2480,20 +2480,20 @@ proto.ondewo.nlu.QueryParameters.prototype.toObject = function(opt_includeInstan
|
|
|
2480
2480
|
*/
|
|
2481
2481
|
proto.ondewo.nlu.QueryParameters.toObject = function(includeInstance, msg) {
|
|
2482
2482
|
var f, obj = {
|
|
2483
|
-
|
|
2484
|
-
|
|
2485
|
-
|
|
2483
|
+
timeZone: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
2484
|
+
geoLocation: (f = msg.getGeoLocation()) && google_type_latlng_pb.LatLng.toObject(includeInstance, f),
|
|
2485
|
+
contextsList: jspb.Message.toObjectList(msg.getContextsList(),
|
|
2486
2486
|
ondewo_nlu_context_pb.Context.toObject, includeInstance),
|
|
2487
|
-
|
|
2488
|
-
|
|
2489
|
-
|
|
2490
|
-
|
|
2491
|
-
|
|
2492
|
-
|
|
2493
|
-
|
|
2494
|
-
|
|
2495
|
-
|
|
2496
|
-
|
|
2487
|
+
resetContexts: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
|
|
2488
|
+
payload: (f = msg.getPayload()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
|
|
2489
|
+
labelsList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f,
|
|
2490
|
+
platformsList: (f = jspb.Message.getRepeatedField(msg, 8)) == null ? undefined : f,
|
|
2491
|
+
accountId: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
2492
|
+
propertyId: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
2493
|
+
datastreamId: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
2494
|
+
originId: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
2495
|
+
identifiedUserId: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
2496
|
+
transcriptionsList: jspb.Message.toObjectList(msg.getTranscriptionsList(),
|
|
2497
2497
|
proto.ondewo.nlu.S2tTranscription.toObject, includeInstance)
|
|
2498
2498
|
};
|
|
2499
2499
|
|
|
@@ -3098,18 +3098,18 @@ proto.ondewo.nlu.S2tTranscription.prototype.toObject = function(opt_includeInsta
|
|
|
3098
3098
|
*/
|
|
3099
3099
|
proto.ondewo.nlu.S2tTranscription.toObject = function(includeInstance, msg) {
|
|
3100
3100
|
var f, obj = {
|
|
3101
|
-
|
|
3102
|
-
|
|
3103
|
-
|
|
3104
|
-
|
|
3105
|
-
|
|
3106
|
-
|
|
3107
|
-
|
|
3108
|
-
|
|
3109
|
-
|
|
3110
|
-
|
|
3111
|
-
|
|
3112
|
-
|
|
3101
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
3102
|
+
text: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
3103
|
+
score: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
|
|
3104
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
3105
|
+
audioResourceName: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
3106
|
+
pipelineId: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
3107
|
+
durationInS: jspb.Message.getFloatingPointFieldWithDefault(msg, 7, 0.0),
|
|
3108
|
+
transcriptionType: jspb.Message.getFieldWithDefault(msg, 8, 0),
|
|
3109
|
+
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
3110
|
+
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
3111
|
+
createdBy: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
3112
|
+
modifiedBy: jspb.Message.getFieldWithDefault(msg, 12, "")
|
|
3113
3113
|
};
|
|
3114
3114
|
|
|
3115
3115
|
if (includeInstance) {
|
|
@@ -3634,10 +3634,10 @@ proto.ondewo.nlu.QueryInput.prototype.toObject = function(opt_includeInstance) {
|
|
|
3634
3634
|
*/
|
|
3635
3635
|
proto.ondewo.nlu.QueryInput.toObject = function(includeInstance, msg) {
|
|
3636
3636
|
var f, obj = {
|
|
3637
|
-
|
|
3638
|
-
|
|
3639
|
-
|
|
3640
|
-
|
|
3637
|
+
audioConfig: (f = msg.getAudioConfig()) && proto.ondewo.nlu.InputAudioConfig.toObject(includeInstance, f),
|
|
3638
|
+
text: (f = msg.getText()) && proto.ondewo.nlu.TextInput.toObject(includeInstance, f),
|
|
3639
|
+
event: (f = msg.getEvent()) && proto.ondewo.nlu.EventInput.toObject(includeInstance, f),
|
|
3640
|
+
fileResourcesList: jspb.Message.toObjectList(msg.getFileResourcesList(),
|
|
3641
3641
|
proto.ondewo.nlu.FileResource.toObject, includeInstance)
|
|
3642
3642
|
};
|
|
3643
3643
|
|
|
@@ -3947,24 +3947,24 @@ proto.ondewo.nlu.QueryResult.prototype.toObject = function(opt_includeInstance)
|
|
|
3947
3947
|
*/
|
|
3948
3948
|
proto.ondewo.nlu.QueryResult.toObject = function(includeInstance, msg) {
|
|
3949
3949
|
var f, obj = {
|
|
3950
|
-
|
|
3951
|
-
|
|
3952
|
-
|
|
3953
|
-
|
|
3954
|
-
|
|
3955
|
-
|
|
3956
|
-
|
|
3950
|
+
queryText: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
3951
|
+
speechRecognitionConfidence: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0),
|
|
3952
|
+
action: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
3953
|
+
parameters: (f = msg.getParameters()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
|
|
3954
|
+
allRequiredParamsPresent: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
|
|
3955
|
+
fulfillmentText: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
3956
|
+
fulfillmentMessagesList: jspb.Message.toObjectList(msg.getFulfillmentMessagesList(),
|
|
3957
3957
|
ondewo_nlu_intent_pb.Intent.Message.toObject, includeInstance),
|
|
3958
|
-
|
|
3959
|
-
|
|
3960
|
-
|
|
3958
|
+
webhookSource: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
3959
|
+
webhookPayload: (f = msg.getWebhookPayload()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
|
|
3960
|
+
outputContextsList: jspb.Message.toObjectList(msg.getOutputContextsList(),
|
|
3961
3961
|
ondewo_nlu_context_pb.Context.toObject, includeInstance),
|
|
3962
|
-
|
|
3963
|
-
|
|
3964
|
-
|
|
3965
|
-
|
|
3966
|
-
|
|
3967
|
-
|
|
3962
|
+
intent: (f = msg.getIntent()) && ondewo_nlu_intent_pb.Intent.toObject(includeInstance, f),
|
|
3963
|
+
intentDetectionConfidence: jspb.Message.getFloatingPointFieldWithDefault(msg, 12, 0.0),
|
|
3964
|
+
queryTextOriginal: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
3965
|
+
diagnosticInfo: (f = msg.getDiagnosticInfo()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
|
|
3966
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
3967
|
+
fileResourcesList: jspb.Message.toObjectList(msg.getFileResourcesList(),
|
|
3968
3968
|
proto.ondewo.nlu.FileResource.toObject, includeInstance)
|
|
3969
3969
|
};
|
|
3970
3970
|
|
|
@@ -4680,11 +4680,11 @@ proto.ondewo.nlu.StreamingDetectIntentRequest.prototype.toObject = function(opt_
|
|
|
4680
4680
|
*/
|
|
4681
4681
|
proto.ondewo.nlu.StreamingDetectIntentRequest.toObject = function(includeInstance, msg) {
|
|
4682
4682
|
var f, obj = {
|
|
4683
|
-
|
|
4684
|
-
|
|
4685
|
-
|
|
4686
|
-
|
|
4687
|
-
|
|
4683
|
+
session: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
4684
|
+
queryParams: (f = msg.getQueryParams()) && proto.ondewo.nlu.QueryParameters.toObject(includeInstance, f),
|
|
4685
|
+
queryInput: (f = msg.getQueryInput()) && proto.ondewo.nlu.QueryInput.toObject(includeInstance, f),
|
|
4686
|
+
singleUtterance: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
|
|
4687
|
+
inputAudio: msg.getInputAudio_asB64()
|
|
4688
4688
|
};
|
|
4689
4689
|
|
|
4690
4690
|
if (includeInstance) {
|
|
@@ -4996,10 +4996,10 @@ proto.ondewo.nlu.StreamingDetectIntentResponse.prototype.toObject = function(opt
|
|
|
4996
4996
|
*/
|
|
4997
4997
|
proto.ondewo.nlu.StreamingDetectIntentResponse.toObject = function(includeInstance, msg) {
|
|
4998
4998
|
var f, obj = {
|
|
4999
|
-
|
|
5000
|
-
|
|
5001
|
-
|
|
5002
|
-
|
|
4999
|
+
responseId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
5000
|
+
recognitionResult: (f = msg.getRecognitionResult()) && proto.ondewo.nlu.StreamingRecognitionResult.toObject(includeInstance, f),
|
|
5001
|
+
queryResult: (f = msg.getQueryResult()) && proto.ondewo.nlu.QueryResult.toObject(includeInstance, f),
|
|
5002
|
+
webhookStatus: (f = msg.getWebhookStatus()) && google_rpc_status_pb.Status.toObject(includeInstance, f)
|
|
5003
5003
|
};
|
|
5004
5004
|
|
|
5005
5005
|
if (includeInstance) {
|
|
@@ -5279,10 +5279,10 @@ proto.ondewo.nlu.StreamingRecognitionResult.prototype.toObject = function(opt_in
|
|
|
5279
5279
|
*/
|
|
5280
5280
|
proto.ondewo.nlu.StreamingRecognitionResult.toObject = function(includeInstance, msg) {
|
|
5281
5281
|
var f, obj = {
|
|
5282
|
-
|
|
5283
|
-
|
|
5284
|
-
|
|
5285
|
-
|
|
5282
|
+
messageType: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
5283
|
+
transcript: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
5284
|
+
isFinal: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
|
|
5285
|
+
confidence: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0)
|
|
5286
5286
|
};
|
|
5287
5287
|
|
|
5288
5288
|
if (includeInstance) {
|
|
@@ -5515,10 +5515,10 @@ proto.ondewo.nlu.InputAudioConfig.prototype.toObject = function(opt_includeInsta
|
|
|
5515
5515
|
*/
|
|
5516
5516
|
proto.ondewo.nlu.InputAudioConfig.toObject = function(includeInstance, msg) {
|
|
5517
5517
|
var f, obj = {
|
|
5518
|
-
|
|
5519
|
-
|
|
5520
|
-
|
|
5521
|
-
|
|
5518
|
+
audioEncoding: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
5519
|
+
sampleRateHertz: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
5520
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
5521
|
+
phraseHintsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f
|
|
5522
5522
|
};
|
|
5523
5523
|
|
|
5524
5524
|
if (includeInstance) {
|
|
@@ -5754,8 +5754,8 @@ proto.ondewo.nlu.TextInput.prototype.toObject = function(opt_includeInstance) {
|
|
|
5754
5754
|
*/
|
|
5755
5755
|
proto.ondewo.nlu.TextInput.toObject = function(includeInstance, msg) {
|
|
5756
5756
|
var f, obj = {
|
|
5757
|
-
|
|
5758
|
-
|
|
5757
|
+
text: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
5758
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
5759
5759
|
};
|
|
5760
5760
|
|
|
5761
5761
|
if (includeInstance) {
|
|
@@ -5914,9 +5914,9 @@ proto.ondewo.nlu.EventInput.prototype.toObject = function(opt_includeInstance) {
|
|
|
5914
5914
|
*/
|
|
5915
5915
|
proto.ondewo.nlu.EventInput.toObject = function(includeInstance, msg) {
|
|
5916
5916
|
var f, obj = {
|
|
5917
|
-
|
|
5918
|
-
|
|
5919
|
-
|
|
5917
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
5918
|
+
parameters: (f = msg.getParameters()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
|
|
5919
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
5920
5920
|
};
|
|
5921
5921
|
|
|
5922
5922
|
if (includeInstance) {
|
|
@@ -6132,14 +6132,14 @@ proto.ondewo.nlu.Session.prototype.toObject = function(opt_includeInstance) {
|
|
|
6132
6132
|
*/
|
|
6133
6133
|
proto.ondewo.nlu.Session.toObject = function(includeInstance, msg) {
|
|
6134
6134
|
var f, obj = {
|
|
6135
|
-
|
|
6136
|
-
|
|
6135
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
6136
|
+
sessionStepsList: jspb.Message.toObjectList(msg.getSessionStepsList(),
|
|
6137
6137
|
proto.ondewo.nlu.SessionStep.toObject, includeInstance),
|
|
6138
|
-
|
|
6139
|
-
|
|
6140
|
-
|
|
6141
|
-
|
|
6142
|
-
|
|
6138
|
+
sessionInfo: (f = msg.getSessionInfo()) && proto.ondewo.nlu.SessionInfo.toObject(includeInstance, f),
|
|
6139
|
+
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
6140
|
+
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
6141
|
+
createdBy: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
6142
|
+
modifiedBy: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
6143
6143
|
};
|
|
6144
6144
|
|
|
6145
6145
|
if (includeInstance) {
|
|
@@ -6544,17 +6544,17 @@ proto.ondewo.nlu.SessionStep.prototype.toObject = function(opt_includeInstance)
|
|
|
6544
6544
|
*/
|
|
6545
6545
|
proto.ondewo.nlu.SessionStep.toObject = function(includeInstance, msg) {
|
|
6546
6546
|
var f, obj = {
|
|
6547
|
-
|
|
6548
|
-
|
|
6549
|
-
|
|
6550
|
-
|
|
6547
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
6548
|
+
detectIntentRequest: (f = msg.getDetectIntentRequest()) && proto.ondewo.nlu.DetectIntentRequest.toObject(includeInstance, f),
|
|
6549
|
+
detectIntentResponse: (f = msg.getDetectIntentResponse()) && proto.ondewo.nlu.DetectIntentResponse.toObject(includeInstance, f),
|
|
6550
|
+
contextsList: jspb.Message.toObjectList(msg.getContextsList(),
|
|
6551
6551
|
ondewo_nlu_context_pb.Context.toObject, includeInstance),
|
|
6552
|
-
|
|
6553
|
-
|
|
6554
|
-
|
|
6555
|
-
|
|
6556
|
-
|
|
6557
|
-
|
|
6552
|
+
timestamp: (f = msg.getTimestamp()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
6553
|
+
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
6554
|
+
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
6555
|
+
createdBy: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
6556
|
+
modifiedBy: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
6557
|
+
audioFileResourcesList: jspb.Message.toObjectList(msg.getAudioFileResourcesList(),
|
|
6558
6558
|
proto.ondewo.nlu.AudioFileResource.toObject, includeInstance)
|
|
6559
6559
|
};
|
|
6560
6560
|
|
|
@@ -7095,8 +7095,8 @@ proto.ondewo.nlu.GetSessionStepRequest.prototype.toObject = function(opt_include
|
|
|
7095
7095
|
*/
|
|
7096
7096
|
proto.ondewo.nlu.GetSessionStepRequest.toObject = function(includeInstance, msg) {
|
|
7097
7097
|
var f, obj = {
|
|
7098
|
-
|
|
7099
|
-
|
|
7098
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
7099
|
+
fieldMask: (f = msg.getFieldMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f)
|
|
7100
7100
|
};
|
|
7101
7101
|
|
|
7102
7102
|
if (includeInstance) {
|
|
@@ -7276,9 +7276,9 @@ proto.ondewo.nlu.UpdateSessionStepRequest.prototype.toObject = function(opt_incl
|
|
|
7276
7276
|
*/
|
|
7277
7277
|
proto.ondewo.nlu.UpdateSessionStepRequest.toObject = function(includeInstance, msg) {
|
|
7278
7278
|
var f, obj = {
|
|
7279
|
-
|
|
7280
|
-
|
|
7281
|
-
|
|
7279
|
+
sessionStep: (f = msg.getSessionStep()) && proto.ondewo.nlu.SessionStep.toObject(includeInstance, f),
|
|
7280
|
+
updateMask: (f = msg.getUpdateMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f),
|
|
7281
|
+
fieldMask: (f = msg.getFieldMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f)
|
|
7282
7282
|
};
|
|
7283
7283
|
|
|
7284
7284
|
if (includeInstance) {
|
|
@@ -7529,7 +7529,7 @@ proto.ondewo.nlu.DeleteSessionStepRequest.prototype.toObject = function(opt_incl
|
|
|
7529
7529
|
*/
|
|
7530
7530
|
proto.ondewo.nlu.DeleteSessionStepRequest.toObject = function(includeInstance, msg) {
|
|
7531
7531
|
var f, obj = {
|
|
7532
|
-
|
|
7532
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
7533
7533
|
};
|
|
7534
7534
|
|
|
7535
7535
|
if (includeInstance) {
|
|
@@ -7659,9 +7659,9 @@ proto.ondewo.nlu.CreateSessionStepRequest.prototype.toObject = function(opt_incl
|
|
|
7659
7659
|
*/
|
|
7660
7660
|
proto.ondewo.nlu.CreateSessionStepRequest.toObject = function(includeInstance, msg) {
|
|
7661
7661
|
var f, obj = {
|
|
7662
|
-
|
|
7663
|
-
|
|
7664
|
-
|
|
7662
|
+
sessionId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
7663
|
+
sessionStep: (f = msg.getSessionStep()) && proto.ondewo.nlu.SessionStep.toObject(includeInstance, f),
|
|
7664
|
+
fieldMask: (f = msg.getFieldMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f)
|
|
7665
7665
|
};
|
|
7666
7666
|
|
|
7667
7667
|
if (includeInstance) {
|
|
@@ -7891,11 +7891,11 @@ proto.ondewo.nlu.ListSessionsRequest.prototype.toObject = function(opt_includeIn
|
|
|
7891
7891
|
*/
|
|
7892
7892
|
proto.ondewo.nlu.ListSessionsRequest.toObject = function(includeInstance, msg) {
|
|
7893
7893
|
var f, obj = {
|
|
7894
|
-
|
|
7895
|
-
|
|
7896
|
-
|
|
7897
|
-
|
|
7898
|
-
|
|
7894
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
7895
|
+
sessionView: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
7896
|
+
pageToken: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
7897
|
+
sessionFilter: (f = msg.getSessionFilter()) && proto.ondewo.nlu.SessionFilter.toObject(includeInstance, f),
|
|
7898
|
+
fieldMask: (f = msg.getFieldMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f)
|
|
7899
7899
|
};
|
|
7900
7900
|
|
|
7901
7901
|
if (includeInstance) {
|
|
@@ -8183,10 +8183,10 @@ proto.ondewo.nlu.ContextFilter.prototype.toObject = function(opt_includeInstance
|
|
|
8183
8183
|
*/
|
|
8184
8184
|
proto.ondewo.nlu.ContextFilter.toObject = function(includeInstance, msg) {
|
|
8185
8185
|
var f, obj = {
|
|
8186
|
-
|
|
8187
|
-
|
|
8188
|
-
|
|
8189
|
-
|
|
8186
|
+
contextName: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
8187
|
+
key: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
8188
|
+
value: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
8189
|
+
operator: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
8190
8190
|
};
|
|
8191
8191
|
|
|
8192
8192
|
if (includeInstance) {
|
|
@@ -8410,59 +8410,59 @@ proto.ondewo.nlu.SessionFilter.prototype.toObject = function(opt_includeInstance
|
|
|
8410
8410
|
*/
|
|
8411
8411
|
proto.ondewo.nlu.SessionFilter.toObject = function(includeInstance, msg) {
|
|
8412
8412
|
var f, obj = {
|
|
8413
|
-
|
|
8414
|
-
|
|
8413
|
+
languageCodesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
|
8414
|
+
matchedIntentsList: jspb.Message.toObjectList(msg.getMatchedIntentsList(),
|
|
8415
8415
|
ondewo_nlu_intent_pb.Intent.toObject, includeInstance),
|
|
8416
|
-
|
|
8416
|
+
matchedEntityTypesList: jspb.Message.toObjectList(msg.getMatchedEntityTypesList(),
|
|
8417
8417
|
ondewo_nlu_entity_type_pb.EntityType.toObject, includeInstance),
|
|
8418
|
-
|
|
8419
|
-
|
|
8420
|
-
|
|
8421
|
-
|
|
8422
|
-
|
|
8423
|
-
|
|
8424
|
-
|
|
8425
|
-
|
|
8426
|
-
|
|
8427
|
-
|
|
8428
|
-
|
|
8429
|
-
|
|
8430
|
-
|
|
8418
|
+
minIntentsConfidenceMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
|
|
8419
|
+
minIntentsConfidenceMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
|
|
8420
|
+
minEntityTypesConfidenceMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
|
|
8421
|
+
minEntityTypesConfidenceMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 7, 0.0),
|
|
8422
|
+
earliest: jspb.Message.getFloatingPointFieldWithDefault(msg, 8, 0.0),
|
|
8423
|
+
latest: jspb.Message.getFloatingPointFieldWithDefault(msg, 9, 0.0),
|
|
8424
|
+
minNumberTurns: jspb.Message.getFieldWithDefault(msg, 10, 0),
|
|
8425
|
+
maxNumberTurns: jspb.Message.getFieldWithDefault(msg, 11, 0),
|
|
8426
|
+
labelsList: (f = jspb.Message.getRepeatedField(msg, 12)) == null ? undefined : f,
|
|
8427
|
+
userIdsList: (f = jspb.Message.getRepeatedField(msg, 13)) == null ? undefined : f,
|
|
8428
|
+
intentTagsList: (f = jspb.Message.getRepeatedField(msg, 14)) == null ? undefined : f,
|
|
8429
|
+
sessionIdsList: (f = jspb.Message.getRepeatedField(msg, 15)) == null ? undefined : f,
|
|
8430
|
+
inputContextsList: jspb.Message.toObjectList(msg.getInputContextsList(),
|
|
8431
8431
|
ondewo_nlu_context_pb.Context.toObject, includeInstance),
|
|
8432
|
-
|
|
8432
|
+
outputContextsList: jspb.Message.toObjectList(msg.getOutputContextsList(),
|
|
8433
8433
|
ondewo_nlu_context_pb.Context.toObject, includeInstance),
|
|
8434
|
-
|
|
8435
|
-
|
|
8436
|
-
|
|
8437
|
-
|
|
8438
|
-
|
|
8439
|
-
|
|
8440
|
-
|
|
8441
|
-
|
|
8442
|
-
|
|
8443
|
-
|
|
8444
|
-
|
|
8445
|
-
|
|
8446
|
-
|
|
8447
|
-
|
|
8448
|
-
|
|
8449
|
-
|
|
8450
|
-
|
|
8451
|
-
|
|
8452
|
-
|
|
8453
|
-
|
|
8454
|
-
|
|
8455
|
-
|
|
8456
|
-
|
|
8457
|
-
|
|
8458
|
-
|
|
8459
|
-
|
|
8460
|
-
|
|
8461
|
-
|
|
8462
|
-
|
|
8463
|
-
|
|
8464
|
-
|
|
8465
|
-
|
|
8434
|
+
durationInSMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 18, 0.0),
|
|
8435
|
+
durationInSMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 19, 0.0),
|
|
8436
|
+
durationInMMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 20, 0.0),
|
|
8437
|
+
durationInMMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 21, 0.0),
|
|
8438
|
+
durationInMRoundedMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 22, 0.0),
|
|
8439
|
+
durationInMRoundedMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 23, 0.0),
|
|
8440
|
+
durationInterval15sRoundedMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 24, 0.0),
|
|
8441
|
+
durationInterval15sRoundedMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 25, 0.0),
|
|
8442
|
+
durationInterval30sRoundedMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 26, 0.0),
|
|
8443
|
+
durationInterval30sRoundedMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 27, 0.0),
|
|
8444
|
+
durationInterval45sRoundedMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 28, 0.0),
|
|
8445
|
+
durationInterval45sRoundedMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 29, 0.0),
|
|
8446
|
+
startedTimeSlotPerHourMin: jspb.Message.getFieldWithDefault(msg, 30, ""),
|
|
8447
|
+
startedTimeSlotPerHourMax: jspb.Message.getFieldWithDefault(msg, 31, ""),
|
|
8448
|
+
startedTimeSlotPerQuarterHourMin: jspb.Message.getFieldWithDefault(msg, 32, ""),
|
|
8449
|
+
startedTimeSlotPerQuarterHourMax: jspb.Message.getFieldWithDefault(msg, 33, ""),
|
|
8450
|
+
startedTimeSlotPerHalfHourMin: jspb.Message.getFieldWithDefault(msg, 34, ""),
|
|
8451
|
+
startedTimeSlotPerHalfHourMax: jspb.Message.getFieldWithDefault(msg, 35, ""),
|
|
8452
|
+
startedTimeSlotPerDayPhaseMin: jspb.Message.getFieldWithDefault(msg, 36, ""),
|
|
8453
|
+
startedTimeSlotPerDayPhaseMax: jspb.Message.getFieldWithDefault(msg, 37, ""),
|
|
8454
|
+
startedTimeSlotPerMinuteMin: jspb.Message.getFieldWithDefault(msg, 38, ""),
|
|
8455
|
+
startedTimeSlotPerMinuteMax: jspb.Message.getFieldWithDefault(msg, 39, ""),
|
|
8456
|
+
durationInSRoundedMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 40, 0.0),
|
|
8457
|
+
durationInSRoundedMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 41, 0.0),
|
|
8458
|
+
platformsList: (f = jspb.Message.getRepeatedField(msg, 42)) == null ? undefined : f,
|
|
8459
|
+
accountIdsList: (f = jspb.Message.getRepeatedField(msg, 43)) == null ? undefined : f,
|
|
8460
|
+
propertyIdsList: (f = jspb.Message.getRepeatedField(msg, 44)) == null ? undefined : f,
|
|
8461
|
+
datastreamIdsList: (f = jspb.Message.getRepeatedField(msg, 45)) == null ? undefined : f,
|
|
8462
|
+
originIdsList: (f = jspb.Message.getRepeatedField(msg, 46)) == null ? undefined : f,
|
|
8463
|
+
identifiedUserIdsList: (f = jspb.Message.getRepeatedField(msg, 47)) == null ? undefined : f,
|
|
8464
|
+
durationInterval60sRoundedMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 48, 0.0),
|
|
8465
|
+
durationInterval60sRoundedMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 49, 0.0)
|
|
8466
8466
|
};
|
|
8467
8467
|
|
|
8468
8468
|
if (includeInstance) {
|
|
@@ -10290,43 +10290,43 @@ proto.ondewo.nlu.SessionInfo.prototype.toObject = function(opt_includeInstance)
|
|
|
10290
10290
|
*/
|
|
10291
10291
|
proto.ondewo.nlu.SessionInfo.toObject = function(includeInstance, msg) {
|
|
10292
10292
|
var f, obj = {
|
|
10293
|
-
|
|
10294
|
-
|
|
10293
|
+
languageCodesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
|
10294
|
+
matchedIntentsList: jspb.Message.toObjectList(msg.getMatchedIntentsList(),
|
|
10295
10295
|
ondewo_nlu_intent_pb.Intent.toObject, includeInstance),
|
|
10296
|
-
|
|
10296
|
+
matchedEntityTypesList: jspb.Message.toObjectList(msg.getMatchedEntityTypesList(),
|
|
10297
10297
|
ondewo_nlu_entity_type_pb.EntityType.toObject, includeInstance),
|
|
10298
|
-
|
|
10299
|
-
|
|
10300
|
-
|
|
10301
|
-
|
|
10302
|
-
|
|
10303
|
-
|
|
10304
|
-
|
|
10305
|
-
|
|
10306
|
-
|
|
10298
|
+
minIntentsConfidence: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
|
|
10299
|
+
minEntityTypesConfidence: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
|
|
10300
|
+
earliest: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
|
|
10301
|
+
latest: jspb.Message.getFloatingPointFieldWithDefault(msg, 7, 0.0),
|
|
10302
|
+
numberTurns: jspb.Message.getFieldWithDefault(msg, 8, 0),
|
|
10303
|
+
labelsList: (f = jspb.Message.getRepeatedField(msg, 9)) == null ? undefined : f,
|
|
10304
|
+
userIdsList: (f = jspb.Message.getRepeatedField(msg, 10)) == null ? undefined : f,
|
|
10305
|
+
intentTagsList: (f = jspb.Message.getRepeatedField(msg, 11)) == null ? undefined : f,
|
|
10306
|
+
inputContextStepsList: jspb.Message.toObjectList(msg.getInputContextStepsList(),
|
|
10307
10307
|
proto.ondewo.nlu.SessionInfo.ContextSteps.toObject, includeInstance),
|
|
10308
|
-
|
|
10308
|
+
outputContextStepsList: jspb.Message.toObjectList(msg.getOutputContextStepsList(),
|
|
10309
10309
|
proto.ondewo.nlu.SessionInfo.ContextSteps.toObject, includeInstance),
|
|
10310
|
-
|
|
10311
|
-
|
|
10312
|
-
|
|
10313
|
-
|
|
10314
|
-
|
|
10315
|
-
|
|
10316
|
-
|
|
10317
|
-
|
|
10318
|
-
|
|
10319
|
-
|
|
10320
|
-
|
|
10321
|
-
|
|
10322
|
-
|
|
10323
|
-
|
|
10324
|
-
|
|
10325
|
-
|
|
10326
|
-
|
|
10327
|
-
|
|
10328
|
-
|
|
10329
|
-
|
|
10310
|
+
durationInS: jspb.Message.getFloatingPointFieldWithDefault(msg, 14, 0.0),
|
|
10311
|
+
durationInM: jspb.Message.getFloatingPointFieldWithDefault(msg, 15, 0.0),
|
|
10312
|
+
durationInMRounded: jspb.Message.getFloatingPointFieldWithDefault(msg, 16, 0.0),
|
|
10313
|
+
durationInterval15sRounded: jspb.Message.getFloatingPointFieldWithDefault(msg, 17, 0.0),
|
|
10314
|
+
durationInterval30sRounded: jspb.Message.getFloatingPointFieldWithDefault(msg, 18, 0.0),
|
|
10315
|
+
durationInterval45sRounded: jspb.Message.getFloatingPointFieldWithDefault(msg, 19, 0.0),
|
|
10316
|
+
startedTimeSlotPerHour: jspb.Message.getFieldWithDefault(msg, 20, ""),
|
|
10317
|
+
startedTimeSlotPerQuarterHour: jspb.Message.getFieldWithDefault(msg, 21, ""),
|
|
10318
|
+
startedTimeSlotPerHalfHour: jspb.Message.getFieldWithDefault(msg, 22, ""),
|
|
10319
|
+
startedTimeSlotPerDayPhase: jspb.Message.getFieldWithDefault(msg, 23, ""),
|
|
10320
|
+
startedTimeSlotPerMinute: jspb.Message.getFieldWithDefault(msg, 24, ""),
|
|
10321
|
+
durationInSRounded: jspb.Message.getFloatingPointFieldWithDefault(msg, 25, 0.0),
|
|
10322
|
+
platformsList: (f = jspb.Message.getRepeatedField(msg, 26)) == null ? undefined : f,
|
|
10323
|
+
accountIdsList: (f = jspb.Message.getRepeatedField(msg, 27)) == null ? undefined : f,
|
|
10324
|
+
propertyIdsList: (f = jspb.Message.getRepeatedField(msg, 28)) == null ? undefined : f,
|
|
10325
|
+
datastreamIdsList: (f = jspb.Message.getRepeatedField(msg, 29)) == null ? undefined : f,
|
|
10326
|
+
originIdsList: (f = jspb.Message.getRepeatedField(msg, 30)) == null ? undefined : f,
|
|
10327
|
+
identifiedUserIdsList: (f = jspb.Message.getRepeatedField(msg, 31)) == null ? undefined : f,
|
|
10328
|
+
durationInterval60sRounded: jspb.Message.getFloatingPointFieldWithDefault(msg, 32, 0.0),
|
|
10329
|
+
parentCommentList: jspb.Message.toObjectList(msg.getParentCommentList(),
|
|
10330
10330
|
ondewo_nlu_common_pb.Comment.toObject, includeInstance)
|
|
10331
10331
|
};
|
|
10332
10332
|
|
|
@@ -10810,7 +10810,7 @@ proto.ondewo.nlu.SessionInfo.ContextSteps.prototype.toObject = function(opt_incl
|
|
|
10810
10810
|
*/
|
|
10811
10811
|
proto.ondewo.nlu.SessionInfo.ContextSteps.toObject = function(includeInstance, msg) {
|
|
10812
10812
|
var f, obj = {
|
|
10813
|
-
|
|
10813
|
+
contextsList: jspb.Message.toObjectList(msg.getContextsList(),
|
|
10814
10814
|
ondewo_nlu_context_pb.Context.toObject, includeInstance)
|
|
10815
10815
|
};
|
|
10816
10816
|
|
|
@@ -11854,9 +11854,9 @@ proto.ondewo.nlu.ListSessionsResponse.prototype.toObject = function(opt_includeI
|
|
|
11854
11854
|
*/
|
|
11855
11855
|
proto.ondewo.nlu.ListSessionsResponse.toObject = function(includeInstance, msg) {
|
|
11856
11856
|
var f, obj = {
|
|
11857
|
-
|
|
11857
|
+
sessionsList: jspb.Message.toObjectList(msg.getSessionsList(),
|
|
11858
11858
|
proto.ondewo.nlu.Session.toObject, includeInstance),
|
|
11859
|
-
|
|
11859
|
+
nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
11860
11860
|
};
|
|
11861
11861
|
|
|
11862
11862
|
if (includeInstance) {
|
|
@@ -12037,9 +12037,9 @@ proto.ondewo.nlu.GetSessionRequest.prototype.toObject = function(opt_includeInst
|
|
|
12037
12037
|
*/
|
|
12038
12038
|
proto.ondewo.nlu.GetSessionRequest.toObject = function(includeInstance, msg) {
|
|
12039
12039
|
var f, obj = {
|
|
12040
|
-
|
|
12041
|
-
|
|
12042
|
-
|
|
12040
|
+
sessionId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
12041
|
+
sessionView: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
12042
|
+
fieldMask: (f = msg.getFieldMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f)
|
|
12043
12043
|
};
|
|
12044
12044
|
|
|
12045
12045
|
if (includeInstance) {
|
|
@@ -12255,10 +12255,10 @@ proto.ondewo.nlu.CreateSessionRequest.prototype.toObject = function(opt_includeI
|
|
|
12255
12255
|
*/
|
|
12256
12256
|
proto.ondewo.nlu.CreateSessionRequest.toObject = function(includeInstance, msg) {
|
|
12257
12257
|
var f, obj = {
|
|
12258
|
-
|
|
12259
|
-
|
|
12260
|
-
|
|
12261
|
-
|
|
12258
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
12259
|
+
sessionUuid: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
12260
|
+
labelsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
|
12261
|
+
contextsList: jspb.Message.toObjectList(msg.getContextsList(),
|
|
12262
12262
|
ondewo_nlu_context_pb.Context.toObject, includeInstance)
|
|
12263
12263
|
};
|
|
12264
12264
|
|
|
@@ -12517,7 +12517,7 @@ proto.ondewo.nlu.DeleteSessionRequest.prototype.toObject = function(opt_includeI
|
|
|
12517
12517
|
*/
|
|
12518
12518
|
proto.ondewo.nlu.DeleteSessionRequest.toObject = function(includeInstance, msg) {
|
|
12519
12519
|
var f, obj = {
|
|
12520
|
-
|
|
12520
|
+
sessionId: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
12521
12521
|
};
|
|
12522
12522
|
|
|
12523
12523
|
if (includeInstance) {
|
|
@@ -12647,10 +12647,10 @@ proto.ondewo.nlu.CreateSessionReviewRequest.prototype.toObject = function(opt_in
|
|
|
12647
12647
|
*/
|
|
12648
12648
|
proto.ondewo.nlu.CreateSessionReviewRequest.toObject = function(includeInstance, msg) {
|
|
12649
12649
|
var f, obj = {
|
|
12650
|
-
|
|
12651
|
-
|
|
12652
|
-
|
|
12653
|
-
|
|
12650
|
+
sessionId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
12651
|
+
parentReviewId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
12652
|
+
sessionReview: (f = msg.getSessionReview()) && proto.ondewo.nlu.SessionReview.toObject(includeInstance, f),
|
|
12653
|
+
sessionReviewView: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
12654
12654
|
};
|
|
12655
12655
|
|
|
12656
12656
|
if (includeInstance) {
|
|
@@ -12895,13 +12895,13 @@ proto.ondewo.nlu.SessionReview.prototype.toObject = function(opt_includeInstance
|
|
|
12895
12895
|
*/
|
|
12896
12896
|
proto.ondewo.nlu.SessionReview.toObject = function(includeInstance, msg) {
|
|
12897
12897
|
var f, obj = {
|
|
12898
|
-
|
|
12899
|
-
|
|
12898
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
12899
|
+
sessionReviewStepsList: jspb.Message.toObjectList(msg.getSessionReviewStepsList(),
|
|
12900
12900
|
proto.ondewo.nlu.SessionReviewStep.toObject, includeInstance),
|
|
12901
|
-
|
|
12902
|
-
|
|
12903
|
-
|
|
12904
|
-
|
|
12901
|
+
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
12902
|
+
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
12903
|
+
createdBy: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
12904
|
+
modifiedBy: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
12905
12905
|
};
|
|
12906
12906
|
|
|
12907
12907
|
if (includeInstance) {
|
|
@@ -13256,23 +13256,23 @@ proto.ondewo.nlu.SessionReviewStep.prototype.toObject = function(opt_includeInst
|
|
|
13256
13256
|
*/
|
|
13257
13257
|
proto.ondewo.nlu.SessionReviewStep.toObject = function(includeInstance, msg) {
|
|
13258
13258
|
var f, obj = {
|
|
13259
|
-
|
|
13260
|
-
|
|
13261
|
-
|
|
13262
|
-
|
|
13259
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
13260
|
+
annotatedUsersays: (f = msg.getAnnotatedUsersays()) && ondewo_nlu_intent_pb.Intent.TrainingPhrase.toObject(includeInstance, f),
|
|
13261
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
13262
|
+
detectedIntentsList: jspb.Message.toObjectList(msg.getDetectedIntentsList(),
|
|
13263
13263
|
proto.ondewo.nlu.DetectedIntent.toObject, includeInstance),
|
|
13264
|
-
|
|
13264
|
+
contextsList: jspb.Message.toObjectList(msg.getContextsList(),
|
|
13265
13265
|
ondewo_nlu_context_pb.Context.toObject, includeInstance),
|
|
13266
|
-
|
|
13266
|
+
contextsOutList: jspb.Message.toObjectList(msg.getContextsOutList(),
|
|
13267
13267
|
ondewo_nlu_context_pb.Context.toObject, includeInstance),
|
|
13268
|
-
|
|
13269
|
-
|
|
13270
|
-
|
|
13271
|
-
|
|
13272
|
-
|
|
13273
|
-
|
|
13274
|
-
|
|
13275
|
-
|
|
13268
|
+
queryTextOriginal: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
13269
|
+
platformsList: (f = jspb.Message.getRepeatedField(msg, 8)) == null ? undefined : f,
|
|
13270
|
+
timestamp: (f = msg.getTimestamp()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
13271
|
+
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
13272
|
+
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
13273
|
+
createdBy: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
13274
|
+
modifiedBy: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
13275
|
+
audioFileResourcesList: jspb.Message.toObjectList(msg.getAudioFileResourcesList(),
|
|
13276
13276
|
proto.ondewo.nlu.AudioFileResource.toObject, includeInstance)
|
|
13277
13277
|
};
|
|
13278
13278
|
|
|
@@ -13980,12 +13980,12 @@ proto.ondewo.nlu.DetectedIntent.prototype.toObject = function(opt_includeInstanc
|
|
|
13980
13980
|
*/
|
|
13981
13981
|
proto.ondewo.nlu.DetectedIntent.toObject = function(includeInstance, msg) {
|
|
13982
13982
|
var f, obj = {
|
|
13983
|
-
|
|
13984
|
-
|
|
13985
|
-
|
|
13986
|
-
|
|
13983
|
+
intent: (f = msg.getIntent()) && ondewo_nlu_intent_pb.Intent.toObject(includeInstance, f),
|
|
13984
|
+
score: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0),
|
|
13985
|
+
algorithm: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
13986
|
+
fulfillmentMessagesList: jspb.Message.toObjectList(msg.getFulfillmentMessagesList(),
|
|
13987
13987
|
ondewo_nlu_intent_pb.Intent.Message.toObject, includeInstance),
|
|
13988
|
-
|
|
13988
|
+
requiredParamMissing: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
|
|
13989
13989
|
};
|
|
13990
13990
|
|
|
13991
13991
|
if (includeInstance) {
|
|
@@ -14274,7 +14274,7 @@ proto.ondewo.nlu.ListSessionLabelsRequest.prototype.toObject = function(opt_incl
|
|
|
14274
14274
|
*/
|
|
14275
14275
|
proto.ondewo.nlu.ListSessionLabelsRequest.toObject = function(includeInstance, msg) {
|
|
14276
14276
|
var f, obj = {
|
|
14277
|
-
|
|
14277
|
+
sessionId: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
14278
14278
|
};
|
|
14279
14279
|
|
|
14280
14280
|
if (includeInstance) {
|
|
@@ -14404,8 +14404,8 @@ proto.ondewo.nlu.ListSessionLabelsOfAllSessionsRequest.prototype.toObject = func
|
|
|
14404
14404
|
*/
|
|
14405
14405
|
proto.ondewo.nlu.ListSessionLabelsOfAllSessionsRequest.toObject = function(includeInstance, msg) {
|
|
14406
14406
|
var f, obj = {
|
|
14407
|
-
|
|
14408
|
-
|
|
14407
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
14408
|
+
sessionFilter: (f = msg.getSessionFilter()) && proto.ondewo.nlu.SessionFilter.toObject(includeInstance, f)
|
|
14409
14409
|
};
|
|
14410
14410
|
|
|
14411
14411
|
if (includeInstance) {
|
|
@@ -14592,7 +14592,7 @@ proto.ondewo.nlu.ListSessionLabelsResponse.prototype.toObject = function(opt_inc
|
|
|
14592
14592
|
*/
|
|
14593
14593
|
proto.ondewo.nlu.ListSessionLabelsResponse.toObject = function(includeInstance, msg) {
|
|
14594
14594
|
var f, obj = {
|
|
14595
|
-
|
|
14595
|
+
labelsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
|
|
14596
14596
|
};
|
|
14597
14597
|
|
|
14598
14598
|
if (includeInstance) {
|
|
@@ -14741,8 +14741,8 @@ proto.ondewo.nlu.ListLanguageCodesOfAllSessionsRequest.prototype.toObject = func
|
|
|
14741
14741
|
*/
|
|
14742
14742
|
proto.ondewo.nlu.ListLanguageCodesOfAllSessionsRequest.toObject = function(includeInstance, msg) {
|
|
14743
14743
|
var f, obj = {
|
|
14744
|
-
|
|
14745
|
-
|
|
14744
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
14745
|
+
sessionFilter: (f = msg.getSessionFilter()) && proto.ondewo.nlu.SessionFilter.toObject(includeInstance, f)
|
|
14746
14746
|
};
|
|
14747
14747
|
|
|
14748
14748
|
if (includeInstance) {
|
|
@@ -14929,7 +14929,7 @@ proto.ondewo.nlu.ListLanguageCodesResponse.prototype.toObject = function(opt_inc
|
|
|
14929
14929
|
*/
|
|
14930
14930
|
proto.ondewo.nlu.ListLanguageCodesResponse.toObject = function(includeInstance, msg) {
|
|
14931
14931
|
var f, obj = {
|
|
14932
|
-
|
|
14932
|
+
languageCodesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
|
|
14933
14933
|
};
|
|
14934
14934
|
|
|
14935
14935
|
if (includeInstance) {
|
|
@@ -15078,8 +15078,8 @@ proto.ondewo.nlu.ListMatchedIntentsOfAllSessionsRequest.prototype.toObject = fun
|
|
|
15078
15078
|
*/
|
|
15079
15079
|
proto.ondewo.nlu.ListMatchedIntentsOfAllSessionsRequest.toObject = function(includeInstance, msg) {
|
|
15080
15080
|
var f, obj = {
|
|
15081
|
-
|
|
15082
|
-
|
|
15081
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
15082
|
+
sessionFilter: (f = msg.getSessionFilter()) && proto.ondewo.nlu.SessionFilter.toObject(includeInstance, f)
|
|
15083
15083
|
};
|
|
15084
15084
|
|
|
15085
15085
|
if (includeInstance) {
|
|
@@ -15266,7 +15266,7 @@ proto.ondewo.nlu.ListMatchedIntentsResponse.prototype.toObject = function(opt_in
|
|
|
15266
15266
|
*/
|
|
15267
15267
|
proto.ondewo.nlu.ListMatchedIntentsResponse.toObject = function(includeInstance, msg) {
|
|
15268
15268
|
var f, obj = {
|
|
15269
|
-
|
|
15269
|
+
matchedIntentsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
|
|
15270
15270
|
};
|
|
15271
15271
|
|
|
15272
15272
|
if (includeInstance) {
|
|
@@ -15415,8 +15415,8 @@ proto.ondewo.nlu.ListMatchedEntityTypesOfAllSessionsRequest.prototype.toObject =
|
|
|
15415
15415
|
*/
|
|
15416
15416
|
proto.ondewo.nlu.ListMatchedEntityTypesOfAllSessionsRequest.toObject = function(includeInstance, msg) {
|
|
15417
15417
|
var f, obj = {
|
|
15418
|
-
|
|
15419
|
-
|
|
15418
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
15419
|
+
sessionFilter: (f = msg.getSessionFilter()) && proto.ondewo.nlu.SessionFilter.toObject(includeInstance, f)
|
|
15420
15420
|
};
|
|
15421
15421
|
|
|
15422
15422
|
if (includeInstance) {
|
|
@@ -15603,7 +15603,7 @@ proto.ondewo.nlu.ListMatchedEntityTypesResponse.prototype.toObject = function(op
|
|
|
15603
15603
|
*/
|
|
15604
15604
|
proto.ondewo.nlu.ListMatchedEntityTypesResponse.toObject = function(includeInstance, msg) {
|
|
15605
15605
|
var f, obj = {
|
|
15606
|
-
|
|
15606
|
+
matchedEntityTypesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
|
|
15607
15607
|
};
|
|
15608
15608
|
|
|
15609
15609
|
if (includeInstance) {
|
|
@@ -15752,8 +15752,8 @@ proto.ondewo.nlu.ListUserIdsOfAllSessionsRequest.prototype.toObject = function(o
|
|
|
15752
15752
|
*/
|
|
15753
15753
|
proto.ondewo.nlu.ListUserIdsOfAllSessionsRequest.toObject = function(includeInstance, msg) {
|
|
15754
15754
|
var f, obj = {
|
|
15755
|
-
|
|
15756
|
-
|
|
15755
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
15756
|
+
sessionFilter: (f = msg.getSessionFilter()) && proto.ondewo.nlu.SessionFilter.toObject(includeInstance, f)
|
|
15757
15757
|
};
|
|
15758
15758
|
|
|
15759
15759
|
if (includeInstance) {
|
|
@@ -15940,7 +15940,7 @@ proto.ondewo.nlu.ListUserIdsResponse.prototype.toObject = function(opt_includeIn
|
|
|
15940
15940
|
*/
|
|
15941
15941
|
proto.ondewo.nlu.ListUserIdsResponse.toObject = function(includeInstance, msg) {
|
|
15942
15942
|
var f, obj = {
|
|
15943
|
-
|
|
15943
|
+
userIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
|
|
15944
15944
|
};
|
|
15945
15945
|
|
|
15946
15946
|
if (includeInstance) {
|
|
@@ -16089,8 +16089,8 @@ proto.ondewo.nlu.ListIdentifiedUserIdsOfAllSessionsRequest.prototype.toObject =
|
|
|
16089
16089
|
*/
|
|
16090
16090
|
proto.ondewo.nlu.ListIdentifiedUserIdsOfAllSessionsRequest.toObject = function(includeInstance, msg) {
|
|
16091
16091
|
var f, obj = {
|
|
16092
|
-
|
|
16093
|
-
|
|
16092
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
16093
|
+
sessionFilter: (f = msg.getSessionFilter()) && proto.ondewo.nlu.SessionFilter.toObject(includeInstance, f)
|
|
16094
16094
|
};
|
|
16095
16095
|
|
|
16096
16096
|
if (includeInstance) {
|
|
@@ -16277,7 +16277,7 @@ proto.ondewo.nlu.ListIdentifiedUserIdsResponse.prototype.toObject = function(opt
|
|
|
16277
16277
|
*/
|
|
16278
16278
|
proto.ondewo.nlu.ListIdentifiedUserIdsResponse.toObject = function(includeInstance, msg) {
|
|
16279
16279
|
var f, obj = {
|
|
16280
|
-
|
|
16280
|
+
identifiedUserIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
|
|
16281
16281
|
};
|
|
16282
16282
|
|
|
16283
16283
|
if (includeInstance) {
|
|
@@ -16426,8 +16426,8 @@ proto.ondewo.nlu.ListTagsOfAllSessionsRequest.prototype.toObject = function(opt_
|
|
|
16426
16426
|
*/
|
|
16427
16427
|
proto.ondewo.nlu.ListTagsOfAllSessionsRequest.toObject = function(includeInstance, msg) {
|
|
16428
16428
|
var f, obj = {
|
|
16429
|
-
|
|
16430
|
-
|
|
16429
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
16430
|
+
sessionFilter: (f = msg.getSessionFilter()) && proto.ondewo.nlu.SessionFilter.toObject(includeInstance, f)
|
|
16431
16431
|
};
|
|
16432
16432
|
|
|
16433
16433
|
if (includeInstance) {
|
|
@@ -16614,7 +16614,7 @@ proto.ondewo.nlu.ListTagsResponse.prototype.toObject = function(opt_includeInsta
|
|
|
16614
16614
|
*/
|
|
16615
16615
|
proto.ondewo.nlu.ListTagsResponse.toObject = function(includeInstance, msg) {
|
|
16616
16616
|
var f, obj = {
|
|
16617
|
-
|
|
16617
|
+
tagsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
|
|
16618
16618
|
};
|
|
16619
16619
|
|
|
16620
16620
|
if (includeInstance) {
|
|
@@ -16763,8 +16763,8 @@ proto.ondewo.nlu.ListInputContextsOfAllSessionsRequest.prototype.toObject = func
|
|
|
16763
16763
|
*/
|
|
16764
16764
|
proto.ondewo.nlu.ListInputContextsOfAllSessionsRequest.toObject = function(includeInstance, msg) {
|
|
16765
16765
|
var f, obj = {
|
|
16766
|
-
|
|
16767
|
-
|
|
16766
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
16767
|
+
sessionFilter: (f = msg.getSessionFilter()) && proto.ondewo.nlu.SessionFilter.toObject(includeInstance, f)
|
|
16768
16768
|
};
|
|
16769
16769
|
|
|
16770
16770
|
if (includeInstance) {
|
|
@@ -16951,7 +16951,7 @@ proto.ondewo.nlu.ListInputContextsResponse.prototype.toObject = function(opt_inc
|
|
|
16951
16951
|
*/
|
|
16952
16952
|
proto.ondewo.nlu.ListInputContextsResponse.toObject = function(includeInstance, msg) {
|
|
16953
16953
|
var f, obj = {
|
|
16954
|
-
|
|
16954
|
+
inputContextsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
|
|
16955
16955
|
};
|
|
16956
16956
|
|
|
16957
16957
|
if (includeInstance) {
|
|
@@ -17100,8 +17100,8 @@ proto.ondewo.nlu.ListOutputContextsOfAllSessionsRequest.prototype.toObject = fun
|
|
|
17100
17100
|
*/
|
|
17101
17101
|
proto.ondewo.nlu.ListOutputContextsOfAllSessionsRequest.toObject = function(includeInstance, msg) {
|
|
17102
17102
|
var f, obj = {
|
|
17103
|
-
|
|
17104
|
-
|
|
17103
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
17104
|
+
sessionFilter: (f = msg.getSessionFilter()) && proto.ondewo.nlu.SessionFilter.toObject(includeInstance, f)
|
|
17105
17105
|
};
|
|
17106
17106
|
|
|
17107
17107
|
if (includeInstance) {
|
|
@@ -17288,7 +17288,7 @@ proto.ondewo.nlu.ListOutputContextsResponse.prototype.toObject = function(opt_in
|
|
|
17288
17288
|
*/
|
|
17289
17289
|
proto.ondewo.nlu.ListOutputContextsResponse.toObject = function(includeInstance, msg) {
|
|
17290
17290
|
var f, obj = {
|
|
17291
|
-
|
|
17291
|
+
outputContextsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
|
|
17292
17292
|
};
|
|
17293
17293
|
|
|
17294
17294
|
if (includeInstance) {
|
|
@@ -17437,8 +17437,8 @@ proto.ondewo.nlu.ListPlatformsOfAllSessionsRequest.prototype.toObject = function
|
|
|
17437
17437
|
*/
|
|
17438
17438
|
proto.ondewo.nlu.ListPlatformsOfAllSessionsRequest.toObject = function(includeInstance, msg) {
|
|
17439
17439
|
var f, obj = {
|
|
17440
|
-
|
|
17441
|
-
|
|
17440
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
17441
|
+
sessionFilter: (f = msg.getSessionFilter()) && proto.ondewo.nlu.SessionFilter.toObject(includeInstance, f)
|
|
17442
17442
|
};
|
|
17443
17443
|
|
|
17444
17444
|
if (includeInstance) {
|
|
@@ -17625,7 +17625,7 @@ proto.ondewo.nlu.ListPlatformsResponse.prototype.toObject = function(opt_include
|
|
|
17625
17625
|
*/
|
|
17626
17626
|
proto.ondewo.nlu.ListPlatformsResponse.toObject = function(includeInstance, msg) {
|
|
17627
17627
|
var f, obj = {
|
|
17628
|
-
|
|
17628
|
+
platformsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
|
|
17629
17629
|
};
|
|
17630
17630
|
|
|
17631
17631
|
if (includeInstance) {
|
|
@@ -17774,8 +17774,8 @@ proto.ondewo.nlu.ListAccountIdsOfAllSessionsRequest.prototype.toObject = functio
|
|
|
17774
17774
|
*/
|
|
17775
17775
|
proto.ondewo.nlu.ListAccountIdsOfAllSessionsRequest.toObject = function(includeInstance, msg) {
|
|
17776
17776
|
var f, obj = {
|
|
17777
|
-
|
|
17778
|
-
|
|
17777
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
17778
|
+
sessionFilter: (f = msg.getSessionFilter()) && proto.ondewo.nlu.SessionFilter.toObject(includeInstance, f)
|
|
17779
17779
|
};
|
|
17780
17780
|
|
|
17781
17781
|
if (includeInstance) {
|
|
@@ -17962,7 +17962,7 @@ proto.ondewo.nlu.ListAccountIdsResponse.prototype.toObject = function(opt_includ
|
|
|
17962
17962
|
*/
|
|
17963
17963
|
proto.ondewo.nlu.ListAccountIdsResponse.toObject = function(includeInstance, msg) {
|
|
17964
17964
|
var f, obj = {
|
|
17965
|
-
|
|
17965
|
+
accountIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
|
|
17966
17966
|
};
|
|
17967
17967
|
|
|
17968
17968
|
if (includeInstance) {
|
|
@@ -18111,8 +18111,8 @@ proto.ondewo.nlu.ListPropertyIdsOfAllSessionsRequest.prototype.toObject = functi
|
|
|
18111
18111
|
*/
|
|
18112
18112
|
proto.ondewo.nlu.ListPropertyIdsOfAllSessionsRequest.toObject = function(includeInstance, msg) {
|
|
18113
18113
|
var f, obj = {
|
|
18114
|
-
|
|
18115
|
-
|
|
18114
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
18115
|
+
sessionFilter: (f = msg.getSessionFilter()) && proto.ondewo.nlu.SessionFilter.toObject(includeInstance, f)
|
|
18116
18116
|
};
|
|
18117
18117
|
|
|
18118
18118
|
if (includeInstance) {
|
|
@@ -18299,7 +18299,7 @@ proto.ondewo.nlu.ListPropertyIdsResponse.prototype.toObject = function(opt_inclu
|
|
|
18299
18299
|
*/
|
|
18300
18300
|
proto.ondewo.nlu.ListPropertyIdsResponse.toObject = function(includeInstance, msg) {
|
|
18301
18301
|
var f, obj = {
|
|
18302
|
-
|
|
18302
|
+
propertyIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
|
|
18303
18303
|
};
|
|
18304
18304
|
|
|
18305
18305
|
if (includeInstance) {
|
|
@@ -18448,8 +18448,8 @@ proto.ondewo.nlu.ListDatastreamIdsOfAllSessionsRequest.prototype.toObject = func
|
|
|
18448
18448
|
*/
|
|
18449
18449
|
proto.ondewo.nlu.ListDatastreamIdsOfAllSessionsRequest.toObject = function(includeInstance, msg) {
|
|
18450
18450
|
var f, obj = {
|
|
18451
|
-
|
|
18452
|
-
|
|
18451
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
18452
|
+
sessionFilter: (f = msg.getSessionFilter()) && proto.ondewo.nlu.SessionFilter.toObject(includeInstance, f)
|
|
18453
18453
|
};
|
|
18454
18454
|
|
|
18455
18455
|
if (includeInstance) {
|
|
@@ -18636,7 +18636,7 @@ proto.ondewo.nlu.ListDatastreamIdsResponse.prototype.toObject = function(opt_inc
|
|
|
18636
18636
|
*/
|
|
18637
18637
|
proto.ondewo.nlu.ListDatastreamIdsResponse.toObject = function(includeInstance, msg) {
|
|
18638
18638
|
var f, obj = {
|
|
18639
|
-
|
|
18639
|
+
datastreamIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
|
|
18640
18640
|
};
|
|
18641
18641
|
|
|
18642
18642
|
if (includeInstance) {
|
|
@@ -18785,8 +18785,8 @@ proto.ondewo.nlu.ListOriginIdsOfAllSessionsRequest.prototype.toObject = function
|
|
|
18785
18785
|
*/
|
|
18786
18786
|
proto.ondewo.nlu.ListOriginIdsOfAllSessionsRequest.toObject = function(includeInstance, msg) {
|
|
18787
18787
|
var f, obj = {
|
|
18788
|
-
|
|
18789
|
-
|
|
18788
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
18789
|
+
sessionFilter: (f = msg.getSessionFilter()) && proto.ondewo.nlu.SessionFilter.toObject(includeInstance, f)
|
|
18790
18790
|
};
|
|
18791
18791
|
|
|
18792
18792
|
if (includeInstance) {
|
|
@@ -18973,7 +18973,7 @@ proto.ondewo.nlu.ListOriginIdsResponse.prototype.toObject = function(opt_include
|
|
|
18973
18973
|
*/
|
|
18974
18974
|
proto.ondewo.nlu.ListOriginIdsResponse.toObject = function(includeInstance, msg) {
|
|
18975
18975
|
var f, obj = {
|
|
18976
|
-
|
|
18976
|
+
originIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
|
|
18977
18977
|
};
|
|
18978
18978
|
|
|
18979
18979
|
if (includeInstance) {
|
|
@@ -19129,8 +19129,8 @@ proto.ondewo.nlu.AddSessionLabelsRequest.prototype.toObject = function(opt_inclu
|
|
|
19129
19129
|
*/
|
|
19130
19130
|
proto.ondewo.nlu.AddSessionLabelsRequest.toObject = function(includeInstance, msg) {
|
|
19131
19131
|
var f, obj = {
|
|
19132
|
-
|
|
19133
|
-
|
|
19132
|
+
sessionId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
19133
|
+
labelsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
|
|
19134
19134
|
};
|
|
19135
19135
|
|
|
19136
19136
|
if (includeInstance) {
|
|
@@ -19315,8 +19315,8 @@ proto.ondewo.nlu.DeleteSessionLabelsRequest.prototype.toObject = function(opt_in
|
|
|
19315
19315
|
*/
|
|
19316
19316
|
proto.ondewo.nlu.DeleteSessionLabelsRequest.toObject = function(includeInstance, msg) {
|
|
19317
19317
|
var f, obj = {
|
|
19318
|
-
|
|
19319
|
-
|
|
19318
|
+
sessionId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
19319
|
+
labelsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
|
|
19320
19320
|
};
|
|
19321
19321
|
|
|
19322
19322
|
if (includeInstance) {
|
|
@@ -19494,8 +19494,8 @@ proto.ondewo.nlu.AddSessionCommentRequest.prototype.toObject = function(opt_incl
|
|
|
19494
19494
|
*/
|
|
19495
19495
|
proto.ondewo.nlu.AddSessionCommentRequest.toObject = function(includeInstance, msg) {
|
|
19496
19496
|
var f, obj = {
|
|
19497
|
-
|
|
19498
|
-
|
|
19497
|
+
sessionId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
19498
|
+
comment: (f = msg.getComment()) && ondewo_nlu_common_pb.Comment.toObject(includeInstance, f)
|
|
19499
19499
|
};
|
|
19500
19500
|
|
|
19501
19501
|
if (includeInstance) {
|
|
@@ -19682,8 +19682,8 @@ proto.ondewo.nlu.DeleteSessionCommentsRequest.prototype.toObject = function(opt_
|
|
|
19682
19682
|
*/
|
|
19683
19683
|
proto.ondewo.nlu.DeleteSessionCommentsRequest.toObject = function(includeInstance, msg) {
|
|
19684
19684
|
var f, obj = {
|
|
19685
|
-
|
|
19686
|
-
|
|
19685
|
+
sessionId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
19686
|
+
commentNamesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
|
|
19687
19687
|
};
|
|
19688
19688
|
|
|
19689
19689
|
if (includeInstance) {
|
|
@@ -19861,8 +19861,8 @@ proto.ondewo.nlu.UpdateSessionCommentsRequest.prototype.toObject = function(opt_
|
|
|
19861
19861
|
*/
|
|
19862
19862
|
proto.ondewo.nlu.UpdateSessionCommentsRequest.toObject = function(includeInstance, msg) {
|
|
19863
19863
|
var f, obj = {
|
|
19864
|
-
|
|
19865
|
-
|
|
19864
|
+
sessionId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
19865
|
+
comment: (f = msg.getComment()) && ondewo_nlu_common_pb.Comment.toObject(includeInstance, f)
|
|
19866
19866
|
};
|
|
19867
19867
|
|
|
19868
19868
|
if (includeInstance) {
|
|
@@ -20042,8 +20042,8 @@ proto.ondewo.nlu.ListSessionCommentsRequest.prototype.toObject = function(opt_in
|
|
|
20042
20042
|
*/
|
|
20043
20043
|
proto.ondewo.nlu.ListSessionCommentsRequest.toObject = function(includeInstance, msg) {
|
|
20044
20044
|
var f, obj = {
|
|
20045
|
-
|
|
20046
|
-
|
|
20045
|
+
sessionId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
20046
|
+
pageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
20047
20047
|
};
|
|
20048
20048
|
|
|
20049
20049
|
if (includeInstance) {
|
|
@@ -20209,9 +20209,9 @@ proto.ondewo.nlu.ListSessionCommentsResponse.prototype.toObject = function(opt_i
|
|
|
20209
20209
|
*/
|
|
20210
20210
|
proto.ondewo.nlu.ListSessionCommentsResponse.toObject = function(includeInstance, msg) {
|
|
20211
20211
|
var f, obj = {
|
|
20212
|
-
|
|
20212
|
+
commentList: jspb.Message.toObjectList(msg.getCommentList(),
|
|
20213
20213
|
ondewo_nlu_common_pb.Comment.toObject, includeInstance),
|
|
20214
|
-
|
|
20214
|
+
pageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
20215
20215
|
};
|
|
20216
20216
|
|
|
20217
20217
|
if (includeInstance) {
|
|
@@ -20392,9 +20392,9 @@ proto.ondewo.nlu.ListSessionReviewsRequest.prototype.toObject = function(opt_inc
|
|
|
20392
20392
|
*/
|
|
20393
20393
|
proto.ondewo.nlu.ListSessionReviewsRequest.toObject = function(includeInstance, msg) {
|
|
20394
20394
|
var f, obj = {
|
|
20395
|
-
|
|
20396
|
-
|
|
20397
|
-
|
|
20395
|
+
sessionId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
20396
|
+
sessionReviewView: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
20397
|
+
pageToken: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
20398
20398
|
};
|
|
20399
20399
|
|
|
20400
20400
|
if (includeInstance) {
|
|
@@ -20589,9 +20589,9 @@ proto.ondewo.nlu.ListSessionReviewsResponse.prototype.toObject = function(opt_in
|
|
|
20589
20589
|
*/
|
|
20590
20590
|
proto.ondewo.nlu.ListSessionReviewsResponse.toObject = function(includeInstance, msg) {
|
|
20591
20591
|
var f, obj = {
|
|
20592
|
-
|
|
20592
|
+
sessionReviewsList: jspb.Message.toObjectList(msg.getSessionReviewsList(),
|
|
20593
20593
|
proto.ondewo.nlu.SessionReview.toObject, includeInstance),
|
|
20594
|
-
|
|
20594
|
+
nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
20595
20595
|
};
|
|
20596
20596
|
|
|
20597
20597
|
if (includeInstance) {
|
|
@@ -20772,8 +20772,8 @@ proto.ondewo.nlu.GetSessionReviewRequest.prototype.toObject = function(opt_inclu
|
|
|
20772
20772
|
*/
|
|
20773
20773
|
proto.ondewo.nlu.GetSessionReviewRequest.toObject = function(includeInstance, msg) {
|
|
20774
20774
|
var f, obj = {
|
|
20775
|
-
|
|
20776
|
-
|
|
20775
|
+
sessionReviewId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
20776
|
+
sessionReviewView: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
20777
20777
|
};
|
|
20778
20778
|
|
|
20779
20779
|
if (includeInstance) {
|
|
@@ -20932,8 +20932,8 @@ proto.ondewo.nlu.GetLatestSessionReviewRequest.prototype.toObject = function(opt
|
|
|
20932
20932
|
*/
|
|
20933
20933
|
proto.ondewo.nlu.GetLatestSessionReviewRequest.toObject = function(includeInstance, msg) {
|
|
20934
20934
|
var f, obj = {
|
|
20935
|
-
|
|
20936
|
-
|
|
20935
|
+
sessionId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
20936
|
+
sessionReviewView: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
20937
20937
|
};
|
|
20938
20938
|
|
|
20939
20939
|
if (includeInstance) {
|
|
@@ -21120,10 +21120,10 @@ proto.ondewo.nlu.FileResource.prototype.toObject = function(opt_includeInstance)
|
|
|
21120
21120
|
*/
|
|
21121
21121
|
proto.ondewo.nlu.FileResource.toObject = function(includeInstance, msg) {
|
|
21122
21122
|
var f, obj = {
|
|
21123
|
-
|
|
21124
|
-
|
|
21125
|
-
|
|
21126
|
-
|
|
21123
|
+
documentFileResource: (f = msg.getDocumentFileResource()) && proto.ondewo.nlu.DocumentFileResource.toObject(includeInstance, f),
|
|
21124
|
+
audioFileResource: (f = msg.getAudioFileResource()) && proto.ondewo.nlu.AudioFileResource.toObject(includeInstance, f),
|
|
21125
|
+
imageFileResource: (f = msg.getImageFileResource()) && proto.ondewo.nlu.ImageFileResource.toObject(includeInstance, f),
|
|
21126
|
+
videoFileResource: (f = msg.getVideoFileResource()) && proto.ondewo.nlu.VideoFileResource.toObject(includeInstance, f)
|
|
21127
21127
|
};
|
|
21128
21128
|
|
|
21129
21129
|
if (includeInstance) {
|
|
@@ -21424,13 +21424,13 @@ proto.ondewo.nlu.DocumentFileResource.prototype.toObject = function(opt_includeI
|
|
|
21424
21424
|
*/
|
|
21425
21425
|
proto.ondewo.nlu.DocumentFileResource.toObject = function(includeInstance, msg) {
|
|
21426
21426
|
var f, obj = {
|
|
21427
|
-
|
|
21428
|
-
|
|
21429
|
-
|
|
21430
|
-
|
|
21431
|
-
|
|
21432
|
-
|
|
21433
|
-
|
|
21427
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
21428
|
+
displayName: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
21429
|
+
bytes: msg.getBytes_asB64(),
|
|
21430
|
+
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
21431
|
+
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
21432
|
+
createdBy: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
21433
|
+
modifiedBy: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
21434
21434
|
};
|
|
21435
21435
|
|
|
21436
21436
|
if (includeInstance) {
|
|
@@ -21800,13 +21800,13 @@ proto.ondewo.nlu.ImageFileResource.prototype.toObject = function(opt_includeInst
|
|
|
21800
21800
|
*/
|
|
21801
21801
|
proto.ondewo.nlu.ImageFileResource.toObject = function(includeInstance, msg) {
|
|
21802
21802
|
var f, obj = {
|
|
21803
|
-
|
|
21804
|
-
|
|
21805
|
-
|
|
21806
|
-
|
|
21807
|
-
|
|
21808
|
-
|
|
21809
|
-
|
|
21803
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
21804
|
+
displayName: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
21805
|
+
bytes: msg.getBytes_asB64(),
|
|
21806
|
+
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
21807
|
+
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
21808
|
+
createdBy: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
21809
|
+
modifiedBy: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
21810
21810
|
};
|
|
21811
21811
|
|
|
21812
21812
|
if (includeInstance) {
|
|
@@ -22183,19 +22183,19 @@ proto.ondewo.nlu.AudioFileResource.prototype.toObject = function(opt_includeInst
|
|
|
22183
22183
|
*/
|
|
22184
22184
|
proto.ondewo.nlu.AudioFileResource.toObject = function(includeInstance, msg) {
|
|
22185
22185
|
var f, obj = {
|
|
22186
|
-
|
|
22187
|
-
|
|
22188
|
-
|
|
22189
|
-
|
|
22190
|
-
|
|
22191
|
-
|
|
22192
|
-
|
|
22186
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
22187
|
+
bytes: msg.getBytes_asB64(),
|
|
22188
|
+
language: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
22189
|
+
durationInS: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
|
|
22190
|
+
sampleRate: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
22191
|
+
audioFileResourceType: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
22192
|
+
transcriptionsList: jspb.Message.toObjectList(msg.getTranscriptionsList(),
|
|
22193
22193
|
proto.ondewo.nlu.S2tTranscription.toObject, includeInstance),
|
|
22194
|
-
|
|
22195
|
-
|
|
22196
|
-
|
|
22197
|
-
|
|
22198
|
-
|
|
22194
|
+
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
22195
|
+
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
22196
|
+
createdBy: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
22197
|
+
modifiedBy: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
22198
|
+
displayName: jspb.Message.getFieldWithDefault(msg, 12, "")
|
|
22199
22199
|
};
|
|
22200
22200
|
|
|
22201
22201
|
if (includeInstance) {
|
|
@@ -22732,16 +22732,16 @@ proto.ondewo.nlu.VideoFileResource.prototype.toObject = function(opt_includeInst
|
|
|
22732
22732
|
*/
|
|
22733
22733
|
proto.ondewo.nlu.VideoFileResource.toObject = function(includeInstance, msg) {
|
|
22734
22734
|
var f, obj = {
|
|
22735
|
-
|
|
22736
|
-
|
|
22737
|
-
|
|
22738
|
-
|
|
22739
|
-
|
|
22740
|
-
|
|
22741
|
-
|
|
22742
|
-
|
|
22743
|
-
|
|
22744
|
-
|
|
22735
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
22736
|
+
displayName: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
22737
|
+
bytes: msg.getBytes_asB64(),
|
|
22738
|
+
durationInS: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
|
|
22739
|
+
resolution: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
22740
|
+
frameRate: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
|
|
22741
|
+
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
22742
|
+
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
22743
|
+
createdBy: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
22744
|
+
modifiedBy: jspb.Message.getFieldWithDefault(msg, 10, "")
|
|
22745
22745
|
};
|
|
22746
22746
|
|
|
22747
22747
|
if (includeInstance) {
|
|
@@ -23205,11 +23205,11 @@ proto.ondewo.nlu.GetAudioFilesRequest.prototype.toObject = function(opt_includeI
|
|
|
23205
23205
|
*/
|
|
23206
23206
|
proto.ondewo.nlu.GetAudioFilesRequest.toObject = function(includeInstance, msg) {
|
|
23207
23207
|
var f, obj = {
|
|
23208
|
-
|
|
23209
|
-
|
|
23210
|
-
|
|
23211
|
-
|
|
23212
|
-
|
|
23208
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
23209
|
+
namesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
|
|
23210
|
+
resourceView: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
23211
|
+
pageToken: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
23212
|
+
sortingMode: jspb.Message.getFieldWithDefault(msg, 5, 0)
|
|
23213
23213
|
};
|
|
23214
23214
|
|
|
23215
23215
|
if (includeInstance) {
|
|
@@ -23481,10 +23481,10 @@ proto.ondewo.nlu.GetAudioFilesResponse.prototype.toObject = function(opt_include
|
|
|
23481
23481
|
*/
|
|
23482
23482
|
proto.ondewo.nlu.GetAudioFilesResponse.toObject = function(includeInstance, msg) {
|
|
23483
23483
|
var f, obj = {
|
|
23484
|
-
|
|
23484
|
+
audioFilesList: jspb.Message.toObjectList(msg.getAudioFilesList(),
|
|
23485
23485
|
proto.ondewo.nlu.AudioFileResource.toObject, includeInstance),
|
|
23486
|
-
|
|
23487
|
-
|
|
23486
|
+
errorMessage: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
23487
|
+
nextPageToken: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
23488
23488
|
};
|
|
23489
23489
|
|
|
23490
23490
|
if (includeInstance) {
|
|
@@ -23701,11 +23701,11 @@ proto.ondewo.nlu.AddAudioFilesRequest.prototype.toObject = function(opt_includeI
|
|
|
23701
23701
|
*/
|
|
23702
23702
|
proto.ondewo.nlu.AddAudioFilesRequest.toObject = function(includeInstance, msg) {
|
|
23703
23703
|
var f, obj = {
|
|
23704
|
-
|
|
23705
|
-
|
|
23706
|
-
|
|
23704
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
23705
|
+
sessionId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
23706
|
+
audioFileResourcesList: jspb.Message.toObjectList(msg.getAudioFileResourcesList(),
|
|
23707
23707
|
proto.ondewo.nlu.AudioFileResource.toObject, includeInstance),
|
|
23708
|
-
|
|
23708
|
+
sessionStepId: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
23709
23709
|
};
|
|
23710
23710
|
|
|
23711
23711
|
if (includeInstance) {
|
|
@@ -23951,9 +23951,9 @@ proto.ondewo.nlu.AddAudioFilesResponse.prototype.toObject = function(opt_include
|
|
|
23951
23951
|
*/
|
|
23952
23952
|
proto.ondewo.nlu.AddAudioFilesResponse.toObject = function(includeInstance, msg) {
|
|
23953
23953
|
var f, obj = {
|
|
23954
|
-
|
|
23954
|
+
audioFileResourcesList: jspb.Message.toObjectList(msg.getAudioFileResourcesList(),
|
|
23955
23955
|
proto.ondewo.nlu.AudioFileResource.toObject, includeInstance),
|
|
23956
|
-
|
|
23956
|
+
errorMessage: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
23957
23957
|
};
|
|
23958
23958
|
|
|
23959
23959
|
if (includeInstance) {
|
|
@@ -24141,8 +24141,8 @@ proto.ondewo.nlu.DeleteAudioFilesRequest.prototype.toObject = function(opt_inclu
|
|
|
24141
24141
|
*/
|
|
24142
24142
|
proto.ondewo.nlu.DeleteAudioFilesRequest.toObject = function(includeInstance, msg) {
|
|
24143
24143
|
var f, obj = {
|
|
24144
|
-
|
|
24145
|
-
|
|
24144
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
24145
|
+
namesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
|
|
24146
24146
|
};
|
|
24147
24147
|
|
|
24148
24148
|
if (includeInstance) {
|
|
@@ -24327,8 +24327,8 @@ proto.ondewo.nlu.DeleteAudioFilesResponse.prototype.toObject = function(opt_incl
|
|
|
24327
24327
|
*/
|
|
24328
24328
|
proto.ondewo.nlu.DeleteAudioFilesResponse.toObject = function(includeInstance, msg) {
|
|
24329
24329
|
var f, obj = {
|
|
24330
|
-
|
|
24331
|
-
|
|
24330
|
+
namesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
|
24331
|
+
errorMessage: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
24332
24332
|
};
|
|
24333
24333
|
|
|
24334
24334
|
if (includeInstance) {
|
|
@@ -24506,11 +24506,11 @@ proto.ondewo.nlu.ListAudioFilesRequest.prototype.toObject = function(opt_include
|
|
|
24506
24506
|
*/
|
|
24507
24507
|
proto.ondewo.nlu.ListAudioFilesRequest.toObject = function(includeInstance, msg) {
|
|
24508
24508
|
var f, obj = {
|
|
24509
|
-
|
|
24510
|
-
|
|
24511
|
-
|
|
24512
|
-
|
|
24513
|
-
|
|
24509
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
24510
|
+
sessionId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
24511
|
+
resourceView: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
24512
|
+
pageToken: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
24513
|
+
sortingMode: jspb.Message.getFieldWithDefault(msg, 5, 0)
|
|
24514
24514
|
};
|
|
24515
24515
|
|
|
24516
24516
|
if (includeInstance) {
|
|
@@ -24763,10 +24763,10 @@ proto.ondewo.nlu.ListAudioFilesResponse.prototype.toObject = function(opt_includ
|
|
|
24763
24763
|
*/
|
|
24764
24764
|
proto.ondewo.nlu.ListAudioFilesResponse.toObject = function(includeInstance, msg) {
|
|
24765
24765
|
var f, obj = {
|
|
24766
|
-
|
|
24766
|
+
audioFilesList: jspb.Message.toObjectList(msg.getAudioFilesList(),
|
|
24767
24767
|
proto.ondewo.nlu.AudioFileResource.toObject, includeInstance),
|
|
24768
|
-
|
|
24769
|
-
|
|
24768
|
+
nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
24769
|
+
errorMessage: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
24770
24770
|
};
|
|
24771
24771
|
|
|
24772
24772
|
if (includeInstance) {
|
|
@@ -24976,9 +24976,9 @@ proto.ondewo.nlu.GetAudioFileOfSessionRequest.prototype.toObject = function(opt_
|
|
|
24976
24976
|
*/
|
|
24977
24977
|
proto.ondewo.nlu.GetAudioFileOfSessionRequest.toObject = function(includeInstance, msg) {
|
|
24978
24978
|
var f, obj = {
|
|
24979
|
-
|
|
24980
|
-
|
|
24981
|
-
|
|
24979
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
24980
|
+
sessionId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
24981
|
+
resourceView: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
24982
24982
|
};
|
|
24983
24983
|
|
|
24984
24984
|
if (includeInstance) {
|