@ondewo/csi-client-angular 2.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +191 -0
- package/README.md +27 -0
- package/api/google/api/annotations.pb.d.ts +1 -0
- package/api/google/api/http.pb.d.ts +275 -0
- package/api/google/rpc/status.pb.d.ts +82 -0
- package/api/google/type/latlng.pb.d.ts +76 -0
- package/api/ondewo/csi/conversation.pb.d.ts +1312 -0
- package/api/ondewo/csi/conversation.pbconf.d.ts +6 -0
- package/api/ondewo/csi/conversation.pbsc.d.ts +167 -0
- package/api/ondewo/nlu/agent.pb.d.ts +3536 -0
- package/api/ondewo/nlu/agent.pbconf.d.ts +6 -0
- package/api/ondewo/nlu/agent.pbsc.d.ts +472 -0
- package/api/ondewo/nlu/aiservices.pb.d.ts +2472 -0
- package/api/ondewo/nlu/aiservices.pbconf.d.ts +6 -0
- package/api/ondewo/nlu/aiservices.pbsc.d.ts +150 -0
- package/api/ondewo/nlu/common.pb.d.ts +75 -0
- package/api/ondewo/nlu/context.pb.d.ts +756 -0
- package/api/ondewo/nlu/context.pbconf.d.ts +6 -0
- package/api/ondewo/nlu/context.pbsc.d.ts +119 -0
- package/api/ondewo/nlu/entity-type.pb.d.ts +2014 -0
- package/api/ondewo/nlu/entity-type.pbconf.d.ts +6 -0
- package/api/ondewo/nlu/entity-type.pbsc.d.ts +216 -0
- package/api/ondewo/nlu/intent.pb.d.ts +6236 -0
- package/api/ondewo/nlu/intent.pbconf.d.ts +6 -0
- package/api/ondewo/nlu/intent.pbsc.d.ts +456 -0
- package/api/ondewo/nlu/operation-metadata.pb.d.ts +166 -0
- package/api/ondewo/nlu/operations.pb.d.ts +578 -0
- package/api/ondewo/nlu/operations.pbconf.d.ts +6 -0
- package/api/ondewo/nlu/operations.pbsc.d.ts +87 -0
- package/api/ondewo/nlu/project-role.pb.d.ts +576 -0
- package/api/ondewo/nlu/project-role.pbconf.d.ts +6 -0
- package/api/ondewo/nlu/project-role.pbsc.d.ts +103 -0
- package/api/ondewo/nlu/project-statistics.pb.d.ts +295 -0
- package/api/ondewo/nlu/project-statistics.pbconf.d.ts +6 -0
- package/api/ondewo/nlu/project-statistics.pbsc.d.ts +151 -0
- package/api/ondewo/nlu/server-statistics.pb.d.ts +71 -0
- package/api/ondewo/nlu/server-statistics.pbconf.d.ts +6 -0
- package/api/ondewo/nlu/server-statistics.pbsc.d.ts +72 -0
- package/api/ondewo/nlu/session.pb.d.ts +2892 -0
- package/api/ondewo/nlu/session.pbconf.d.ts +6 -0
- package/api/ondewo/nlu/session.pbsc.d.ts +247 -0
- package/api/ondewo/nlu/user.pb.d.ts +1577 -0
- package/api/ondewo/nlu/user.pbconf.d.ts +6 -0
- package/api/ondewo/nlu/user.pbsc.d.ts +263 -0
- package/api/ondewo/nlu/utility.pb.d.ts +1814 -0
- package/api/ondewo/nlu/utility.pbconf.d.ts +6 -0
- package/api/ondewo/nlu/utility.pbsc.d.ts +150 -0
- package/api/ondewo/nlu/webhook.pb.d.ts +401 -0
- package/api/ondewo/nlu/webhook.pbconf.d.ts +6 -0
- package/api/ondewo/nlu/webhook.pbsc.d.ts +70 -0
- package/api/ondewo/s2t/speech-to-text.pb.d.ts +3710 -0
- package/api/ondewo/s2t/speech-to-text.pbconf.d.ts +6 -0
- package/api/ondewo/s2t/speech-to-text.pbsc.d.ts +263 -0
- package/api/ondewo/t2s/text-to-speech.pb.d.ts +3302 -0
- package/api/ondewo/t2s/text-to-speech.pbconf.d.ts +11 -0
- package/api/ondewo/t2s/text-to-speech.pbsc.d.ts +296 -0
- package/esm2020/api/google/api/annotations.pb.mjs +2 -0
- package/esm2020/api/google/api/http.pb.mjs +524 -0
- package/esm2020/api/google/rpc/status.pb.mjs +138 -0
- package/esm2020/api/google/type/latlng.pb.mjs +119 -0
- package/esm2020/api/ondewo/csi/conversation.pb.mjs +2232 -0
- package/esm2020/api/ondewo/csi/conversation.pbconf.mjs +13 -0
- package/esm2020/api/ondewo/csi/conversation.pbsc.mjs +315 -0
- package/esm2020/api/ondewo/nlu/agent.pb.mjs +6077 -0
- package/esm2020/api/ondewo/nlu/agent.pbconf.mjs +13 -0
- package/esm2020/api/ondewo/nlu/agent.pbsc.mjs +886 -0
- package/esm2020/api/ondewo/nlu/aiservices.pb.mjs +4371 -0
- package/esm2020/api/ondewo/nlu/aiservices.pbconf.mjs +13 -0
- package/esm2020/api/ondewo/nlu/aiservices.pbsc.mjs +284 -0
- package/esm2020/api/ondewo/nlu/common.pb.mjs +108 -0
- package/esm2020/api/ondewo/nlu/context.pb.mjs +1233 -0
- package/esm2020/api/ondewo/nlu/context.pbconf.mjs +13 -0
- package/esm2020/api/ondewo/nlu/context.pbsc.mjs +225 -0
- package/esm2020/api/ondewo/nlu/entity-type.pb.mjs +3466 -0
- package/esm2020/api/ondewo/nlu/entity-type.pbconf.mjs +13 -0
- package/esm2020/api/ondewo/nlu/entity-type.pbsc.mjs +406 -0
- package/esm2020/api/ondewo/nlu/intent.pb.mjs +10809 -0
- package/esm2020/api/ondewo/nlu/intent.pbconf.mjs +13 -0
- package/esm2020/api/ondewo/nlu/intent.pbsc.mjs +856 -0
- package/esm2020/api/ondewo/nlu/operation-metadata.pb.mjs +382 -0
- package/esm2020/api/ondewo/nlu/operations.pb.mjs +1003 -0
- package/esm2020/api/ondewo/nlu/operations.pbconf.mjs +13 -0
- package/esm2020/api/ondewo/nlu/operations.pbsc.mjs +165 -0
- package/esm2020/api/ondewo/nlu/project-role.pb.mjs +988 -0
- package/esm2020/api/ondewo/nlu/project-role.pbconf.mjs +13 -0
- package/esm2020/api/ondewo/nlu/project-role.pbsc.mjs +195 -0
- package/esm2020/api/ondewo/nlu/project-statistics.pb.mjs +460 -0
- package/esm2020/api/ondewo/nlu/project-statistics.pbconf.mjs +13 -0
- package/esm2020/api/ondewo/nlu/project-statistics.pbsc.mjs +285 -0
- package/esm2020/api/ondewo/nlu/server-statistics.pb.mjs +103 -0
- package/esm2020/api/ondewo/nlu/server-statistics.pbconf.mjs +13 -0
- package/esm2020/api/ondewo/nlu/server-statistics.pbsc.mjs +136 -0
- package/esm2020/api/ondewo/nlu/session.pb.mjs +5351 -0
- package/esm2020/api/ondewo/nlu/session.pbconf.mjs +13 -0
- package/esm2020/api/ondewo/nlu/session.pbsc.mjs +465 -0
- package/esm2020/api/ondewo/nlu/user.pb.mjs +2536 -0
- package/esm2020/api/ondewo/nlu/user.pbconf.mjs +13 -0
- package/esm2020/api/ondewo/nlu/user.pbsc.mjs +495 -0
- package/esm2020/api/ondewo/nlu/utility.pb.mjs +3302 -0
- package/esm2020/api/ondewo/nlu/utility.pbconf.mjs +13 -0
- package/esm2020/api/ondewo/nlu/utility.pbsc.mjs +284 -0
- package/esm2020/api/ondewo/nlu/webhook.pb.mjs +705 -0
- package/esm2020/api/ondewo/nlu/webhook.pbconf.mjs +13 -0
- package/esm2020/api/ondewo/nlu/webhook.pbsc.mjs +134 -0
- package/esm2020/api/ondewo/s2t/speech-to-text.pb.mjs +6452 -0
- package/esm2020/api/ondewo/s2t/speech-to-text.pbconf.mjs +13 -0
- package/esm2020/api/ondewo/s2t/speech-to-text.pbsc.mjs +495 -0
- package/esm2020/api/ondewo/t2s/text-to-speech.pb.mjs +5779 -0
- package/esm2020/api/ondewo/t2s/text-to-speech.pbconf.mjs +18 -0
- package/esm2020/api/ondewo/t2s/text-to-speech.pbsc.mjs +555 -0
- package/esm2020/ondewo-csi-client-angular.mjs +5 -0
- package/esm2020/public-api.mjs +55 -0
- package/fesm2015/ondewo-csi-client-angular.mjs +62142 -0
- package/fesm2015/ondewo-csi-client-angular.mjs.map +1 -0
- package/fesm2020/ondewo-csi-client-angular.mjs +62135 -0
- package/fesm2020/ondewo-csi-client-angular.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/ondewo-csi-api/README.md +91 -0
- package/ondewo-csi-api/google/ads/googleads/README.md +21 -0
- package/ondewo-csi-api/google/api/README.md +5 -0
- package/ondewo-csi-api/google/api/servicecontrol/README.md +126 -0
- package/ondewo-csi-api/google/api/servicemanagement/README.md +102 -0
- package/ondewo-csi-api/google/appengine/README.md +12 -0
- package/ondewo-csi-api/google/assistant/embedded/README.md +3 -0
- package/ondewo-csi-api/google/cloud/functions/README.md +2 -0
- package/ondewo-csi-api/google/cloud/language/README.md +0 -0
- package/ondewo-csi-api/google/cloud/runtimeconfig/README.md +39 -0
- package/ondewo-csi-api/google/cloud/speech/README.md +3 -0
- package/ondewo-csi-api/google/container/README.md +0 -0
- package/ondewo-csi-api/google/datastore/README.md +0 -0
- package/ondewo-csi-api/google/devtools/cloudbuild/README.md +1 -0
- package/ondewo-csi-api/google/devtools/clouderrorreporting/README.md +1 -0
- package/ondewo-csi-api/google/example/library/README.md +4 -0
- package/ondewo-csi-api/google/firestore/README.md +0 -0
- package/ondewo-csi-api/google/genomics/README.md +14 -0
- package/ondewo-csi-api/google/iam/README.md +14 -0
- package/ondewo-csi-api/google/logging/README.md +3 -0
- package/ondewo-csi-api/google/longrunning/README.md +5 -0
- package/ondewo-csi-api/google/privacy/dlp/README.md +7 -0
- package/ondewo-csi-api/google/pubsub/v1beta2/README.md +136 -0
- package/ondewo-csi-api/google/rpc/README.md +5 -0
- package/ondewo-csi-api/google/streetview/publish/README.md +1 -0
- package/ondewo-csi-api/google/type/README.md +16 -0
- package/ondewo-csi-api/googleapis/README.md +87 -0
- package/ondewo-csi-api/googleapis/google/ads/googleads/README.md +21 -0
- package/ondewo-csi-api/googleapis/google/api/README.md +5 -0
- package/ondewo-csi-api/googleapis/google/api/servicecontrol/README.md +126 -0
- package/ondewo-csi-api/googleapis/google/api/servicemanagement/README.md +102 -0
- package/ondewo-csi-api/googleapis/google/appengine/README.md +12 -0
- package/ondewo-csi-api/googleapis/google/assistant/embedded/README.md +3 -0
- package/ondewo-csi-api/googleapis/google/cloud/functions/README.md +2 -0
- package/ondewo-csi-api/googleapis/google/cloud/language/README.md +0 -0
- package/ondewo-csi-api/googleapis/google/cloud/runtimeconfig/README.md +39 -0
- package/ondewo-csi-api/googleapis/google/cloud/speech/README.md +3 -0
- package/ondewo-csi-api/googleapis/google/container/README.md +0 -0
- package/ondewo-csi-api/googleapis/google/datastore/README.md +0 -0
- package/ondewo-csi-api/googleapis/google/devtools/cloudbuild/README.md +1 -0
- package/ondewo-csi-api/googleapis/google/devtools/clouderrorreporting/README.md +1 -0
- package/ondewo-csi-api/googleapis/google/example/library/README.md +4 -0
- package/ondewo-csi-api/googleapis/google/firestore/README.md +0 -0
- package/ondewo-csi-api/googleapis/google/genomics/README.md +14 -0
- package/ondewo-csi-api/googleapis/google/iam/README.md +14 -0
- package/ondewo-csi-api/googleapis/google/logging/README.md +3 -0
- package/ondewo-csi-api/googleapis/google/longrunning/README.md +5 -0
- package/ondewo-csi-api/googleapis/google/privacy/dlp/README.md +7 -0
- package/ondewo-csi-api/googleapis/google/pubsub/v1beta2/README.md +136 -0
- package/ondewo-csi-api/googleapis/google/rpc/README.md +5 -0
- package/ondewo-csi-api/googleapis/google/streetview/publish/README.md +1 -0
- package/ondewo-csi-api/googleapis/google/type/README.md +16 -0
- package/ondewo-csi-api/ondewo-nlu-api/README.md +117 -0
- package/ondewo-csi-api/ondewo-nlu-api/googleapis/README.md +87 -0
- package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/ads/googleads/README.md +21 -0
- package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/api/README.md +5 -0
- package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/api/servicecontrol/README.md +126 -0
- package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/api/servicemanagement/README.md +102 -0
- package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/appengine/README.md +12 -0
- package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/assistant/embedded/README.md +3 -0
- package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/cloud/functions/README.md +2 -0
- package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/cloud/language/README.md +0 -0
- package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/cloud/runtimeconfig/README.md +39 -0
- package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/cloud/speech/README.md +3 -0
- package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/container/README.md +0 -0
- package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/datastore/README.md +0 -0
- package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/devtools/cloudbuild/README.md +1 -0
- package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/devtools/clouderrorreporting/README.md +1 -0
- package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/example/library/README.md +4 -0
- package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/firestore/README.md +0 -0
- package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/genomics/README.md +14 -0
- package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/iam/README.md +14 -0
- package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/logging/README.md +3 -0
- package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/longrunning/README.md +5 -0
- package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/privacy/dlp/README.md +7 -0
- package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/pubsub/v1beta2/README.md +136 -0
- package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/rpc/README.md +5 -0
- package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/streetview/publish/README.md +1 -0
- package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/type/README.md +16 -0
- package/ondewo-csi-api/ondewo-s2t-api/README.md +89 -0
- package/ondewo-csi-api/ondewo-t2s-api/README.md +89 -0
- package/package.json +49 -0
- package/public-api.d.ts +54 -0
|
@@ -0,0 +1,2892 @@
|
|
|
1
|
+
import { GrpcMessage, RecursivePartial, ToProtobufJSONOptions } from '@ngx-grpc/common';
|
|
2
|
+
import { BinaryReader, BinaryWriter, ByteSource } from 'google-protobuf';
|
|
3
|
+
import * as ondewoNlu006 from '../../ondewo/nlu/context.pb';
|
|
4
|
+
import * as googleProtobuf010 from '@ngx-grpc/well-known-types';
|
|
5
|
+
import * as googleRpc011 from '../../google/rpc/status.pb';
|
|
6
|
+
import * as googleType012 from '../../google/type/latlng.pb';
|
|
7
|
+
import * as ondewoNlu013 from '../../ondewo/nlu/intent.pb';
|
|
8
|
+
import * as ondewoNlu014 from '../../ondewo/nlu/entity-type.pb';
|
|
9
|
+
export declare enum AudioEncoding {
|
|
10
|
+
AUDIO_ENCODING_UNSPECIFIED = 0,
|
|
11
|
+
AUDIO_ENCODING_LINEAR_16 = 1,
|
|
12
|
+
AUDIO_ENCODING_FLAC = 2,
|
|
13
|
+
AUDIO_ENCODING_MULAW = 3,
|
|
14
|
+
AUDIO_ENCODING_AMR = 4,
|
|
15
|
+
AUDIO_ENCODING_AMR_WB = 5,
|
|
16
|
+
AUDIO_ENCODING_OGG_OPUS = 6,
|
|
17
|
+
AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE = 7
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Message implementation for ondewo.nlu.DetectIntentRequest
|
|
21
|
+
*/
|
|
22
|
+
export declare class DetectIntentRequest implements GrpcMessage {
|
|
23
|
+
static id: string;
|
|
24
|
+
/**
|
|
25
|
+
* Deserialize binary data to message
|
|
26
|
+
* @param instance message instance
|
|
27
|
+
*/
|
|
28
|
+
static deserializeBinary(bytes: ByteSource): DetectIntentRequest;
|
|
29
|
+
/**
|
|
30
|
+
* Check all the properties and set default protobuf values if necessary
|
|
31
|
+
* @param _instance message instance
|
|
32
|
+
*/
|
|
33
|
+
static refineValues(_instance: DetectIntentRequest): void;
|
|
34
|
+
/**
|
|
35
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
36
|
+
* @param _instance message instance
|
|
37
|
+
* @param _reader binary reader instance
|
|
38
|
+
*/
|
|
39
|
+
static deserializeBinaryFromReader(_instance: DetectIntentRequest, _reader: BinaryReader): void;
|
|
40
|
+
/**
|
|
41
|
+
* Serializes a message to binary format using provided binary reader
|
|
42
|
+
* @param _instance message instance
|
|
43
|
+
* @param _writer binary writer instance
|
|
44
|
+
*/
|
|
45
|
+
static serializeBinaryToWriter(_instance: DetectIntentRequest, _writer: BinaryWriter): void;
|
|
46
|
+
private _session?;
|
|
47
|
+
private _queryParams?;
|
|
48
|
+
private _queryInput?;
|
|
49
|
+
private _inputAudio?;
|
|
50
|
+
/**
|
|
51
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
52
|
+
* @param _value initial values object or instance of DetectIntentRequest to deeply clone from
|
|
53
|
+
*/
|
|
54
|
+
constructor(_value?: RecursivePartial<DetectIntentRequest.AsObject>);
|
|
55
|
+
get session(): string | undefined;
|
|
56
|
+
set session(value: string | undefined);
|
|
57
|
+
get queryParams(): QueryParameters | undefined;
|
|
58
|
+
set queryParams(value: QueryParameters | undefined);
|
|
59
|
+
get queryInput(): QueryInput | undefined;
|
|
60
|
+
set queryInput(value: QueryInput | undefined);
|
|
61
|
+
get inputAudio(): Uint8Array | undefined;
|
|
62
|
+
set inputAudio(value: Uint8Array | undefined);
|
|
63
|
+
/**
|
|
64
|
+
* Serialize message to binary data
|
|
65
|
+
* @param instance message instance
|
|
66
|
+
*/
|
|
67
|
+
serializeBinary(): any;
|
|
68
|
+
/**
|
|
69
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
70
|
+
*/
|
|
71
|
+
toObject(): DetectIntentRequest.AsObject;
|
|
72
|
+
/**
|
|
73
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
74
|
+
*/
|
|
75
|
+
toJSON(): DetectIntentRequest.AsObject;
|
|
76
|
+
/**
|
|
77
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
78
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
79
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
80
|
+
*/
|
|
81
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): DetectIntentRequest.AsProtobufJSON;
|
|
82
|
+
}
|
|
83
|
+
export declare module DetectIntentRequest {
|
|
84
|
+
/**
|
|
85
|
+
* Standard JavaScript object representation for DetectIntentRequest
|
|
86
|
+
*/
|
|
87
|
+
interface AsObject {
|
|
88
|
+
session?: string;
|
|
89
|
+
queryParams?: QueryParameters.AsObject;
|
|
90
|
+
queryInput?: QueryInput.AsObject;
|
|
91
|
+
inputAudio?: Uint8Array;
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Protobuf JSON representation for DetectIntentRequest
|
|
95
|
+
*/
|
|
96
|
+
interface AsProtobufJSON {
|
|
97
|
+
session?: string;
|
|
98
|
+
queryParams?: QueryParameters.AsProtobufJSON | null;
|
|
99
|
+
queryInput?: QueryInput.AsProtobufJSON | null;
|
|
100
|
+
inputAudio?: string;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* Message implementation for ondewo.nlu.DetectIntentResponse
|
|
105
|
+
*/
|
|
106
|
+
export declare class DetectIntentResponse implements GrpcMessage {
|
|
107
|
+
static id: string;
|
|
108
|
+
/**
|
|
109
|
+
* Deserialize binary data to message
|
|
110
|
+
* @param instance message instance
|
|
111
|
+
*/
|
|
112
|
+
static deserializeBinary(bytes: ByteSource): DetectIntentResponse;
|
|
113
|
+
/**
|
|
114
|
+
* Check all the properties and set default protobuf values if necessary
|
|
115
|
+
* @param _instance message instance
|
|
116
|
+
*/
|
|
117
|
+
static refineValues(_instance: DetectIntentResponse): void;
|
|
118
|
+
/**
|
|
119
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
120
|
+
* @param _instance message instance
|
|
121
|
+
* @param _reader binary reader instance
|
|
122
|
+
*/
|
|
123
|
+
static deserializeBinaryFromReader(_instance: DetectIntentResponse, _reader: BinaryReader): void;
|
|
124
|
+
/**
|
|
125
|
+
* Serializes a message to binary format using provided binary reader
|
|
126
|
+
* @param _instance message instance
|
|
127
|
+
* @param _writer binary writer instance
|
|
128
|
+
*/
|
|
129
|
+
static serializeBinaryToWriter(_instance: DetectIntentResponse, _writer: BinaryWriter): void;
|
|
130
|
+
private _responseId?;
|
|
131
|
+
private _queryResult?;
|
|
132
|
+
private _webhookStatus?;
|
|
133
|
+
/**
|
|
134
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
135
|
+
* @param _value initial values object or instance of DetectIntentResponse to deeply clone from
|
|
136
|
+
*/
|
|
137
|
+
constructor(_value?: RecursivePartial<DetectIntentResponse.AsObject>);
|
|
138
|
+
get responseId(): string | undefined;
|
|
139
|
+
set responseId(value: string | undefined);
|
|
140
|
+
get queryResult(): QueryResult | undefined;
|
|
141
|
+
set queryResult(value: QueryResult | undefined);
|
|
142
|
+
get webhookStatus(): googleRpc011.Status | undefined;
|
|
143
|
+
set webhookStatus(value: googleRpc011.Status | undefined);
|
|
144
|
+
/**
|
|
145
|
+
* Serialize message to binary data
|
|
146
|
+
* @param instance message instance
|
|
147
|
+
*/
|
|
148
|
+
serializeBinary(): any;
|
|
149
|
+
/**
|
|
150
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
151
|
+
*/
|
|
152
|
+
toObject(): DetectIntentResponse.AsObject;
|
|
153
|
+
/**
|
|
154
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
155
|
+
*/
|
|
156
|
+
toJSON(): DetectIntentResponse.AsObject;
|
|
157
|
+
/**
|
|
158
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
159
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
160
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
161
|
+
*/
|
|
162
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): DetectIntentResponse.AsProtobufJSON;
|
|
163
|
+
}
|
|
164
|
+
export declare module DetectIntentResponse {
|
|
165
|
+
/**
|
|
166
|
+
* Standard JavaScript object representation for DetectIntentResponse
|
|
167
|
+
*/
|
|
168
|
+
interface AsObject {
|
|
169
|
+
responseId?: string;
|
|
170
|
+
queryResult?: QueryResult.AsObject;
|
|
171
|
+
webhookStatus?: googleRpc011.Status.AsObject;
|
|
172
|
+
}
|
|
173
|
+
/**
|
|
174
|
+
* Protobuf JSON representation for DetectIntentResponse
|
|
175
|
+
*/
|
|
176
|
+
interface AsProtobufJSON {
|
|
177
|
+
responseId?: string;
|
|
178
|
+
queryResult?: QueryResult.AsProtobufJSON | null;
|
|
179
|
+
webhookStatus?: googleRpc011.Status.AsProtobufJSON | null;
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
/**
|
|
183
|
+
* Message implementation for ondewo.nlu.QueryParameters
|
|
184
|
+
*/
|
|
185
|
+
export declare class QueryParameters implements GrpcMessage {
|
|
186
|
+
static id: string;
|
|
187
|
+
/**
|
|
188
|
+
* Deserialize binary data to message
|
|
189
|
+
* @param instance message instance
|
|
190
|
+
*/
|
|
191
|
+
static deserializeBinary(bytes: ByteSource): QueryParameters;
|
|
192
|
+
/**
|
|
193
|
+
* Check all the properties and set default protobuf values if necessary
|
|
194
|
+
* @param _instance message instance
|
|
195
|
+
*/
|
|
196
|
+
static refineValues(_instance: QueryParameters): void;
|
|
197
|
+
/**
|
|
198
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
199
|
+
* @param _instance message instance
|
|
200
|
+
* @param _reader binary reader instance
|
|
201
|
+
*/
|
|
202
|
+
static deserializeBinaryFromReader(_instance: QueryParameters, _reader: BinaryReader): void;
|
|
203
|
+
/**
|
|
204
|
+
* Serializes a message to binary format using provided binary reader
|
|
205
|
+
* @param _instance message instance
|
|
206
|
+
* @param _writer binary writer instance
|
|
207
|
+
*/
|
|
208
|
+
static serializeBinaryToWriter(_instance: QueryParameters, _writer: BinaryWriter): void;
|
|
209
|
+
private _timeZone?;
|
|
210
|
+
private _geoLocation?;
|
|
211
|
+
private _contexts?;
|
|
212
|
+
private _resetContexts?;
|
|
213
|
+
private _payload?;
|
|
214
|
+
/**
|
|
215
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
216
|
+
* @param _value initial values object or instance of QueryParameters to deeply clone from
|
|
217
|
+
*/
|
|
218
|
+
constructor(_value?: RecursivePartial<QueryParameters.AsObject>);
|
|
219
|
+
get timeZone(): string | undefined;
|
|
220
|
+
set timeZone(value: string | undefined);
|
|
221
|
+
get geoLocation(): googleType012.LatLng | undefined;
|
|
222
|
+
set geoLocation(value: googleType012.LatLng | undefined);
|
|
223
|
+
get contexts(): ondewoNlu006.Context[] | undefined;
|
|
224
|
+
set contexts(value: ondewoNlu006.Context[] | undefined);
|
|
225
|
+
get resetContexts(): boolean | undefined;
|
|
226
|
+
set resetContexts(value: boolean | undefined);
|
|
227
|
+
get payload(): googleProtobuf010.Struct | undefined;
|
|
228
|
+
set payload(value: googleProtobuf010.Struct | undefined);
|
|
229
|
+
/**
|
|
230
|
+
* Serialize message to binary data
|
|
231
|
+
* @param instance message instance
|
|
232
|
+
*/
|
|
233
|
+
serializeBinary(): any;
|
|
234
|
+
/**
|
|
235
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
236
|
+
*/
|
|
237
|
+
toObject(): QueryParameters.AsObject;
|
|
238
|
+
/**
|
|
239
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
240
|
+
*/
|
|
241
|
+
toJSON(): QueryParameters.AsObject;
|
|
242
|
+
/**
|
|
243
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
244
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
245
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
246
|
+
*/
|
|
247
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): QueryParameters.AsProtobufJSON;
|
|
248
|
+
}
|
|
249
|
+
export declare module QueryParameters {
|
|
250
|
+
/**
|
|
251
|
+
* Standard JavaScript object representation for QueryParameters
|
|
252
|
+
*/
|
|
253
|
+
interface AsObject {
|
|
254
|
+
timeZone?: string;
|
|
255
|
+
geoLocation?: googleType012.LatLng.AsObject;
|
|
256
|
+
contexts?: ondewoNlu006.Context.AsObject[];
|
|
257
|
+
resetContexts?: boolean;
|
|
258
|
+
payload?: googleProtobuf010.Struct.AsObject;
|
|
259
|
+
}
|
|
260
|
+
/**
|
|
261
|
+
* Protobuf JSON representation for QueryParameters
|
|
262
|
+
*/
|
|
263
|
+
interface AsProtobufJSON {
|
|
264
|
+
timeZone?: string;
|
|
265
|
+
geoLocation?: googleType012.LatLng.AsProtobufJSON | null;
|
|
266
|
+
contexts?: ondewoNlu006.Context.AsProtobufJSON[] | null;
|
|
267
|
+
resetContexts?: boolean;
|
|
268
|
+
payload?: googleProtobuf010.Struct.AsProtobufJSON | null;
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
/**
|
|
272
|
+
* Message implementation for ondewo.nlu.QueryInput
|
|
273
|
+
*/
|
|
274
|
+
export declare class QueryInput implements GrpcMessage {
|
|
275
|
+
static id: string;
|
|
276
|
+
/**
|
|
277
|
+
* Deserialize binary data to message
|
|
278
|
+
* @param instance message instance
|
|
279
|
+
*/
|
|
280
|
+
static deserializeBinary(bytes: ByteSource): QueryInput;
|
|
281
|
+
/**
|
|
282
|
+
* Check all the properties and set default protobuf values if necessary
|
|
283
|
+
* @param _instance message instance
|
|
284
|
+
*/
|
|
285
|
+
static refineValues(_instance: QueryInput): void;
|
|
286
|
+
/**
|
|
287
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
288
|
+
* @param _instance message instance
|
|
289
|
+
* @param _reader binary reader instance
|
|
290
|
+
*/
|
|
291
|
+
static deserializeBinaryFromReader(_instance: QueryInput, _reader: BinaryReader): void;
|
|
292
|
+
/**
|
|
293
|
+
* Serializes a message to binary format using provided binary reader
|
|
294
|
+
* @param _instance message instance
|
|
295
|
+
* @param _writer binary writer instance
|
|
296
|
+
*/
|
|
297
|
+
static serializeBinaryToWriter(_instance: QueryInput, _writer: BinaryWriter): void;
|
|
298
|
+
private _audioConfig?;
|
|
299
|
+
private _text?;
|
|
300
|
+
private _event?;
|
|
301
|
+
private _input;
|
|
302
|
+
/**
|
|
303
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
304
|
+
* @param _value initial values object or instance of QueryInput to deeply clone from
|
|
305
|
+
*/
|
|
306
|
+
constructor(_value?: RecursivePartial<QueryInput.AsObject>);
|
|
307
|
+
get audioConfig(): InputAudioConfig | undefined;
|
|
308
|
+
set audioConfig(value: InputAudioConfig | undefined);
|
|
309
|
+
get text(): TextInput | undefined;
|
|
310
|
+
set text(value: TextInput | undefined);
|
|
311
|
+
get event(): EventInput | undefined;
|
|
312
|
+
set event(value: EventInput | undefined);
|
|
313
|
+
get input(): QueryInput.InputCase;
|
|
314
|
+
/**
|
|
315
|
+
* Serialize message to binary data
|
|
316
|
+
* @param instance message instance
|
|
317
|
+
*/
|
|
318
|
+
serializeBinary(): any;
|
|
319
|
+
/**
|
|
320
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
321
|
+
*/
|
|
322
|
+
toObject(): QueryInput.AsObject;
|
|
323
|
+
/**
|
|
324
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
325
|
+
*/
|
|
326
|
+
toJSON(): QueryInput.AsObject;
|
|
327
|
+
/**
|
|
328
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
329
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
330
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
331
|
+
*/
|
|
332
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): QueryInput.AsProtobufJSON;
|
|
333
|
+
}
|
|
334
|
+
export declare module QueryInput {
|
|
335
|
+
/**
|
|
336
|
+
* Standard JavaScript object representation for QueryInput
|
|
337
|
+
*/
|
|
338
|
+
interface AsObject {
|
|
339
|
+
audioConfig?: InputAudioConfig.AsObject;
|
|
340
|
+
text?: TextInput.AsObject;
|
|
341
|
+
event?: EventInput.AsObject;
|
|
342
|
+
}
|
|
343
|
+
/**
|
|
344
|
+
* Protobuf JSON representation for QueryInput
|
|
345
|
+
*/
|
|
346
|
+
interface AsProtobufJSON {
|
|
347
|
+
audioConfig?: InputAudioConfig.AsProtobufJSON | null;
|
|
348
|
+
text?: TextInput.AsProtobufJSON | null;
|
|
349
|
+
event?: EventInput.AsProtobufJSON | null;
|
|
350
|
+
}
|
|
351
|
+
enum InputCase {
|
|
352
|
+
none = 0,
|
|
353
|
+
audioConfig = 1,
|
|
354
|
+
text = 2,
|
|
355
|
+
event = 3
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
/**
|
|
359
|
+
* Message implementation for ondewo.nlu.QueryResult
|
|
360
|
+
*/
|
|
361
|
+
export declare class QueryResult implements GrpcMessage {
|
|
362
|
+
static id: string;
|
|
363
|
+
/**
|
|
364
|
+
* Deserialize binary data to message
|
|
365
|
+
* @param instance message instance
|
|
366
|
+
*/
|
|
367
|
+
static deserializeBinary(bytes: ByteSource): QueryResult;
|
|
368
|
+
/**
|
|
369
|
+
* Check all the properties and set default protobuf values if necessary
|
|
370
|
+
* @param _instance message instance
|
|
371
|
+
*/
|
|
372
|
+
static refineValues(_instance: QueryResult): void;
|
|
373
|
+
/**
|
|
374
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
375
|
+
* @param _instance message instance
|
|
376
|
+
* @param _reader binary reader instance
|
|
377
|
+
*/
|
|
378
|
+
static deserializeBinaryFromReader(_instance: QueryResult, _reader: BinaryReader): void;
|
|
379
|
+
/**
|
|
380
|
+
* Serializes a message to binary format using provided binary reader
|
|
381
|
+
* @param _instance message instance
|
|
382
|
+
* @param _writer binary writer instance
|
|
383
|
+
*/
|
|
384
|
+
static serializeBinaryToWriter(_instance: QueryResult, _writer: BinaryWriter): void;
|
|
385
|
+
private _queryText?;
|
|
386
|
+
private _languageCode?;
|
|
387
|
+
private _speechRecognitionConfidence?;
|
|
388
|
+
private _action?;
|
|
389
|
+
private _parameters?;
|
|
390
|
+
private _allRequiredParamsPresent?;
|
|
391
|
+
private _fulfillmentText?;
|
|
392
|
+
private _fulfillmentMessages?;
|
|
393
|
+
private _webhookSource?;
|
|
394
|
+
private _webhookPayload?;
|
|
395
|
+
private _outputContexts?;
|
|
396
|
+
private _intent?;
|
|
397
|
+
private _intentDetectionConfidence?;
|
|
398
|
+
private _diagnosticInfo?;
|
|
399
|
+
/**
|
|
400
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
401
|
+
* @param _value initial values object or instance of QueryResult to deeply clone from
|
|
402
|
+
*/
|
|
403
|
+
constructor(_value?: RecursivePartial<QueryResult.AsObject>);
|
|
404
|
+
get queryText(): string | undefined;
|
|
405
|
+
set queryText(value: string | undefined);
|
|
406
|
+
get languageCode(): string | undefined;
|
|
407
|
+
set languageCode(value: string | undefined);
|
|
408
|
+
get speechRecognitionConfidence(): number | undefined;
|
|
409
|
+
set speechRecognitionConfidence(value: number | undefined);
|
|
410
|
+
get action(): string | undefined;
|
|
411
|
+
set action(value: string | undefined);
|
|
412
|
+
get parameters(): googleProtobuf010.Struct | undefined;
|
|
413
|
+
set parameters(value: googleProtobuf010.Struct | undefined);
|
|
414
|
+
get allRequiredParamsPresent(): boolean | undefined;
|
|
415
|
+
set allRequiredParamsPresent(value: boolean | undefined);
|
|
416
|
+
get fulfillmentText(): string | undefined;
|
|
417
|
+
set fulfillmentText(value: string | undefined);
|
|
418
|
+
get fulfillmentMessages(): ondewoNlu013.Intent.Message[] | undefined;
|
|
419
|
+
set fulfillmentMessages(value: ondewoNlu013.Intent.Message[] | undefined);
|
|
420
|
+
get webhookSource(): string | undefined;
|
|
421
|
+
set webhookSource(value: string | undefined);
|
|
422
|
+
get webhookPayload(): googleProtobuf010.Struct | undefined;
|
|
423
|
+
set webhookPayload(value: googleProtobuf010.Struct | undefined);
|
|
424
|
+
get outputContexts(): ondewoNlu006.Context[] | undefined;
|
|
425
|
+
set outputContexts(value: ondewoNlu006.Context[] | undefined);
|
|
426
|
+
get intent(): ondewoNlu013.Intent | undefined;
|
|
427
|
+
set intent(value: ondewoNlu013.Intent | undefined);
|
|
428
|
+
get intentDetectionConfidence(): number | undefined;
|
|
429
|
+
set intentDetectionConfidence(value: number | undefined);
|
|
430
|
+
get diagnosticInfo(): googleProtobuf010.Struct | undefined;
|
|
431
|
+
set diagnosticInfo(value: googleProtobuf010.Struct | undefined);
|
|
432
|
+
/**
|
|
433
|
+
* Serialize message to binary data
|
|
434
|
+
* @param instance message instance
|
|
435
|
+
*/
|
|
436
|
+
serializeBinary(): any;
|
|
437
|
+
/**
|
|
438
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
439
|
+
*/
|
|
440
|
+
toObject(): QueryResult.AsObject;
|
|
441
|
+
/**
|
|
442
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
443
|
+
*/
|
|
444
|
+
toJSON(): QueryResult.AsObject;
|
|
445
|
+
/**
|
|
446
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
447
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
448
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
449
|
+
*/
|
|
450
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): QueryResult.AsProtobufJSON;
|
|
451
|
+
}
|
|
452
|
+
export declare module QueryResult {
|
|
453
|
+
/**
|
|
454
|
+
* Standard JavaScript object representation for QueryResult
|
|
455
|
+
*/
|
|
456
|
+
interface AsObject {
|
|
457
|
+
queryText?: string;
|
|
458
|
+
languageCode?: string;
|
|
459
|
+
speechRecognitionConfidence?: number;
|
|
460
|
+
action?: string;
|
|
461
|
+
parameters?: googleProtobuf010.Struct.AsObject;
|
|
462
|
+
allRequiredParamsPresent?: boolean;
|
|
463
|
+
fulfillmentText?: string;
|
|
464
|
+
fulfillmentMessages?: ondewoNlu013.Intent.Message.AsObject[];
|
|
465
|
+
webhookSource?: string;
|
|
466
|
+
webhookPayload?: googleProtobuf010.Struct.AsObject;
|
|
467
|
+
outputContexts?: ondewoNlu006.Context.AsObject[];
|
|
468
|
+
intent?: ondewoNlu013.Intent.AsObject;
|
|
469
|
+
intentDetectionConfidence?: number;
|
|
470
|
+
diagnosticInfo?: googleProtobuf010.Struct.AsObject;
|
|
471
|
+
}
|
|
472
|
+
/**
|
|
473
|
+
* Protobuf JSON representation for QueryResult
|
|
474
|
+
*/
|
|
475
|
+
interface AsProtobufJSON {
|
|
476
|
+
queryText?: string;
|
|
477
|
+
languageCode?: string;
|
|
478
|
+
speechRecognitionConfidence?: number;
|
|
479
|
+
action?: string;
|
|
480
|
+
parameters?: googleProtobuf010.Struct.AsProtobufJSON | null;
|
|
481
|
+
allRequiredParamsPresent?: boolean;
|
|
482
|
+
fulfillmentText?: string;
|
|
483
|
+
fulfillmentMessages?: ondewoNlu013.Intent.Message.AsProtobufJSON[] | null;
|
|
484
|
+
webhookSource?: string;
|
|
485
|
+
webhookPayload?: googleProtobuf010.Struct.AsProtobufJSON | null;
|
|
486
|
+
outputContexts?: ondewoNlu006.Context.AsProtobufJSON[] | null;
|
|
487
|
+
intent?: ondewoNlu013.Intent.AsProtobufJSON | null;
|
|
488
|
+
intentDetectionConfidence?: number;
|
|
489
|
+
diagnosticInfo?: googleProtobuf010.Struct.AsProtobufJSON | null;
|
|
490
|
+
}
|
|
491
|
+
}
|
|
492
|
+
/**
|
|
493
|
+
* Message implementation for ondewo.nlu.StreamingDetectIntentRequest
|
|
494
|
+
*/
|
|
495
|
+
export declare class StreamingDetectIntentRequest implements GrpcMessage {
|
|
496
|
+
static id: string;
|
|
497
|
+
/**
|
|
498
|
+
* Deserialize binary data to message
|
|
499
|
+
* @param instance message instance
|
|
500
|
+
*/
|
|
501
|
+
static deserializeBinary(bytes: ByteSource): StreamingDetectIntentRequest;
|
|
502
|
+
/**
|
|
503
|
+
* Check all the properties and set default protobuf values if necessary
|
|
504
|
+
* @param _instance message instance
|
|
505
|
+
*/
|
|
506
|
+
static refineValues(_instance: StreamingDetectIntentRequest): void;
|
|
507
|
+
/**
|
|
508
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
509
|
+
* @param _instance message instance
|
|
510
|
+
* @param _reader binary reader instance
|
|
511
|
+
*/
|
|
512
|
+
static deserializeBinaryFromReader(_instance: StreamingDetectIntentRequest, _reader: BinaryReader): void;
|
|
513
|
+
/**
|
|
514
|
+
* Serializes a message to binary format using provided binary reader
|
|
515
|
+
* @param _instance message instance
|
|
516
|
+
* @param _writer binary writer instance
|
|
517
|
+
*/
|
|
518
|
+
static serializeBinaryToWriter(_instance: StreamingDetectIntentRequest, _writer: BinaryWriter): void;
|
|
519
|
+
private _session?;
|
|
520
|
+
private _queryParams?;
|
|
521
|
+
private _queryInput?;
|
|
522
|
+
private _singleUtterance?;
|
|
523
|
+
private _inputAudio?;
|
|
524
|
+
/**
|
|
525
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
526
|
+
* @param _value initial values object or instance of StreamingDetectIntentRequest to deeply clone from
|
|
527
|
+
*/
|
|
528
|
+
constructor(_value?: RecursivePartial<StreamingDetectIntentRequest.AsObject>);
|
|
529
|
+
get session(): string | undefined;
|
|
530
|
+
set session(value: string | undefined);
|
|
531
|
+
get queryParams(): QueryParameters | undefined;
|
|
532
|
+
set queryParams(value: QueryParameters | undefined);
|
|
533
|
+
get queryInput(): QueryInput | undefined;
|
|
534
|
+
set queryInput(value: QueryInput | undefined);
|
|
535
|
+
get singleUtterance(): boolean | undefined;
|
|
536
|
+
set singleUtterance(value: boolean | undefined);
|
|
537
|
+
get inputAudio(): Uint8Array | undefined;
|
|
538
|
+
set inputAudio(value: Uint8Array | undefined);
|
|
539
|
+
/**
|
|
540
|
+
* Serialize message to binary data
|
|
541
|
+
* @param instance message instance
|
|
542
|
+
*/
|
|
543
|
+
serializeBinary(): any;
|
|
544
|
+
/**
|
|
545
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
546
|
+
*/
|
|
547
|
+
toObject(): StreamingDetectIntentRequest.AsObject;
|
|
548
|
+
/**
|
|
549
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
550
|
+
*/
|
|
551
|
+
toJSON(): StreamingDetectIntentRequest.AsObject;
|
|
552
|
+
/**
|
|
553
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
554
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
555
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
556
|
+
*/
|
|
557
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): StreamingDetectIntentRequest.AsProtobufJSON;
|
|
558
|
+
}
|
|
559
|
+
export declare module StreamingDetectIntentRequest {
|
|
560
|
+
/**
|
|
561
|
+
* Standard JavaScript object representation for StreamingDetectIntentRequest
|
|
562
|
+
*/
|
|
563
|
+
interface AsObject {
|
|
564
|
+
session?: string;
|
|
565
|
+
queryParams?: QueryParameters.AsObject;
|
|
566
|
+
queryInput?: QueryInput.AsObject;
|
|
567
|
+
singleUtterance?: boolean;
|
|
568
|
+
inputAudio?: Uint8Array;
|
|
569
|
+
}
|
|
570
|
+
/**
|
|
571
|
+
* Protobuf JSON representation for StreamingDetectIntentRequest
|
|
572
|
+
*/
|
|
573
|
+
interface AsProtobufJSON {
|
|
574
|
+
session?: string;
|
|
575
|
+
queryParams?: QueryParameters.AsProtobufJSON | null;
|
|
576
|
+
queryInput?: QueryInput.AsProtobufJSON | null;
|
|
577
|
+
singleUtterance?: boolean;
|
|
578
|
+
inputAudio?: string;
|
|
579
|
+
}
|
|
580
|
+
}
|
|
581
|
+
/**
|
|
582
|
+
* Message implementation for ondewo.nlu.StreamingDetectIntentResponse
|
|
583
|
+
*/
|
|
584
|
+
export declare class StreamingDetectIntentResponse implements GrpcMessage {
|
|
585
|
+
static id: string;
|
|
586
|
+
/**
|
|
587
|
+
* Deserialize binary data to message
|
|
588
|
+
* @param instance message instance
|
|
589
|
+
*/
|
|
590
|
+
static deserializeBinary(bytes: ByteSource): StreamingDetectIntentResponse;
|
|
591
|
+
/**
|
|
592
|
+
* Check all the properties and set default protobuf values if necessary
|
|
593
|
+
* @param _instance message instance
|
|
594
|
+
*/
|
|
595
|
+
static refineValues(_instance: StreamingDetectIntentResponse): void;
|
|
596
|
+
/**
|
|
597
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
598
|
+
* @param _instance message instance
|
|
599
|
+
* @param _reader binary reader instance
|
|
600
|
+
*/
|
|
601
|
+
static deserializeBinaryFromReader(_instance: StreamingDetectIntentResponse, _reader: BinaryReader): void;
|
|
602
|
+
/**
|
|
603
|
+
* Serializes a message to binary format using provided binary reader
|
|
604
|
+
* @param _instance message instance
|
|
605
|
+
* @param _writer binary writer instance
|
|
606
|
+
*/
|
|
607
|
+
static serializeBinaryToWriter(_instance: StreamingDetectIntentResponse, _writer: BinaryWriter): void;
|
|
608
|
+
private _responseId?;
|
|
609
|
+
private _recognitionResult?;
|
|
610
|
+
private _queryResult?;
|
|
611
|
+
private _webhookStatus?;
|
|
612
|
+
/**
|
|
613
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
614
|
+
* @param _value initial values object or instance of StreamingDetectIntentResponse to deeply clone from
|
|
615
|
+
*/
|
|
616
|
+
constructor(_value?: RecursivePartial<StreamingDetectIntentResponse.AsObject>);
|
|
617
|
+
get responseId(): string | undefined;
|
|
618
|
+
set responseId(value: string | undefined);
|
|
619
|
+
get recognitionResult(): StreamingRecognitionResult | undefined;
|
|
620
|
+
set recognitionResult(value: StreamingRecognitionResult | undefined);
|
|
621
|
+
get queryResult(): QueryResult | undefined;
|
|
622
|
+
set queryResult(value: QueryResult | undefined);
|
|
623
|
+
get webhookStatus(): googleRpc011.Status | undefined;
|
|
624
|
+
set webhookStatus(value: googleRpc011.Status | undefined);
|
|
625
|
+
/**
|
|
626
|
+
* Serialize message to binary data
|
|
627
|
+
* @param instance message instance
|
|
628
|
+
*/
|
|
629
|
+
serializeBinary(): any;
|
|
630
|
+
/**
|
|
631
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
632
|
+
*/
|
|
633
|
+
toObject(): StreamingDetectIntentResponse.AsObject;
|
|
634
|
+
/**
|
|
635
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
636
|
+
*/
|
|
637
|
+
toJSON(): StreamingDetectIntentResponse.AsObject;
|
|
638
|
+
/**
|
|
639
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
640
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
641
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
642
|
+
*/
|
|
643
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): StreamingDetectIntentResponse.AsProtobufJSON;
|
|
644
|
+
}
|
|
645
|
+
export declare module StreamingDetectIntentResponse {
|
|
646
|
+
/**
|
|
647
|
+
* Standard JavaScript object representation for StreamingDetectIntentResponse
|
|
648
|
+
*/
|
|
649
|
+
interface AsObject {
|
|
650
|
+
responseId?: string;
|
|
651
|
+
recognitionResult?: StreamingRecognitionResult.AsObject;
|
|
652
|
+
queryResult?: QueryResult.AsObject;
|
|
653
|
+
webhookStatus?: googleRpc011.Status.AsObject;
|
|
654
|
+
}
|
|
655
|
+
/**
|
|
656
|
+
* Protobuf JSON representation for StreamingDetectIntentResponse
|
|
657
|
+
*/
|
|
658
|
+
interface AsProtobufJSON {
|
|
659
|
+
responseId?: string;
|
|
660
|
+
recognitionResult?: StreamingRecognitionResult.AsProtobufJSON | null;
|
|
661
|
+
queryResult?: QueryResult.AsProtobufJSON | null;
|
|
662
|
+
webhookStatus?: googleRpc011.Status.AsProtobufJSON | null;
|
|
663
|
+
}
|
|
664
|
+
}
|
|
665
|
+
/**
|
|
666
|
+
* Message implementation for ondewo.nlu.StreamingRecognitionResult
|
|
667
|
+
*/
|
|
668
|
+
export declare class StreamingRecognitionResult implements GrpcMessage {
|
|
669
|
+
static id: string;
|
|
670
|
+
/**
|
|
671
|
+
* Deserialize binary data to message
|
|
672
|
+
* @param instance message instance
|
|
673
|
+
*/
|
|
674
|
+
static deserializeBinary(bytes: ByteSource): StreamingRecognitionResult;
|
|
675
|
+
/**
|
|
676
|
+
* Check all the properties and set default protobuf values if necessary
|
|
677
|
+
* @param _instance message instance
|
|
678
|
+
*/
|
|
679
|
+
static refineValues(_instance: StreamingRecognitionResult): void;
|
|
680
|
+
/**
|
|
681
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
682
|
+
* @param _instance message instance
|
|
683
|
+
* @param _reader binary reader instance
|
|
684
|
+
*/
|
|
685
|
+
static deserializeBinaryFromReader(_instance: StreamingRecognitionResult, _reader: BinaryReader): void;
|
|
686
|
+
/**
|
|
687
|
+
* Serializes a message to binary format using provided binary reader
|
|
688
|
+
* @param _instance message instance
|
|
689
|
+
* @param _writer binary writer instance
|
|
690
|
+
*/
|
|
691
|
+
static serializeBinaryToWriter(_instance: StreamingRecognitionResult, _writer: BinaryWriter): void;
|
|
692
|
+
private _messageType?;
|
|
693
|
+
private _transcript?;
|
|
694
|
+
private _isFinal?;
|
|
695
|
+
private _confidence?;
|
|
696
|
+
/**
|
|
697
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
698
|
+
* @param _value initial values object or instance of StreamingRecognitionResult to deeply clone from
|
|
699
|
+
*/
|
|
700
|
+
constructor(_value?: RecursivePartial<StreamingRecognitionResult.AsObject>);
|
|
701
|
+
get messageType(): StreamingRecognitionResult.MessageType | undefined;
|
|
702
|
+
set messageType(value: StreamingRecognitionResult.MessageType | undefined);
|
|
703
|
+
get transcript(): string | undefined;
|
|
704
|
+
set transcript(value: string | undefined);
|
|
705
|
+
get isFinal(): boolean | undefined;
|
|
706
|
+
set isFinal(value: boolean | undefined);
|
|
707
|
+
get confidence(): number | undefined;
|
|
708
|
+
set confidence(value: number | undefined);
|
|
709
|
+
/**
|
|
710
|
+
* Serialize message to binary data
|
|
711
|
+
* @param instance message instance
|
|
712
|
+
*/
|
|
713
|
+
serializeBinary(): any;
|
|
714
|
+
/**
|
|
715
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
716
|
+
*/
|
|
717
|
+
toObject(): StreamingRecognitionResult.AsObject;
|
|
718
|
+
/**
|
|
719
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
720
|
+
*/
|
|
721
|
+
toJSON(): StreamingRecognitionResult.AsObject;
|
|
722
|
+
/**
|
|
723
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
724
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
725
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
726
|
+
*/
|
|
727
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): StreamingRecognitionResult.AsProtobufJSON;
|
|
728
|
+
}
|
|
729
|
+
export declare module StreamingRecognitionResult {
|
|
730
|
+
/**
|
|
731
|
+
* Standard JavaScript object representation for StreamingRecognitionResult
|
|
732
|
+
*/
|
|
733
|
+
interface AsObject {
|
|
734
|
+
messageType?: StreamingRecognitionResult.MessageType;
|
|
735
|
+
transcript?: string;
|
|
736
|
+
isFinal?: boolean;
|
|
737
|
+
confidence?: number;
|
|
738
|
+
}
|
|
739
|
+
/**
|
|
740
|
+
* Protobuf JSON representation for StreamingRecognitionResult
|
|
741
|
+
*/
|
|
742
|
+
interface AsProtobufJSON {
|
|
743
|
+
messageType?: string;
|
|
744
|
+
transcript?: string;
|
|
745
|
+
isFinal?: boolean;
|
|
746
|
+
confidence?: number;
|
|
747
|
+
}
|
|
748
|
+
enum MessageType {
|
|
749
|
+
MESSAGE_TYPE_UNSPECIFIED = 0,
|
|
750
|
+
TRANSCRIPT = 1,
|
|
751
|
+
END_OF_SINGLE_UTTERANCE = 2
|
|
752
|
+
}
|
|
753
|
+
}
|
|
754
|
+
/**
|
|
755
|
+
* Message implementation for ondewo.nlu.InputAudioConfig
|
|
756
|
+
*/
|
|
757
|
+
export declare class InputAudioConfig implements GrpcMessage {
|
|
758
|
+
static id: string;
|
|
759
|
+
/**
|
|
760
|
+
* Deserialize binary data to message
|
|
761
|
+
* @param instance message instance
|
|
762
|
+
*/
|
|
763
|
+
static deserializeBinary(bytes: ByteSource): InputAudioConfig;
|
|
764
|
+
/**
|
|
765
|
+
* Check all the properties and set default protobuf values if necessary
|
|
766
|
+
* @param _instance message instance
|
|
767
|
+
*/
|
|
768
|
+
static refineValues(_instance: InputAudioConfig): void;
|
|
769
|
+
/**
|
|
770
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
771
|
+
* @param _instance message instance
|
|
772
|
+
* @param _reader binary reader instance
|
|
773
|
+
*/
|
|
774
|
+
static deserializeBinaryFromReader(_instance: InputAudioConfig, _reader: BinaryReader): void;
|
|
775
|
+
/**
|
|
776
|
+
* Serializes a message to binary format using provided binary reader
|
|
777
|
+
* @param _instance message instance
|
|
778
|
+
* @param _writer binary writer instance
|
|
779
|
+
*/
|
|
780
|
+
static serializeBinaryToWriter(_instance: InputAudioConfig, _writer: BinaryWriter): void;
|
|
781
|
+
private _audioEncoding?;
|
|
782
|
+
private _sampleRateHertz?;
|
|
783
|
+
private _languageCode?;
|
|
784
|
+
private _phraseHints?;
|
|
785
|
+
/**
|
|
786
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
787
|
+
* @param _value initial values object or instance of InputAudioConfig to deeply clone from
|
|
788
|
+
*/
|
|
789
|
+
constructor(_value?: RecursivePartial<InputAudioConfig.AsObject>);
|
|
790
|
+
get audioEncoding(): AudioEncoding | undefined;
|
|
791
|
+
set audioEncoding(value: AudioEncoding | undefined);
|
|
792
|
+
get sampleRateHertz(): number | undefined;
|
|
793
|
+
set sampleRateHertz(value: number | undefined);
|
|
794
|
+
get languageCode(): string | undefined;
|
|
795
|
+
set languageCode(value: string | undefined);
|
|
796
|
+
get phraseHints(): string[] | undefined;
|
|
797
|
+
set phraseHints(value: string[] | undefined);
|
|
798
|
+
/**
|
|
799
|
+
* Serialize message to binary data
|
|
800
|
+
* @param instance message instance
|
|
801
|
+
*/
|
|
802
|
+
serializeBinary(): any;
|
|
803
|
+
/**
|
|
804
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
805
|
+
*/
|
|
806
|
+
toObject(): InputAudioConfig.AsObject;
|
|
807
|
+
/**
|
|
808
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
809
|
+
*/
|
|
810
|
+
toJSON(): InputAudioConfig.AsObject;
|
|
811
|
+
/**
|
|
812
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
813
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
814
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
815
|
+
*/
|
|
816
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): InputAudioConfig.AsProtobufJSON;
|
|
817
|
+
}
|
|
818
|
+
export declare module InputAudioConfig {
|
|
819
|
+
/**
|
|
820
|
+
* Standard JavaScript object representation for InputAudioConfig
|
|
821
|
+
*/
|
|
822
|
+
interface AsObject {
|
|
823
|
+
audioEncoding?: AudioEncoding;
|
|
824
|
+
sampleRateHertz?: number;
|
|
825
|
+
languageCode?: string;
|
|
826
|
+
phraseHints?: string[];
|
|
827
|
+
}
|
|
828
|
+
/**
|
|
829
|
+
* Protobuf JSON representation for InputAudioConfig
|
|
830
|
+
*/
|
|
831
|
+
interface AsProtobufJSON {
|
|
832
|
+
audioEncoding?: string;
|
|
833
|
+
sampleRateHertz?: number;
|
|
834
|
+
languageCode?: string;
|
|
835
|
+
phraseHints?: string[];
|
|
836
|
+
}
|
|
837
|
+
}
|
|
838
|
+
/**
|
|
839
|
+
* Message implementation for ondewo.nlu.TextInput
|
|
840
|
+
*/
|
|
841
|
+
export declare class TextInput implements GrpcMessage {
|
|
842
|
+
static id: string;
|
|
843
|
+
/**
|
|
844
|
+
* Deserialize binary data to message
|
|
845
|
+
* @param instance message instance
|
|
846
|
+
*/
|
|
847
|
+
static deserializeBinary(bytes: ByteSource): TextInput;
|
|
848
|
+
/**
|
|
849
|
+
* Check all the properties and set default protobuf values if necessary
|
|
850
|
+
* @param _instance message instance
|
|
851
|
+
*/
|
|
852
|
+
static refineValues(_instance: TextInput): void;
|
|
853
|
+
/**
|
|
854
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
855
|
+
* @param _instance message instance
|
|
856
|
+
* @param _reader binary reader instance
|
|
857
|
+
*/
|
|
858
|
+
static deserializeBinaryFromReader(_instance: TextInput, _reader: BinaryReader): void;
|
|
859
|
+
/**
|
|
860
|
+
* Serializes a message to binary format using provided binary reader
|
|
861
|
+
* @param _instance message instance
|
|
862
|
+
* @param _writer binary writer instance
|
|
863
|
+
*/
|
|
864
|
+
static serializeBinaryToWriter(_instance: TextInput, _writer: BinaryWriter): void;
|
|
865
|
+
private _text?;
|
|
866
|
+
private _languageCode?;
|
|
867
|
+
/**
|
|
868
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
869
|
+
* @param _value initial values object or instance of TextInput to deeply clone from
|
|
870
|
+
*/
|
|
871
|
+
constructor(_value?: RecursivePartial<TextInput.AsObject>);
|
|
872
|
+
get text(): string | undefined;
|
|
873
|
+
set text(value: string | undefined);
|
|
874
|
+
get languageCode(): string | undefined;
|
|
875
|
+
set languageCode(value: string | undefined);
|
|
876
|
+
/**
|
|
877
|
+
* Serialize message to binary data
|
|
878
|
+
* @param instance message instance
|
|
879
|
+
*/
|
|
880
|
+
serializeBinary(): any;
|
|
881
|
+
/**
|
|
882
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
883
|
+
*/
|
|
884
|
+
toObject(): TextInput.AsObject;
|
|
885
|
+
/**
|
|
886
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
887
|
+
*/
|
|
888
|
+
toJSON(): TextInput.AsObject;
|
|
889
|
+
/**
|
|
890
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
891
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
892
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
893
|
+
*/
|
|
894
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): TextInput.AsProtobufJSON;
|
|
895
|
+
}
|
|
896
|
+
export declare module TextInput {
|
|
897
|
+
/**
|
|
898
|
+
* Standard JavaScript object representation for TextInput
|
|
899
|
+
*/
|
|
900
|
+
interface AsObject {
|
|
901
|
+
text?: string;
|
|
902
|
+
languageCode?: string;
|
|
903
|
+
}
|
|
904
|
+
/**
|
|
905
|
+
* Protobuf JSON representation for TextInput
|
|
906
|
+
*/
|
|
907
|
+
interface AsProtobufJSON {
|
|
908
|
+
text?: string;
|
|
909
|
+
languageCode?: string;
|
|
910
|
+
}
|
|
911
|
+
}
|
|
912
|
+
/**
|
|
913
|
+
* Message implementation for ondewo.nlu.EventInput
|
|
914
|
+
*/
|
|
915
|
+
export declare class EventInput implements GrpcMessage {
|
|
916
|
+
static id: string;
|
|
917
|
+
/**
|
|
918
|
+
* Deserialize binary data to message
|
|
919
|
+
* @param instance message instance
|
|
920
|
+
*/
|
|
921
|
+
static deserializeBinary(bytes: ByteSource): EventInput;
|
|
922
|
+
/**
|
|
923
|
+
* Check all the properties and set default protobuf values if necessary
|
|
924
|
+
* @param _instance message instance
|
|
925
|
+
*/
|
|
926
|
+
static refineValues(_instance: EventInput): void;
|
|
927
|
+
/**
|
|
928
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
929
|
+
* @param _instance message instance
|
|
930
|
+
* @param _reader binary reader instance
|
|
931
|
+
*/
|
|
932
|
+
static deserializeBinaryFromReader(_instance: EventInput, _reader: BinaryReader): void;
|
|
933
|
+
/**
|
|
934
|
+
* Serializes a message to binary format using provided binary reader
|
|
935
|
+
* @param _instance message instance
|
|
936
|
+
* @param _writer binary writer instance
|
|
937
|
+
*/
|
|
938
|
+
static serializeBinaryToWriter(_instance: EventInput, _writer: BinaryWriter): void;
|
|
939
|
+
private _name?;
|
|
940
|
+
private _parameters?;
|
|
941
|
+
private _languageCode?;
|
|
942
|
+
/**
|
|
943
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
944
|
+
* @param _value initial values object or instance of EventInput to deeply clone from
|
|
945
|
+
*/
|
|
946
|
+
constructor(_value?: RecursivePartial<EventInput.AsObject>);
|
|
947
|
+
get name(): string | undefined;
|
|
948
|
+
set name(value: string | undefined);
|
|
949
|
+
get parameters(): googleProtobuf010.Struct | undefined;
|
|
950
|
+
set parameters(value: googleProtobuf010.Struct | undefined);
|
|
951
|
+
get languageCode(): string | undefined;
|
|
952
|
+
set languageCode(value: string | undefined);
|
|
953
|
+
/**
|
|
954
|
+
* Serialize message to binary data
|
|
955
|
+
* @param instance message instance
|
|
956
|
+
*/
|
|
957
|
+
serializeBinary(): any;
|
|
958
|
+
/**
|
|
959
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
960
|
+
*/
|
|
961
|
+
toObject(): EventInput.AsObject;
|
|
962
|
+
/**
|
|
963
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
964
|
+
*/
|
|
965
|
+
toJSON(): EventInput.AsObject;
|
|
966
|
+
/**
|
|
967
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
968
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
969
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
970
|
+
*/
|
|
971
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): EventInput.AsProtobufJSON;
|
|
972
|
+
}
|
|
973
|
+
export declare module EventInput {
|
|
974
|
+
/**
|
|
975
|
+
* Standard JavaScript object representation for EventInput
|
|
976
|
+
*/
|
|
977
|
+
interface AsObject {
|
|
978
|
+
name?: string;
|
|
979
|
+
parameters?: googleProtobuf010.Struct.AsObject;
|
|
980
|
+
languageCode?: string;
|
|
981
|
+
}
|
|
982
|
+
/**
|
|
983
|
+
* Protobuf JSON representation for EventInput
|
|
984
|
+
*/
|
|
985
|
+
interface AsProtobufJSON {
|
|
986
|
+
name?: string;
|
|
987
|
+
parameters?: googleProtobuf010.Struct.AsProtobufJSON | null;
|
|
988
|
+
languageCode?: string;
|
|
989
|
+
}
|
|
990
|
+
}
|
|
991
|
+
/**
|
|
992
|
+
* Message implementation for ondewo.nlu.Session
|
|
993
|
+
*/
|
|
994
|
+
export declare class Session implements GrpcMessage {
|
|
995
|
+
static id: string;
|
|
996
|
+
/**
|
|
997
|
+
* Deserialize binary data to message
|
|
998
|
+
* @param instance message instance
|
|
999
|
+
*/
|
|
1000
|
+
static deserializeBinary(bytes: ByteSource): Session;
|
|
1001
|
+
/**
|
|
1002
|
+
* Check all the properties and set default protobuf values if necessary
|
|
1003
|
+
* @param _instance message instance
|
|
1004
|
+
*/
|
|
1005
|
+
static refineValues(_instance: Session): void;
|
|
1006
|
+
/**
|
|
1007
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
1008
|
+
* @param _instance message instance
|
|
1009
|
+
* @param _reader binary reader instance
|
|
1010
|
+
*/
|
|
1011
|
+
static deserializeBinaryFromReader(_instance: Session, _reader: BinaryReader): void;
|
|
1012
|
+
/**
|
|
1013
|
+
* Serializes a message to binary format using provided binary reader
|
|
1014
|
+
* @param _instance message instance
|
|
1015
|
+
* @param _writer binary writer instance
|
|
1016
|
+
*/
|
|
1017
|
+
static serializeBinaryToWriter(_instance: Session, _writer: BinaryWriter): void;
|
|
1018
|
+
private _sessionId?;
|
|
1019
|
+
private _sessionSteps?;
|
|
1020
|
+
private _sessionInfo?;
|
|
1021
|
+
/**
|
|
1022
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
1023
|
+
* @param _value initial values object or instance of Session to deeply clone from
|
|
1024
|
+
*/
|
|
1025
|
+
constructor(_value?: RecursivePartial<Session.AsObject>);
|
|
1026
|
+
get sessionId(): string | undefined;
|
|
1027
|
+
set sessionId(value: string | undefined);
|
|
1028
|
+
get sessionSteps(): SessionStep[] | undefined;
|
|
1029
|
+
set sessionSteps(value: SessionStep[] | undefined);
|
|
1030
|
+
get sessionInfo(): SessionInfo | undefined;
|
|
1031
|
+
set sessionInfo(value: SessionInfo | undefined);
|
|
1032
|
+
/**
|
|
1033
|
+
* Serialize message to binary data
|
|
1034
|
+
* @param instance message instance
|
|
1035
|
+
*/
|
|
1036
|
+
serializeBinary(): any;
|
|
1037
|
+
/**
|
|
1038
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
1039
|
+
*/
|
|
1040
|
+
toObject(): Session.AsObject;
|
|
1041
|
+
/**
|
|
1042
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
1043
|
+
*/
|
|
1044
|
+
toJSON(): Session.AsObject;
|
|
1045
|
+
/**
|
|
1046
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
1047
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
1048
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
1049
|
+
*/
|
|
1050
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): Session.AsProtobufJSON;
|
|
1051
|
+
}
|
|
1052
|
+
export declare module Session {
|
|
1053
|
+
/**
|
|
1054
|
+
* Standard JavaScript object representation for Session
|
|
1055
|
+
*/
|
|
1056
|
+
interface AsObject {
|
|
1057
|
+
sessionId?: string;
|
|
1058
|
+
sessionSteps?: SessionStep.AsObject[];
|
|
1059
|
+
sessionInfo?: SessionInfo.AsObject;
|
|
1060
|
+
}
|
|
1061
|
+
/**
|
|
1062
|
+
* Protobuf JSON representation for Session
|
|
1063
|
+
*/
|
|
1064
|
+
interface AsProtobufJSON {
|
|
1065
|
+
sessionId?: string;
|
|
1066
|
+
sessionSteps?: SessionStep.AsProtobufJSON[] | null;
|
|
1067
|
+
sessionInfo?: SessionInfo.AsProtobufJSON | null;
|
|
1068
|
+
}
|
|
1069
|
+
enum View {
|
|
1070
|
+
VIEW_UNSPECIFIED = 0,
|
|
1071
|
+
VIEW_FULL = 1,
|
|
1072
|
+
VIEW_SPARSE = 2
|
|
1073
|
+
}
|
|
1074
|
+
}
|
|
1075
|
+
/**
|
|
1076
|
+
* Message implementation for ondewo.nlu.SessionStep
|
|
1077
|
+
*/
|
|
1078
|
+
export declare class SessionStep implements GrpcMessage {
|
|
1079
|
+
static id: string;
|
|
1080
|
+
/**
|
|
1081
|
+
* Deserialize binary data to message
|
|
1082
|
+
* @param instance message instance
|
|
1083
|
+
*/
|
|
1084
|
+
static deserializeBinary(bytes: ByteSource): SessionStep;
|
|
1085
|
+
/**
|
|
1086
|
+
* Check all the properties and set default protobuf values if necessary
|
|
1087
|
+
* @param _instance message instance
|
|
1088
|
+
*/
|
|
1089
|
+
static refineValues(_instance: SessionStep): void;
|
|
1090
|
+
/**
|
|
1091
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
1092
|
+
* @param _instance message instance
|
|
1093
|
+
* @param _reader binary reader instance
|
|
1094
|
+
*/
|
|
1095
|
+
static deserializeBinaryFromReader(_instance: SessionStep, _reader: BinaryReader): void;
|
|
1096
|
+
/**
|
|
1097
|
+
* Serializes a message to binary format using provided binary reader
|
|
1098
|
+
* @param _instance message instance
|
|
1099
|
+
* @param _writer binary writer instance
|
|
1100
|
+
*/
|
|
1101
|
+
static serializeBinaryToWriter(_instance: SessionStep, _writer: BinaryWriter): void;
|
|
1102
|
+
private _detectIntentRequest?;
|
|
1103
|
+
private _detectIntentResponse?;
|
|
1104
|
+
private _contexts?;
|
|
1105
|
+
/**
|
|
1106
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
1107
|
+
* @param _value initial values object or instance of SessionStep to deeply clone from
|
|
1108
|
+
*/
|
|
1109
|
+
constructor(_value?: RecursivePartial<SessionStep.AsObject>);
|
|
1110
|
+
get detectIntentRequest(): DetectIntentRequest | undefined;
|
|
1111
|
+
set detectIntentRequest(value: DetectIntentRequest | undefined);
|
|
1112
|
+
get detectIntentResponse(): DetectIntentResponse | undefined;
|
|
1113
|
+
set detectIntentResponse(value: DetectIntentResponse | undefined);
|
|
1114
|
+
get contexts(): ondewoNlu006.Context[] | undefined;
|
|
1115
|
+
set contexts(value: ondewoNlu006.Context[] | undefined);
|
|
1116
|
+
/**
|
|
1117
|
+
* Serialize message to binary data
|
|
1118
|
+
* @param instance message instance
|
|
1119
|
+
*/
|
|
1120
|
+
serializeBinary(): any;
|
|
1121
|
+
/**
|
|
1122
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
1123
|
+
*/
|
|
1124
|
+
toObject(): SessionStep.AsObject;
|
|
1125
|
+
/**
|
|
1126
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
1127
|
+
*/
|
|
1128
|
+
toJSON(): SessionStep.AsObject;
|
|
1129
|
+
/**
|
|
1130
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
1131
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
1132
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
1133
|
+
*/
|
|
1134
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): SessionStep.AsProtobufJSON;
|
|
1135
|
+
}
|
|
1136
|
+
export declare module SessionStep {
|
|
1137
|
+
/**
|
|
1138
|
+
* Standard JavaScript object representation for SessionStep
|
|
1139
|
+
*/
|
|
1140
|
+
interface AsObject {
|
|
1141
|
+
detectIntentRequest?: DetectIntentRequest.AsObject;
|
|
1142
|
+
detectIntentResponse?: DetectIntentResponse.AsObject;
|
|
1143
|
+
contexts?: ondewoNlu006.Context.AsObject[];
|
|
1144
|
+
}
|
|
1145
|
+
/**
|
|
1146
|
+
* Protobuf JSON representation for SessionStep
|
|
1147
|
+
*/
|
|
1148
|
+
interface AsProtobufJSON {
|
|
1149
|
+
detectIntentRequest?: DetectIntentRequest.AsProtobufJSON | null;
|
|
1150
|
+
detectIntentResponse?: DetectIntentResponse.AsProtobufJSON | null;
|
|
1151
|
+
contexts?: ondewoNlu006.Context.AsProtobufJSON[] | null;
|
|
1152
|
+
}
|
|
1153
|
+
}
|
|
1154
|
+
/**
|
|
1155
|
+
* Message implementation for ondewo.nlu.TrackSessionStepRequest
|
|
1156
|
+
*/
|
|
1157
|
+
export declare class TrackSessionStepRequest implements GrpcMessage {
|
|
1158
|
+
static id: string;
|
|
1159
|
+
/**
|
|
1160
|
+
* Deserialize binary data to message
|
|
1161
|
+
* @param instance message instance
|
|
1162
|
+
*/
|
|
1163
|
+
static deserializeBinary(bytes: ByteSource): TrackSessionStepRequest;
|
|
1164
|
+
/**
|
|
1165
|
+
* Check all the properties and set default protobuf values if necessary
|
|
1166
|
+
* @param _instance message instance
|
|
1167
|
+
*/
|
|
1168
|
+
static refineValues(_instance: TrackSessionStepRequest): void;
|
|
1169
|
+
/**
|
|
1170
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
1171
|
+
* @param _instance message instance
|
|
1172
|
+
* @param _reader binary reader instance
|
|
1173
|
+
*/
|
|
1174
|
+
static deserializeBinaryFromReader(_instance: TrackSessionStepRequest, _reader: BinaryReader): void;
|
|
1175
|
+
/**
|
|
1176
|
+
* Serializes a message to binary format using provided binary reader
|
|
1177
|
+
* @param _instance message instance
|
|
1178
|
+
* @param _writer binary writer instance
|
|
1179
|
+
*/
|
|
1180
|
+
static serializeBinaryToWriter(_instance: TrackSessionStepRequest, _writer: BinaryWriter): void;
|
|
1181
|
+
private _sessionId?;
|
|
1182
|
+
private _sessionStep?;
|
|
1183
|
+
private _sessionView?;
|
|
1184
|
+
/**
|
|
1185
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
1186
|
+
* @param _value initial values object or instance of TrackSessionStepRequest to deeply clone from
|
|
1187
|
+
*/
|
|
1188
|
+
constructor(_value?: RecursivePartial<TrackSessionStepRequest.AsObject>);
|
|
1189
|
+
get sessionId(): string | undefined;
|
|
1190
|
+
set sessionId(value: string | undefined);
|
|
1191
|
+
get sessionStep(): SessionStep | undefined;
|
|
1192
|
+
set sessionStep(value: SessionStep | undefined);
|
|
1193
|
+
get sessionView(): Session.View | undefined;
|
|
1194
|
+
set sessionView(value: Session.View | undefined);
|
|
1195
|
+
/**
|
|
1196
|
+
* Serialize message to binary data
|
|
1197
|
+
* @param instance message instance
|
|
1198
|
+
*/
|
|
1199
|
+
serializeBinary(): any;
|
|
1200
|
+
/**
|
|
1201
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
1202
|
+
*/
|
|
1203
|
+
toObject(): TrackSessionStepRequest.AsObject;
|
|
1204
|
+
/**
|
|
1205
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
1206
|
+
*/
|
|
1207
|
+
toJSON(): TrackSessionStepRequest.AsObject;
|
|
1208
|
+
/**
|
|
1209
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
1210
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
1211
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
1212
|
+
*/
|
|
1213
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): TrackSessionStepRequest.AsProtobufJSON;
|
|
1214
|
+
}
|
|
1215
|
+
export declare module TrackSessionStepRequest {
|
|
1216
|
+
/**
|
|
1217
|
+
* Standard JavaScript object representation for TrackSessionStepRequest
|
|
1218
|
+
*/
|
|
1219
|
+
interface AsObject {
|
|
1220
|
+
sessionId?: string;
|
|
1221
|
+
sessionStep?: SessionStep.AsObject;
|
|
1222
|
+
sessionView?: Session.View;
|
|
1223
|
+
}
|
|
1224
|
+
/**
|
|
1225
|
+
* Protobuf JSON representation for TrackSessionStepRequest
|
|
1226
|
+
*/
|
|
1227
|
+
interface AsProtobufJSON {
|
|
1228
|
+
sessionId?: string;
|
|
1229
|
+
sessionStep?: SessionStep.AsProtobufJSON | null;
|
|
1230
|
+
sessionView?: string;
|
|
1231
|
+
}
|
|
1232
|
+
}
|
|
1233
|
+
/**
|
|
1234
|
+
* Message implementation for ondewo.nlu.ListSessionsRequest
|
|
1235
|
+
*/
|
|
1236
|
+
export declare class ListSessionsRequest implements GrpcMessage {
|
|
1237
|
+
static id: string;
|
|
1238
|
+
/**
|
|
1239
|
+
* Deserialize binary data to message
|
|
1240
|
+
* @param instance message instance
|
|
1241
|
+
*/
|
|
1242
|
+
static deserializeBinary(bytes: ByteSource): ListSessionsRequest;
|
|
1243
|
+
/**
|
|
1244
|
+
* Check all the properties and set default protobuf values if necessary
|
|
1245
|
+
* @param _instance message instance
|
|
1246
|
+
*/
|
|
1247
|
+
static refineValues(_instance: ListSessionsRequest): void;
|
|
1248
|
+
/**
|
|
1249
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
1250
|
+
* @param _instance message instance
|
|
1251
|
+
* @param _reader binary reader instance
|
|
1252
|
+
*/
|
|
1253
|
+
static deserializeBinaryFromReader(_instance: ListSessionsRequest, _reader: BinaryReader): void;
|
|
1254
|
+
/**
|
|
1255
|
+
* Serializes a message to binary format using provided binary reader
|
|
1256
|
+
* @param _instance message instance
|
|
1257
|
+
* @param _writer binary writer instance
|
|
1258
|
+
*/
|
|
1259
|
+
static serializeBinaryToWriter(_instance: ListSessionsRequest, _writer: BinaryWriter): void;
|
|
1260
|
+
private _parent?;
|
|
1261
|
+
private _sessionView?;
|
|
1262
|
+
private _pageToken?;
|
|
1263
|
+
private _sessionFilter?;
|
|
1264
|
+
/**
|
|
1265
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
1266
|
+
* @param _value initial values object or instance of ListSessionsRequest to deeply clone from
|
|
1267
|
+
*/
|
|
1268
|
+
constructor(_value?: RecursivePartial<ListSessionsRequest.AsObject>);
|
|
1269
|
+
get parent(): string | undefined;
|
|
1270
|
+
set parent(value: string | undefined);
|
|
1271
|
+
get sessionView(): Session.View | undefined;
|
|
1272
|
+
set sessionView(value: Session.View | undefined);
|
|
1273
|
+
get pageToken(): string | undefined;
|
|
1274
|
+
set pageToken(value: string | undefined);
|
|
1275
|
+
get sessionFilter(): SessionFilter | undefined;
|
|
1276
|
+
set sessionFilter(value: SessionFilter | undefined);
|
|
1277
|
+
/**
|
|
1278
|
+
* Serialize message to binary data
|
|
1279
|
+
* @param instance message instance
|
|
1280
|
+
*/
|
|
1281
|
+
serializeBinary(): any;
|
|
1282
|
+
/**
|
|
1283
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
1284
|
+
*/
|
|
1285
|
+
toObject(): ListSessionsRequest.AsObject;
|
|
1286
|
+
/**
|
|
1287
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
1288
|
+
*/
|
|
1289
|
+
toJSON(): ListSessionsRequest.AsObject;
|
|
1290
|
+
/**
|
|
1291
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
1292
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
1293
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
1294
|
+
*/
|
|
1295
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): ListSessionsRequest.AsProtobufJSON;
|
|
1296
|
+
}
|
|
1297
|
+
export declare module ListSessionsRequest {
|
|
1298
|
+
/**
|
|
1299
|
+
* Standard JavaScript object representation for ListSessionsRequest
|
|
1300
|
+
*/
|
|
1301
|
+
interface AsObject {
|
|
1302
|
+
parent?: string;
|
|
1303
|
+
sessionView?: Session.View;
|
|
1304
|
+
pageToken?: string;
|
|
1305
|
+
sessionFilter?: SessionFilter.AsObject;
|
|
1306
|
+
}
|
|
1307
|
+
/**
|
|
1308
|
+
* Protobuf JSON representation for ListSessionsRequest
|
|
1309
|
+
*/
|
|
1310
|
+
interface AsProtobufJSON {
|
|
1311
|
+
parent?: string;
|
|
1312
|
+
sessionView?: string;
|
|
1313
|
+
pageToken?: string;
|
|
1314
|
+
sessionFilter?: SessionFilter.AsProtobufJSON | null;
|
|
1315
|
+
}
|
|
1316
|
+
}
|
|
1317
|
+
/**
|
|
1318
|
+
* Message implementation for ondewo.nlu.SessionFilter
|
|
1319
|
+
*/
|
|
1320
|
+
export declare class SessionFilter implements GrpcMessage {
|
|
1321
|
+
static id: string;
|
|
1322
|
+
/**
|
|
1323
|
+
* Deserialize binary data to message
|
|
1324
|
+
* @param instance message instance
|
|
1325
|
+
*/
|
|
1326
|
+
static deserializeBinary(bytes: ByteSource): SessionFilter;
|
|
1327
|
+
/**
|
|
1328
|
+
* Check all the properties and set default protobuf values if necessary
|
|
1329
|
+
* @param _instance message instance
|
|
1330
|
+
*/
|
|
1331
|
+
static refineValues(_instance: SessionFilter): void;
|
|
1332
|
+
/**
|
|
1333
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
1334
|
+
* @param _instance message instance
|
|
1335
|
+
* @param _reader binary reader instance
|
|
1336
|
+
*/
|
|
1337
|
+
static deserializeBinaryFromReader(_instance: SessionFilter, _reader: BinaryReader): void;
|
|
1338
|
+
/**
|
|
1339
|
+
* Serializes a message to binary format using provided binary reader
|
|
1340
|
+
* @param _instance message instance
|
|
1341
|
+
* @param _writer binary writer instance
|
|
1342
|
+
*/
|
|
1343
|
+
static serializeBinaryToWriter(_instance: SessionFilter, _writer: BinaryWriter): void;
|
|
1344
|
+
private _languageCodes?;
|
|
1345
|
+
private _matchedIntents?;
|
|
1346
|
+
private _matchedEntityTypes?;
|
|
1347
|
+
private _minIntentsConfidenceMin?;
|
|
1348
|
+
private _minIntentsConfidenceMax?;
|
|
1349
|
+
private _minEntityTypesConfidenceMin?;
|
|
1350
|
+
private _minEntityTypesConfidenceMax?;
|
|
1351
|
+
private _earliest?;
|
|
1352
|
+
private _latest?;
|
|
1353
|
+
private _minNumberTurns?;
|
|
1354
|
+
private _maxNumberTurns?;
|
|
1355
|
+
private _labels?;
|
|
1356
|
+
private _userIds?;
|
|
1357
|
+
private _intentTags?;
|
|
1358
|
+
private _sessionIds?;
|
|
1359
|
+
private _inputContexts?;
|
|
1360
|
+
private _outputContexts?;
|
|
1361
|
+
/**
|
|
1362
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
1363
|
+
* @param _value initial values object or instance of SessionFilter to deeply clone from
|
|
1364
|
+
*/
|
|
1365
|
+
constructor(_value?: RecursivePartial<SessionFilter.AsObject>);
|
|
1366
|
+
get languageCodes(): string[] | undefined;
|
|
1367
|
+
set languageCodes(value: string[] | undefined);
|
|
1368
|
+
get matchedIntents(): ondewoNlu013.Intent[] | undefined;
|
|
1369
|
+
set matchedIntents(value: ondewoNlu013.Intent[] | undefined);
|
|
1370
|
+
get matchedEntityTypes(): ondewoNlu014.EntityType[] | undefined;
|
|
1371
|
+
set matchedEntityTypes(value: ondewoNlu014.EntityType[] | undefined);
|
|
1372
|
+
get minIntentsConfidenceMin(): number | undefined;
|
|
1373
|
+
set minIntentsConfidenceMin(value: number | undefined);
|
|
1374
|
+
get minIntentsConfidenceMax(): number | undefined;
|
|
1375
|
+
set minIntentsConfidenceMax(value: number | undefined);
|
|
1376
|
+
get minEntityTypesConfidenceMin(): number | undefined;
|
|
1377
|
+
set minEntityTypesConfidenceMin(value: number | undefined);
|
|
1378
|
+
get minEntityTypesConfidenceMax(): number | undefined;
|
|
1379
|
+
set minEntityTypesConfidenceMax(value: number | undefined);
|
|
1380
|
+
get earliest(): number | undefined;
|
|
1381
|
+
set earliest(value: number | undefined);
|
|
1382
|
+
get latest(): number | undefined;
|
|
1383
|
+
set latest(value: number | undefined);
|
|
1384
|
+
get minNumberTurns(): number | undefined;
|
|
1385
|
+
set minNumberTurns(value: number | undefined);
|
|
1386
|
+
get maxNumberTurns(): number | undefined;
|
|
1387
|
+
set maxNumberTurns(value: number | undefined);
|
|
1388
|
+
get labels(): string[] | undefined;
|
|
1389
|
+
set labels(value: string[] | undefined);
|
|
1390
|
+
get userIds(): string[] | undefined;
|
|
1391
|
+
set userIds(value: string[] | undefined);
|
|
1392
|
+
get intentTags(): string[] | undefined;
|
|
1393
|
+
set intentTags(value: string[] | undefined);
|
|
1394
|
+
get sessionIds(): string[] | undefined;
|
|
1395
|
+
set sessionIds(value: string[] | undefined);
|
|
1396
|
+
get inputContexts(): ondewoNlu006.Context[] | undefined;
|
|
1397
|
+
set inputContexts(value: ondewoNlu006.Context[] | undefined);
|
|
1398
|
+
get outputContexts(): ondewoNlu006.Context[] | undefined;
|
|
1399
|
+
set outputContexts(value: ondewoNlu006.Context[] | undefined);
|
|
1400
|
+
/**
|
|
1401
|
+
* Serialize message to binary data
|
|
1402
|
+
* @param instance message instance
|
|
1403
|
+
*/
|
|
1404
|
+
serializeBinary(): any;
|
|
1405
|
+
/**
|
|
1406
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
1407
|
+
*/
|
|
1408
|
+
toObject(): SessionFilter.AsObject;
|
|
1409
|
+
/**
|
|
1410
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
1411
|
+
*/
|
|
1412
|
+
toJSON(): SessionFilter.AsObject;
|
|
1413
|
+
/**
|
|
1414
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
1415
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
1416
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
1417
|
+
*/
|
|
1418
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): SessionFilter.AsProtobufJSON;
|
|
1419
|
+
}
|
|
1420
|
+
export declare module SessionFilter {
|
|
1421
|
+
/**
|
|
1422
|
+
* Standard JavaScript object representation for SessionFilter
|
|
1423
|
+
*/
|
|
1424
|
+
interface AsObject {
|
|
1425
|
+
languageCodes?: string[];
|
|
1426
|
+
matchedIntents?: ondewoNlu013.Intent.AsObject[];
|
|
1427
|
+
matchedEntityTypes?: ondewoNlu014.EntityType.AsObject[];
|
|
1428
|
+
minIntentsConfidenceMin?: number;
|
|
1429
|
+
minIntentsConfidenceMax?: number;
|
|
1430
|
+
minEntityTypesConfidenceMin?: number;
|
|
1431
|
+
minEntityTypesConfidenceMax?: number;
|
|
1432
|
+
earliest?: number;
|
|
1433
|
+
latest?: number;
|
|
1434
|
+
minNumberTurns?: number;
|
|
1435
|
+
maxNumberTurns?: number;
|
|
1436
|
+
labels?: string[];
|
|
1437
|
+
userIds?: string[];
|
|
1438
|
+
intentTags?: string[];
|
|
1439
|
+
sessionIds?: string[];
|
|
1440
|
+
inputContexts?: ondewoNlu006.Context.AsObject[];
|
|
1441
|
+
outputContexts?: ondewoNlu006.Context.AsObject[];
|
|
1442
|
+
}
|
|
1443
|
+
/**
|
|
1444
|
+
* Protobuf JSON representation for SessionFilter
|
|
1445
|
+
*/
|
|
1446
|
+
interface AsProtobufJSON {
|
|
1447
|
+
languageCodes?: string[];
|
|
1448
|
+
matchedIntents?: ondewoNlu013.Intent.AsProtobufJSON[] | null;
|
|
1449
|
+
matchedEntityTypes?: ondewoNlu014.EntityType.AsProtobufJSON[] | null;
|
|
1450
|
+
minIntentsConfidenceMin?: number;
|
|
1451
|
+
minIntentsConfidenceMax?: number;
|
|
1452
|
+
minEntityTypesConfidenceMin?: number;
|
|
1453
|
+
minEntityTypesConfidenceMax?: number;
|
|
1454
|
+
earliest?: number;
|
|
1455
|
+
latest?: number;
|
|
1456
|
+
minNumberTurns?: number;
|
|
1457
|
+
maxNumberTurns?: number;
|
|
1458
|
+
labels?: string[];
|
|
1459
|
+
userIds?: string[];
|
|
1460
|
+
intentTags?: string[];
|
|
1461
|
+
sessionIds?: string[];
|
|
1462
|
+
inputContexts?: ondewoNlu006.Context.AsProtobufJSON[] | null;
|
|
1463
|
+
outputContexts?: ondewoNlu006.Context.AsProtobufJSON[] | null;
|
|
1464
|
+
}
|
|
1465
|
+
}
|
|
1466
|
+
/**
|
|
1467
|
+
* Message implementation for ondewo.nlu.SessionInfo
|
|
1468
|
+
*/
|
|
1469
|
+
export declare class SessionInfo implements GrpcMessage {
|
|
1470
|
+
static id: string;
|
|
1471
|
+
/**
|
|
1472
|
+
* Deserialize binary data to message
|
|
1473
|
+
* @param instance message instance
|
|
1474
|
+
*/
|
|
1475
|
+
static deserializeBinary(bytes: ByteSource): SessionInfo;
|
|
1476
|
+
/**
|
|
1477
|
+
* Check all the properties and set default protobuf values if necessary
|
|
1478
|
+
* @param _instance message instance
|
|
1479
|
+
*/
|
|
1480
|
+
static refineValues(_instance: SessionInfo): void;
|
|
1481
|
+
/**
|
|
1482
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
1483
|
+
* @param _instance message instance
|
|
1484
|
+
* @param _reader binary reader instance
|
|
1485
|
+
*/
|
|
1486
|
+
static deserializeBinaryFromReader(_instance: SessionInfo, _reader: BinaryReader): void;
|
|
1487
|
+
/**
|
|
1488
|
+
* Serializes a message to binary format using provided binary reader
|
|
1489
|
+
* @param _instance message instance
|
|
1490
|
+
* @param _writer binary writer instance
|
|
1491
|
+
*/
|
|
1492
|
+
static serializeBinaryToWriter(_instance: SessionInfo, _writer: BinaryWriter): void;
|
|
1493
|
+
private _languageCodes?;
|
|
1494
|
+
private _matchedIntents?;
|
|
1495
|
+
private _matchedEntityTypes?;
|
|
1496
|
+
private _minIntentsConfidence?;
|
|
1497
|
+
private _minEntityTypesConfidence?;
|
|
1498
|
+
private _earliest?;
|
|
1499
|
+
private _latest?;
|
|
1500
|
+
private _numberTurns?;
|
|
1501
|
+
private _labels?;
|
|
1502
|
+
private _userIds?;
|
|
1503
|
+
private _intentTags?;
|
|
1504
|
+
private _inputContextSteps?;
|
|
1505
|
+
private _outputContextSteps?;
|
|
1506
|
+
/**
|
|
1507
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
1508
|
+
* @param _value initial values object or instance of SessionInfo to deeply clone from
|
|
1509
|
+
*/
|
|
1510
|
+
constructor(_value?: RecursivePartial<SessionInfo.AsObject>);
|
|
1511
|
+
get languageCodes(): string[] | undefined;
|
|
1512
|
+
set languageCodes(value: string[] | undefined);
|
|
1513
|
+
get matchedIntents(): ondewoNlu013.Intent[] | undefined;
|
|
1514
|
+
set matchedIntents(value: ondewoNlu013.Intent[] | undefined);
|
|
1515
|
+
get matchedEntityTypes(): ondewoNlu014.EntityType[] | undefined;
|
|
1516
|
+
set matchedEntityTypes(value: ondewoNlu014.EntityType[] | undefined);
|
|
1517
|
+
get minIntentsConfidence(): number | undefined;
|
|
1518
|
+
set minIntentsConfidence(value: number | undefined);
|
|
1519
|
+
get minEntityTypesConfidence(): number | undefined;
|
|
1520
|
+
set minEntityTypesConfidence(value: number | undefined);
|
|
1521
|
+
get earliest(): number | undefined;
|
|
1522
|
+
set earliest(value: number | undefined);
|
|
1523
|
+
get latest(): number | undefined;
|
|
1524
|
+
set latest(value: number | undefined);
|
|
1525
|
+
get numberTurns(): number | undefined;
|
|
1526
|
+
set numberTurns(value: number | undefined);
|
|
1527
|
+
get labels(): string[] | undefined;
|
|
1528
|
+
set labels(value: string[] | undefined);
|
|
1529
|
+
get userIds(): string[] | undefined;
|
|
1530
|
+
set userIds(value: string[] | undefined);
|
|
1531
|
+
get intentTags(): string[] | undefined;
|
|
1532
|
+
set intentTags(value: string[] | undefined);
|
|
1533
|
+
get inputContextSteps(): SessionInfo.ContextSteps[] | undefined;
|
|
1534
|
+
set inputContextSteps(value: SessionInfo.ContextSteps[] | undefined);
|
|
1535
|
+
get outputContextSteps(): SessionInfo.ContextSteps[] | undefined;
|
|
1536
|
+
set outputContextSteps(value: SessionInfo.ContextSteps[] | undefined);
|
|
1537
|
+
/**
|
|
1538
|
+
* Serialize message to binary data
|
|
1539
|
+
* @param instance message instance
|
|
1540
|
+
*/
|
|
1541
|
+
serializeBinary(): any;
|
|
1542
|
+
/**
|
|
1543
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
1544
|
+
*/
|
|
1545
|
+
toObject(): SessionInfo.AsObject;
|
|
1546
|
+
/**
|
|
1547
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
1548
|
+
*/
|
|
1549
|
+
toJSON(): SessionInfo.AsObject;
|
|
1550
|
+
/**
|
|
1551
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
1552
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
1553
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
1554
|
+
*/
|
|
1555
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): SessionInfo.AsProtobufJSON;
|
|
1556
|
+
}
|
|
1557
|
+
export declare module SessionInfo {
|
|
1558
|
+
/**
|
|
1559
|
+
* Standard JavaScript object representation for SessionInfo
|
|
1560
|
+
*/
|
|
1561
|
+
interface AsObject {
|
|
1562
|
+
languageCodes?: string[];
|
|
1563
|
+
matchedIntents?: ondewoNlu013.Intent.AsObject[];
|
|
1564
|
+
matchedEntityTypes?: ondewoNlu014.EntityType.AsObject[];
|
|
1565
|
+
minIntentsConfidence?: number;
|
|
1566
|
+
minEntityTypesConfidence?: number;
|
|
1567
|
+
earliest?: number;
|
|
1568
|
+
latest?: number;
|
|
1569
|
+
numberTurns?: number;
|
|
1570
|
+
labels?: string[];
|
|
1571
|
+
userIds?: string[];
|
|
1572
|
+
intentTags?: string[];
|
|
1573
|
+
inputContextSteps?: SessionInfo.ContextSteps.AsObject[];
|
|
1574
|
+
outputContextSteps?: SessionInfo.ContextSteps.AsObject[];
|
|
1575
|
+
}
|
|
1576
|
+
/**
|
|
1577
|
+
* Protobuf JSON representation for SessionInfo
|
|
1578
|
+
*/
|
|
1579
|
+
interface AsProtobufJSON {
|
|
1580
|
+
languageCodes?: string[];
|
|
1581
|
+
matchedIntents?: ondewoNlu013.Intent.AsProtobufJSON[] | null;
|
|
1582
|
+
matchedEntityTypes?: ondewoNlu014.EntityType.AsProtobufJSON[] | null;
|
|
1583
|
+
minIntentsConfidence?: number;
|
|
1584
|
+
minEntityTypesConfidence?: number;
|
|
1585
|
+
earliest?: number;
|
|
1586
|
+
latest?: number;
|
|
1587
|
+
numberTurns?: number;
|
|
1588
|
+
labels?: string[];
|
|
1589
|
+
userIds?: string[];
|
|
1590
|
+
intentTags?: string[];
|
|
1591
|
+
inputContextSteps?: SessionInfo.ContextSteps.AsProtobufJSON[] | null;
|
|
1592
|
+
outputContextSteps?: SessionInfo.ContextSteps.AsProtobufJSON[] | null;
|
|
1593
|
+
}
|
|
1594
|
+
/**
|
|
1595
|
+
* Message implementation for ondewo.nlu.ContextSteps
|
|
1596
|
+
*/
|
|
1597
|
+
class ContextSteps implements GrpcMessage {
|
|
1598
|
+
static id: string;
|
|
1599
|
+
/**
|
|
1600
|
+
* Deserialize binary data to message
|
|
1601
|
+
* @param instance message instance
|
|
1602
|
+
*/
|
|
1603
|
+
static deserializeBinary(bytes: ByteSource): ContextSteps;
|
|
1604
|
+
/**
|
|
1605
|
+
* Check all the properties and set default protobuf values if necessary
|
|
1606
|
+
* @param _instance message instance
|
|
1607
|
+
*/
|
|
1608
|
+
static refineValues(_instance: ContextSteps): void;
|
|
1609
|
+
/**
|
|
1610
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
1611
|
+
* @param _instance message instance
|
|
1612
|
+
* @param _reader binary reader instance
|
|
1613
|
+
*/
|
|
1614
|
+
static deserializeBinaryFromReader(_instance: ContextSteps, _reader: BinaryReader): void;
|
|
1615
|
+
/**
|
|
1616
|
+
* Serializes a message to binary format using provided binary reader
|
|
1617
|
+
* @param _instance message instance
|
|
1618
|
+
* @param _writer binary writer instance
|
|
1619
|
+
*/
|
|
1620
|
+
static serializeBinaryToWriter(_instance: ContextSteps, _writer: BinaryWriter): void;
|
|
1621
|
+
private _contexts?;
|
|
1622
|
+
/**
|
|
1623
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
1624
|
+
* @param _value initial values object or instance of ContextSteps to deeply clone from
|
|
1625
|
+
*/
|
|
1626
|
+
constructor(_value?: RecursivePartial<ContextSteps.AsObject>);
|
|
1627
|
+
get contexts(): ondewoNlu006.Context[] | undefined;
|
|
1628
|
+
set contexts(value: ondewoNlu006.Context[] | undefined);
|
|
1629
|
+
/**
|
|
1630
|
+
* Serialize message to binary data
|
|
1631
|
+
* @param instance message instance
|
|
1632
|
+
*/
|
|
1633
|
+
serializeBinary(): any;
|
|
1634
|
+
/**
|
|
1635
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
1636
|
+
*/
|
|
1637
|
+
toObject(): ContextSteps.AsObject;
|
|
1638
|
+
/**
|
|
1639
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
1640
|
+
*/
|
|
1641
|
+
toJSON(): ContextSteps.AsObject;
|
|
1642
|
+
/**
|
|
1643
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
1644
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
1645
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
1646
|
+
*/
|
|
1647
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): ContextSteps.AsProtobufJSON;
|
|
1648
|
+
}
|
|
1649
|
+
module ContextSteps {
|
|
1650
|
+
/**
|
|
1651
|
+
* Standard JavaScript object representation for ContextSteps
|
|
1652
|
+
*/
|
|
1653
|
+
interface AsObject {
|
|
1654
|
+
contexts?: ondewoNlu006.Context.AsObject[];
|
|
1655
|
+
}
|
|
1656
|
+
/**
|
|
1657
|
+
* Protobuf JSON representation for ContextSteps
|
|
1658
|
+
*/
|
|
1659
|
+
interface AsProtobufJSON {
|
|
1660
|
+
contexts?: ondewoNlu006.Context.AsProtobufJSON[] | null;
|
|
1661
|
+
}
|
|
1662
|
+
}
|
|
1663
|
+
}
|
|
1664
|
+
/**
|
|
1665
|
+
* Message implementation for ondewo.nlu.ListSessionsResponse
|
|
1666
|
+
*/
|
|
1667
|
+
export declare class ListSessionsResponse implements GrpcMessage {
|
|
1668
|
+
static id: string;
|
|
1669
|
+
/**
|
|
1670
|
+
* Deserialize binary data to message
|
|
1671
|
+
* @param instance message instance
|
|
1672
|
+
*/
|
|
1673
|
+
static deserializeBinary(bytes: ByteSource): ListSessionsResponse;
|
|
1674
|
+
/**
|
|
1675
|
+
* Check all the properties and set default protobuf values if necessary
|
|
1676
|
+
* @param _instance message instance
|
|
1677
|
+
*/
|
|
1678
|
+
static refineValues(_instance: ListSessionsResponse): void;
|
|
1679
|
+
/**
|
|
1680
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
1681
|
+
* @param _instance message instance
|
|
1682
|
+
* @param _reader binary reader instance
|
|
1683
|
+
*/
|
|
1684
|
+
static deserializeBinaryFromReader(_instance: ListSessionsResponse, _reader: BinaryReader): void;
|
|
1685
|
+
/**
|
|
1686
|
+
* Serializes a message to binary format using provided binary reader
|
|
1687
|
+
* @param _instance message instance
|
|
1688
|
+
* @param _writer binary writer instance
|
|
1689
|
+
*/
|
|
1690
|
+
static serializeBinaryToWriter(_instance: ListSessionsResponse, _writer: BinaryWriter): void;
|
|
1691
|
+
private _sessions?;
|
|
1692
|
+
private _nextPageToken?;
|
|
1693
|
+
/**
|
|
1694
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
1695
|
+
* @param _value initial values object or instance of ListSessionsResponse to deeply clone from
|
|
1696
|
+
*/
|
|
1697
|
+
constructor(_value?: RecursivePartial<ListSessionsResponse.AsObject>);
|
|
1698
|
+
get sessions(): Session[] | undefined;
|
|
1699
|
+
set sessions(value: Session[] | undefined);
|
|
1700
|
+
get nextPageToken(): string | undefined;
|
|
1701
|
+
set nextPageToken(value: string | undefined);
|
|
1702
|
+
/**
|
|
1703
|
+
* Serialize message to binary data
|
|
1704
|
+
* @param instance message instance
|
|
1705
|
+
*/
|
|
1706
|
+
serializeBinary(): any;
|
|
1707
|
+
/**
|
|
1708
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
1709
|
+
*/
|
|
1710
|
+
toObject(): ListSessionsResponse.AsObject;
|
|
1711
|
+
/**
|
|
1712
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
1713
|
+
*/
|
|
1714
|
+
toJSON(): ListSessionsResponse.AsObject;
|
|
1715
|
+
/**
|
|
1716
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
1717
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
1718
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
1719
|
+
*/
|
|
1720
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): ListSessionsResponse.AsProtobufJSON;
|
|
1721
|
+
}
|
|
1722
|
+
export declare module ListSessionsResponse {
|
|
1723
|
+
/**
|
|
1724
|
+
* Standard JavaScript object representation for ListSessionsResponse
|
|
1725
|
+
*/
|
|
1726
|
+
interface AsObject {
|
|
1727
|
+
sessions?: Session.AsObject[];
|
|
1728
|
+
nextPageToken?: string;
|
|
1729
|
+
}
|
|
1730
|
+
/**
|
|
1731
|
+
* Protobuf JSON representation for ListSessionsResponse
|
|
1732
|
+
*/
|
|
1733
|
+
interface AsProtobufJSON {
|
|
1734
|
+
sessions?: Session.AsProtobufJSON[] | null;
|
|
1735
|
+
nextPageToken?: string;
|
|
1736
|
+
}
|
|
1737
|
+
}
|
|
1738
|
+
/**
|
|
1739
|
+
* Message implementation for ondewo.nlu.GetSessionRequest
|
|
1740
|
+
*/
|
|
1741
|
+
export declare class GetSessionRequest implements GrpcMessage {
|
|
1742
|
+
static id: string;
|
|
1743
|
+
/**
|
|
1744
|
+
* Deserialize binary data to message
|
|
1745
|
+
* @param instance message instance
|
|
1746
|
+
*/
|
|
1747
|
+
static deserializeBinary(bytes: ByteSource): GetSessionRequest;
|
|
1748
|
+
/**
|
|
1749
|
+
* Check all the properties and set default protobuf values if necessary
|
|
1750
|
+
* @param _instance message instance
|
|
1751
|
+
*/
|
|
1752
|
+
static refineValues(_instance: GetSessionRequest): void;
|
|
1753
|
+
/**
|
|
1754
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
1755
|
+
* @param _instance message instance
|
|
1756
|
+
* @param _reader binary reader instance
|
|
1757
|
+
*/
|
|
1758
|
+
static deserializeBinaryFromReader(_instance: GetSessionRequest, _reader: BinaryReader): void;
|
|
1759
|
+
/**
|
|
1760
|
+
* Serializes a message to binary format using provided binary reader
|
|
1761
|
+
* @param _instance message instance
|
|
1762
|
+
* @param _writer binary writer instance
|
|
1763
|
+
*/
|
|
1764
|
+
static serializeBinaryToWriter(_instance: GetSessionRequest, _writer: BinaryWriter): void;
|
|
1765
|
+
private _sessionId?;
|
|
1766
|
+
private _sessionView?;
|
|
1767
|
+
/**
|
|
1768
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
1769
|
+
* @param _value initial values object or instance of GetSessionRequest to deeply clone from
|
|
1770
|
+
*/
|
|
1771
|
+
constructor(_value?: RecursivePartial<GetSessionRequest.AsObject>);
|
|
1772
|
+
get sessionId(): string | undefined;
|
|
1773
|
+
set sessionId(value: string | undefined);
|
|
1774
|
+
get sessionView(): Session.View | undefined;
|
|
1775
|
+
set sessionView(value: Session.View | undefined);
|
|
1776
|
+
/**
|
|
1777
|
+
* Serialize message to binary data
|
|
1778
|
+
* @param instance message instance
|
|
1779
|
+
*/
|
|
1780
|
+
serializeBinary(): any;
|
|
1781
|
+
/**
|
|
1782
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
1783
|
+
*/
|
|
1784
|
+
toObject(): GetSessionRequest.AsObject;
|
|
1785
|
+
/**
|
|
1786
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
1787
|
+
*/
|
|
1788
|
+
toJSON(): GetSessionRequest.AsObject;
|
|
1789
|
+
/**
|
|
1790
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
1791
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
1792
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
1793
|
+
*/
|
|
1794
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): GetSessionRequest.AsProtobufJSON;
|
|
1795
|
+
}
|
|
1796
|
+
export declare module GetSessionRequest {
|
|
1797
|
+
/**
|
|
1798
|
+
* Standard JavaScript object representation for GetSessionRequest
|
|
1799
|
+
*/
|
|
1800
|
+
interface AsObject {
|
|
1801
|
+
sessionId?: string;
|
|
1802
|
+
sessionView?: Session.View;
|
|
1803
|
+
}
|
|
1804
|
+
/**
|
|
1805
|
+
* Protobuf JSON representation for GetSessionRequest
|
|
1806
|
+
*/
|
|
1807
|
+
interface AsProtobufJSON {
|
|
1808
|
+
sessionId?: string;
|
|
1809
|
+
sessionView?: string;
|
|
1810
|
+
}
|
|
1811
|
+
}
|
|
1812
|
+
/**
|
|
1813
|
+
* Message implementation for ondewo.nlu.CreateSessionRequest
|
|
1814
|
+
*/
|
|
1815
|
+
export declare class CreateSessionRequest implements GrpcMessage {
|
|
1816
|
+
static id: string;
|
|
1817
|
+
/**
|
|
1818
|
+
* Deserialize binary data to message
|
|
1819
|
+
* @param instance message instance
|
|
1820
|
+
*/
|
|
1821
|
+
static deserializeBinary(bytes: ByteSource): CreateSessionRequest;
|
|
1822
|
+
/**
|
|
1823
|
+
* Check all the properties and set default protobuf values if necessary
|
|
1824
|
+
* @param _instance message instance
|
|
1825
|
+
*/
|
|
1826
|
+
static refineValues(_instance: CreateSessionRequest): void;
|
|
1827
|
+
/**
|
|
1828
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
1829
|
+
* @param _instance message instance
|
|
1830
|
+
* @param _reader binary reader instance
|
|
1831
|
+
*/
|
|
1832
|
+
static deserializeBinaryFromReader(_instance: CreateSessionRequest, _reader: BinaryReader): void;
|
|
1833
|
+
/**
|
|
1834
|
+
* Serializes a message to binary format using provided binary reader
|
|
1835
|
+
* @param _instance message instance
|
|
1836
|
+
* @param _writer binary writer instance
|
|
1837
|
+
*/
|
|
1838
|
+
static serializeBinaryToWriter(_instance: CreateSessionRequest, _writer: BinaryWriter): void;
|
|
1839
|
+
private _parent?;
|
|
1840
|
+
private _sessionUuid?;
|
|
1841
|
+
/**
|
|
1842
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
1843
|
+
* @param _value initial values object or instance of CreateSessionRequest to deeply clone from
|
|
1844
|
+
*/
|
|
1845
|
+
constructor(_value?: RecursivePartial<CreateSessionRequest.AsObject>);
|
|
1846
|
+
get parent(): string | undefined;
|
|
1847
|
+
set parent(value: string | undefined);
|
|
1848
|
+
get sessionUuid(): string | undefined;
|
|
1849
|
+
set sessionUuid(value: string | undefined);
|
|
1850
|
+
/**
|
|
1851
|
+
* Serialize message to binary data
|
|
1852
|
+
* @param instance message instance
|
|
1853
|
+
*/
|
|
1854
|
+
serializeBinary(): any;
|
|
1855
|
+
/**
|
|
1856
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
1857
|
+
*/
|
|
1858
|
+
toObject(): CreateSessionRequest.AsObject;
|
|
1859
|
+
/**
|
|
1860
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
1861
|
+
*/
|
|
1862
|
+
toJSON(): CreateSessionRequest.AsObject;
|
|
1863
|
+
/**
|
|
1864
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
1865
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
1866
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
1867
|
+
*/
|
|
1868
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): CreateSessionRequest.AsProtobufJSON;
|
|
1869
|
+
}
|
|
1870
|
+
export declare module CreateSessionRequest {
|
|
1871
|
+
/**
|
|
1872
|
+
* Standard JavaScript object representation for CreateSessionRequest
|
|
1873
|
+
*/
|
|
1874
|
+
interface AsObject {
|
|
1875
|
+
parent?: string;
|
|
1876
|
+
sessionUuid?: string;
|
|
1877
|
+
}
|
|
1878
|
+
/**
|
|
1879
|
+
* Protobuf JSON representation for CreateSessionRequest
|
|
1880
|
+
*/
|
|
1881
|
+
interface AsProtobufJSON {
|
|
1882
|
+
parent?: string;
|
|
1883
|
+
sessionUuid?: string;
|
|
1884
|
+
}
|
|
1885
|
+
}
|
|
1886
|
+
/**
|
|
1887
|
+
* Message implementation for ondewo.nlu.DeleteSessionRequest
|
|
1888
|
+
*/
|
|
1889
|
+
export declare class DeleteSessionRequest implements GrpcMessage {
|
|
1890
|
+
static id: string;
|
|
1891
|
+
/**
|
|
1892
|
+
* Deserialize binary data to message
|
|
1893
|
+
* @param instance message instance
|
|
1894
|
+
*/
|
|
1895
|
+
static deserializeBinary(bytes: ByteSource): DeleteSessionRequest;
|
|
1896
|
+
/**
|
|
1897
|
+
* Check all the properties and set default protobuf values if necessary
|
|
1898
|
+
* @param _instance message instance
|
|
1899
|
+
*/
|
|
1900
|
+
static refineValues(_instance: DeleteSessionRequest): void;
|
|
1901
|
+
/**
|
|
1902
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
1903
|
+
* @param _instance message instance
|
|
1904
|
+
* @param _reader binary reader instance
|
|
1905
|
+
*/
|
|
1906
|
+
static deserializeBinaryFromReader(_instance: DeleteSessionRequest, _reader: BinaryReader): void;
|
|
1907
|
+
/**
|
|
1908
|
+
* Serializes a message to binary format using provided binary reader
|
|
1909
|
+
* @param _instance message instance
|
|
1910
|
+
* @param _writer binary writer instance
|
|
1911
|
+
*/
|
|
1912
|
+
static serializeBinaryToWriter(_instance: DeleteSessionRequest, _writer: BinaryWriter): void;
|
|
1913
|
+
private _sessionId?;
|
|
1914
|
+
/**
|
|
1915
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
1916
|
+
* @param _value initial values object or instance of DeleteSessionRequest to deeply clone from
|
|
1917
|
+
*/
|
|
1918
|
+
constructor(_value?: RecursivePartial<DeleteSessionRequest.AsObject>);
|
|
1919
|
+
get sessionId(): string | undefined;
|
|
1920
|
+
set sessionId(value: string | undefined);
|
|
1921
|
+
/**
|
|
1922
|
+
* Serialize message to binary data
|
|
1923
|
+
* @param instance message instance
|
|
1924
|
+
*/
|
|
1925
|
+
serializeBinary(): any;
|
|
1926
|
+
/**
|
|
1927
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
1928
|
+
*/
|
|
1929
|
+
toObject(): DeleteSessionRequest.AsObject;
|
|
1930
|
+
/**
|
|
1931
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
1932
|
+
*/
|
|
1933
|
+
toJSON(): DeleteSessionRequest.AsObject;
|
|
1934
|
+
/**
|
|
1935
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
1936
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
1937
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
1938
|
+
*/
|
|
1939
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): DeleteSessionRequest.AsProtobufJSON;
|
|
1940
|
+
}
|
|
1941
|
+
export declare module DeleteSessionRequest {
|
|
1942
|
+
/**
|
|
1943
|
+
* Standard JavaScript object representation for DeleteSessionRequest
|
|
1944
|
+
*/
|
|
1945
|
+
interface AsObject {
|
|
1946
|
+
sessionId?: string;
|
|
1947
|
+
}
|
|
1948
|
+
/**
|
|
1949
|
+
* Protobuf JSON representation for DeleteSessionRequest
|
|
1950
|
+
*/
|
|
1951
|
+
interface AsProtobufJSON {
|
|
1952
|
+
sessionId?: string;
|
|
1953
|
+
}
|
|
1954
|
+
}
|
|
1955
|
+
/**
|
|
1956
|
+
* Message implementation for ondewo.nlu.CreateSessionReviewRequest
|
|
1957
|
+
*/
|
|
1958
|
+
export declare class CreateSessionReviewRequest implements GrpcMessage {
|
|
1959
|
+
static id: string;
|
|
1960
|
+
/**
|
|
1961
|
+
* Deserialize binary data to message
|
|
1962
|
+
* @param instance message instance
|
|
1963
|
+
*/
|
|
1964
|
+
static deserializeBinary(bytes: ByteSource): CreateSessionReviewRequest;
|
|
1965
|
+
/**
|
|
1966
|
+
* Check all the properties and set default protobuf values if necessary
|
|
1967
|
+
* @param _instance message instance
|
|
1968
|
+
*/
|
|
1969
|
+
static refineValues(_instance: CreateSessionReviewRequest): void;
|
|
1970
|
+
/**
|
|
1971
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
1972
|
+
* @param _instance message instance
|
|
1973
|
+
* @param _reader binary reader instance
|
|
1974
|
+
*/
|
|
1975
|
+
static deserializeBinaryFromReader(_instance: CreateSessionReviewRequest, _reader: BinaryReader): void;
|
|
1976
|
+
/**
|
|
1977
|
+
* Serializes a message to binary format using provided binary reader
|
|
1978
|
+
* @param _instance message instance
|
|
1979
|
+
* @param _writer binary writer instance
|
|
1980
|
+
*/
|
|
1981
|
+
static serializeBinaryToWriter(_instance: CreateSessionReviewRequest, _writer: BinaryWriter): void;
|
|
1982
|
+
private _sessionId?;
|
|
1983
|
+
private _parentReviewId?;
|
|
1984
|
+
private _sessionReview?;
|
|
1985
|
+
private _sessionReviewView?;
|
|
1986
|
+
/**
|
|
1987
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
1988
|
+
* @param _value initial values object or instance of CreateSessionReviewRequest to deeply clone from
|
|
1989
|
+
*/
|
|
1990
|
+
constructor(_value?: RecursivePartial<CreateSessionReviewRequest.AsObject>);
|
|
1991
|
+
get sessionId(): string | undefined;
|
|
1992
|
+
set sessionId(value: string | undefined);
|
|
1993
|
+
get parentReviewId(): string | undefined;
|
|
1994
|
+
set parentReviewId(value: string | undefined);
|
|
1995
|
+
get sessionReview(): SessionReview | undefined;
|
|
1996
|
+
set sessionReview(value: SessionReview | undefined);
|
|
1997
|
+
get sessionReviewView(): SessionReview.View | undefined;
|
|
1998
|
+
set sessionReviewView(value: SessionReview.View | undefined);
|
|
1999
|
+
/**
|
|
2000
|
+
* Serialize message to binary data
|
|
2001
|
+
* @param instance message instance
|
|
2002
|
+
*/
|
|
2003
|
+
serializeBinary(): any;
|
|
2004
|
+
/**
|
|
2005
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
2006
|
+
*/
|
|
2007
|
+
toObject(): CreateSessionReviewRequest.AsObject;
|
|
2008
|
+
/**
|
|
2009
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
2010
|
+
*/
|
|
2011
|
+
toJSON(): CreateSessionReviewRequest.AsObject;
|
|
2012
|
+
/**
|
|
2013
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
2014
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
2015
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
2016
|
+
*/
|
|
2017
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): CreateSessionReviewRequest.AsProtobufJSON;
|
|
2018
|
+
}
|
|
2019
|
+
export declare module CreateSessionReviewRequest {
|
|
2020
|
+
/**
|
|
2021
|
+
* Standard JavaScript object representation for CreateSessionReviewRequest
|
|
2022
|
+
*/
|
|
2023
|
+
interface AsObject {
|
|
2024
|
+
sessionId?: string;
|
|
2025
|
+
parentReviewId?: string;
|
|
2026
|
+
sessionReview?: SessionReview.AsObject;
|
|
2027
|
+
sessionReviewView?: SessionReview.View;
|
|
2028
|
+
}
|
|
2029
|
+
/**
|
|
2030
|
+
* Protobuf JSON representation for CreateSessionReviewRequest
|
|
2031
|
+
*/
|
|
2032
|
+
interface AsProtobufJSON {
|
|
2033
|
+
sessionId?: string;
|
|
2034
|
+
parentReviewId?: string;
|
|
2035
|
+
sessionReview?: SessionReview.AsProtobufJSON | null;
|
|
2036
|
+
sessionReviewView?: string;
|
|
2037
|
+
}
|
|
2038
|
+
}
|
|
2039
|
+
/**
|
|
2040
|
+
* Message implementation for ondewo.nlu.SessionReview
|
|
2041
|
+
*/
|
|
2042
|
+
export declare class SessionReview implements GrpcMessage {
|
|
2043
|
+
static id: string;
|
|
2044
|
+
/**
|
|
2045
|
+
* Deserialize binary data to message
|
|
2046
|
+
* @param instance message instance
|
|
2047
|
+
*/
|
|
2048
|
+
static deserializeBinary(bytes: ByteSource): SessionReview;
|
|
2049
|
+
/**
|
|
2050
|
+
* Check all the properties and set default protobuf values if necessary
|
|
2051
|
+
* @param _instance message instance
|
|
2052
|
+
*/
|
|
2053
|
+
static refineValues(_instance: SessionReview): void;
|
|
2054
|
+
/**
|
|
2055
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
2056
|
+
* @param _instance message instance
|
|
2057
|
+
* @param _reader binary reader instance
|
|
2058
|
+
*/
|
|
2059
|
+
static deserializeBinaryFromReader(_instance: SessionReview, _reader: BinaryReader): void;
|
|
2060
|
+
/**
|
|
2061
|
+
* Serializes a message to binary format using provided binary reader
|
|
2062
|
+
* @param _instance message instance
|
|
2063
|
+
* @param _writer binary writer instance
|
|
2064
|
+
*/
|
|
2065
|
+
static serializeBinaryToWriter(_instance: SessionReview, _writer: BinaryWriter): void;
|
|
2066
|
+
private _sessionReviewId?;
|
|
2067
|
+
private _sessionReviewSteps?;
|
|
2068
|
+
/**
|
|
2069
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
2070
|
+
* @param _value initial values object or instance of SessionReview to deeply clone from
|
|
2071
|
+
*/
|
|
2072
|
+
constructor(_value?: RecursivePartial<SessionReview.AsObject>);
|
|
2073
|
+
get sessionReviewId(): string | undefined;
|
|
2074
|
+
set sessionReviewId(value: string | undefined);
|
|
2075
|
+
get sessionReviewSteps(): SessionReviewStep[] | undefined;
|
|
2076
|
+
set sessionReviewSteps(value: SessionReviewStep[] | undefined);
|
|
2077
|
+
/**
|
|
2078
|
+
* Serialize message to binary data
|
|
2079
|
+
* @param instance message instance
|
|
2080
|
+
*/
|
|
2081
|
+
serializeBinary(): any;
|
|
2082
|
+
/**
|
|
2083
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
2084
|
+
*/
|
|
2085
|
+
toObject(): SessionReview.AsObject;
|
|
2086
|
+
/**
|
|
2087
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
2088
|
+
*/
|
|
2089
|
+
toJSON(): SessionReview.AsObject;
|
|
2090
|
+
/**
|
|
2091
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
2092
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
2093
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
2094
|
+
*/
|
|
2095
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): SessionReview.AsProtobufJSON;
|
|
2096
|
+
}
|
|
2097
|
+
export declare module SessionReview {
|
|
2098
|
+
/**
|
|
2099
|
+
* Standard JavaScript object representation for SessionReview
|
|
2100
|
+
*/
|
|
2101
|
+
interface AsObject {
|
|
2102
|
+
sessionReviewId?: string;
|
|
2103
|
+
sessionReviewSteps?: SessionReviewStep.AsObject[];
|
|
2104
|
+
}
|
|
2105
|
+
/**
|
|
2106
|
+
* Protobuf JSON representation for SessionReview
|
|
2107
|
+
*/
|
|
2108
|
+
interface AsProtobufJSON {
|
|
2109
|
+
sessionReviewId?: string;
|
|
2110
|
+
sessionReviewSteps?: SessionReviewStep.AsProtobufJSON[] | null;
|
|
2111
|
+
}
|
|
2112
|
+
enum View {
|
|
2113
|
+
VIEW_UNSPECIFIED = 0,
|
|
2114
|
+
VIEW_FULL = 1,
|
|
2115
|
+
VIEW_SPARSE = 2
|
|
2116
|
+
}
|
|
2117
|
+
}
|
|
2118
|
+
/**
|
|
2119
|
+
* Message implementation for ondewo.nlu.SessionReviewStep
|
|
2120
|
+
*/
|
|
2121
|
+
export declare class SessionReviewStep implements GrpcMessage {
|
|
2122
|
+
static id: string;
|
|
2123
|
+
/**
|
|
2124
|
+
* Deserialize binary data to message
|
|
2125
|
+
* @param instance message instance
|
|
2126
|
+
*/
|
|
2127
|
+
static deserializeBinary(bytes: ByteSource): SessionReviewStep;
|
|
2128
|
+
/**
|
|
2129
|
+
* Check all the properties and set default protobuf values if necessary
|
|
2130
|
+
* @param _instance message instance
|
|
2131
|
+
*/
|
|
2132
|
+
static refineValues(_instance: SessionReviewStep): void;
|
|
2133
|
+
/**
|
|
2134
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
2135
|
+
* @param _instance message instance
|
|
2136
|
+
* @param _reader binary reader instance
|
|
2137
|
+
*/
|
|
2138
|
+
static deserializeBinaryFromReader(_instance: SessionReviewStep, _reader: BinaryReader): void;
|
|
2139
|
+
/**
|
|
2140
|
+
* Serializes a message to binary format using provided binary reader
|
|
2141
|
+
* @param _instance message instance
|
|
2142
|
+
* @param _writer binary writer instance
|
|
2143
|
+
*/
|
|
2144
|
+
static serializeBinaryToWriter(_instance: SessionReviewStep, _writer: BinaryWriter): void;
|
|
2145
|
+
private _annotatedUsersays?;
|
|
2146
|
+
private _languageCode?;
|
|
2147
|
+
private _detectedIntents?;
|
|
2148
|
+
private _contexts?;
|
|
2149
|
+
private _contextsOut?;
|
|
2150
|
+
/**
|
|
2151
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
2152
|
+
* @param _value initial values object or instance of SessionReviewStep to deeply clone from
|
|
2153
|
+
*/
|
|
2154
|
+
constructor(_value?: RecursivePartial<SessionReviewStep.AsObject>);
|
|
2155
|
+
get annotatedUsersays(): ondewoNlu013.Intent.TrainingPhrase | undefined;
|
|
2156
|
+
set annotatedUsersays(value: ondewoNlu013.Intent.TrainingPhrase | undefined);
|
|
2157
|
+
get languageCode(): string | undefined;
|
|
2158
|
+
set languageCode(value: string | undefined);
|
|
2159
|
+
get detectedIntents(): DetectedIntent[] | undefined;
|
|
2160
|
+
set detectedIntents(value: DetectedIntent[] | undefined);
|
|
2161
|
+
get contexts(): ondewoNlu006.Context[] | undefined;
|
|
2162
|
+
set contexts(value: ondewoNlu006.Context[] | undefined);
|
|
2163
|
+
get contextsOut(): ondewoNlu006.Context[] | undefined;
|
|
2164
|
+
set contextsOut(value: ondewoNlu006.Context[] | undefined);
|
|
2165
|
+
/**
|
|
2166
|
+
* Serialize message to binary data
|
|
2167
|
+
* @param instance message instance
|
|
2168
|
+
*/
|
|
2169
|
+
serializeBinary(): any;
|
|
2170
|
+
/**
|
|
2171
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
2172
|
+
*/
|
|
2173
|
+
toObject(): SessionReviewStep.AsObject;
|
|
2174
|
+
/**
|
|
2175
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
2176
|
+
*/
|
|
2177
|
+
toJSON(): SessionReviewStep.AsObject;
|
|
2178
|
+
/**
|
|
2179
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
2180
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
2181
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
2182
|
+
*/
|
|
2183
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): SessionReviewStep.AsProtobufJSON;
|
|
2184
|
+
}
|
|
2185
|
+
export declare module SessionReviewStep {
|
|
2186
|
+
/**
|
|
2187
|
+
* Standard JavaScript object representation for SessionReviewStep
|
|
2188
|
+
*/
|
|
2189
|
+
interface AsObject {
|
|
2190
|
+
annotatedUsersays?: ondewoNlu013.Intent.TrainingPhrase.AsObject;
|
|
2191
|
+
languageCode?: string;
|
|
2192
|
+
detectedIntents?: DetectedIntent.AsObject[];
|
|
2193
|
+
contexts?: ondewoNlu006.Context.AsObject[];
|
|
2194
|
+
contextsOut?: ondewoNlu006.Context.AsObject[];
|
|
2195
|
+
}
|
|
2196
|
+
/**
|
|
2197
|
+
* Protobuf JSON representation for SessionReviewStep
|
|
2198
|
+
*/
|
|
2199
|
+
interface AsProtobufJSON {
|
|
2200
|
+
annotatedUsersays?: ondewoNlu013.Intent.TrainingPhrase.AsProtobufJSON | null;
|
|
2201
|
+
languageCode?: string;
|
|
2202
|
+
detectedIntents?: DetectedIntent.AsProtobufJSON[] | null;
|
|
2203
|
+
contexts?: ondewoNlu006.Context.AsProtobufJSON[] | null;
|
|
2204
|
+
contextsOut?: ondewoNlu006.Context.AsProtobufJSON[] | null;
|
|
2205
|
+
}
|
|
2206
|
+
}
|
|
2207
|
+
/**
|
|
2208
|
+
* Message implementation for ondewo.nlu.DetectedIntent
|
|
2209
|
+
*/
|
|
2210
|
+
export declare class DetectedIntent implements GrpcMessage {
|
|
2211
|
+
static id: string;
|
|
2212
|
+
/**
|
|
2213
|
+
* Deserialize binary data to message
|
|
2214
|
+
* @param instance message instance
|
|
2215
|
+
*/
|
|
2216
|
+
static deserializeBinary(bytes: ByteSource): DetectedIntent;
|
|
2217
|
+
/**
|
|
2218
|
+
* Check all the properties and set default protobuf values if necessary
|
|
2219
|
+
* @param _instance message instance
|
|
2220
|
+
*/
|
|
2221
|
+
static refineValues(_instance: DetectedIntent): void;
|
|
2222
|
+
/**
|
|
2223
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
2224
|
+
* @param _instance message instance
|
|
2225
|
+
* @param _reader binary reader instance
|
|
2226
|
+
*/
|
|
2227
|
+
static deserializeBinaryFromReader(_instance: DetectedIntent, _reader: BinaryReader): void;
|
|
2228
|
+
/**
|
|
2229
|
+
* Serializes a message to binary format using provided binary reader
|
|
2230
|
+
* @param _instance message instance
|
|
2231
|
+
* @param _writer binary writer instance
|
|
2232
|
+
*/
|
|
2233
|
+
static serializeBinaryToWriter(_instance: DetectedIntent, _writer: BinaryWriter): void;
|
|
2234
|
+
private _intent?;
|
|
2235
|
+
private _score?;
|
|
2236
|
+
private _algorithm?;
|
|
2237
|
+
private _fulfillmentMessages?;
|
|
2238
|
+
private _requiredParamMissing?;
|
|
2239
|
+
/**
|
|
2240
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
2241
|
+
* @param _value initial values object or instance of DetectedIntent to deeply clone from
|
|
2242
|
+
*/
|
|
2243
|
+
constructor(_value?: RecursivePartial<DetectedIntent.AsObject>);
|
|
2244
|
+
get intent(): ondewoNlu013.Intent | undefined;
|
|
2245
|
+
set intent(value: ondewoNlu013.Intent | undefined);
|
|
2246
|
+
get score(): number | undefined;
|
|
2247
|
+
set score(value: number | undefined);
|
|
2248
|
+
get algorithm(): string | undefined;
|
|
2249
|
+
set algorithm(value: string | undefined);
|
|
2250
|
+
get fulfillmentMessages(): ondewoNlu013.Intent.Message[] | undefined;
|
|
2251
|
+
set fulfillmentMessages(value: ondewoNlu013.Intent.Message[] | undefined);
|
|
2252
|
+
get requiredParamMissing(): boolean | undefined;
|
|
2253
|
+
set requiredParamMissing(value: boolean | undefined);
|
|
2254
|
+
/**
|
|
2255
|
+
* Serialize message to binary data
|
|
2256
|
+
* @param instance message instance
|
|
2257
|
+
*/
|
|
2258
|
+
serializeBinary(): any;
|
|
2259
|
+
/**
|
|
2260
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
2261
|
+
*/
|
|
2262
|
+
toObject(): DetectedIntent.AsObject;
|
|
2263
|
+
/**
|
|
2264
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
2265
|
+
*/
|
|
2266
|
+
toJSON(): DetectedIntent.AsObject;
|
|
2267
|
+
/**
|
|
2268
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
2269
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
2270
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
2271
|
+
*/
|
|
2272
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): DetectedIntent.AsProtobufJSON;
|
|
2273
|
+
}
|
|
2274
|
+
export declare module DetectedIntent {
|
|
2275
|
+
/**
|
|
2276
|
+
* Standard JavaScript object representation for DetectedIntent
|
|
2277
|
+
*/
|
|
2278
|
+
interface AsObject {
|
|
2279
|
+
intent?: ondewoNlu013.Intent.AsObject;
|
|
2280
|
+
score?: number;
|
|
2281
|
+
algorithm?: string;
|
|
2282
|
+
fulfillmentMessages?: ondewoNlu013.Intent.Message.AsObject[];
|
|
2283
|
+
requiredParamMissing?: boolean;
|
|
2284
|
+
}
|
|
2285
|
+
/**
|
|
2286
|
+
* Protobuf JSON representation for DetectedIntent
|
|
2287
|
+
*/
|
|
2288
|
+
interface AsProtobufJSON {
|
|
2289
|
+
intent?: ondewoNlu013.Intent.AsProtobufJSON | null;
|
|
2290
|
+
score?: number;
|
|
2291
|
+
algorithm?: string;
|
|
2292
|
+
fulfillmentMessages?: ondewoNlu013.Intent.Message.AsProtobufJSON[] | null;
|
|
2293
|
+
requiredParamMissing?: boolean;
|
|
2294
|
+
}
|
|
2295
|
+
}
|
|
2296
|
+
/**
|
|
2297
|
+
* Message implementation for ondewo.nlu.ListSessionLabelsRequest
|
|
2298
|
+
*/
|
|
2299
|
+
export declare class ListSessionLabelsRequest implements GrpcMessage {
|
|
2300
|
+
static id: string;
|
|
2301
|
+
/**
|
|
2302
|
+
* Deserialize binary data to message
|
|
2303
|
+
* @param instance message instance
|
|
2304
|
+
*/
|
|
2305
|
+
static deserializeBinary(bytes: ByteSource): ListSessionLabelsRequest;
|
|
2306
|
+
/**
|
|
2307
|
+
* Check all the properties and set default protobuf values if necessary
|
|
2308
|
+
* @param _instance message instance
|
|
2309
|
+
*/
|
|
2310
|
+
static refineValues(_instance: ListSessionLabelsRequest): void;
|
|
2311
|
+
/**
|
|
2312
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
2313
|
+
* @param _instance message instance
|
|
2314
|
+
* @param _reader binary reader instance
|
|
2315
|
+
*/
|
|
2316
|
+
static deserializeBinaryFromReader(_instance: ListSessionLabelsRequest, _reader: BinaryReader): void;
|
|
2317
|
+
/**
|
|
2318
|
+
* Serializes a message to binary format using provided binary reader
|
|
2319
|
+
* @param _instance message instance
|
|
2320
|
+
* @param _writer binary writer instance
|
|
2321
|
+
*/
|
|
2322
|
+
static serializeBinaryToWriter(_instance: ListSessionLabelsRequest, _writer: BinaryWriter): void;
|
|
2323
|
+
private _parent?;
|
|
2324
|
+
/**
|
|
2325
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
2326
|
+
* @param _value initial values object or instance of ListSessionLabelsRequest to deeply clone from
|
|
2327
|
+
*/
|
|
2328
|
+
constructor(_value?: RecursivePartial<ListSessionLabelsRequest.AsObject>);
|
|
2329
|
+
get parent(): string | undefined;
|
|
2330
|
+
set parent(value: string | undefined);
|
|
2331
|
+
/**
|
|
2332
|
+
* Serialize message to binary data
|
|
2333
|
+
* @param instance message instance
|
|
2334
|
+
*/
|
|
2335
|
+
serializeBinary(): any;
|
|
2336
|
+
/**
|
|
2337
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
2338
|
+
*/
|
|
2339
|
+
toObject(): ListSessionLabelsRequest.AsObject;
|
|
2340
|
+
/**
|
|
2341
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
2342
|
+
*/
|
|
2343
|
+
toJSON(): ListSessionLabelsRequest.AsObject;
|
|
2344
|
+
/**
|
|
2345
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
2346
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
2347
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
2348
|
+
*/
|
|
2349
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): ListSessionLabelsRequest.AsProtobufJSON;
|
|
2350
|
+
}
|
|
2351
|
+
export declare module ListSessionLabelsRequest {
|
|
2352
|
+
/**
|
|
2353
|
+
* Standard JavaScript object representation for ListSessionLabelsRequest
|
|
2354
|
+
*/
|
|
2355
|
+
interface AsObject {
|
|
2356
|
+
parent?: string;
|
|
2357
|
+
}
|
|
2358
|
+
/**
|
|
2359
|
+
* Protobuf JSON representation for ListSessionLabelsRequest
|
|
2360
|
+
*/
|
|
2361
|
+
interface AsProtobufJSON {
|
|
2362
|
+
parent?: string;
|
|
2363
|
+
}
|
|
2364
|
+
}
|
|
2365
|
+
/**
|
|
2366
|
+
* Message implementation for ondewo.nlu.ListSessionLabelsResponse
|
|
2367
|
+
*/
|
|
2368
|
+
export declare class ListSessionLabelsResponse implements GrpcMessage {
|
|
2369
|
+
static id: string;
|
|
2370
|
+
/**
|
|
2371
|
+
* Deserialize binary data to message
|
|
2372
|
+
* @param instance message instance
|
|
2373
|
+
*/
|
|
2374
|
+
static deserializeBinary(bytes: ByteSource): ListSessionLabelsResponse;
|
|
2375
|
+
/**
|
|
2376
|
+
* Check all the properties and set default protobuf values if necessary
|
|
2377
|
+
* @param _instance message instance
|
|
2378
|
+
*/
|
|
2379
|
+
static refineValues(_instance: ListSessionLabelsResponse): void;
|
|
2380
|
+
/**
|
|
2381
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
2382
|
+
* @param _instance message instance
|
|
2383
|
+
* @param _reader binary reader instance
|
|
2384
|
+
*/
|
|
2385
|
+
static deserializeBinaryFromReader(_instance: ListSessionLabelsResponse, _reader: BinaryReader): void;
|
|
2386
|
+
/**
|
|
2387
|
+
* Serializes a message to binary format using provided binary reader
|
|
2388
|
+
* @param _instance message instance
|
|
2389
|
+
* @param _writer binary writer instance
|
|
2390
|
+
*/
|
|
2391
|
+
static serializeBinaryToWriter(_instance: ListSessionLabelsResponse, _writer: BinaryWriter): void;
|
|
2392
|
+
private _labels?;
|
|
2393
|
+
/**
|
|
2394
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
2395
|
+
* @param _value initial values object or instance of ListSessionLabelsResponse to deeply clone from
|
|
2396
|
+
*/
|
|
2397
|
+
constructor(_value?: RecursivePartial<ListSessionLabelsResponse.AsObject>);
|
|
2398
|
+
get labels(): string[] | undefined;
|
|
2399
|
+
set labels(value: string[] | undefined);
|
|
2400
|
+
/**
|
|
2401
|
+
* Serialize message to binary data
|
|
2402
|
+
* @param instance message instance
|
|
2403
|
+
*/
|
|
2404
|
+
serializeBinary(): any;
|
|
2405
|
+
/**
|
|
2406
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
2407
|
+
*/
|
|
2408
|
+
toObject(): ListSessionLabelsResponse.AsObject;
|
|
2409
|
+
/**
|
|
2410
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
2411
|
+
*/
|
|
2412
|
+
toJSON(): ListSessionLabelsResponse.AsObject;
|
|
2413
|
+
/**
|
|
2414
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
2415
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
2416
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
2417
|
+
*/
|
|
2418
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): ListSessionLabelsResponse.AsProtobufJSON;
|
|
2419
|
+
}
|
|
2420
|
+
export declare module ListSessionLabelsResponse {
|
|
2421
|
+
/**
|
|
2422
|
+
* Standard JavaScript object representation for ListSessionLabelsResponse
|
|
2423
|
+
*/
|
|
2424
|
+
interface AsObject {
|
|
2425
|
+
labels?: string[];
|
|
2426
|
+
}
|
|
2427
|
+
/**
|
|
2428
|
+
* Protobuf JSON representation for ListSessionLabelsResponse
|
|
2429
|
+
*/
|
|
2430
|
+
interface AsProtobufJSON {
|
|
2431
|
+
labels?: string[];
|
|
2432
|
+
}
|
|
2433
|
+
}
|
|
2434
|
+
/**
|
|
2435
|
+
* Message implementation for ondewo.nlu.AddSessionLabelsRequest
|
|
2436
|
+
*/
|
|
2437
|
+
export declare class AddSessionLabelsRequest implements GrpcMessage {
|
|
2438
|
+
static id: string;
|
|
2439
|
+
/**
|
|
2440
|
+
* Deserialize binary data to message
|
|
2441
|
+
* @param instance message instance
|
|
2442
|
+
*/
|
|
2443
|
+
static deserializeBinary(bytes: ByteSource): AddSessionLabelsRequest;
|
|
2444
|
+
/**
|
|
2445
|
+
* Check all the properties and set default protobuf values if necessary
|
|
2446
|
+
* @param _instance message instance
|
|
2447
|
+
*/
|
|
2448
|
+
static refineValues(_instance: AddSessionLabelsRequest): void;
|
|
2449
|
+
/**
|
|
2450
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
2451
|
+
* @param _instance message instance
|
|
2452
|
+
* @param _reader binary reader instance
|
|
2453
|
+
*/
|
|
2454
|
+
static deserializeBinaryFromReader(_instance: AddSessionLabelsRequest, _reader: BinaryReader): void;
|
|
2455
|
+
/**
|
|
2456
|
+
* Serializes a message to binary format using provided binary reader
|
|
2457
|
+
* @param _instance message instance
|
|
2458
|
+
* @param _writer binary writer instance
|
|
2459
|
+
*/
|
|
2460
|
+
static serializeBinaryToWriter(_instance: AddSessionLabelsRequest, _writer: BinaryWriter): void;
|
|
2461
|
+
private _sessionId?;
|
|
2462
|
+
private _labels?;
|
|
2463
|
+
private _sessionView?;
|
|
2464
|
+
/**
|
|
2465
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
2466
|
+
* @param _value initial values object or instance of AddSessionLabelsRequest to deeply clone from
|
|
2467
|
+
*/
|
|
2468
|
+
constructor(_value?: RecursivePartial<AddSessionLabelsRequest.AsObject>);
|
|
2469
|
+
get sessionId(): string | undefined;
|
|
2470
|
+
set sessionId(value: string | undefined);
|
|
2471
|
+
get labels(): string[] | undefined;
|
|
2472
|
+
set labels(value: string[] | undefined);
|
|
2473
|
+
get sessionView(): Session.View | undefined;
|
|
2474
|
+
set sessionView(value: Session.View | undefined);
|
|
2475
|
+
/**
|
|
2476
|
+
* Serialize message to binary data
|
|
2477
|
+
* @param instance message instance
|
|
2478
|
+
*/
|
|
2479
|
+
serializeBinary(): any;
|
|
2480
|
+
/**
|
|
2481
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
2482
|
+
*/
|
|
2483
|
+
toObject(): AddSessionLabelsRequest.AsObject;
|
|
2484
|
+
/**
|
|
2485
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
2486
|
+
*/
|
|
2487
|
+
toJSON(): AddSessionLabelsRequest.AsObject;
|
|
2488
|
+
/**
|
|
2489
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
2490
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
2491
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
2492
|
+
*/
|
|
2493
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): AddSessionLabelsRequest.AsProtobufJSON;
|
|
2494
|
+
}
|
|
2495
|
+
export declare module AddSessionLabelsRequest {
|
|
2496
|
+
/**
|
|
2497
|
+
* Standard JavaScript object representation for AddSessionLabelsRequest
|
|
2498
|
+
*/
|
|
2499
|
+
interface AsObject {
|
|
2500
|
+
sessionId?: string;
|
|
2501
|
+
labels?: string[];
|
|
2502
|
+
sessionView?: Session.View;
|
|
2503
|
+
}
|
|
2504
|
+
/**
|
|
2505
|
+
* Protobuf JSON representation for AddSessionLabelsRequest
|
|
2506
|
+
*/
|
|
2507
|
+
interface AsProtobufJSON {
|
|
2508
|
+
sessionId?: string;
|
|
2509
|
+
labels?: string[];
|
|
2510
|
+
sessionView?: string;
|
|
2511
|
+
}
|
|
2512
|
+
}
|
|
2513
|
+
/**
|
|
2514
|
+
* Message implementation for ondewo.nlu.RemoveSessionLabelsRequest
|
|
2515
|
+
*/
|
|
2516
|
+
export declare class RemoveSessionLabelsRequest implements GrpcMessage {
|
|
2517
|
+
static id: string;
|
|
2518
|
+
/**
|
|
2519
|
+
* Deserialize binary data to message
|
|
2520
|
+
* @param instance message instance
|
|
2521
|
+
*/
|
|
2522
|
+
static deserializeBinary(bytes: ByteSource): RemoveSessionLabelsRequest;
|
|
2523
|
+
/**
|
|
2524
|
+
* Check all the properties and set default protobuf values if necessary
|
|
2525
|
+
* @param _instance message instance
|
|
2526
|
+
*/
|
|
2527
|
+
static refineValues(_instance: RemoveSessionLabelsRequest): void;
|
|
2528
|
+
/**
|
|
2529
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
2530
|
+
* @param _instance message instance
|
|
2531
|
+
* @param _reader binary reader instance
|
|
2532
|
+
*/
|
|
2533
|
+
static deserializeBinaryFromReader(_instance: RemoveSessionLabelsRequest, _reader: BinaryReader): void;
|
|
2534
|
+
/**
|
|
2535
|
+
* Serializes a message to binary format using provided binary reader
|
|
2536
|
+
* @param _instance message instance
|
|
2537
|
+
* @param _writer binary writer instance
|
|
2538
|
+
*/
|
|
2539
|
+
static serializeBinaryToWriter(_instance: RemoveSessionLabelsRequest, _writer: BinaryWriter): void;
|
|
2540
|
+
private _sessionId?;
|
|
2541
|
+
private _labels?;
|
|
2542
|
+
private _sessionView?;
|
|
2543
|
+
/**
|
|
2544
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
2545
|
+
* @param _value initial values object or instance of RemoveSessionLabelsRequest to deeply clone from
|
|
2546
|
+
*/
|
|
2547
|
+
constructor(_value?: RecursivePartial<RemoveSessionLabelsRequest.AsObject>);
|
|
2548
|
+
get sessionId(): string | undefined;
|
|
2549
|
+
set sessionId(value: string | undefined);
|
|
2550
|
+
get labels(): string[] | undefined;
|
|
2551
|
+
set labels(value: string[] | undefined);
|
|
2552
|
+
get sessionView(): Session.View | undefined;
|
|
2553
|
+
set sessionView(value: Session.View | undefined);
|
|
2554
|
+
/**
|
|
2555
|
+
* Serialize message to binary data
|
|
2556
|
+
* @param instance message instance
|
|
2557
|
+
*/
|
|
2558
|
+
serializeBinary(): any;
|
|
2559
|
+
/**
|
|
2560
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
2561
|
+
*/
|
|
2562
|
+
toObject(): RemoveSessionLabelsRequest.AsObject;
|
|
2563
|
+
/**
|
|
2564
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
2565
|
+
*/
|
|
2566
|
+
toJSON(): RemoveSessionLabelsRequest.AsObject;
|
|
2567
|
+
/**
|
|
2568
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
2569
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
2570
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
2571
|
+
*/
|
|
2572
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): RemoveSessionLabelsRequest.AsProtobufJSON;
|
|
2573
|
+
}
|
|
2574
|
+
export declare module RemoveSessionLabelsRequest {
|
|
2575
|
+
/**
|
|
2576
|
+
* Standard JavaScript object representation for RemoveSessionLabelsRequest
|
|
2577
|
+
*/
|
|
2578
|
+
interface AsObject {
|
|
2579
|
+
sessionId?: string;
|
|
2580
|
+
labels?: string[];
|
|
2581
|
+
sessionView?: Session.View;
|
|
2582
|
+
}
|
|
2583
|
+
/**
|
|
2584
|
+
* Protobuf JSON representation for RemoveSessionLabelsRequest
|
|
2585
|
+
*/
|
|
2586
|
+
interface AsProtobufJSON {
|
|
2587
|
+
sessionId?: string;
|
|
2588
|
+
labels?: string[];
|
|
2589
|
+
sessionView?: string;
|
|
2590
|
+
}
|
|
2591
|
+
}
|
|
2592
|
+
/**
|
|
2593
|
+
* Message implementation for ondewo.nlu.ListSessionReviewsRequest
|
|
2594
|
+
*/
|
|
2595
|
+
export declare class ListSessionReviewsRequest implements GrpcMessage {
|
|
2596
|
+
static id: string;
|
|
2597
|
+
/**
|
|
2598
|
+
* Deserialize binary data to message
|
|
2599
|
+
* @param instance message instance
|
|
2600
|
+
*/
|
|
2601
|
+
static deserializeBinary(bytes: ByteSource): ListSessionReviewsRequest;
|
|
2602
|
+
/**
|
|
2603
|
+
* Check all the properties and set default protobuf values if necessary
|
|
2604
|
+
* @param _instance message instance
|
|
2605
|
+
*/
|
|
2606
|
+
static refineValues(_instance: ListSessionReviewsRequest): void;
|
|
2607
|
+
/**
|
|
2608
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
2609
|
+
* @param _instance message instance
|
|
2610
|
+
* @param _reader binary reader instance
|
|
2611
|
+
*/
|
|
2612
|
+
static deserializeBinaryFromReader(_instance: ListSessionReviewsRequest, _reader: BinaryReader): void;
|
|
2613
|
+
/**
|
|
2614
|
+
* Serializes a message to binary format using provided binary reader
|
|
2615
|
+
* @param _instance message instance
|
|
2616
|
+
* @param _writer binary writer instance
|
|
2617
|
+
*/
|
|
2618
|
+
static serializeBinaryToWriter(_instance: ListSessionReviewsRequest, _writer: BinaryWriter): void;
|
|
2619
|
+
private _sessionId?;
|
|
2620
|
+
private _sessionReviewView?;
|
|
2621
|
+
private _pageToken?;
|
|
2622
|
+
/**
|
|
2623
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
2624
|
+
* @param _value initial values object or instance of ListSessionReviewsRequest to deeply clone from
|
|
2625
|
+
*/
|
|
2626
|
+
constructor(_value?: RecursivePartial<ListSessionReviewsRequest.AsObject>);
|
|
2627
|
+
get sessionId(): string | undefined;
|
|
2628
|
+
set sessionId(value: string | undefined);
|
|
2629
|
+
get sessionReviewView(): SessionReview.View | undefined;
|
|
2630
|
+
set sessionReviewView(value: SessionReview.View | undefined);
|
|
2631
|
+
get pageToken(): string | undefined;
|
|
2632
|
+
set pageToken(value: string | undefined);
|
|
2633
|
+
/**
|
|
2634
|
+
* Serialize message to binary data
|
|
2635
|
+
* @param instance message instance
|
|
2636
|
+
*/
|
|
2637
|
+
serializeBinary(): any;
|
|
2638
|
+
/**
|
|
2639
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
2640
|
+
*/
|
|
2641
|
+
toObject(): ListSessionReviewsRequest.AsObject;
|
|
2642
|
+
/**
|
|
2643
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
2644
|
+
*/
|
|
2645
|
+
toJSON(): ListSessionReviewsRequest.AsObject;
|
|
2646
|
+
/**
|
|
2647
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
2648
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
2649
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
2650
|
+
*/
|
|
2651
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): ListSessionReviewsRequest.AsProtobufJSON;
|
|
2652
|
+
}
|
|
2653
|
+
export declare module ListSessionReviewsRequest {
|
|
2654
|
+
/**
|
|
2655
|
+
* Standard JavaScript object representation for ListSessionReviewsRequest
|
|
2656
|
+
*/
|
|
2657
|
+
interface AsObject {
|
|
2658
|
+
sessionId?: string;
|
|
2659
|
+
sessionReviewView?: SessionReview.View;
|
|
2660
|
+
pageToken?: string;
|
|
2661
|
+
}
|
|
2662
|
+
/**
|
|
2663
|
+
* Protobuf JSON representation for ListSessionReviewsRequest
|
|
2664
|
+
*/
|
|
2665
|
+
interface AsProtobufJSON {
|
|
2666
|
+
sessionId?: string;
|
|
2667
|
+
sessionReviewView?: string;
|
|
2668
|
+
pageToken?: string;
|
|
2669
|
+
}
|
|
2670
|
+
}
|
|
2671
|
+
/**
|
|
2672
|
+
* Message implementation for ondewo.nlu.ListSessionReviewsResponse
|
|
2673
|
+
*/
|
|
2674
|
+
export declare class ListSessionReviewsResponse implements GrpcMessage {
|
|
2675
|
+
static id: string;
|
|
2676
|
+
/**
|
|
2677
|
+
* Deserialize binary data to message
|
|
2678
|
+
* @param instance message instance
|
|
2679
|
+
*/
|
|
2680
|
+
static deserializeBinary(bytes: ByteSource): ListSessionReviewsResponse;
|
|
2681
|
+
/**
|
|
2682
|
+
* Check all the properties and set default protobuf values if necessary
|
|
2683
|
+
* @param _instance message instance
|
|
2684
|
+
*/
|
|
2685
|
+
static refineValues(_instance: ListSessionReviewsResponse): void;
|
|
2686
|
+
/**
|
|
2687
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
2688
|
+
* @param _instance message instance
|
|
2689
|
+
* @param _reader binary reader instance
|
|
2690
|
+
*/
|
|
2691
|
+
static deserializeBinaryFromReader(_instance: ListSessionReviewsResponse, _reader: BinaryReader): void;
|
|
2692
|
+
/**
|
|
2693
|
+
* Serializes a message to binary format using provided binary reader
|
|
2694
|
+
* @param _instance message instance
|
|
2695
|
+
* @param _writer binary writer instance
|
|
2696
|
+
*/
|
|
2697
|
+
static serializeBinaryToWriter(_instance: ListSessionReviewsResponse, _writer: BinaryWriter): void;
|
|
2698
|
+
private _sessionReviews?;
|
|
2699
|
+
private _nextPageToken?;
|
|
2700
|
+
/**
|
|
2701
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
2702
|
+
* @param _value initial values object or instance of ListSessionReviewsResponse to deeply clone from
|
|
2703
|
+
*/
|
|
2704
|
+
constructor(_value?: RecursivePartial<ListSessionReviewsResponse.AsObject>);
|
|
2705
|
+
get sessionReviews(): SessionReview[] | undefined;
|
|
2706
|
+
set sessionReviews(value: SessionReview[] | undefined);
|
|
2707
|
+
get nextPageToken(): string | undefined;
|
|
2708
|
+
set nextPageToken(value: string | undefined);
|
|
2709
|
+
/**
|
|
2710
|
+
* Serialize message to binary data
|
|
2711
|
+
* @param instance message instance
|
|
2712
|
+
*/
|
|
2713
|
+
serializeBinary(): any;
|
|
2714
|
+
/**
|
|
2715
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
2716
|
+
*/
|
|
2717
|
+
toObject(): ListSessionReviewsResponse.AsObject;
|
|
2718
|
+
/**
|
|
2719
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
2720
|
+
*/
|
|
2721
|
+
toJSON(): ListSessionReviewsResponse.AsObject;
|
|
2722
|
+
/**
|
|
2723
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
2724
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
2725
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
2726
|
+
*/
|
|
2727
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): ListSessionReviewsResponse.AsProtobufJSON;
|
|
2728
|
+
}
|
|
2729
|
+
export declare module ListSessionReviewsResponse {
|
|
2730
|
+
/**
|
|
2731
|
+
* Standard JavaScript object representation for ListSessionReviewsResponse
|
|
2732
|
+
*/
|
|
2733
|
+
interface AsObject {
|
|
2734
|
+
sessionReviews?: SessionReview.AsObject[];
|
|
2735
|
+
nextPageToken?: string;
|
|
2736
|
+
}
|
|
2737
|
+
/**
|
|
2738
|
+
* Protobuf JSON representation for ListSessionReviewsResponse
|
|
2739
|
+
*/
|
|
2740
|
+
interface AsProtobufJSON {
|
|
2741
|
+
sessionReviews?: SessionReview.AsProtobufJSON[] | null;
|
|
2742
|
+
nextPageToken?: string;
|
|
2743
|
+
}
|
|
2744
|
+
}
|
|
2745
|
+
/**
|
|
2746
|
+
* Message implementation for ondewo.nlu.GetSessionReviewRequest
|
|
2747
|
+
*/
|
|
2748
|
+
export declare class GetSessionReviewRequest implements GrpcMessage {
|
|
2749
|
+
static id: string;
|
|
2750
|
+
/**
|
|
2751
|
+
* Deserialize binary data to message
|
|
2752
|
+
* @param instance message instance
|
|
2753
|
+
*/
|
|
2754
|
+
static deserializeBinary(bytes: ByteSource): GetSessionReviewRequest;
|
|
2755
|
+
/**
|
|
2756
|
+
* Check all the properties and set default protobuf values if necessary
|
|
2757
|
+
* @param _instance message instance
|
|
2758
|
+
*/
|
|
2759
|
+
static refineValues(_instance: GetSessionReviewRequest): void;
|
|
2760
|
+
/**
|
|
2761
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
2762
|
+
* @param _instance message instance
|
|
2763
|
+
* @param _reader binary reader instance
|
|
2764
|
+
*/
|
|
2765
|
+
static deserializeBinaryFromReader(_instance: GetSessionReviewRequest, _reader: BinaryReader): void;
|
|
2766
|
+
/**
|
|
2767
|
+
* Serializes a message to binary format using provided binary reader
|
|
2768
|
+
* @param _instance message instance
|
|
2769
|
+
* @param _writer binary writer instance
|
|
2770
|
+
*/
|
|
2771
|
+
static serializeBinaryToWriter(_instance: GetSessionReviewRequest, _writer: BinaryWriter): void;
|
|
2772
|
+
private _sessionReviewId?;
|
|
2773
|
+
private _sessionReviewView?;
|
|
2774
|
+
/**
|
|
2775
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
2776
|
+
* @param _value initial values object or instance of GetSessionReviewRequest to deeply clone from
|
|
2777
|
+
*/
|
|
2778
|
+
constructor(_value?: RecursivePartial<GetSessionReviewRequest.AsObject>);
|
|
2779
|
+
get sessionReviewId(): string | undefined;
|
|
2780
|
+
set sessionReviewId(value: string | undefined);
|
|
2781
|
+
get sessionReviewView(): SessionReview.View | undefined;
|
|
2782
|
+
set sessionReviewView(value: SessionReview.View | undefined);
|
|
2783
|
+
/**
|
|
2784
|
+
* Serialize message to binary data
|
|
2785
|
+
* @param instance message instance
|
|
2786
|
+
*/
|
|
2787
|
+
serializeBinary(): any;
|
|
2788
|
+
/**
|
|
2789
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
2790
|
+
*/
|
|
2791
|
+
toObject(): GetSessionReviewRequest.AsObject;
|
|
2792
|
+
/**
|
|
2793
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
2794
|
+
*/
|
|
2795
|
+
toJSON(): GetSessionReviewRequest.AsObject;
|
|
2796
|
+
/**
|
|
2797
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
2798
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
2799
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
2800
|
+
*/
|
|
2801
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): GetSessionReviewRequest.AsProtobufJSON;
|
|
2802
|
+
}
|
|
2803
|
+
export declare module GetSessionReviewRequest {
|
|
2804
|
+
/**
|
|
2805
|
+
* Standard JavaScript object representation for GetSessionReviewRequest
|
|
2806
|
+
*/
|
|
2807
|
+
interface AsObject {
|
|
2808
|
+
sessionReviewId?: string;
|
|
2809
|
+
sessionReviewView?: SessionReview.View;
|
|
2810
|
+
}
|
|
2811
|
+
/**
|
|
2812
|
+
* Protobuf JSON representation for GetSessionReviewRequest
|
|
2813
|
+
*/
|
|
2814
|
+
interface AsProtobufJSON {
|
|
2815
|
+
sessionReviewId?: string;
|
|
2816
|
+
sessionReviewView?: string;
|
|
2817
|
+
}
|
|
2818
|
+
}
|
|
2819
|
+
/**
|
|
2820
|
+
* Message implementation for ondewo.nlu.GetLatestSessionReviewRequest
|
|
2821
|
+
*/
|
|
2822
|
+
export declare class GetLatestSessionReviewRequest implements GrpcMessage {
|
|
2823
|
+
static id: string;
|
|
2824
|
+
/**
|
|
2825
|
+
* Deserialize binary data to message
|
|
2826
|
+
* @param instance message instance
|
|
2827
|
+
*/
|
|
2828
|
+
static deserializeBinary(bytes: ByteSource): GetLatestSessionReviewRequest;
|
|
2829
|
+
/**
|
|
2830
|
+
* Check all the properties and set default protobuf values if necessary
|
|
2831
|
+
* @param _instance message instance
|
|
2832
|
+
*/
|
|
2833
|
+
static refineValues(_instance: GetLatestSessionReviewRequest): void;
|
|
2834
|
+
/**
|
|
2835
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
2836
|
+
* @param _instance message instance
|
|
2837
|
+
* @param _reader binary reader instance
|
|
2838
|
+
*/
|
|
2839
|
+
static deserializeBinaryFromReader(_instance: GetLatestSessionReviewRequest, _reader: BinaryReader): void;
|
|
2840
|
+
/**
|
|
2841
|
+
* Serializes a message to binary format using provided binary reader
|
|
2842
|
+
* @param _instance message instance
|
|
2843
|
+
* @param _writer binary writer instance
|
|
2844
|
+
*/
|
|
2845
|
+
static serializeBinaryToWriter(_instance: GetLatestSessionReviewRequest, _writer: BinaryWriter): void;
|
|
2846
|
+
private _sessionId?;
|
|
2847
|
+
private _sessionReviewView?;
|
|
2848
|
+
/**
|
|
2849
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
2850
|
+
* @param _value initial values object or instance of GetLatestSessionReviewRequest to deeply clone from
|
|
2851
|
+
*/
|
|
2852
|
+
constructor(_value?: RecursivePartial<GetLatestSessionReviewRequest.AsObject>);
|
|
2853
|
+
get sessionId(): string | undefined;
|
|
2854
|
+
set sessionId(value: string | undefined);
|
|
2855
|
+
get sessionReviewView(): SessionReview.View | undefined;
|
|
2856
|
+
set sessionReviewView(value: SessionReview.View | undefined);
|
|
2857
|
+
/**
|
|
2858
|
+
* Serialize message to binary data
|
|
2859
|
+
* @param instance message instance
|
|
2860
|
+
*/
|
|
2861
|
+
serializeBinary(): any;
|
|
2862
|
+
/**
|
|
2863
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
2864
|
+
*/
|
|
2865
|
+
toObject(): GetLatestSessionReviewRequest.AsObject;
|
|
2866
|
+
/**
|
|
2867
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
2868
|
+
*/
|
|
2869
|
+
toJSON(): GetLatestSessionReviewRequest.AsObject;
|
|
2870
|
+
/**
|
|
2871
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
2872
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
2873
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
2874
|
+
*/
|
|
2875
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): GetLatestSessionReviewRequest.AsProtobufJSON;
|
|
2876
|
+
}
|
|
2877
|
+
export declare module GetLatestSessionReviewRequest {
|
|
2878
|
+
/**
|
|
2879
|
+
* Standard JavaScript object representation for GetLatestSessionReviewRequest
|
|
2880
|
+
*/
|
|
2881
|
+
interface AsObject {
|
|
2882
|
+
sessionId?: string;
|
|
2883
|
+
sessionReviewView?: SessionReview.View;
|
|
2884
|
+
}
|
|
2885
|
+
/**
|
|
2886
|
+
* Protobuf JSON representation for GetLatestSessionReviewRequest
|
|
2887
|
+
*/
|
|
2888
|
+
interface AsProtobufJSON {
|
|
2889
|
+
sessionId?: string;
|
|
2890
|
+
sessionReviewView?: string;
|
|
2891
|
+
}
|
|
2892
|
+
}
|