@ondewo/nlu-client-typescript 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +191 -0
- package/README.md +27 -0
- package/api/google/api/annotations_pb.d.ts +6 -0
- package/api/google/api/annotations_pb.js +48 -0
- package/api/google/protobuf/any_pb.d.ts +28 -0
- package/api/google/protobuf/any_pb.js +275 -0
- package/api/google/protobuf/empty_pb.d.ts +18 -0
- package/api/google/protobuf/empty_pb.js +141 -0
- package/api/google/protobuf/field_mask_pb.d.ts +24 -0
- package/api/google/protobuf/field_mask_pb.js +196 -0
- package/api/google/protobuf/struct_pb.d.ts +99 -0
- package/api/google/protobuf/struct_pb.js +948 -0
- package/api/google/protobuf/timestamp_pb.d.ts +26 -0
- package/api/google/protobuf/timestamp_pb.js +236 -0
- package/api/google/rpc/status_pb.d.ts +33 -0
- package/api/google/rpc/status_pb.js +262 -0
- package/api/google/type/latlng_pb.d.ts +26 -0
- package/api/google/type/latlng_pb.js +200 -0
- package/api/ondewo/nlu/agent_grpc_web_pb.d.ts +489 -0
- package/api/ondewo/nlu/agent_grpc_web_pb.js +2476 -0
- package/api/ondewo/nlu/agent_pb.d.ts +2079 -0
- package/api/ondewo/nlu/agent_pb.js +16648 -0
- package/api/ondewo/nlu/aiservices_grpc_web_pb.d.ts +115 -0
- package/api/ondewo/nlu/aiservices_grpc_web_pb.js +569 -0
- package/api/ondewo/nlu/aiservices_pb.d.ts +933 -0
- package/api/ondewo/nlu/aiservices_pb.js +7601 -0
- package/api/ondewo/nlu/common_pb.d.ts +26 -0
- package/api/ondewo/nlu/common_pb.js +179 -0
- package/api/ondewo/nlu/context_grpc_web_pb.d.ts +92 -0
- package/api/ondewo/nlu/context_grpc_web_pb.js +447 -0
- package/api/ondewo/nlu/context_pb.d.ts +218 -0
- package/api/ondewo/nlu/context_pb.js +1788 -0
- package/api/ondewo/nlu/entity_type_grpc_web_pb.d.ts +165 -0
- package/api/ondewo/nlu/entity_type_grpc_web_pb.js +817 -0
- package/api/ondewo/nlu/entity_type_pb.d.ts +756 -0
- package/api/ondewo/nlu/entity_type_pb.js +5970 -0
- package/api/ondewo/nlu/intent_grpc_web_pb.d.ts +345 -0
- package/api/ondewo/nlu/intent_grpc_web_pb.js +1738 -0
- package/api/ondewo/nlu/intent_pb.d.ts +2344 -0
- package/api/ondewo/nlu/intent_pb.js +18784 -0
- package/api/ondewo/nlu/operation_metadata_pb.d.ts +112 -0
- package/api/ondewo/nlu/operation_metadata_pb.js +740 -0
- package/api/ondewo/nlu/operations_grpc_web_pb.d.ts +68 -0
- package/api/ondewo/nlu/operations_grpc_web_pb.js +331 -0
- package/api/ondewo/nlu/operations_pb.d.ts +236 -0
- package/api/ondewo/nlu/operations_pb.js +1826 -0
- package/api/ondewo/nlu/project_role_grpc_web_pb.d.ts +80 -0
- package/api/ondewo/nlu/project_role_grpc_web_pb.js +386 -0
- package/api/ondewo/nlu/project_role_pb.d.ts +220 -0
- package/api/ondewo/nlu/project_role_pb.js +1713 -0
- package/api/ondewo/nlu/project_statistics_grpc_web_pb.d.ts +116 -0
- package/api/ondewo/nlu/project_statistics_grpc_web_pb.js +571 -0
- package/api/ondewo/nlu/project_statistics_pb.d.ts +92 -0
- package/api/ondewo/nlu/project_statistics_pb.js +724 -0
- package/api/ondewo/nlu/server_statistics_grpc_web_pb.d.ts +57 -0
- package/api/ondewo/nlu/server_statistics_grpc_web_pb.js +264 -0
- package/api/ondewo/nlu/server_statistics_pb.d.ts +25 -0
- package/api/ondewo/nlu/server_statistics_pb.js +176 -0
- package/api/ondewo/nlu/session_grpc_web_pb.d.ts +176 -0
- package/api/ondewo/nlu/session_grpc_web_pb.js +884 -0
- package/api/ondewo/nlu/session_pb.d.ts +1192 -0
- package/api/ondewo/nlu/session_pb.js +9762 -0
- package/api/ondewo/nlu/user_grpc_web_pb.d.ts +200 -0
- package/api/ondewo/nlu/user_grpc_web_pb.js +998 -0
- package/api/ondewo/nlu/user_pb.d.ts +489 -0
- package/api/ondewo/nlu/user_pb.js +4057 -0
- package/api/ondewo/nlu/utility_grpc_web_pb.d.ts +115 -0
- package/api/ondewo/nlu/utility_grpc_web_pb.js +567 -0
- package/api/ondewo/nlu/utility_pb.d.ts +708 -0
- package/api/ondewo/nlu/utility_pb.js +5914 -0
- package/api/ondewo/nlu/webhook_grpc_web_pb.d.ts +55 -0
- package/api/ondewo/nlu/webhook_grpc_web_pb.js +268 -0
- package/api/ondewo/nlu/webhook_pb.d.ts +155 -0
- package/api/ondewo/nlu/webhook_pb.js +1267 -0
- package/api/ondewo/qa/qa_grpc_web_pb.d.ts +104 -0
- package/api/ondewo/qa/qa_grpc_web_pb.js +508 -0
- package/api/ondewo/qa/qa_pb.d.ts +304 -0
- package/api/ondewo/qa/qa_pb.js +2553 -0
- package/package.json +18 -0
- package/public-api.d.ts +38 -0
|
@@ -0,0 +1,1192 @@
|
|
|
1
|
+
import * as jspb from 'google-protobuf'
|
|
2
|
+
|
|
3
|
+
import * as google_api_annotations_pb from '../../google/api/annotations_pb';
|
|
4
|
+
import * as google_protobuf_empty_pb from 'google-protobuf/google/protobuf/empty_pb';
|
|
5
|
+
import * as google_protobuf_struct_pb from 'google-protobuf/google/protobuf/struct_pb';
|
|
6
|
+
import * as google_rpc_status_pb from '../../google/rpc/status_pb';
|
|
7
|
+
import * as google_type_latlng_pb from '../../google/type/latlng_pb';
|
|
8
|
+
import * as ondewo_nlu_context_pb from '../../ondewo/nlu/context_pb';
|
|
9
|
+
import * as ondewo_nlu_intent_pb from '../../ondewo/nlu/intent_pb';
|
|
10
|
+
import * as ondewo_nlu_entity_type_pb from '../../ondewo/nlu/entity_type_pb';
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
export class DetectIntentRequest extends jspb.Message {
|
|
14
|
+
getSession(): string;
|
|
15
|
+
setSession(value: string): DetectIntentRequest;
|
|
16
|
+
|
|
17
|
+
getQueryParams(): QueryParameters | undefined;
|
|
18
|
+
setQueryParams(value?: QueryParameters): DetectIntentRequest;
|
|
19
|
+
hasQueryParams(): boolean;
|
|
20
|
+
clearQueryParams(): DetectIntentRequest;
|
|
21
|
+
|
|
22
|
+
getQueryInput(): QueryInput | undefined;
|
|
23
|
+
setQueryInput(value?: QueryInput): DetectIntentRequest;
|
|
24
|
+
hasQueryInput(): boolean;
|
|
25
|
+
clearQueryInput(): DetectIntentRequest;
|
|
26
|
+
|
|
27
|
+
getInputAudio(): Uint8Array | string;
|
|
28
|
+
getInputAudio_asU8(): Uint8Array;
|
|
29
|
+
getInputAudio_asB64(): string;
|
|
30
|
+
setInputAudio(value: Uint8Array | string): DetectIntentRequest;
|
|
31
|
+
|
|
32
|
+
serializeBinary(): Uint8Array;
|
|
33
|
+
toObject(includeInstance?: boolean): DetectIntentRequest.AsObject;
|
|
34
|
+
static toObject(includeInstance: boolean, msg: DetectIntentRequest): DetectIntentRequest.AsObject;
|
|
35
|
+
static serializeBinaryToWriter(message: DetectIntentRequest, writer: jspb.BinaryWriter): void;
|
|
36
|
+
static deserializeBinary(bytes: Uint8Array): DetectIntentRequest;
|
|
37
|
+
static deserializeBinaryFromReader(message: DetectIntentRequest, reader: jspb.BinaryReader): DetectIntentRequest;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export namespace DetectIntentRequest {
|
|
41
|
+
export type AsObject = {
|
|
42
|
+
session: string,
|
|
43
|
+
queryParams?: QueryParameters.AsObject,
|
|
44
|
+
queryInput?: QueryInput.AsObject,
|
|
45
|
+
inputAudio: Uint8Array | string,
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export class DetectIntentResponse extends jspb.Message {
|
|
50
|
+
getResponseId(): string;
|
|
51
|
+
setResponseId(value: string): DetectIntentResponse;
|
|
52
|
+
|
|
53
|
+
getQueryResult(): QueryResult | undefined;
|
|
54
|
+
setQueryResult(value?: QueryResult): DetectIntentResponse;
|
|
55
|
+
hasQueryResult(): boolean;
|
|
56
|
+
clearQueryResult(): DetectIntentResponse;
|
|
57
|
+
|
|
58
|
+
getWebhookStatus(): google_rpc_status_pb.Status | undefined;
|
|
59
|
+
setWebhookStatus(value?: google_rpc_status_pb.Status): DetectIntentResponse;
|
|
60
|
+
hasWebhookStatus(): boolean;
|
|
61
|
+
clearWebhookStatus(): DetectIntentResponse;
|
|
62
|
+
|
|
63
|
+
serializeBinary(): Uint8Array;
|
|
64
|
+
toObject(includeInstance?: boolean): DetectIntentResponse.AsObject;
|
|
65
|
+
static toObject(includeInstance: boolean, msg: DetectIntentResponse): DetectIntentResponse.AsObject;
|
|
66
|
+
static serializeBinaryToWriter(message: DetectIntentResponse, writer: jspb.BinaryWriter): void;
|
|
67
|
+
static deserializeBinary(bytes: Uint8Array): DetectIntentResponse;
|
|
68
|
+
static deserializeBinaryFromReader(message: DetectIntentResponse, reader: jspb.BinaryReader): DetectIntentResponse;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export namespace DetectIntentResponse {
|
|
72
|
+
export type AsObject = {
|
|
73
|
+
responseId: string,
|
|
74
|
+
queryResult?: QueryResult.AsObject,
|
|
75
|
+
webhookStatus?: google_rpc_status_pb.Status.AsObject,
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export class QueryParameters extends jspb.Message {
|
|
80
|
+
getTimeZone(): string;
|
|
81
|
+
setTimeZone(value: string): QueryParameters;
|
|
82
|
+
|
|
83
|
+
getGeoLocation(): google_type_latlng_pb.LatLng | undefined;
|
|
84
|
+
setGeoLocation(value?: google_type_latlng_pb.LatLng): QueryParameters;
|
|
85
|
+
hasGeoLocation(): boolean;
|
|
86
|
+
clearGeoLocation(): QueryParameters;
|
|
87
|
+
|
|
88
|
+
getContextsList(): Array<ondewo_nlu_context_pb.Context>;
|
|
89
|
+
setContextsList(value: Array<ondewo_nlu_context_pb.Context>): QueryParameters;
|
|
90
|
+
clearContextsList(): QueryParameters;
|
|
91
|
+
addContexts(value?: ondewo_nlu_context_pb.Context, index?: number): ondewo_nlu_context_pb.Context;
|
|
92
|
+
|
|
93
|
+
getResetContexts(): boolean;
|
|
94
|
+
setResetContexts(value: boolean): QueryParameters;
|
|
95
|
+
|
|
96
|
+
getPayload(): google_protobuf_struct_pb.Struct | undefined;
|
|
97
|
+
setPayload(value?: google_protobuf_struct_pb.Struct): QueryParameters;
|
|
98
|
+
hasPayload(): boolean;
|
|
99
|
+
clearPayload(): QueryParameters;
|
|
100
|
+
|
|
101
|
+
serializeBinary(): Uint8Array;
|
|
102
|
+
toObject(includeInstance?: boolean): QueryParameters.AsObject;
|
|
103
|
+
static toObject(includeInstance: boolean, msg: QueryParameters): QueryParameters.AsObject;
|
|
104
|
+
static serializeBinaryToWriter(message: QueryParameters, writer: jspb.BinaryWriter): void;
|
|
105
|
+
static deserializeBinary(bytes: Uint8Array): QueryParameters;
|
|
106
|
+
static deserializeBinaryFromReader(message: QueryParameters, reader: jspb.BinaryReader): QueryParameters;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
export namespace QueryParameters {
|
|
110
|
+
export type AsObject = {
|
|
111
|
+
timeZone: string,
|
|
112
|
+
geoLocation?: google_type_latlng_pb.LatLng.AsObject,
|
|
113
|
+
contextsList: Array<ondewo_nlu_context_pb.Context.AsObject>,
|
|
114
|
+
resetContexts: boolean,
|
|
115
|
+
payload?: google_protobuf_struct_pb.Struct.AsObject,
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
export class QueryInput extends jspb.Message {
|
|
120
|
+
getAudioConfig(): InputAudioConfig | undefined;
|
|
121
|
+
setAudioConfig(value?: InputAudioConfig): QueryInput;
|
|
122
|
+
hasAudioConfig(): boolean;
|
|
123
|
+
clearAudioConfig(): QueryInput;
|
|
124
|
+
|
|
125
|
+
getText(): TextInput | undefined;
|
|
126
|
+
setText(value?: TextInput): QueryInput;
|
|
127
|
+
hasText(): boolean;
|
|
128
|
+
clearText(): QueryInput;
|
|
129
|
+
|
|
130
|
+
getEvent(): EventInput | undefined;
|
|
131
|
+
setEvent(value?: EventInput): QueryInput;
|
|
132
|
+
hasEvent(): boolean;
|
|
133
|
+
clearEvent(): QueryInput;
|
|
134
|
+
|
|
135
|
+
getInputCase(): QueryInput.InputCase;
|
|
136
|
+
|
|
137
|
+
serializeBinary(): Uint8Array;
|
|
138
|
+
toObject(includeInstance?: boolean): QueryInput.AsObject;
|
|
139
|
+
static toObject(includeInstance: boolean, msg: QueryInput): QueryInput.AsObject;
|
|
140
|
+
static serializeBinaryToWriter(message: QueryInput, writer: jspb.BinaryWriter): void;
|
|
141
|
+
static deserializeBinary(bytes: Uint8Array): QueryInput;
|
|
142
|
+
static deserializeBinaryFromReader(message: QueryInput, reader: jspb.BinaryReader): QueryInput;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
export namespace QueryInput {
|
|
146
|
+
export type AsObject = {
|
|
147
|
+
audioConfig?: InputAudioConfig.AsObject,
|
|
148
|
+
text?: TextInput.AsObject,
|
|
149
|
+
event?: EventInput.AsObject,
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
export enum InputCase {
|
|
153
|
+
INPUT_NOT_SET = 0,
|
|
154
|
+
AUDIO_CONFIG = 1,
|
|
155
|
+
TEXT = 2,
|
|
156
|
+
EVENT = 3,
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
export class QueryResult extends jspb.Message {
|
|
161
|
+
getQueryText(): string;
|
|
162
|
+
setQueryText(value: string): QueryResult;
|
|
163
|
+
|
|
164
|
+
getLanguageCode(): string;
|
|
165
|
+
setLanguageCode(value: string): QueryResult;
|
|
166
|
+
|
|
167
|
+
getSpeechRecognitionConfidence(): number;
|
|
168
|
+
setSpeechRecognitionConfidence(value: number): QueryResult;
|
|
169
|
+
|
|
170
|
+
getAction(): string;
|
|
171
|
+
setAction(value: string): QueryResult;
|
|
172
|
+
|
|
173
|
+
getParameters(): google_protobuf_struct_pb.Struct | undefined;
|
|
174
|
+
setParameters(value?: google_protobuf_struct_pb.Struct): QueryResult;
|
|
175
|
+
hasParameters(): boolean;
|
|
176
|
+
clearParameters(): QueryResult;
|
|
177
|
+
|
|
178
|
+
getAllRequiredParamsPresent(): boolean;
|
|
179
|
+
setAllRequiredParamsPresent(value: boolean): QueryResult;
|
|
180
|
+
|
|
181
|
+
getFulfillmentText(): string;
|
|
182
|
+
setFulfillmentText(value: string): QueryResult;
|
|
183
|
+
|
|
184
|
+
getFulfillmentMessagesList(): Array<ondewo_nlu_intent_pb.Intent.Message>;
|
|
185
|
+
setFulfillmentMessagesList(value: Array<ondewo_nlu_intent_pb.Intent.Message>): QueryResult;
|
|
186
|
+
clearFulfillmentMessagesList(): QueryResult;
|
|
187
|
+
addFulfillmentMessages(value?: ondewo_nlu_intent_pb.Intent.Message, index?: number): ondewo_nlu_intent_pb.Intent.Message;
|
|
188
|
+
|
|
189
|
+
getWebhookSource(): string;
|
|
190
|
+
setWebhookSource(value: string): QueryResult;
|
|
191
|
+
|
|
192
|
+
getWebhookPayload(): google_protobuf_struct_pb.Struct | undefined;
|
|
193
|
+
setWebhookPayload(value?: google_protobuf_struct_pb.Struct): QueryResult;
|
|
194
|
+
hasWebhookPayload(): boolean;
|
|
195
|
+
clearWebhookPayload(): QueryResult;
|
|
196
|
+
|
|
197
|
+
getOutputContextsList(): Array<ondewo_nlu_context_pb.Context>;
|
|
198
|
+
setOutputContextsList(value: Array<ondewo_nlu_context_pb.Context>): QueryResult;
|
|
199
|
+
clearOutputContextsList(): QueryResult;
|
|
200
|
+
addOutputContexts(value?: ondewo_nlu_context_pb.Context, index?: number): ondewo_nlu_context_pb.Context;
|
|
201
|
+
|
|
202
|
+
getIntent(): ondewo_nlu_intent_pb.Intent | undefined;
|
|
203
|
+
setIntent(value?: ondewo_nlu_intent_pb.Intent): QueryResult;
|
|
204
|
+
hasIntent(): boolean;
|
|
205
|
+
clearIntent(): QueryResult;
|
|
206
|
+
|
|
207
|
+
getIntentDetectionConfidence(): number;
|
|
208
|
+
setIntentDetectionConfidence(value: number): QueryResult;
|
|
209
|
+
|
|
210
|
+
getDiagnosticInfo(): google_protobuf_struct_pb.Struct | undefined;
|
|
211
|
+
setDiagnosticInfo(value?: google_protobuf_struct_pb.Struct): QueryResult;
|
|
212
|
+
hasDiagnosticInfo(): boolean;
|
|
213
|
+
clearDiagnosticInfo(): QueryResult;
|
|
214
|
+
|
|
215
|
+
serializeBinary(): Uint8Array;
|
|
216
|
+
toObject(includeInstance?: boolean): QueryResult.AsObject;
|
|
217
|
+
static toObject(includeInstance: boolean, msg: QueryResult): QueryResult.AsObject;
|
|
218
|
+
static serializeBinaryToWriter(message: QueryResult, writer: jspb.BinaryWriter): void;
|
|
219
|
+
static deserializeBinary(bytes: Uint8Array): QueryResult;
|
|
220
|
+
static deserializeBinaryFromReader(message: QueryResult, reader: jspb.BinaryReader): QueryResult;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
export namespace QueryResult {
|
|
224
|
+
export type AsObject = {
|
|
225
|
+
queryText: string,
|
|
226
|
+
languageCode: string,
|
|
227
|
+
speechRecognitionConfidence: number,
|
|
228
|
+
action: string,
|
|
229
|
+
parameters?: google_protobuf_struct_pb.Struct.AsObject,
|
|
230
|
+
allRequiredParamsPresent: boolean,
|
|
231
|
+
fulfillmentText: string,
|
|
232
|
+
fulfillmentMessagesList: Array<ondewo_nlu_intent_pb.Intent.Message.AsObject>,
|
|
233
|
+
webhookSource: string,
|
|
234
|
+
webhookPayload?: google_protobuf_struct_pb.Struct.AsObject,
|
|
235
|
+
outputContextsList: Array<ondewo_nlu_context_pb.Context.AsObject>,
|
|
236
|
+
intent?: ondewo_nlu_intent_pb.Intent.AsObject,
|
|
237
|
+
intentDetectionConfidence: number,
|
|
238
|
+
diagnosticInfo?: google_protobuf_struct_pb.Struct.AsObject,
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
export class StreamingDetectIntentRequest extends jspb.Message {
|
|
243
|
+
getSession(): string;
|
|
244
|
+
setSession(value: string): StreamingDetectIntentRequest;
|
|
245
|
+
|
|
246
|
+
getQueryParams(): QueryParameters | undefined;
|
|
247
|
+
setQueryParams(value?: QueryParameters): StreamingDetectIntentRequest;
|
|
248
|
+
hasQueryParams(): boolean;
|
|
249
|
+
clearQueryParams(): StreamingDetectIntentRequest;
|
|
250
|
+
|
|
251
|
+
getQueryInput(): QueryInput | undefined;
|
|
252
|
+
setQueryInput(value?: QueryInput): StreamingDetectIntentRequest;
|
|
253
|
+
hasQueryInput(): boolean;
|
|
254
|
+
clearQueryInput(): StreamingDetectIntentRequest;
|
|
255
|
+
|
|
256
|
+
getSingleUtterance(): boolean;
|
|
257
|
+
setSingleUtterance(value: boolean): StreamingDetectIntentRequest;
|
|
258
|
+
|
|
259
|
+
getInputAudio(): Uint8Array | string;
|
|
260
|
+
getInputAudio_asU8(): Uint8Array;
|
|
261
|
+
getInputAudio_asB64(): string;
|
|
262
|
+
setInputAudio(value: Uint8Array | string): StreamingDetectIntentRequest;
|
|
263
|
+
|
|
264
|
+
serializeBinary(): Uint8Array;
|
|
265
|
+
toObject(includeInstance?: boolean): StreamingDetectIntentRequest.AsObject;
|
|
266
|
+
static toObject(includeInstance: boolean, msg: StreamingDetectIntentRequest): StreamingDetectIntentRequest.AsObject;
|
|
267
|
+
static serializeBinaryToWriter(message: StreamingDetectIntentRequest, writer: jspb.BinaryWriter): void;
|
|
268
|
+
static deserializeBinary(bytes: Uint8Array): StreamingDetectIntentRequest;
|
|
269
|
+
static deserializeBinaryFromReader(message: StreamingDetectIntentRequest, reader: jspb.BinaryReader): StreamingDetectIntentRequest;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
export namespace StreamingDetectIntentRequest {
|
|
273
|
+
export type AsObject = {
|
|
274
|
+
session: string,
|
|
275
|
+
queryParams?: QueryParameters.AsObject,
|
|
276
|
+
queryInput?: QueryInput.AsObject,
|
|
277
|
+
singleUtterance: boolean,
|
|
278
|
+
inputAudio: Uint8Array | string,
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
export class StreamingDetectIntentResponse extends jspb.Message {
|
|
283
|
+
getResponseId(): string;
|
|
284
|
+
setResponseId(value: string): StreamingDetectIntentResponse;
|
|
285
|
+
|
|
286
|
+
getRecognitionResult(): StreamingRecognitionResult | undefined;
|
|
287
|
+
setRecognitionResult(value?: StreamingRecognitionResult): StreamingDetectIntentResponse;
|
|
288
|
+
hasRecognitionResult(): boolean;
|
|
289
|
+
clearRecognitionResult(): StreamingDetectIntentResponse;
|
|
290
|
+
|
|
291
|
+
getQueryResult(): QueryResult | undefined;
|
|
292
|
+
setQueryResult(value?: QueryResult): StreamingDetectIntentResponse;
|
|
293
|
+
hasQueryResult(): boolean;
|
|
294
|
+
clearQueryResult(): StreamingDetectIntentResponse;
|
|
295
|
+
|
|
296
|
+
getWebhookStatus(): google_rpc_status_pb.Status | undefined;
|
|
297
|
+
setWebhookStatus(value?: google_rpc_status_pb.Status): StreamingDetectIntentResponse;
|
|
298
|
+
hasWebhookStatus(): boolean;
|
|
299
|
+
clearWebhookStatus(): StreamingDetectIntentResponse;
|
|
300
|
+
|
|
301
|
+
serializeBinary(): Uint8Array;
|
|
302
|
+
toObject(includeInstance?: boolean): StreamingDetectIntentResponse.AsObject;
|
|
303
|
+
static toObject(includeInstance: boolean, msg: StreamingDetectIntentResponse): StreamingDetectIntentResponse.AsObject;
|
|
304
|
+
static serializeBinaryToWriter(message: StreamingDetectIntentResponse, writer: jspb.BinaryWriter): void;
|
|
305
|
+
static deserializeBinary(bytes: Uint8Array): StreamingDetectIntentResponse;
|
|
306
|
+
static deserializeBinaryFromReader(message: StreamingDetectIntentResponse, reader: jspb.BinaryReader): StreamingDetectIntentResponse;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
export namespace StreamingDetectIntentResponse {
|
|
310
|
+
export type AsObject = {
|
|
311
|
+
responseId: string,
|
|
312
|
+
recognitionResult?: StreamingRecognitionResult.AsObject,
|
|
313
|
+
queryResult?: QueryResult.AsObject,
|
|
314
|
+
webhookStatus?: google_rpc_status_pb.Status.AsObject,
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
export class StreamingRecognitionResult extends jspb.Message {
|
|
319
|
+
getMessageType(): StreamingRecognitionResult.MessageType;
|
|
320
|
+
setMessageType(value: StreamingRecognitionResult.MessageType): StreamingRecognitionResult;
|
|
321
|
+
|
|
322
|
+
getTranscript(): string;
|
|
323
|
+
setTranscript(value: string): StreamingRecognitionResult;
|
|
324
|
+
|
|
325
|
+
getIsFinal(): boolean;
|
|
326
|
+
setIsFinal(value: boolean): StreamingRecognitionResult;
|
|
327
|
+
|
|
328
|
+
getConfidence(): number;
|
|
329
|
+
setConfidence(value: number): StreamingRecognitionResult;
|
|
330
|
+
|
|
331
|
+
serializeBinary(): Uint8Array;
|
|
332
|
+
toObject(includeInstance?: boolean): StreamingRecognitionResult.AsObject;
|
|
333
|
+
static toObject(includeInstance: boolean, msg: StreamingRecognitionResult): StreamingRecognitionResult.AsObject;
|
|
334
|
+
static serializeBinaryToWriter(message: StreamingRecognitionResult, writer: jspb.BinaryWriter): void;
|
|
335
|
+
static deserializeBinary(bytes: Uint8Array): StreamingRecognitionResult;
|
|
336
|
+
static deserializeBinaryFromReader(message: StreamingRecognitionResult, reader: jspb.BinaryReader): StreamingRecognitionResult;
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
export namespace StreamingRecognitionResult {
|
|
340
|
+
export type AsObject = {
|
|
341
|
+
messageType: StreamingRecognitionResult.MessageType,
|
|
342
|
+
transcript: string,
|
|
343
|
+
isFinal: boolean,
|
|
344
|
+
confidence: number,
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
export enum MessageType {
|
|
348
|
+
MESSAGE_TYPE_UNSPECIFIED = 0,
|
|
349
|
+
TRANSCRIPT = 1,
|
|
350
|
+
END_OF_SINGLE_UTTERANCE = 2,
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
export class InputAudioConfig extends jspb.Message {
|
|
355
|
+
getAudioEncoding(): AudioEncoding;
|
|
356
|
+
setAudioEncoding(value: AudioEncoding): InputAudioConfig;
|
|
357
|
+
|
|
358
|
+
getSampleRateHertz(): number;
|
|
359
|
+
setSampleRateHertz(value: number): InputAudioConfig;
|
|
360
|
+
|
|
361
|
+
getLanguageCode(): string;
|
|
362
|
+
setLanguageCode(value: string): InputAudioConfig;
|
|
363
|
+
|
|
364
|
+
getPhraseHintsList(): Array<string>;
|
|
365
|
+
setPhraseHintsList(value: Array<string>): InputAudioConfig;
|
|
366
|
+
clearPhraseHintsList(): InputAudioConfig;
|
|
367
|
+
addPhraseHints(value: string, index?: number): InputAudioConfig;
|
|
368
|
+
|
|
369
|
+
serializeBinary(): Uint8Array;
|
|
370
|
+
toObject(includeInstance?: boolean): InputAudioConfig.AsObject;
|
|
371
|
+
static toObject(includeInstance: boolean, msg: InputAudioConfig): InputAudioConfig.AsObject;
|
|
372
|
+
static serializeBinaryToWriter(message: InputAudioConfig, writer: jspb.BinaryWriter): void;
|
|
373
|
+
static deserializeBinary(bytes: Uint8Array): InputAudioConfig;
|
|
374
|
+
static deserializeBinaryFromReader(message: InputAudioConfig, reader: jspb.BinaryReader): InputAudioConfig;
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
export namespace InputAudioConfig {
|
|
378
|
+
export type AsObject = {
|
|
379
|
+
audioEncoding: AudioEncoding,
|
|
380
|
+
sampleRateHertz: number,
|
|
381
|
+
languageCode: string,
|
|
382
|
+
phraseHintsList: Array<string>,
|
|
383
|
+
}
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
export class TextInput extends jspb.Message {
|
|
387
|
+
getText(): string;
|
|
388
|
+
setText(value: string): TextInput;
|
|
389
|
+
|
|
390
|
+
getLanguageCode(): string;
|
|
391
|
+
setLanguageCode(value: string): TextInput;
|
|
392
|
+
|
|
393
|
+
serializeBinary(): Uint8Array;
|
|
394
|
+
toObject(includeInstance?: boolean): TextInput.AsObject;
|
|
395
|
+
static toObject(includeInstance: boolean, msg: TextInput): TextInput.AsObject;
|
|
396
|
+
static serializeBinaryToWriter(message: TextInput, writer: jspb.BinaryWriter): void;
|
|
397
|
+
static deserializeBinary(bytes: Uint8Array): TextInput;
|
|
398
|
+
static deserializeBinaryFromReader(message: TextInput, reader: jspb.BinaryReader): TextInput;
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
export namespace TextInput {
|
|
402
|
+
export type AsObject = {
|
|
403
|
+
text: string,
|
|
404
|
+
languageCode: string,
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
export class EventInput extends jspb.Message {
|
|
409
|
+
getName(): string;
|
|
410
|
+
setName(value: string): EventInput;
|
|
411
|
+
|
|
412
|
+
getParameters(): google_protobuf_struct_pb.Struct | undefined;
|
|
413
|
+
setParameters(value?: google_protobuf_struct_pb.Struct): EventInput;
|
|
414
|
+
hasParameters(): boolean;
|
|
415
|
+
clearParameters(): EventInput;
|
|
416
|
+
|
|
417
|
+
getLanguageCode(): string;
|
|
418
|
+
setLanguageCode(value: string): EventInput;
|
|
419
|
+
|
|
420
|
+
serializeBinary(): Uint8Array;
|
|
421
|
+
toObject(includeInstance?: boolean): EventInput.AsObject;
|
|
422
|
+
static toObject(includeInstance: boolean, msg: EventInput): EventInput.AsObject;
|
|
423
|
+
static serializeBinaryToWriter(message: EventInput, writer: jspb.BinaryWriter): void;
|
|
424
|
+
static deserializeBinary(bytes: Uint8Array): EventInput;
|
|
425
|
+
static deserializeBinaryFromReader(message: EventInput, reader: jspb.BinaryReader): EventInput;
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
export namespace EventInput {
|
|
429
|
+
export type AsObject = {
|
|
430
|
+
name: string,
|
|
431
|
+
parameters?: google_protobuf_struct_pb.Struct.AsObject,
|
|
432
|
+
languageCode: string,
|
|
433
|
+
}
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
export class Session extends jspb.Message {
|
|
437
|
+
getSessionId(): string;
|
|
438
|
+
setSessionId(value: string): Session;
|
|
439
|
+
|
|
440
|
+
getSessionStepsList(): Array<SessionStep>;
|
|
441
|
+
setSessionStepsList(value: Array<SessionStep>): Session;
|
|
442
|
+
clearSessionStepsList(): Session;
|
|
443
|
+
addSessionSteps(value?: SessionStep, index?: number): SessionStep;
|
|
444
|
+
|
|
445
|
+
getSessionInfo(): SessionInfo | undefined;
|
|
446
|
+
setSessionInfo(value?: SessionInfo): Session;
|
|
447
|
+
hasSessionInfo(): boolean;
|
|
448
|
+
clearSessionInfo(): Session;
|
|
449
|
+
|
|
450
|
+
serializeBinary(): Uint8Array;
|
|
451
|
+
toObject(includeInstance?: boolean): Session.AsObject;
|
|
452
|
+
static toObject(includeInstance: boolean, msg: Session): Session.AsObject;
|
|
453
|
+
static serializeBinaryToWriter(message: Session, writer: jspb.BinaryWriter): void;
|
|
454
|
+
static deserializeBinary(bytes: Uint8Array): Session;
|
|
455
|
+
static deserializeBinaryFromReader(message: Session, reader: jspb.BinaryReader): Session;
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
export namespace Session {
|
|
459
|
+
export type AsObject = {
|
|
460
|
+
sessionId: string,
|
|
461
|
+
sessionStepsList: Array<SessionStep.AsObject>,
|
|
462
|
+
sessionInfo?: SessionInfo.AsObject,
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
export enum View {
|
|
466
|
+
VIEW_UNSPECIFIED = 0,
|
|
467
|
+
VIEW_FULL = 1,
|
|
468
|
+
VIEW_SPARSE = 2,
|
|
469
|
+
}
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
export class SessionStep extends jspb.Message {
|
|
473
|
+
getDetectIntentRequest(): DetectIntentRequest | undefined;
|
|
474
|
+
setDetectIntentRequest(value?: DetectIntentRequest): SessionStep;
|
|
475
|
+
hasDetectIntentRequest(): boolean;
|
|
476
|
+
clearDetectIntentRequest(): SessionStep;
|
|
477
|
+
|
|
478
|
+
getDetectIntentResponse(): DetectIntentResponse | undefined;
|
|
479
|
+
setDetectIntentResponse(value?: DetectIntentResponse): SessionStep;
|
|
480
|
+
hasDetectIntentResponse(): boolean;
|
|
481
|
+
clearDetectIntentResponse(): SessionStep;
|
|
482
|
+
|
|
483
|
+
getContextsList(): Array<ondewo_nlu_context_pb.Context>;
|
|
484
|
+
setContextsList(value: Array<ondewo_nlu_context_pb.Context>): SessionStep;
|
|
485
|
+
clearContextsList(): SessionStep;
|
|
486
|
+
addContexts(value?: ondewo_nlu_context_pb.Context, index?: number): ondewo_nlu_context_pb.Context;
|
|
487
|
+
|
|
488
|
+
serializeBinary(): Uint8Array;
|
|
489
|
+
toObject(includeInstance?: boolean): SessionStep.AsObject;
|
|
490
|
+
static toObject(includeInstance: boolean, msg: SessionStep): SessionStep.AsObject;
|
|
491
|
+
static serializeBinaryToWriter(message: SessionStep, writer: jspb.BinaryWriter): void;
|
|
492
|
+
static deserializeBinary(bytes: Uint8Array): SessionStep;
|
|
493
|
+
static deserializeBinaryFromReader(message: SessionStep, reader: jspb.BinaryReader): SessionStep;
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
export namespace SessionStep {
|
|
497
|
+
export type AsObject = {
|
|
498
|
+
detectIntentRequest?: DetectIntentRequest.AsObject,
|
|
499
|
+
detectIntentResponse?: DetectIntentResponse.AsObject,
|
|
500
|
+
contextsList: Array<ondewo_nlu_context_pb.Context.AsObject>,
|
|
501
|
+
}
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
export class TrackSessionStepRequest extends jspb.Message {
|
|
505
|
+
getSessionId(): string;
|
|
506
|
+
setSessionId(value: string): TrackSessionStepRequest;
|
|
507
|
+
|
|
508
|
+
getSessionStep(): SessionStep | undefined;
|
|
509
|
+
setSessionStep(value?: SessionStep): TrackSessionStepRequest;
|
|
510
|
+
hasSessionStep(): boolean;
|
|
511
|
+
clearSessionStep(): TrackSessionStepRequest;
|
|
512
|
+
|
|
513
|
+
getSessionView(): Session.View;
|
|
514
|
+
setSessionView(value: Session.View): TrackSessionStepRequest;
|
|
515
|
+
|
|
516
|
+
serializeBinary(): Uint8Array;
|
|
517
|
+
toObject(includeInstance?: boolean): TrackSessionStepRequest.AsObject;
|
|
518
|
+
static toObject(includeInstance: boolean, msg: TrackSessionStepRequest): TrackSessionStepRequest.AsObject;
|
|
519
|
+
static serializeBinaryToWriter(message: TrackSessionStepRequest, writer: jspb.BinaryWriter): void;
|
|
520
|
+
static deserializeBinary(bytes: Uint8Array): TrackSessionStepRequest;
|
|
521
|
+
static deserializeBinaryFromReader(message: TrackSessionStepRequest, reader: jspb.BinaryReader): TrackSessionStepRequest;
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
export namespace TrackSessionStepRequest {
|
|
525
|
+
export type AsObject = {
|
|
526
|
+
sessionId: string,
|
|
527
|
+
sessionStep?: SessionStep.AsObject,
|
|
528
|
+
sessionView: Session.View,
|
|
529
|
+
}
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
export class ListSessionsRequest extends jspb.Message {
|
|
533
|
+
getParent(): string;
|
|
534
|
+
setParent(value: string): ListSessionsRequest;
|
|
535
|
+
|
|
536
|
+
getSessionView(): Session.View;
|
|
537
|
+
setSessionView(value: Session.View): ListSessionsRequest;
|
|
538
|
+
|
|
539
|
+
getPageToken(): string;
|
|
540
|
+
setPageToken(value: string): ListSessionsRequest;
|
|
541
|
+
|
|
542
|
+
getSessionFilter(): SessionFilter | undefined;
|
|
543
|
+
setSessionFilter(value?: SessionFilter): ListSessionsRequest;
|
|
544
|
+
hasSessionFilter(): boolean;
|
|
545
|
+
clearSessionFilter(): ListSessionsRequest;
|
|
546
|
+
|
|
547
|
+
serializeBinary(): Uint8Array;
|
|
548
|
+
toObject(includeInstance?: boolean): ListSessionsRequest.AsObject;
|
|
549
|
+
static toObject(includeInstance: boolean, msg: ListSessionsRequest): ListSessionsRequest.AsObject;
|
|
550
|
+
static serializeBinaryToWriter(message: ListSessionsRequest, writer: jspb.BinaryWriter): void;
|
|
551
|
+
static deserializeBinary(bytes: Uint8Array): ListSessionsRequest;
|
|
552
|
+
static deserializeBinaryFromReader(message: ListSessionsRequest, reader: jspb.BinaryReader): ListSessionsRequest;
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
export namespace ListSessionsRequest {
|
|
556
|
+
export type AsObject = {
|
|
557
|
+
parent: string,
|
|
558
|
+
sessionView: Session.View,
|
|
559
|
+
pageToken: string,
|
|
560
|
+
sessionFilter?: SessionFilter.AsObject,
|
|
561
|
+
}
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
export class SessionFilter extends jspb.Message {
|
|
565
|
+
getLanguageCodesList(): Array<string>;
|
|
566
|
+
setLanguageCodesList(value: Array<string>): SessionFilter;
|
|
567
|
+
clearLanguageCodesList(): SessionFilter;
|
|
568
|
+
addLanguageCodes(value: string, index?: number): SessionFilter;
|
|
569
|
+
|
|
570
|
+
getMatchedIntentsList(): Array<ondewo_nlu_intent_pb.Intent>;
|
|
571
|
+
setMatchedIntentsList(value: Array<ondewo_nlu_intent_pb.Intent>): SessionFilter;
|
|
572
|
+
clearMatchedIntentsList(): SessionFilter;
|
|
573
|
+
addMatchedIntents(value?: ondewo_nlu_intent_pb.Intent, index?: number): ondewo_nlu_intent_pb.Intent;
|
|
574
|
+
|
|
575
|
+
getMatchedEntityTypesList(): Array<ondewo_nlu_entity_type_pb.EntityType>;
|
|
576
|
+
setMatchedEntityTypesList(value: Array<ondewo_nlu_entity_type_pb.EntityType>): SessionFilter;
|
|
577
|
+
clearMatchedEntityTypesList(): SessionFilter;
|
|
578
|
+
addMatchedEntityTypes(value?: ondewo_nlu_entity_type_pb.EntityType, index?: number): ondewo_nlu_entity_type_pb.EntityType;
|
|
579
|
+
|
|
580
|
+
getMinIntentsConfidenceMin(): number;
|
|
581
|
+
setMinIntentsConfidenceMin(value: number): SessionFilter;
|
|
582
|
+
|
|
583
|
+
getMinIntentsConfidenceMax(): number;
|
|
584
|
+
setMinIntentsConfidenceMax(value: number): SessionFilter;
|
|
585
|
+
|
|
586
|
+
getMinEntityTypesConfidenceMin(): number;
|
|
587
|
+
setMinEntityTypesConfidenceMin(value: number): SessionFilter;
|
|
588
|
+
|
|
589
|
+
getMinEntityTypesConfidenceMax(): number;
|
|
590
|
+
setMinEntityTypesConfidenceMax(value: number): SessionFilter;
|
|
591
|
+
|
|
592
|
+
getEarliest(): number;
|
|
593
|
+
setEarliest(value: number): SessionFilter;
|
|
594
|
+
|
|
595
|
+
getLatest(): number;
|
|
596
|
+
setLatest(value: number): SessionFilter;
|
|
597
|
+
|
|
598
|
+
getMinNumberTurns(): number;
|
|
599
|
+
setMinNumberTurns(value: number): SessionFilter;
|
|
600
|
+
|
|
601
|
+
getMaxNumberTurns(): number;
|
|
602
|
+
setMaxNumberTurns(value: number): SessionFilter;
|
|
603
|
+
|
|
604
|
+
getLabelsList(): Array<string>;
|
|
605
|
+
setLabelsList(value: Array<string>): SessionFilter;
|
|
606
|
+
clearLabelsList(): SessionFilter;
|
|
607
|
+
addLabels(value: string, index?: number): SessionFilter;
|
|
608
|
+
|
|
609
|
+
getUserIdsList(): Array<string>;
|
|
610
|
+
setUserIdsList(value: Array<string>): SessionFilter;
|
|
611
|
+
clearUserIdsList(): SessionFilter;
|
|
612
|
+
addUserIds(value: string, index?: number): SessionFilter;
|
|
613
|
+
|
|
614
|
+
getIntentTagsList(): Array<string>;
|
|
615
|
+
setIntentTagsList(value: Array<string>): SessionFilter;
|
|
616
|
+
clearIntentTagsList(): SessionFilter;
|
|
617
|
+
addIntentTags(value: string, index?: number): SessionFilter;
|
|
618
|
+
|
|
619
|
+
getSessionIdsList(): Array<string>;
|
|
620
|
+
setSessionIdsList(value: Array<string>): SessionFilter;
|
|
621
|
+
clearSessionIdsList(): SessionFilter;
|
|
622
|
+
addSessionIds(value: string, index?: number): SessionFilter;
|
|
623
|
+
|
|
624
|
+
getInputContextsList(): Array<ondewo_nlu_context_pb.Context>;
|
|
625
|
+
setInputContextsList(value: Array<ondewo_nlu_context_pb.Context>): SessionFilter;
|
|
626
|
+
clearInputContextsList(): SessionFilter;
|
|
627
|
+
addInputContexts(value?: ondewo_nlu_context_pb.Context, index?: number): ondewo_nlu_context_pb.Context;
|
|
628
|
+
|
|
629
|
+
getOutputContextsList(): Array<ondewo_nlu_context_pb.Context>;
|
|
630
|
+
setOutputContextsList(value: Array<ondewo_nlu_context_pb.Context>): SessionFilter;
|
|
631
|
+
clearOutputContextsList(): SessionFilter;
|
|
632
|
+
addOutputContexts(value?: ondewo_nlu_context_pb.Context, index?: number): ondewo_nlu_context_pb.Context;
|
|
633
|
+
|
|
634
|
+
serializeBinary(): Uint8Array;
|
|
635
|
+
toObject(includeInstance?: boolean): SessionFilter.AsObject;
|
|
636
|
+
static toObject(includeInstance: boolean, msg: SessionFilter): SessionFilter.AsObject;
|
|
637
|
+
static serializeBinaryToWriter(message: SessionFilter, writer: jspb.BinaryWriter): void;
|
|
638
|
+
static deserializeBinary(bytes: Uint8Array): SessionFilter;
|
|
639
|
+
static deserializeBinaryFromReader(message: SessionFilter, reader: jspb.BinaryReader): SessionFilter;
|
|
640
|
+
}
|
|
641
|
+
|
|
642
|
+
export namespace SessionFilter {
|
|
643
|
+
export type AsObject = {
|
|
644
|
+
languageCodesList: Array<string>,
|
|
645
|
+
matchedIntentsList: Array<ondewo_nlu_intent_pb.Intent.AsObject>,
|
|
646
|
+
matchedEntityTypesList: Array<ondewo_nlu_entity_type_pb.EntityType.AsObject>,
|
|
647
|
+
minIntentsConfidenceMin: number,
|
|
648
|
+
minIntentsConfidenceMax: number,
|
|
649
|
+
minEntityTypesConfidenceMin: number,
|
|
650
|
+
minEntityTypesConfidenceMax: number,
|
|
651
|
+
earliest: number,
|
|
652
|
+
latest: number,
|
|
653
|
+
minNumberTurns: number,
|
|
654
|
+
maxNumberTurns: number,
|
|
655
|
+
labelsList: Array<string>,
|
|
656
|
+
userIdsList: Array<string>,
|
|
657
|
+
intentTagsList: Array<string>,
|
|
658
|
+
sessionIdsList: Array<string>,
|
|
659
|
+
inputContextsList: Array<ondewo_nlu_context_pb.Context.AsObject>,
|
|
660
|
+
outputContextsList: Array<ondewo_nlu_context_pb.Context.AsObject>,
|
|
661
|
+
}
|
|
662
|
+
}
|
|
663
|
+
|
|
664
|
+
export class SessionInfo extends jspb.Message {
|
|
665
|
+
getLanguageCodesList(): Array<string>;
|
|
666
|
+
setLanguageCodesList(value: Array<string>): SessionInfo;
|
|
667
|
+
clearLanguageCodesList(): SessionInfo;
|
|
668
|
+
addLanguageCodes(value: string, index?: number): SessionInfo;
|
|
669
|
+
|
|
670
|
+
getMatchedIntentsList(): Array<ondewo_nlu_intent_pb.Intent>;
|
|
671
|
+
setMatchedIntentsList(value: Array<ondewo_nlu_intent_pb.Intent>): SessionInfo;
|
|
672
|
+
clearMatchedIntentsList(): SessionInfo;
|
|
673
|
+
addMatchedIntents(value?: ondewo_nlu_intent_pb.Intent, index?: number): ondewo_nlu_intent_pb.Intent;
|
|
674
|
+
|
|
675
|
+
getMatchedEntityTypesList(): Array<ondewo_nlu_entity_type_pb.EntityType>;
|
|
676
|
+
setMatchedEntityTypesList(value: Array<ondewo_nlu_entity_type_pb.EntityType>): SessionInfo;
|
|
677
|
+
clearMatchedEntityTypesList(): SessionInfo;
|
|
678
|
+
addMatchedEntityTypes(value?: ondewo_nlu_entity_type_pb.EntityType, index?: number): ondewo_nlu_entity_type_pb.EntityType;
|
|
679
|
+
|
|
680
|
+
getMinIntentsConfidence(): number;
|
|
681
|
+
setMinIntentsConfidence(value: number): SessionInfo;
|
|
682
|
+
|
|
683
|
+
getMinEntityTypesConfidence(): number;
|
|
684
|
+
setMinEntityTypesConfidence(value: number): SessionInfo;
|
|
685
|
+
|
|
686
|
+
getEarliest(): number;
|
|
687
|
+
setEarliest(value: number): SessionInfo;
|
|
688
|
+
|
|
689
|
+
getLatest(): number;
|
|
690
|
+
setLatest(value: number): SessionInfo;
|
|
691
|
+
|
|
692
|
+
getNumberTurns(): number;
|
|
693
|
+
setNumberTurns(value: number): SessionInfo;
|
|
694
|
+
|
|
695
|
+
getLabelsList(): Array<string>;
|
|
696
|
+
setLabelsList(value: Array<string>): SessionInfo;
|
|
697
|
+
clearLabelsList(): SessionInfo;
|
|
698
|
+
addLabels(value: string, index?: number): SessionInfo;
|
|
699
|
+
|
|
700
|
+
getUserIdsList(): Array<string>;
|
|
701
|
+
setUserIdsList(value: Array<string>): SessionInfo;
|
|
702
|
+
clearUserIdsList(): SessionInfo;
|
|
703
|
+
addUserIds(value: string, index?: number): SessionInfo;
|
|
704
|
+
|
|
705
|
+
getIntentTagsList(): Array<string>;
|
|
706
|
+
setIntentTagsList(value: Array<string>): SessionInfo;
|
|
707
|
+
clearIntentTagsList(): SessionInfo;
|
|
708
|
+
addIntentTags(value: string, index?: number): SessionInfo;
|
|
709
|
+
|
|
710
|
+
getInputContextStepsList(): Array<SessionInfo.ContextSteps>;
|
|
711
|
+
setInputContextStepsList(value: Array<SessionInfo.ContextSteps>): SessionInfo;
|
|
712
|
+
clearInputContextStepsList(): SessionInfo;
|
|
713
|
+
addInputContextSteps(value?: SessionInfo.ContextSteps, index?: number): SessionInfo.ContextSteps;
|
|
714
|
+
|
|
715
|
+
getOutputContextStepsList(): Array<SessionInfo.ContextSteps>;
|
|
716
|
+
setOutputContextStepsList(value: Array<SessionInfo.ContextSteps>): SessionInfo;
|
|
717
|
+
clearOutputContextStepsList(): SessionInfo;
|
|
718
|
+
addOutputContextSteps(value?: SessionInfo.ContextSteps, index?: number): SessionInfo.ContextSteps;
|
|
719
|
+
|
|
720
|
+
serializeBinary(): Uint8Array;
|
|
721
|
+
toObject(includeInstance?: boolean): SessionInfo.AsObject;
|
|
722
|
+
static toObject(includeInstance: boolean, msg: SessionInfo): SessionInfo.AsObject;
|
|
723
|
+
static serializeBinaryToWriter(message: SessionInfo, writer: jspb.BinaryWriter): void;
|
|
724
|
+
static deserializeBinary(bytes: Uint8Array): SessionInfo;
|
|
725
|
+
static deserializeBinaryFromReader(message: SessionInfo, reader: jspb.BinaryReader): SessionInfo;
|
|
726
|
+
}
|
|
727
|
+
|
|
728
|
+
export namespace SessionInfo {
|
|
729
|
+
export type AsObject = {
|
|
730
|
+
languageCodesList: Array<string>,
|
|
731
|
+
matchedIntentsList: Array<ondewo_nlu_intent_pb.Intent.AsObject>,
|
|
732
|
+
matchedEntityTypesList: Array<ondewo_nlu_entity_type_pb.EntityType.AsObject>,
|
|
733
|
+
minIntentsConfidence: number,
|
|
734
|
+
minEntityTypesConfidence: number,
|
|
735
|
+
earliest: number,
|
|
736
|
+
latest: number,
|
|
737
|
+
numberTurns: number,
|
|
738
|
+
labelsList: Array<string>,
|
|
739
|
+
userIdsList: Array<string>,
|
|
740
|
+
intentTagsList: Array<string>,
|
|
741
|
+
inputContextStepsList: Array<SessionInfo.ContextSteps.AsObject>,
|
|
742
|
+
outputContextStepsList: Array<SessionInfo.ContextSteps.AsObject>,
|
|
743
|
+
}
|
|
744
|
+
|
|
745
|
+
export class ContextSteps extends jspb.Message {
|
|
746
|
+
getContextsList(): Array<ondewo_nlu_context_pb.Context>;
|
|
747
|
+
setContextsList(value: Array<ondewo_nlu_context_pb.Context>): ContextSteps;
|
|
748
|
+
clearContextsList(): ContextSteps;
|
|
749
|
+
addContexts(value?: ondewo_nlu_context_pb.Context, index?: number): ondewo_nlu_context_pb.Context;
|
|
750
|
+
|
|
751
|
+
serializeBinary(): Uint8Array;
|
|
752
|
+
toObject(includeInstance?: boolean): ContextSteps.AsObject;
|
|
753
|
+
static toObject(includeInstance: boolean, msg: ContextSteps): ContextSteps.AsObject;
|
|
754
|
+
static serializeBinaryToWriter(message: ContextSteps, writer: jspb.BinaryWriter): void;
|
|
755
|
+
static deserializeBinary(bytes: Uint8Array): ContextSteps;
|
|
756
|
+
static deserializeBinaryFromReader(message: ContextSteps, reader: jspb.BinaryReader): ContextSteps;
|
|
757
|
+
}
|
|
758
|
+
|
|
759
|
+
export namespace ContextSteps {
|
|
760
|
+
export type AsObject = {
|
|
761
|
+
contextsList: Array<ondewo_nlu_context_pb.Context.AsObject>,
|
|
762
|
+
}
|
|
763
|
+
}
|
|
764
|
+
|
|
765
|
+
}
|
|
766
|
+
|
|
767
|
+
export class ListSessionsResponse extends jspb.Message {
|
|
768
|
+
getSessionsList(): Array<Session>;
|
|
769
|
+
setSessionsList(value: Array<Session>): ListSessionsResponse;
|
|
770
|
+
clearSessionsList(): ListSessionsResponse;
|
|
771
|
+
addSessions(value?: Session, index?: number): Session;
|
|
772
|
+
|
|
773
|
+
getNextPageToken(): string;
|
|
774
|
+
setNextPageToken(value: string): ListSessionsResponse;
|
|
775
|
+
|
|
776
|
+
serializeBinary(): Uint8Array;
|
|
777
|
+
toObject(includeInstance?: boolean): ListSessionsResponse.AsObject;
|
|
778
|
+
static toObject(includeInstance: boolean, msg: ListSessionsResponse): ListSessionsResponse.AsObject;
|
|
779
|
+
static serializeBinaryToWriter(message: ListSessionsResponse, writer: jspb.BinaryWriter): void;
|
|
780
|
+
static deserializeBinary(bytes: Uint8Array): ListSessionsResponse;
|
|
781
|
+
static deserializeBinaryFromReader(message: ListSessionsResponse, reader: jspb.BinaryReader): ListSessionsResponse;
|
|
782
|
+
}
|
|
783
|
+
|
|
784
|
+
export namespace ListSessionsResponse {
|
|
785
|
+
export type AsObject = {
|
|
786
|
+
sessionsList: Array<Session.AsObject>,
|
|
787
|
+
nextPageToken: string,
|
|
788
|
+
}
|
|
789
|
+
}
|
|
790
|
+
|
|
791
|
+
export class GetSessionRequest extends jspb.Message {
|
|
792
|
+
getSessionId(): string;
|
|
793
|
+
setSessionId(value: string): GetSessionRequest;
|
|
794
|
+
|
|
795
|
+
getSessionView(): Session.View;
|
|
796
|
+
setSessionView(value: Session.View): GetSessionRequest;
|
|
797
|
+
|
|
798
|
+
serializeBinary(): Uint8Array;
|
|
799
|
+
toObject(includeInstance?: boolean): GetSessionRequest.AsObject;
|
|
800
|
+
static toObject(includeInstance: boolean, msg: GetSessionRequest): GetSessionRequest.AsObject;
|
|
801
|
+
static serializeBinaryToWriter(message: GetSessionRequest, writer: jspb.BinaryWriter): void;
|
|
802
|
+
static deserializeBinary(bytes: Uint8Array): GetSessionRequest;
|
|
803
|
+
static deserializeBinaryFromReader(message: GetSessionRequest, reader: jspb.BinaryReader): GetSessionRequest;
|
|
804
|
+
}
|
|
805
|
+
|
|
806
|
+
export namespace GetSessionRequest {
|
|
807
|
+
export type AsObject = {
|
|
808
|
+
sessionId: string,
|
|
809
|
+
sessionView: Session.View,
|
|
810
|
+
}
|
|
811
|
+
}
|
|
812
|
+
|
|
813
|
+
export class CreateSessionRequest extends jspb.Message {
|
|
814
|
+
getParent(): string;
|
|
815
|
+
setParent(value: string): CreateSessionRequest;
|
|
816
|
+
|
|
817
|
+
getSessionUuid(): string;
|
|
818
|
+
setSessionUuid(value: string): CreateSessionRequest;
|
|
819
|
+
|
|
820
|
+
serializeBinary(): Uint8Array;
|
|
821
|
+
toObject(includeInstance?: boolean): CreateSessionRequest.AsObject;
|
|
822
|
+
static toObject(includeInstance: boolean, msg: CreateSessionRequest): CreateSessionRequest.AsObject;
|
|
823
|
+
static serializeBinaryToWriter(message: CreateSessionRequest, writer: jspb.BinaryWriter): void;
|
|
824
|
+
static deserializeBinary(bytes: Uint8Array): CreateSessionRequest;
|
|
825
|
+
static deserializeBinaryFromReader(message: CreateSessionRequest, reader: jspb.BinaryReader): CreateSessionRequest;
|
|
826
|
+
}
|
|
827
|
+
|
|
828
|
+
export namespace CreateSessionRequest {
|
|
829
|
+
export type AsObject = {
|
|
830
|
+
parent: string,
|
|
831
|
+
sessionUuid: string,
|
|
832
|
+
}
|
|
833
|
+
}
|
|
834
|
+
|
|
835
|
+
export class DeleteSessionRequest extends jspb.Message {
|
|
836
|
+
getSessionId(): string;
|
|
837
|
+
setSessionId(value: string): DeleteSessionRequest;
|
|
838
|
+
|
|
839
|
+
serializeBinary(): Uint8Array;
|
|
840
|
+
toObject(includeInstance?: boolean): DeleteSessionRequest.AsObject;
|
|
841
|
+
static toObject(includeInstance: boolean, msg: DeleteSessionRequest): DeleteSessionRequest.AsObject;
|
|
842
|
+
static serializeBinaryToWriter(message: DeleteSessionRequest, writer: jspb.BinaryWriter): void;
|
|
843
|
+
static deserializeBinary(bytes: Uint8Array): DeleteSessionRequest;
|
|
844
|
+
static deserializeBinaryFromReader(message: DeleteSessionRequest, reader: jspb.BinaryReader): DeleteSessionRequest;
|
|
845
|
+
}
|
|
846
|
+
|
|
847
|
+
export namespace DeleteSessionRequest {
|
|
848
|
+
export type AsObject = {
|
|
849
|
+
sessionId: string,
|
|
850
|
+
}
|
|
851
|
+
}
|
|
852
|
+
|
|
853
|
+
export class CreateSessionReviewRequest extends jspb.Message {
|
|
854
|
+
getSessionId(): string;
|
|
855
|
+
setSessionId(value: string): CreateSessionReviewRequest;
|
|
856
|
+
|
|
857
|
+
getParentReviewId(): string;
|
|
858
|
+
setParentReviewId(value: string): CreateSessionReviewRequest;
|
|
859
|
+
|
|
860
|
+
getSessionReview(): SessionReview | undefined;
|
|
861
|
+
setSessionReview(value?: SessionReview): CreateSessionReviewRequest;
|
|
862
|
+
hasSessionReview(): boolean;
|
|
863
|
+
clearSessionReview(): CreateSessionReviewRequest;
|
|
864
|
+
|
|
865
|
+
getSessionReviewView(): SessionReview.View;
|
|
866
|
+
setSessionReviewView(value: SessionReview.View): CreateSessionReviewRequest;
|
|
867
|
+
|
|
868
|
+
serializeBinary(): Uint8Array;
|
|
869
|
+
toObject(includeInstance?: boolean): CreateSessionReviewRequest.AsObject;
|
|
870
|
+
static toObject(includeInstance: boolean, msg: CreateSessionReviewRequest): CreateSessionReviewRequest.AsObject;
|
|
871
|
+
static serializeBinaryToWriter(message: CreateSessionReviewRequest, writer: jspb.BinaryWriter): void;
|
|
872
|
+
static deserializeBinary(bytes: Uint8Array): CreateSessionReviewRequest;
|
|
873
|
+
static deserializeBinaryFromReader(message: CreateSessionReviewRequest, reader: jspb.BinaryReader): CreateSessionReviewRequest;
|
|
874
|
+
}
|
|
875
|
+
|
|
876
|
+
export namespace CreateSessionReviewRequest {
|
|
877
|
+
export type AsObject = {
|
|
878
|
+
sessionId: string,
|
|
879
|
+
parentReviewId: string,
|
|
880
|
+
sessionReview?: SessionReview.AsObject,
|
|
881
|
+
sessionReviewView: SessionReview.View,
|
|
882
|
+
}
|
|
883
|
+
}
|
|
884
|
+
|
|
885
|
+
export class SessionReview extends jspb.Message {
|
|
886
|
+
getSessionReviewId(): string;
|
|
887
|
+
setSessionReviewId(value: string): SessionReview;
|
|
888
|
+
|
|
889
|
+
getSessionReviewStepsList(): Array<SessionReviewStep>;
|
|
890
|
+
setSessionReviewStepsList(value: Array<SessionReviewStep>): SessionReview;
|
|
891
|
+
clearSessionReviewStepsList(): SessionReview;
|
|
892
|
+
addSessionReviewSteps(value?: SessionReviewStep, index?: number): SessionReviewStep;
|
|
893
|
+
|
|
894
|
+
serializeBinary(): Uint8Array;
|
|
895
|
+
toObject(includeInstance?: boolean): SessionReview.AsObject;
|
|
896
|
+
static toObject(includeInstance: boolean, msg: SessionReview): SessionReview.AsObject;
|
|
897
|
+
static serializeBinaryToWriter(message: SessionReview, writer: jspb.BinaryWriter): void;
|
|
898
|
+
static deserializeBinary(bytes: Uint8Array): SessionReview;
|
|
899
|
+
static deserializeBinaryFromReader(message: SessionReview, reader: jspb.BinaryReader): SessionReview;
|
|
900
|
+
}
|
|
901
|
+
|
|
902
|
+
export namespace SessionReview {
|
|
903
|
+
export type AsObject = {
|
|
904
|
+
sessionReviewId: string,
|
|
905
|
+
sessionReviewStepsList: Array<SessionReviewStep.AsObject>,
|
|
906
|
+
}
|
|
907
|
+
|
|
908
|
+
export enum View {
|
|
909
|
+
VIEW_UNSPECIFIED = 0,
|
|
910
|
+
VIEW_FULL = 1,
|
|
911
|
+
VIEW_SPARSE = 2,
|
|
912
|
+
}
|
|
913
|
+
}
|
|
914
|
+
|
|
915
|
+
export class SessionReviewStep extends jspb.Message {
|
|
916
|
+
getAnnotatedUsersays(): ondewo_nlu_intent_pb.Intent.TrainingPhrase | undefined;
|
|
917
|
+
setAnnotatedUsersays(value?: ondewo_nlu_intent_pb.Intent.TrainingPhrase): SessionReviewStep;
|
|
918
|
+
hasAnnotatedUsersays(): boolean;
|
|
919
|
+
clearAnnotatedUsersays(): SessionReviewStep;
|
|
920
|
+
|
|
921
|
+
getLanguageCode(): string;
|
|
922
|
+
setLanguageCode(value: string): SessionReviewStep;
|
|
923
|
+
|
|
924
|
+
getDetectedIntentsList(): Array<DetectedIntent>;
|
|
925
|
+
setDetectedIntentsList(value: Array<DetectedIntent>): SessionReviewStep;
|
|
926
|
+
clearDetectedIntentsList(): SessionReviewStep;
|
|
927
|
+
addDetectedIntents(value?: DetectedIntent, index?: number): DetectedIntent;
|
|
928
|
+
|
|
929
|
+
getContextsList(): Array<ondewo_nlu_context_pb.Context>;
|
|
930
|
+
setContextsList(value: Array<ondewo_nlu_context_pb.Context>): SessionReviewStep;
|
|
931
|
+
clearContextsList(): SessionReviewStep;
|
|
932
|
+
addContexts(value?: ondewo_nlu_context_pb.Context, index?: number): ondewo_nlu_context_pb.Context;
|
|
933
|
+
|
|
934
|
+
getContextsOutList(): Array<ondewo_nlu_context_pb.Context>;
|
|
935
|
+
setContextsOutList(value: Array<ondewo_nlu_context_pb.Context>): SessionReviewStep;
|
|
936
|
+
clearContextsOutList(): SessionReviewStep;
|
|
937
|
+
addContextsOut(value?: ondewo_nlu_context_pb.Context, index?: number): ondewo_nlu_context_pb.Context;
|
|
938
|
+
|
|
939
|
+
serializeBinary(): Uint8Array;
|
|
940
|
+
toObject(includeInstance?: boolean): SessionReviewStep.AsObject;
|
|
941
|
+
static toObject(includeInstance: boolean, msg: SessionReviewStep): SessionReviewStep.AsObject;
|
|
942
|
+
static serializeBinaryToWriter(message: SessionReviewStep, writer: jspb.BinaryWriter): void;
|
|
943
|
+
static deserializeBinary(bytes: Uint8Array): SessionReviewStep;
|
|
944
|
+
static deserializeBinaryFromReader(message: SessionReviewStep, reader: jspb.BinaryReader): SessionReviewStep;
|
|
945
|
+
}
|
|
946
|
+
|
|
947
|
+
export namespace SessionReviewStep {
|
|
948
|
+
export type AsObject = {
|
|
949
|
+
annotatedUsersays?: ondewo_nlu_intent_pb.Intent.TrainingPhrase.AsObject,
|
|
950
|
+
languageCode: string,
|
|
951
|
+
detectedIntentsList: Array<DetectedIntent.AsObject>,
|
|
952
|
+
contextsList: Array<ondewo_nlu_context_pb.Context.AsObject>,
|
|
953
|
+
contextsOutList: Array<ondewo_nlu_context_pb.Context.AsObject>,
|
|
954
|
+
}
|
|
955
|
+
}
|
|
956
|
+
|
|
957
|
+
export class DetectedIntent extends jspb.Message {
|
|
958
|
+
getIntent(): ondewo_nlu_intent_pb.Intent | undefined;
|
|
959
|
+
setIntent(value?: ondewo_nlu_intent_pb.Intent): DetectedIntent;
|
|
960
|
+
hasIntent(): boolean;
|
|
961
|
+
clearIntent(): DetectedIntent;
|
|
962
|
+
|
|
963
|
+
getScore(): number;
|
|
964
|
+
setScore(value: number): DetectedIntent;
|
|
965
|
+
|
|
966
|
+
getAlgorithm(): string;
|
|
967
|
+
setAlgorithm(value: string): DetectedIntent;
|
|
968
|
+
|
|
969
|
+
getFulfillmentMessagesList(): Array<ondewo_nlu_intent_pb.Intent.Message>;
|
|
970
|
+
setFulfillmentMessagesList(value: Array<ondewo_nlu_intent_pb.Intent.Message>): DetectedIntent;
|
|
971
|
+
clearFulfillmentMessagesList(): DetectedIntent;
|
|
972
|
+
addFulfillmentMessages(value?: ondewo_nlu_intent_pb.Intent.Message, index?: number): ondewo_nlu_intent_pb.Intent.Message;
|
|
973
|
+
|
|
974
|
+
getRequiredParamMissing(): boolean;
|
|
975
|
+
setRequiredParamMissing(value: boolean): DetectedIntent;
|
|
976
|
+
|
|
977
|
+
serializeBinary(): Uint8Array;
|
|
978
|
+
toObject(includeInstance?: boolean): DetectedIntent.AsObject;
|
|
979
|
+
static toObject(includeInstance: boolean, msg: DetectedIntent): DetectedIntent.AsObject;
|
|
980
|
+
static serializeBinaryToWriter(message: DetectedIntent, writer: jspb.BinaryWriter): void;
|
|
981
|
+
static deserializeBinary(bytes: Uint8Array): DetectedIntent;
|
|
982
|
+
static deserializeBinaryFromReader(message: DetectedIntent, reader: jspb.BinaryReader): DetectedIntent;
|
|
983
|
+
}
|
|
984
|
+
|
|
985
|
+
export namespace DetectedIntent {
|
|
986
|
+
export type AsObject = {
|
|
987
|
+
intent?: ondewo_nlu_intent_pb.Intent.AsObject,
|
|
988
|
+
score: number,
|
|
989
|
+
algorithm: string,
|
|
990
|
+
fulfillmentMessagesList: Array<ondewo_nlu_intent_pb.Intent.Message.AsObject>,
|
|
991
|
+
requiredParamMissing: boolean,
|
|
992
|
+
}
|
|
993
|
+
}
|
|
994
|
+
|
|
995
|
+
export class ListSessionLabelsRequest extends jspb.Message {
|
|
996
|
+
getParent(): string;
|
|
997
|
+
setParent(value: string): ListSessionLabelsRequest;
|
|
998
|
+
|
|
999
|
+
serializeBinary(): Uint8Array;
|
|
1000
|
+
toObject(includeInstance?: boolean): ListSessionLabelsRequest.AsObject;
|
|
1001
|
+
static toObject(includeInstance: boolean, msg: ListSessionLabelsRequest): ListSessionLabelsRequest.AsObject;
|
|
1002
|
+
static serializeBinaryToWriter(message: ListSessionLabelsRequest, writer: jspb.BinaryWriter): void;
|
|
1003
|
+
static deserializeBinary(bytes: Uint8Array): ListSessionLabelsRequest;
|
|
1004
|
+
static deserializeBinaryFromReader(message: ListSessionLabelsRequest, reader: jspb.BinaryReader): ListSessionLabelsRequest;
|
|
1005
|
+
}
|
|
1006
|
+
|
|
1007
|
+
export namespace ListSessionLabelsRequest {
|
|
1008
|
+
export type AsObject = {
|
|
1009
|
+
parent: string,
|
|
1010
|
+
}
|
|
1011
|
+
}
|
|
1012
|
+
|
|
1013
|
+
export class ListSessionLabelsResponse extends jspb.Message {
|
|
1014
|
+
getLabelsList(): Array<string>;
|
|
1015
|
+
setLabelsList(value: Array<string>): ListSessionLabelsResponse;
|
|
1016
|
+
clearLabelsList(): ListSessionLabelsResponse;
|
|
1017
|
+
addLabels(value: string, index?: number): ListSessionLabelsResponse;
|
|
1018
|
+
|
|
1019
|
+
serializeBinary(): Uint8Array;
|
|
1020
|
+
toObject(includeInstance?: boolean): ListSessionLabelsResponse.AsObject;
|
|
1021
|
+
static toObject(includeInstance: boolean, msg: ListSessionLabelsResponse): ListSessionLabelsResponse.AsObject;
|
|
1022
|
+
static serializeBinaryToWriter(message: ListSessionLabelsResponse, writer: jspb.BinaryWriter): void;
|
|
1023
|
+
static deserializeBinary(bytes: Uint8Array): ListSessionLabelsResponse;
|
|
1024
|
+
static deserializeBinaryFromReader(message: ListSessionLabelsResponse, reader: jspb.BinaryReader): ListSessionLabelsResponse;
|
|
1025
|
+
}
|
|
1026
|
+
|
|
1027
|
+
export namespace ListSessionLabelsResponse {
|
|
1028
|
+
export type AsObject = {
|
|
1029
|
+
labelsList: Array<string>,
|
|
1030
|
+
}
|
|
1031
|
+
}
|
|
1032
|
+
|
|
1033
|
+
export class AddSessionLabelsRequest extends jspb.Message {
|
|
1034
|
+
getSessionId(): string;
|
|
1035
|
+
setSessionId(value: string): AddSessionLabelsRequest;
|
|
1036
|
+
|
|
1037
|
+
getLabelsList(): Array<string>;
|
|
1038
|
+
setLabelsList(value: Array<string>): AddSessionLabelsRequest;
|
|
1039
|
+
clearLabelsList(): AddSessionLabelsRequest;
|
|
1040
|
+
addLabels(value: string, index?: number): AddSessionLabelsRequest;
|
|
1041
|
+
|
|
1042
|
+
getSessionView(): Session.View;
|
|
1043
|
+
setSessionView(value: Session.View): AddSessionLabelsRequest;
|
|
1044
|
+
|
|
1045
|
+
serializeBinary(): Uint8Array;
|
|
1046
|
+
toObject(includeInstance?: boolean): AddSessionLabelsRequest.AsObject;
|
|
1047
|
+
static toObject(includeInstance: boolean, msg: AddSessionLabelsRequest): AddSessionLabelsRequest.AsObject;
|
|
1048
|
+
static serializeBinaryToWriter(message: AddSessionLabelsRequest, writer: jspb.BinaryWriter): void;
|
|
1049
|
+
static deserializeBinary(bytes: Uint8Array): AddSessionLabelsRequest;
|
|
1050
|
+
static deserializeBinaryFromReader(message: AddSessionLabelsRequest, reader: jspb.BinaryReader): AddSessionLabelsRequest;
|
|
1051
|
+
}
|
|
1052
|
+
|
|
1053
|
+
export namespace AddSessionLabelsRequest {
|
|
1054
|
+
export type AsObject = {
|
|
1055
|
+
sessionId: string,
|
|
1056
|
+
labelsList: Array<string>,
|
|
1057
|
+
sessionView: Session.View,
|
|
1058
|
+
}
|
|
1059
|
+
}
|
|
1060
|
+
|
|
1061
|
+
export class RemoveSessionLabelsRequest extends jspb.Message {
|
|
1062
|
+
getSessionId(): string;
|
|
1063
|
+
setSessionId(value: string): RemoveSessionLabelsRequest;
|
|
1064
|
+
|
|
1065
|
+
getLabelsList(): Array<string>;
|
|
1066
|
+
setLabelsList(value: Array<string>): RemoveSessionLabelsRequest;
|
|
1067
|
+
clearLabelsList(): RemoveSessionLabelsRequest;
|
|
1068
|
+
addLabels(value: string, index?: number): RemoveSessionLabelsRequest;
|
|
1069
|
+
|
|
1070
|
+
getSessionView(): Session.View;
|
|
1071
|
+
setSessionView(value: Session.View): RemoveSessionLabelsRequest;
|
|
1072
|
+
|
|
1073
|
+
serializeBinary(): Uint8Array;
|
|
1074
|
+
toObject(includeInstance?: boolean): RemoveSessionLabelsRequest.AsObject;
|
|
1075
|
+
static toObject(includeInstance: boolean, msg: RemoveSessionLabelsRequest): RemoveSessionLabelsRequest.AsObject;
|
|
1076
|
+
static serializeBinaryToWriter(message: RemoveSessionLabelsRequest, writer: jspb.BinaryWriter): void;
|
|
1077
|
+
static deserializeBinary(bytes: Uint8Array): RemoveSessionLabelsRequest;
|
|
1078
|
+
static deserializeBinaryFromReader(message: RemoveSessionLabelsRequest, reader: jspb.BinaryReader): RemoveSessionLabelsRequest;
|
|
1079
|
+
}
|
|
1080
|
+
|
|
1081
|
+
export namespace RemoveSessionLabelsRequest {
|
|
1082
|
+
export type AsObject = {
|
|
1083
|
+
sessionId: string,
|
|
1084
|
+
labelsList: Array<string>,
|
|
1085
|
+
sessionView: Session.View,
|
|
1086
|
+
}
|
|
1087
|
+
}
|
|
1088
|
+
|
|
1089
|
+
export class ListSessionReviewsRequest extends jspb.Message {
|
|
1090
|
+
getSessionId(): string;
|
|
1091
|
+
setSessionId(value: string): ListSessionReviewsRequest;
|
|
1092
|
+
|
|
1093
|
+
getSessionReviewView(): SessionReview.View;
|
|
1094
|
+
setSessionReviewView(value: SessionReview.View): ListSessionReviewsRequest;
|
|
1095
|
+
|
|
1096
|
+
getPageToken(): string;
|
|
1097
|
+
setPageToken(value: string): ListSessionReviewsRequest;
|
|
1098
|
+
|
|
1099
|
+
serializeBinary(): Uint8Array;
|
|
1100
|
+
toObject(includeInstance?: boolean): ListSessionReviewsRequest.AsObject;
|
|
1101
|
+
static toObject(includeInstance: boolean, msg: ListSessionReviewsRequest): ListSessionReviewsRequest.AsObject;
|
|
1102
|
+
static serializeBinaryToWriter(message: ListSessionReviewsRequest, writer: jspb.BinaryWriter): void;
|
|
1103
|
+
static deserializeBinary(bytes: Uint8Array): ListSessionReviewsRequest;
|
|
1104
|
+
static deserializeBinaryFromReader(message: ListSessionReviewsRequest, reader: jspb.BinaryReader): ListSessionReviewsRequest;
|
|
1105
|
+
}
|
|
1106
|
+
|
|
1107
|
+
export namespace ListSessionReviewsRequest {
|
|
1108
|
+
export type AsObject = {
|
|
1109
|
+
sessionId: string,
|
|
1110
|
+
sessionReviewView: SessionReview.View,
|
|
1111
|
+
pageToken: string,
|
|
1112
|
+
}
|
|
1113
|
+
}
|
|
1114
|
+
|
|
1115
|
+
export class ListSessionReviewsResponse extends jspb.Message {
|
|
1116
|
+
getSessionReviewsList(): Array<SessionReview>;
|
|
1117
|
+
setSessionReviewsList(value: Array<SessionReview>): ListSessionReviewsResponse;
|
|
1118
|
+
clearSessionReviewsList(): ListSessionReviewsResponse;
|
|
1119
|
+
addSessionReviews(value?: SessionReview, index?: number): SessionReview;
|
|
1120
|
+
|
|
1121
|
+
getNextPageToken(): string;
|
|
1122
|
+
setNextPageToken(value: string): ListSessionReviewsResponse;
|
|
1123
|
+
|
|
1124
|
+
serializeBinary(): Uint8Array;
|
|
1125
|
+
toObject(includeInstance?: boolean): ListSessionReviewsResponse.AsObject;
|
|
1126
|
+
static toObject(includeInstance: boolean, msg: ListSessionReviewsResponse): ListSessionReviewsResponse.AsObject;
|
|
1127
|
+
static serializeBinaryToWriter(message: ListSessionReviewsResponse, writer: jspb.BinaryWriter): void;
|
|
1128
|
+
static deserializeBinary(bytes: Uint8Array): ListSessionReviewsResponse;
|
|
1129
|
+
static deserializeBinaryFromReader(message: ListSessionReviewsResponse, reader: jspb.BinaryReader): ListSessionReviewsResponse;
|
|
1130
|
+
}
|
|
1131
|
+
|
|
1132
|
+
export namespace ListSessionReviewsResponse {
|
|
1133
|
+
export type AsObject = {
|
|
1134
|
+
sessionReviewsList: Array<SessionReview.AsObject>,
|
|
1135
|
+
nextPageToken: string,
|
|
1136
|
+
}
|
|
1137
|
+
}
|
|
1138
|
+
|
|
1139
|
+
export class GetSessionReviewRequest extends jspb.Message {
|
|
1140
|
+
getSessionReviewId(): string;
|
|
1141
|
+
setSessionReviewId(value: string): GetSessionReviewRequest;
|
|
1142
|
+
|
|
1143
|
+
getSessionReviewView(): SessionReview.View;
|
|
1144
|
+
setSessionReviewView(value: SessionReview.View): GetSessionReviewRequest;
|
|
1145
|
+
|
|
1146
|
+
serializeBinary(): Uint8Array;
|
|
1147
|
+
toObject(includeInstance?: boolean): GetSessionReviewRequest.AsObject;
|
|
1148
|
+
static toObject(includeInstance: boolean, msg: GetSessionReviewRequest): GetSessionReviewRequest.AsObject;
|
|
1149
|
+
static serializeBinaryToWriter(message: GetSessionReviewRequest, writer: jspb.BinaryWriter): void;
|
|
1150
|
+
static deserializeBinary(bytes: Uint8Array): GetSessionReviewRequest;
|
|
1151
|
+
static deserializeBinaryFromReader(message: GetSessionReviewRequest, reader: jspb.BinaryReader): GetSessionReviewRequest;
|
|
1152
|
+
}
|
|
1153
|
+
|
|
1154
|
+
export namespace GetSessionReviewRequest {
|
|
1155
|
+
export type AsObject = {
|
|
1156
|
+
sessionReviewId: string,
|
|
1157
|
+
sessionReviewView: SessionReview.View,
|
|
1158
|
+
}
|
|
1159
|
+
}
|
|
1160
|
+
|
|
1161
|
+
export class GetLatestSessionReviewRequest extends jspb.Message {
|
|
1162
|
+
getSessionId(): string;
|
|
1163
|
+
setSessionId(value: string): GetLatestSessionReviewRequest;
|
|
1164
|
+
|
|
1165
|
+
getSessionReviewView(): SessionReview.View;
|
|
1166
|
+
setSessionReviewView(value: SessionReview.View): GetLatestSessionReviewRequest;
|
|
1167
|
+
|
|
1168
|
+
serializeBinary(): Uint8Array;
|
|
1169
|
+
toObject(includeInstance?: boolean): GetLatestSessionReviewRequest.AsObject;
|
|
1170
|
+
static toObject(includeInstance: boolean, msg: GetLatestSessionReviewRequest): GetLatestSessionReviewRequest.AsObject;
|
|
1171
|
+
static serializeBinaryToWriter(message: GetLatestSessionReviewRequest, writer: jspb.BinaryWriter): void;
|
|
1172
|
+
static deserializeBinary(bytes: Uint8Array): GetLatestSessionReviewRequest;
|
|
1173
|
+
static deserializeBinaryFromReader(message: GetLatestSessionReviewRequest, reader: jspb.BinaryReader): GetLatestSessionReviewRequest;
|
|
1174
|
+
}
|
|
1175
|
+
|
|
1176
|
+
export namespace GetLatestSessionReviewRequest {
|
|
1177
|
+
export type AsObject = {
|
|
1178
|
+
sessionId: string,
|
|
1179
|
+
sessionReviewView: SessionReview.View,
|
|
1180
|
+
}
|
|
1181
|
+
}
|
|
1182
|
+
|
|
1183
|
+
export enum AudioEncoding {
|
|
1184
|
+
AUDIO_ENCODING_UNSPECIFIED = 0,
|
|
1185
|
+
AUDIO_ENCODING_LINEAR_16 = 1,
|
|
1186
|
+
AUDIO_ENCODING_FLAC = 2,
|
|
1187
|
+
AUDIO_ENCODING_MULAW = 3,
|
|
1188
|
+
AUDIO_ENCODING_AMR = 4,
|
|
1189
|
+
AUDIO_ENCODING_AMR_WB = 5,
|
|
1190
|
+
AUDIO_ENCODING_OGG_OPUS = 6,
|
|
1191
|
+
AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE = 7,
|
|
1192
|
+
}
|