@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,2344 @@
|
|
|
1
|
+
import * as jspb from 'google-protobuf'
|
|
2
|
+
|
|
3
|
+
import * as google_api_annotations_pb from '../../google/api/annotations_pb';
|
|
4
|
+
import * as ondewo_nlu_context_pb from '../../ondewo/nlu/context_pb';
|
|
5
|
+
import * as ondewo_nlu_common_pb from '../../ondewo/nlu/common_pb';
|
|
6
|
+
import * as ondewo_nlu_operations_pb from '../../ondewo/nlu/operations_pb';
|
|
7
|
+
import * as google_protobuf_empty_pb from 'google-protobuf/google/protobuf/empty_pb';
|
|
8
|
+
import * as google_protobuf_timestamp_pb from 'google-protobuf/google/protobuf/timestamp_pb';
|
|
9
|
+
import * as google_protobuf_field_mask_pb from 'google-protobuf/google/protobuf/field_mask_pb';
|
|
10
|
+
import * as google_protobuf_struct_pb from 'google-protobuf/google/protobuf/struct_pb';
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
export class Intent extends jspb.Message {
|
|
14
|
+
getName(): string;
|
|
15
|
+
setName(value: string): Intent;
|
|
16
|
+
|
|
17
|
+
getDisplayName(): string;
|
|
18
|
+
setDisplayName(value: string): Intent;
|
|
19
|
+
|
|
20
|
+
getWebhookState(): Intent.WebhookState;
|
|
21
|
+
setWebhookState(value: Intent.WebhookState): Intent;
|
|
22
|
+
|
|
23
|
+
getPriority(): number;
|
|
24
|
+
setPriority(value: number): Intent;
|
|
25
|
+
|
|
26
|
+
getIsFallback(): boolean;
|
|
27
|
+
setIsFallback(value: boolean): Intent;
|
|
28
|
+
|
|
29
|
+
getMlDisabled(): boolean;
|
|
30
|
+
setMlDisabled(value: boolean): Intent;
|
|
31
|
+
|
|
32
|
+
getInputContextNamesList(): Array<string>;
|
|
33
|
+
setInputContextNamesList(value: Array<string>): Intent;
|
|
34
|
+
clearInputContextNamesList(): Intent;
|
|
35
|
+
addInputContextNames(value: string, index?: number): Intent;
|
|
36
|
+
|
|
37
|
+
getEventsList(): Array<string>;
|
|
38
|
+
setEventsList(value: Array<string>): Intent;
|
|
39
|
+
clearEventsList(): Intent;
|
|
40
|
+
addEvents(value: string, index?: number): Intent;
|
|
41
|
+
|
|
42
|
+
getTrainingPhrasesList(): Array<Intent.TrainingPhrase>;
|
|
43
|
+
setTrainingPhrasesList(value: Array<Intent.TrainingPhrase>): Intent;
|
|
44
|
+
clearTrainingPhrasesList(): Intent;
|
|
45
|
+
addTrainingPhrases(value?: Intent.TrainingPhrase, index?: number): Intent.TrainingPhrase;
|
|
46
|
+
|
|
47
|
+
getAction(): string;
|
|
48
|
+
setAction(value: string): Intent;
|
|
49
|
+
|
|
50
|
+
getOutputContextsList(): Array<ondewo_nlu_context_pb.Context>;
|
|
51
|
+
setOutputContextsList(value: Array<ondewo_nlu_context_pb.Context>): Intent;
|
|
52
|
+
clearOutputContextsList(): Intent;
|
|
53
|
+
addOutputContexts(value?: ondewo_nlu_context_pb.Context, index?: number): ondewo_nlu_context_pb.Context;
|
|
54
|
+
|
|
55
|
+
getResetContexts(): boolean;
|
|
56
|
+
setResetContexts(value: boolean): Intent;
|
|
57
|
+
|
|
58
|
+
getParametersList(): Array<Intent.Parameter>;
|
|
59
|
+
setParametersList(value: Array<Intent.Parameter>): Intent;
|
|
60
|
+
clearParametersList(): Intent;
|
|
61
|
+
addParameters(value?: Intent.Parameter, index?: number): Intent.Parameter;
|
|
62
|
+
|
|
63
|
+
getMessagesList(): Array<Intent.Message>;
|
|
64
|
+
setMessagesList(value: Array<Intent.Message>): Intent;
|
|
65
|
+
clearMessagesList(): Intent;
|
|
66
|
+
addMessages(value?: Intent.Message, index?: number): Intent.Message;
|
|
67
|
+
|
|
68
|
+
getDefaultResponsePlatformsList(): Array<Intent.Message.Platform>;
|
|
69
|
+
setDefaultResponsePlatformsList(value: Array<Intent.Message.Platform>): Intent;
|
|
70
|
+
clearDefaultResponsePlatformsList(): Intent;
|
|
71
|
+
addDefaultResponsePlatforms(value: Intent.Message.Platform, index?: number): Intent;
|
|
72
|
+
|
|
73
|
+
getRootFollowupIntentName(): string;
|
|
74
|
+
setRootFollowupIntentName(value: string): Intent;
|
|
75
|
+
|
|
76
|
+
getParentFollowupIntentName(): string;
|
|
77
|
+
setParentFollowupIntentName(value: string): Intent;
|
|
78
|
+
|
|
79
|
+
getFollowupIntentInfoList(): Array<Intent.FollowupIntentInfo>;
|
|
80
|
+
setFollowupIntentInfoList(value: Array<Intent.FollowupIntentInfo>): Intent;
|
|
81
|
+
clearFollowupIntentInfoList(): Intent;
|
|
82
|
+
addFollowupIntentInfo(value?: Intent.FollowupIntentInfo, index?: number): Intent.FollowupIntentInfo;
|
|
83
|
+
|
|
84
|
+
getNextPageToken(): string;
|
|
85
|
+
setNextPageToken(value: string): Intent;
|
|
86
|
+
|
|
87
|
+
getDomainName(): string;
|
|
88
|
+
setDomainName(value: string): Intent;
|
|
89
|
+
|
|
90
|
+
getIsStartOfDeviation(): boolean;
|
|
91
|
+
setIsStartOfDeviation(value: boolean): Intent;
|
|
92
|
+
|
|
93
|
+
getIsEndOfDeviation(): boolean;
|
|
94
|
+
setIsEndOfDeviation(value: boolean): Intent;
|
|
95
|
+
|
|
96
|
+
getTrainingPhraseCount(): number;
|
|
97
|
+
setTrainingPhraseCount(value: number): Intent;
|
|
98
|
+
|
|
99
|
+
getStatus(): Intent.IntentStatus;
|
|
100
|
+
setStatus(value: Intent.IntentStatus): Intent;
|
|
101
|
+
|
|
102
|
+
getStartDate(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
103
|
+
setStartDate(value?: google_protobuf_timestamp_pb.Timestamp): Intent;
|
|
104
|
+
hasStartDate(): boolean;
|
|
105
|
+
clearStartDate(): Intent;
|
|
106
|
+
|
|
107
|
+
getEndDate(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
108
|
+
setEndDate(value?: google_protobuf_timestamp_pb.Timestamp): Intent;
|
|
109
|
+
hasEndDate(): boolean;
|
|
110
|
+
clearEndDate(): Intent;
|
|
111
|
+
|
|
112
|
+
getTagsList(): Array<string>;
|
|
113
|
+
setTagsList(value: Array<string>): Intent;
|
|
114
|
+
clearTagsList(): Intent;
|
|
115
|
+
addTags(value: string, index?: number): Intent;
|
|
116
|
+
|
|
117
|
+
serializeBinary(): Uint8Array;
|
|
118
|
+
toObject(includeInstance?: boolean): Intent.AsObject;
|
|
119
|
+
static toObject(includeInstance: boolean, msg: Intent): Intent.AsObject;
|
|
120
|
+
static serializeBinaryToWriter(message: Intent, writer: jspb.BinaryWriter): void;
|
|
121
|
+
static deserializeBinary(bytes: Uint8Array): Intent;
|
|
122
|
+
static deserializeBinaryFromReader(message: Intent, reader: jspb.BinaryReader): Intent;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
export namespace Intent {
|
|
126
|
+
export type AsObject = {
|
|
127
|
+
name: string,
|
|
128
|
+
displayName: string,
|
|
129
|
+
webhookState: Intent.WebhookState,
|
|
130
|
+
priority: number,
|
|
131
|
+
isFallback: boolean,
|
|
132
|
+
mlDisabled: boolean,
|
|
133
|
+
inputContextNamesList: Array<string>,
|
|
134
|
+
eventsList: Array<string>,
|
|
135
|
+
trainingPhrasesList: Array<Intent.TrainingPhrase.AsObject>,
|
|
136
|
+
action: string,
|
|
137
|
+
outputContextsList: Array<ondewo_nlu_context_pb.Context.AsObject>,
|
|
138
|
+
resetContexts: boolean,
|
|
139
|
+
parametersList: Array<Intent.Parameter.AsObject>,
|
|
140
|
+
messagesList: Array<Intent.Message.AsObject>,
|
|
141
|
+
defaultResponsePlatformsList: Array<Intent.Message.Platform>,
|
|
142
|
+
rootFollowupIntentName: string,
|
|
143
|
+
parentFollowupIntentName: string,
|
|
144
|
+
followupIntentInfoList: Array<Intent.FollowupIntentInfo.AsObject>,
|
|
145
|
+
nextPageToken: string,
|
|
146
|
+
domainName: string,
|
|
147
|
+
isStartOfDeviation: boolean,
|
|
148
|
+
isEndOfDeviation: boolean,
|
|
149
|
+
trainingPhraseCount: number,
|
|
150
|
+
status: Intent.IntentStatus,
|
|
151
|
+
startDate?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
152
|
+
endDate?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
153
|
+
tagsList: Array<string>,
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
export class TrainingPhrase extends jspb.Message {
|
|
157
|
+
getName(): string;
|
|
158
|
+
setName(value: string): TrainingPhrase;
|
|
159
|
+
|
|
160
|
+
getType(): Intent.TrainingPhrase.Type;
|
|
161
|
+
setType(value: Intent.TrainingPhrase.Type): TrainingPhrase;
|
|
162
|
+
|
|
163
|
+
getText(): string;
|
|
164
|
+
setText(value: string): TrainingPhrase;
|
|
165
|
+
|
|
166
|
+
getEntitiesList(): Array<Intent.TrainingPhrase.Entity>;
|
|
167
|
+
setEntitiesList(value: Array<Intent.TrainingPhrase.Entity>): TrainingPhrase;
|
|
168
|
+
clearEntitiesList(): TrainingPhrase;
|
|
169
|
+
addEntities(value?: Intent.TrainingPhrase.Entity, index?: number): Intent.TrainingPhrase.Entity;
|
|
170
|
+
|
|
171
|
+
getTimesAddedCount(): number;
|
|
172
|
+
setTimesAddedCount(value: number): TrainingPhrase;
|
|
173
|
+
|
|
174
|
+
getLanguageCode(): string;
|
|
175
|
+
setLanguageCode(value: string): TrainingPhrase;
|
|
176
|
+
|
|
177
|
+
serializeBinary(): Uint8Array;
|
|
178
|
+
toObject(includeInstance?: boolean): TrainingPhrase.AsObject;
|
|
179
|
+
static toObject(includeInstance: boolean, msg: TrainingPhrase): TrainingPhrase.AsObject;
|
|
180
|
+
static serializeBinaryToWriter(message: TrainingPhrase, writer: jspb.BinaryWriter): void;
|
|
181
|
+
static deserializeBinary(bytes: Uint8Array): TrainingPhrase;
|
|
182
|
+
static deserializeBinaryFromReader(message: TrainingPhrase, reader: jspb.BinaryReader): TrainingPhrase;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
export namespace TrainingPhrase {
|
|
186
|
+
export type AsObject = {
|
|
187
|
+
name: string,
|
|
188
|
+
type: Intent.TrainingPhrase.Type,
|
|
189
|
+
text: string,
|
|
190
|
+
entitiesList: Array<Intent.TrainingPhrase.Entity.AsObject>,
|
|
191
|
+
timesAddedCount: number,
|
|
192
|
+
languageCode: string,
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
export class Entity extends jspb.Message {
|
|
196
|
+
getEntityTypeName(): string;
|
|
197
|
+
setEntityTypeName(value: string): Entity;
|
|
198
|
+
|
|
199
|
+
getEntityTypeDisplayName(): string;
|
|
200
|
+
setEntityTypeDisplayName(value: string): Entity;
|
|
201
|
+
|
|
202
|
+
getEntityValueName(): string;
|
|
203
|
+
setEntityValueName(value: string): Entity;
|
|
204
|
+
|
|
205
|
+
getEntityValueDisplayName(): string;
|
|
206
|
+
setEntityValueDisplayName(value: string): Entity;
|
|
207
|
+
|
|
208
|
+
getStart(): number;
|
|
209
|
+
setStart(value: number): Entity;
|
|
210
|
+
|
|
211
|
+
getEnd(): number;
|
|
212
|
+
setEnd(value: number): Entity;
|
|
213
|
+
|
|
214
|
+
getParameterName(): string;
|
|
215
|
+
setParameterName(value: string): Entity;
|
|
216
|
+
|
|
217
|
+
getParameterDisplayName(): string;
|
|
218
|
+
setParameterDisplayName(value: string): Entity;
|
|
219
|
+
|
|
220
|
+
serializeBinary(): Uint8Array;
|
|
221
|
+
toObject(includeInstance?: boolean): Entity.AsObject;
|
|
222
|
+
static toObject(includeInstance: boolean, msg: Entity): Entity.AsObject;
|
|
223
|
+
static serializeBinaryToWriter(message: Entity, writer: jspb.BinaryWriter): void;
|
|
224
|
+
static deserializeBinary(bytes: Uint8Array): Entity;
|
|
225
|
+
static deserializeBinaryFromReader(message: Entity, reader: jspb.BinaryReader): Entity;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
export namespace Entity {
|
|
229
|
+
export type AsObject = {
|
|
230
|
+
entityTypeName: string,
|
|
231
|
+
entityTypeDisplayName: string,
|
|
232
|
+
entityValueName: string,
|
|
233
|
+
entityValueDisplayName: string,
|
|
234
|
+
start: number,
|
|
235
|
+
end: number,
|
|
236
|
+
parameterName: string,
|
|
237
|
+
parameterDisplayName: string,
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
export enum Type {
|
|
243
|
+
TYPE_UNSPECIFIED = 0,
|
|
244
|
+
EXAMPLE = 1,
|
|
245
|
+
TEMPLATE = 2,
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
|
|
250
|
+
export class Parameter extends jspb.Message {
|
|
251
|
+
getName(): string;
|
|
252
|
+
setName(value: string): Parameter;
|
|
253
|
+
|
|
254
|
+
getDisplayName(): string;
|
|
255
|
+
setDisplayName(value: string): Parameter;
|
|
256
|
+
|
|
257
|
+
getValue(): string;
|
|
258
|
+
setValue(value: string): Parameter;
|
|
259
|
+
|
|
260
|
+
getDefaultValue(): string;
|
|
261
|
+
setDefaultValue(value: string): Parameter;
|
|
262
|
+
|
|
263
|
+
getEntityTypeName(): string;
|
|
264
|
+
setEntityTypeName(value: string): Parameter;
|
|
265
|
+
|
|
266
|
+
getEntityTypeDisplayName(): string;
|
|
267
|
+
setEntityTypeDisplayName(value: string): Parameter;
|
|
268
|
+
|
|
269
|
+
getMandatory(): boolean;
|
|
270
|
+
setMandatory(value: boolean): Parameter;
|
|
271
|
+
|
|
272
|
+
getPromptsList(): Array<Intent.Parameter.Prompt>;
|
|
273
|
+
setPromptsList(value: Array<Intent.Parameter.Prompt>): Parameter;
|
|
274
|
+
clearPromptsList(): Parameter;
|
|
275
|
+
addPrompts(value?: Intent.Parameter.Prompt, index?: number): Intent.Parameter.Prompt;
|
|
276
|
+
|
|
277
|
+
getIsList(): boolean;
|
|
278
|
+
setIsList(value: boolean): Parameter;
|
|
279
|
+
|
|
280
|
+
serializeBinary(): Uint8Array;
|
|
281
|
+
toObject(includeInstance?: boolean): Parameter.AsObject;
|
|
282
|
+
static toObject(includeInstance: boolean, msg: Parameter): Parameter.AsObject;
|
|
283
|
+
static serializeBinaryToWriter(message: Parameter, writer: jspb.BinaryWriter): void;
|
|
284
|
+
static deserializeBinary(bytes: Uint8Array): Parameter;
|
|
285
|
+
static deserializeBinaryFromReader(message: Parameter, reader: jspb.BinaryReader): Parameter;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
export namespace Parameter {
|
|
289
|
+
export type AsObject = {
|
|
290
|
+
name: string,
|
|
291
|
+
displayName: string,
|
|
292
|
+
value: string,
|
|
293
|
+
defaultValue: string,
|
|
294
|
+
entityTypeName: string,
|
|
295
|
+
entityTypeDisplayName: string,
|
|
296
|
+
mandatory: boolean,
|
|
297
|
+
promptsList: Array<Intent.Parameter.Prompt.AsObject>,
|
|
298
|
+
isList: boolean,
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
export class Prompt extends jspb.Message {
|
|
302
|
+
getName(): string;
|
|
303
|
+
setName(value: string): Prompt;
|
|
304
|
+
|
|
305
|
+
getText(): string;
|
|
306
|
+
setText(value: string): Prompt;
|
|
307
|
+
|
|
308
|
+
getLanguageCode(): string;
|
|
309
|
+
setLanguageCode(value: string): Prompt;
|
|
310
|
+
|
|
311
|
+
serializeBinary(): Uint8Array;
|
|
312
|
+
toObject(includeInstance?: boolean): Prompt.AsObject;
|
|
313
|
+
static toObject(includeInstance: boolean, msg: Prompt): Prompt.AsObject;
|
|
314
|
+
static serializeBinaryToWriter(message: Prompt, writer: jspb.BinaryWriter): void;
|
|
315
|
+
static deserializeBinary(bytes: Uint8Array): Prompt;
|
|
316
|
+
static deserializeBinaryFromReader(message: Prompt, reader: jspb.BinaryReader): Prompt;
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
export namespace Prompt {
|
|
320
|
+
export type AsObject = {
|
|
321
|
+
name: string,
|
|
322
|
+
text: string,
|
|
323
|
+
languageCode: string,
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
|
|
330
|
+
export class Message extends jspb.Message {
|
|
331
|
+
getName(): string;
|
|
332
|
+
setName(value: string): Message;
|
|
333
|
+
|
|
334
|
+
getLanguageCode(): string;
|
|
335
|
+
setLanguageCode(value: string): Message;
|
|
336
|
+
|
|
337
|
+
getText(): Intent.Message.Text | undefined;
|
|
338
|
+
setText(value?: Intent.Message.Text): Message;
|
|
339
|
+
hasText(): boolean;
|
|
340
|
+
clearText(): Message;
|
|
341
|
+
|
|
342
|
+
getImage(): Intent.Message.Image | undefined;
|
|
343
|
+
setImage(value?: Intent.Message.Image): Message;
|
|
344
|
+
hasImage(): boolean;
|
|
345
|
+
clearImage(): Message;
|
|
346
|
+
|
|
347
|
+
getQuickReplies(): Intent.Message.QuickReplies | undefined;
|
|
348
|
+
setQuickReplies(value?: Intent.Message.QuickReplies): Message;
|
|
349
|
+
hasQuickReplies(): boolean;
|
|
350
|
+
clearQuickReplies(): Message;
|
|
351
|
+
|
|
352
|
+
getCard(): Intent.Message.Card | undefined;
|
|
353
|
+
setCard(value?: Intent.Message.Card): Message;
|
|
354
|
+
hasCard(): boolean;
|
|
355
|
+
clearCard(): Message;
|
|
356
|
+
|
|
357
|
+
getPayload(): google_protobuf_struct_pb.Struct | undefined;
|
|
358
|
+
setPayload(value?: google_protobuf_struct_pb.Struct): Message;
|
|
359
|
+
hasPayload(): boolean;
|
|
360
|
+
clearPayload(): Message;
|
|
361
|
+
|
|
362
|
+
getSimpleResponses(): Intent.Message.SimpleResponses | undefined;
|
|
363
|
+
setSimpleResponses(value?: Intent.Message.SimpleResponses): Message;
|
|
364
|
+
hasSimpleResponses(): boolean;
|
|
365
|
+
clearSimpleResponses(): Message;
|
|
366
|
+
|
|
367
|
+
getBasicCard(): Intent.Message.BasicCard | undefined;
|
|
368
|
+
setBasicCard(value?: Intent.Message.BasicCard): Message;
|
|
369
|
+
hasBasicCard(): boolean;
|
|
370
|
+
clearBasicCard(): Message;
|
|
371
|
+
|
|
372
|
+
getSuggestions(): Intent.Message.Suggestions | undefined;
|
|
373
|
+
setSuggestions(value?: Intent.Message.Suggestions): Message;
|
|
374
|
+
hasSuggestions(): boolean;
|
|
375
|
+
clearSuggestions(): Message;
|
|
376
|
+
|
|
377
|
+
getLinkOutSuggestion(): Intent.Message.LinkOutSuggestion | undefined;
|
|
378
|
+
setLinkOutSuggestion(value?: Intent.Message.LinkOutSuggestion): Message;
|
|
379
|
+
hasLinkOutSuggestion(): boolean;
|
|
380
|
+
clearLinkOutSuggestion(): Message;
|
|
381
|
+
|
|
382
|
+
getListSelect(): Intent.Message.ListSelect | undefined;
|
|
383
|
+
setListSelect(value?: Intent.Message.ListSelect): Message;
|
|
384
|
+
hasListSelect(): boolean;
|
|
385
|
+
clearListSelect(): Message;
|
|
386
|
+
|
|
387
|
+
getCarouselSelect(): Intent.Message.CarouselSelect | undefined;
|
|
388
|
+
setCarouselSelect(value?: Intent.Message.CarouselSelect): Message;
|
|
389
|
+
hasCarouselSelect(): boolean;
|
|
390
|
+
clearCarouselSelect(): Message;
|
|
391
|
+
|
|
392
|
+
getHtmlText(): Intent.Message.HTMLText | undefined;
|
|
393
|
+
setHtmlText(value?: Intent.Message.HTMLText): Message;
|
|
394
|
+
hasHtmlText(): boolean;
|
|
395
|
+
clearHtmlText(): Message;
|
|
396
|
+
|
|
397
|
+
getVideo(): Intent.Message.Video | undefined;
|
|
398
|
+
setVideo(value?: Intent.Message.Video): Message;
|
|
399
|
+
hasVideo(): boolean;
|
|
400
|
+
clearVideo(): Message;
|
|
401
|
+
|
|
402
|
+
getAudio(): Intent.Message.Audio | undefined;
|
|
403
|
+
setAudio(value?: Intent.Message.Audio): Message;
|
|
404
|
+
hasAudio(): boolean;
|
|
405
|
+
clearAudio(): Message;
|
|
406
|
+
|
|
407
|
+
getPlatform(): Intent.Message.Platform;
|
|
408
|
+
setPlatform(value: Intent.Message.Platform): Message;
|
|
409
|
+
|
|
410
|
+
getIsPrompt(): boolean;
|
|
411
|
+
setIsPrompt(value: boolean): Message;
|
|
412
|
+
|
|
413
|
+
getMessageCase(): Message.MessageCase;
|
|
414
|
+
|
|
415
|
+
serializeBinary(): Uint8Array;
|
|
416
|
+
toObject(includeInstance?: boolean): Message.AsObject;
|
|
417
|
+
static toObject(includeInstance: boolean, msg: Message): Message.AsObject;
|
|
418
|
+
static serializeBinaryToWriter(message: Message, writer: jspb.BinaryWriter): void;
|
|
419
|
+
static deserializeBinary(bytes: Uint8Array): Message;
|
|
420
|
+
static deserializeBinaryFromReader(message: Message, reader: jspb.BinaryReader): Message;
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
export namespace Message {
|
|
424
|
+
export type AsObject = {
|
|
425
|
+
name: string,
|
|
426
|
+
languageCode: string,
|
|
427
|
+
text?: Intent.Message.Text.AsObject,
|
|
428
|
+
image?: Intent.Message.Image.AsObject,
|
|
429
|
+
quickReplies?: Intent.Message.QuickReplies.AsObject,
|
|
430
|
+
card?: Intent.Message.Card.AsObject,
|
|
431
|
+
payload?: google_protobuf_struct_pb.Struct.AsObject,
|
|
432
|
+
simpleResponses?: Intent.Message.SimpleResponses.AsObject,
|
|
433
|
+
basicCard?: Intent.Message.BasicCard.AsObject,
|
|
434
|
+
suggestions?: Intent.Message.Suggestions.AsObject,
|
|
435
|
+
linkOutSuggestion?: Intent.Message.LinkOutSuggestion.AsObject,
|
|
436
|
+
listSelect?: Intent.Message.ListSelect.AsObject,
|
|
437
|
+
carouselSelect?: Intent.Message.CarouselSelect.AsObject,
|
|
438
|
+
htmlText?: Intent.Message.HTMLText.AsObject,
|
|
439
|
+
video?: Intent.Message.Video.AsObject,
|
|
440
|
+
audio?: Intent.Message.Audio.AsObject,
|
|
441
|
+
platform: Intent.Message.Platform,
|
|
442
|
+
isPrompt: boolean,
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
export class Text extends jspb.Message {
|
|
446
|
+
getTextList(): Array<string>;
|
|
447
|
+
setTextList(value: Array<string>): Text;
|
|
448
|
+
clearTextList(): Text;
|
|
449
|
+
addText(value: string, index?: number): Text;
|
|
450
|
+
|
|
451
|
+
serializeBinary(): Uint8Array;
|
|
452
|
+
toObject(includeInstance?: boolean): Text.AsObject;
|
|
453
|
+
static toObject(includeInstance: boolean, msg: Text): Text.AsObject;
|
|
454
|
+
static serializeBinaryToWriter(message: Text, writer: jspb.BinaryWriter): void;
|
|
455
|
+
static deserializeBinary(bytes: Uint8Array): Text;
|
|
456
|
+
static deserializeBinaryFromReader(message: Text, reader: jspb.BinaryReader): Text;
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
export namespace Text {
|
|
460
|
+
export type AsObject = {
|
|
461
|
+
textList: Array<string>,
|
|
462
|
+
}
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
|
|
466
|
+
export class Image extends jspb.Message {
|
|
467
|
+
getImageUri(): string;
|
|
468
|
+
setImageUri(value: string): Image;
|
|
469
|
+
|
|
470
|
+
getAccessibilityText(): string;
|
|
471
|
+
setAccessibilityText(value: string): Image;
|
|
472
|
+
|
|
473
|
+
serializeBinary(): Uint8Array;
|
|
474
|
+
toObject(includeInstance?: boolean): Image.AsObject;
|
|
475
|
+
static toObject(includeInstance: boolean, msg: Image): Image.AsObject;
|
|
476
|
+
static serializeBinaryToWriter(message: Image, writer: jspb.BinaryWriter): void;
|
|
477
|
+
static deserializeBinary(bytes: Uint8Array): Image;
|
|
478
|
+
static deserializeBinaryFromReader(message: Image, reader: jspb.BinaryReader): Image;
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
export namespace Image {
|
|
482
|
+
export type AsObject = {
|
|
483
|
+
imageUri: string,
|
|
484
|
+
accessibilityText: string,
|
|
485
|
+
}
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
|
|
489
|
+
export class QuickReplies extends jspb.Message {
|
|
490
|
+
getTitle(): string;
|
|
491
|
+
setTitle(value: string): QuickReplies;
|
|
492
|
+
|
|
493
|
+
getQuickRepliesList(): Array<string>;
|
|
494
|
+
setQuickRepliesList(value: Array<string>): QuickReplies;
|
|
495
|
+
clearQuickRepliesList(): QuickReplies;
|
|
496
|
+
addQuickReplies(value: string, index?: number): QuickReplies;
|
|
497
|
+
|
|
498
|
+
serializeBinary(): Uint8Array;
|
|
499
|
+
toObject(includeInstance?: boolean): QuickReplies.AsObject;
|
|
500
|
+
static toObject(includeInstance: boolean, msg: QuickReplies): QuickReplies.AsObject;
|
|
501
|
+
static serializeBinaryToWriter(message: QuickReplies, writer: jspb.BinaryWriter): void;
|
|
502
|
+
static deserializeBinary(bytes: Uint8Array): QuickReplies;
|
|
503
|
+
static deserializeBinaryFromReader(message: QuickReplies, reader: jspb.BinaryReader): QuickReplies;
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
export namespace QuickReplies {
|
|
507
|
+
export type AsObject = {
|
|
508
|
+
title: string,
|
|
509
|
+
quickRepliesList: Array<string>,
|
|
510
|
+
}
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
|
|
514
|
+
export class Card extends jspb.Message {
|
|
515
|
+
getTitle(): string;
|
|
516
|
+
setTitle(value: string): Card;
|
|
517
|
+
|
|
518
|
+
getSubtitle(): string;
|
|
519
|
+
setSubtitle(value: string): Card;
|
|
520
|
+
|
|
521
|
+
getImageUri(): string;
|
|
522
|
+
setImageUri(value: string): Card;
|
|
523
|
+
|
|
524
|
+
getButtonsList(): Array<Intent.Message.Card.Button>;
|
|
525
|
+
setButtonsList(value: Array<Intent.Message.Card.Button>): Card;
|
|
526
|
+
clearButtonsList(): Card;
|
|
527
|
+
addButtons(value?: Intent.Message.Card.Button, index?: number): Intent.Message.Card.Button;
|
|
528
|
+
|
|
529
|
+
serializeBinary(): Uint8Array;
|
|
530
|
+
toObject(includeInstance?: boolean): Card.AsObject;
|
|
531
|
+
static toObject(includeInstance: boolean, msg: Card): Card.AsObject;
|
|
532
|
+
static serializeBinaryToWriter(message: Card, writer: jspb.BinaryWriter): void;
|
|
533
|
+
static deserializeBinary(bytes: Uint8Array): Card;
|
|
534
|
+
static deserializeBinaryFromReader(message: Card, reader: jspb.BinaryReader): Card;
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
export namespace Card {
|
|
538
|
+
export type AsObject = {
|
|
539
|
+
title: string,
|
|
540
|
+
subtitle: string,
|
|
541
|
+
imageUri: string,
|
|
542
|
+
buttonsList: Array<Intent.Message.Card.Button.AsObject>,
|
|
543
|
+
}
|
|
544
|
+
|
|
545
|
+
export class Button extends jspb.Message {
|
|
546
|
+
getText(): string;
|
|
547
|
+
setText(value: string): Button;
|
|
548
|
+
|
|
549
|
+
getPostback(): string;
|
|
550
|
+
setPostback(value: string): Button;
|
|
551
|
+
|
|
552
|
+
serializeBinary(): Uint8Array;
|
|
553
|
+
toObject(includeInstance?: boolean): Button.AsObject;
|
|
554
|
+
static toObject(includeInstance: boolean, msg: Button): Button.AsObject;
|
|
555
|
+
static serializeBinaryToWriter(message: Button, writer: jspb.BinaryWriter): void;
|
|
556
|
+
static deserializeBinary(bytes: Uint8Array): Button;
|
|
557
|
+
static deserializeBinaryFromReader(message: Button, reader: jspb.BinaryReader): Button;
|
|
558
|
+
}
|
|
559
|
+
|
|
560
|
+
export namespace Button {
|
|
561
|
+
export type AsObject = {
|
|
562
|
+
text: string,
|
|
563
|
+
postback: string,
|
|
564
|
+
}
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
}
|
|
568
|
+
|
|
569
|
+
|
|
570
|
+
export class SimpleResponse extends jspb.Message {
|
|
571
|
+
getTextToSpeech(): string;
|
|
572
|
+
setTextToSpeech(value: string): SimpleResponse;
|
|
573
|
+
|
|
574
|
+
getSsml(): string;
|
|
575
|
+
setSsml(value: string): SimpleResponse;
|
|
576
|
+
|
|
577
|
+
getDisplayText(): string;
|
|
578
|
+
setDisplayText(value: string): SimpleResponse;
|
|
579
|
+
|
|
580
|
+
serializeBinary(): Uint8Array;
|
|
581
|
+
toObject(includeInstance?: boolean): SimpleResponse.AsObject;
|
|
582
|
+
static toObject(includeInstance: boolean, msg: SimpleResponse): SimpleResponse.AsObject;
|
|
583
|
+
static serializeBinaryToWriter(message: SimpleResponse, writer: jspb.BinaryWriter): void;
|
|
584
|
+
static deserializeBinary(bytes: Uint8Array): SimpleResponse;
|
|
585
|
+
static deserializeBinaryFromReader(message: SimpleResponse, reader: jspb.BinaryReader): SimpleResponse;
|
|
586
|
+
}
|
|
587
|
+
|
|
588
|
+
export namespace SimpleResponse {
|
|
589
|
+
export type AsObject = {
|
|
590
|
+
textToSpeech: string,
|
|
591
|
+
ssml: string,
|
|
592
|
+
displayText: string,
|
|
593
|
+
}
|
|
594
|
+
}
|
|
595
|
+
|
|
596
|
+
|
|
597
|
+
export class SimpleResponses extends jspb.Message {
|
|
598
|
+
getSimpleResponsesList(): Array<Intent.Message.SimpleResponse>;
|
|
599
|
+
setSimpleResponsesList(value: Array<Intent.Message.SimpleResponse>): SimpleResponses;
|
|
600
|
+
clearSimpleResponsesList(): SimpleResponses;
|
|
601
|
+
addSimpleResponses(value?: Intent.Message.SimpleResponse, index?: number): Intent.Message.SimpleResponse;
|
|
602
|
+
|
|
603
|
+
serializeBinary(): Uint8Array;
|
|
604
|
+
toObject(includeInstance?: boolean): SimpleResponses.AsObject;
|
|
605
|
+
static toObject(includeInstance: boolean, msg: SimpleResponses): SimpleResponses.AsObject;
|
|
606
|
+
static serializeBinaryToWriter(message: SimpleResponses, writer: jspb.BinaryWriter): void;
|
|
607
|
+
static deserializeBinary(bytes: Uint8Array): SimpleResponses;
|
|
608
|
+
static deserializeBinaryFromReader(message: SimpleResponses, reader: jspb.BinaryReader): SimpleResponses;
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
export namespace SimpleResponses {
|
|
612
|
+
export type AsObject = {
|
|
613
|
+
simpleResponsesList: Array<Intent.Message.SimpleResponse.AsObject>,
|
|
614
|
+
}
|
|
615
|
+
}
|
|
616
|
+
|
|
617
|
+
|
|
618
|
+
export class BasicCard extends jspb.Message {
|
|
619
|
+
getTitle(): string;
|
|
620
|
+
setTitle(value: string): BasicCard;
|
|
621
|
+
|
|
622
|
+
getSubtitle(): string;
|
|
623
|
+
setSubtitle(value: string): BasicCard;
|
|
624
|
+
|
|
625
|
+
getFormattedText(): string;
|
|
626
|
+
setFormattedText(value: string): BasicCard;
|
|
627
|
+
|
|
628
|
+
getImage(): Intent.Message.Image | undefined;
|
|
629
|
+
setImage(value?: Intent.Message.Image): BasicCard;
|
|
630
|
+
hasImage(): boolean;
|
|
631
|
+
clearImage(): BasicCard;
|
|
632
|
+
|
|
633
|
+
getButtonsList(): Array<Intent.Message.BasicCard.Button>;
|
|
634
|
+
setButtonsList(value: Array<Intent.Message.BasicCard.Button>): BasicCard;
|
|
635
|
+
clearButtonsList(): BasicCard;
|
|
636
|
+
addButtons(value?: Intent.Message.BasicCard.Button, index?: number): Intent.Message.BasicCard.Button;
|
|
637
|
+
|
|
638
|
+
serializeBinary(): Uint8Array;
|
|
639
|
+
toObject(includeInstance?: boolean): BasicCard.AsObject;
|
|
640
|
+
static toObject(includeInstance: boolean, msg: BasicCard): BasicCard.AsObject;
|
|
641
|
+
static serializeBinaryToWriter(message: BasicCard, writer: jspb.BinaryWriter): void;
|
|
642
|
+
static deserializeBinary(bytes: Uint8Array): BasicCard;
|
|
643
|
+
static deserializeBinaryFromReader(message: BasicCard, reader: jspb.BinaryReader): BasicCard;
|
|
644
|
+
}
|
|
645
|
+
|
|
646
|
+
export namespace BasicCard {
|
|
647
|
+
export type AsObject = {
|
|
648
|
+
title: string,
|
|
649
|
+
subtitle: string,
|
|
650
|
+
formattedText: string,
|
|
651
|
+
image?: Intent.Message.Image.AsObject,
|
|
652
|
+
buttonsList: Array<Intent.Message.BasicCard.Button.AsObject>,
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
export class Button extends jspb.Message {
|
|
656
|
+
getTitle(): string;
|
|
657
|
+
setTitle(value: string): Button;
|
|
658
|
+
|
|
659
|
+
getOpenUriAction(): Intent.Message.BasicCard.Button.OpenUriAction | undefined;
|
|
660
|
+
setOpenUriAction(value?: Intent.Message.BasicCard.Button.OpenUriAction): Button;
|
|
661
|
+
hasOpenUriAction(): boolean;
|
|
662
|
+
clearOpenUriAction(): Button;
|
|
663
|
+
|
|
664
|
+
serializeBinary(): Uint8Array;
|
|
665
|
+
toObject(includeInstance?: boolean): Button.AsObject;
|
|
666
|
+
static toObject(includeInstance: boolean, msg: Button): Button.AsObject;
|
|
667
|
+
static serializeBinaryToWriter(message: Button, writer: jspb.BinaryWriter): void;
|
|
668
|
+
static deserializeBinary(bytes: Uint8Array): Button;
|
|
669
|
+
static deserializeBinaryFromReader(message: Button, reader: jspb.BinaryReader): Button;
|
|
670
|
+
}
|
|
671
|
+
|
|
672
|
+
export namespace Button {
|
|
673
|
+
export type AsObject = {
|
|
674
|
+
title: string,
|
|
675
|
+
openUriAction?: Intent.Message.BasicCard.Button.OpenUriAction.AsObject,
|
|
676
|
+
}
|
|
677
|
+
|
|
678
|
+
export class OpenUriAction extends jspb.Message {
|
|
679
|
+
getUri(): string;
|
|
680
|
+
setUri(value: string): OpenUriAction;
|
|
681
|
+
|
|
682
|
+
serializeBinary(): Uint8Array;
|
|
683
|
+
toObject(includeInstance?: boolean): OpenUriAction.AsObject;
|
|
684
|
+
static toObject(includeInstance: boolean, msg: OpenUriAction): OpenUriAction.AsObject;
|
|
685
|
+
static serializeBinaryToWriter(message: OpenUriAction, writer: jspb.BinaryWriter): void;
|
|
686
|
+
static deserializeBinary(bytes: Uint8Array): OpenUriAction;
|
|
687
|
+
static deserializeBinaryFromReader(message: OpenUriAction, reader: jspb.BinaryReader): OpenUriAction;
|
|
688
|
+
}
|
|
689
|
+
|
|
690
|
+
export namespace OpenUriAction {
|
|
691
|
+
export type AsObject = {
|
|
692
|
+
uri: string,
|
|
693
|
+
}
|
|
694
|
+
}
|
|
695
|
+
|
|
696
|
+
}
|
|
697
|
+
|
|
698
|
+
}
|
|
699
|
+
|
|
700
|
+
|
|
701
|
+
export class Suggestion extends jspb.Message {
|
|
702
|
+
getTitle(): string;
|
|
703
|
+
setTitle(value: string): Suggestion;
|
|
704
|
+
|
|
705
|
+
serializeBinary(): Uint8Array;
|
|
706
|
+
toObject(includeInstance?: boolean): Suggestion.AsObject;
|
|
707
|
+
static toObject(includeInstance: boolean, msg: Suggestion): Suggestion.AsObject;
|
|
708
|
+
static serializeBinaryToWriter(message: Suggestion, writer: jspb.BinaryWriter): void;
|
|
709
|
+
static deserializeBinary(bytes: Uint8Array): Suggestion;
|
|
710
|
+
static deserializeBinaryFromReader(message: Suggestion, reader: jspb.BinaryReader): Suggestion;
|
|
711
|
+
}
|
|
712
|
+
|
|
713
|
+
export namespace Suggestion {
|
|
714
|
+
export type AsObject = {
|
|
715
|
+
title: string,
|
|
716
|
+
}
|
|
717
|
+
}
|
|
718
|
+
|
|
719
|
+
|
|
720
|
+
export class Suggestions extends jspb.Message {
|
|
721
|
+
getSuggestionsList(): Array<Intent.Message.Suggestion>;
|
|
722
|
+
setSuggestionsList(value: Array<Intent.Message.Suggestion>): Suggestions;
|
|
723
|
+
clearSuggestionsList(): Suggestions;
|
|
724
|
+
addSuggestions(value?: Intent.Message.Suggestion, index?: number): Intent.Message.Suggestion;
|
|
725
|
+
|
|
726
|
+
serializeBinary(): Uint8Array;
|
|
727
|
+
toObject(includeInstance?: boolean): Suggestions.AsObject;
|
|
728
|
+
static toObject(includeInstance: boolean, msg: Suggestions): Suggestions.AsObject;
|
|
729
|
+
static serializeBinaryToWriter(message: Suggestions, writer: jspb.BinaryWriter): void;
|
|
730
|
+
static deserializeBinary(bytes: Uint8Array): Suggestions;
|
|
731
|
+
static deserializeBinaryFromReader(message: Suggestions, reader: jspb.BinaryReader): Suggestions;
|
|
732
|
+
}
|
|
733
|
+
|
|
734
|
+
export namespace Suggestions {
|
|
735
|
+
export type AsObject = {
|
|
736
|
+
suggestionsList: Array<Intent.Message.Suggestion.AsObject>,
|
|
737
|
+
}
|
|
738
|
+
}
|
|
739
|
+
|
|
740
|
+
|
|
741
|
+
export class LinkOutSuggestion extends jspb.Message {
|
|
742
|
+
getDestinationName(): string;
|
|
743
|
+
setDestinationName(value: string): LinkOutSuggestion;
|
|
744
|
+
|
|
745
|
+
getUri(): string;
|
|
746
|
+
setUri(value: string): LinkOutSuggestion;
|
|
747
|
+
|
|
748
|
+
serializeBinary(): Uint8Array;
|
|
749
|
+
toObject(includeInstance?: boolean): LinkOutSuggestion.AsObject;
|
|
750
|
+
static toObject(includeInstance: boolean, msg: LinkOutSuggestion): LinkOutSuggestion.AsObject;
|
|
751
|
+
static serializeBinaryToWriter(message: LinkOutSuggestion, writer: jspb.BinaryWriter): void;
|
|
752
|
+
static deserializeBinary(bytes: Uint8Array): LinkOutSuggestion;
|
|
753
|
+
static deserializeBinaryFromReader(message: LinkOutSuggestion, reader: jspb.BinaryReader): LinkOutSuggestion;
|
|
754
|
+
}
|
|
755
|
+
|
|
756
|
+
export namespace LinkOutSuggestion {
|
|
757
|
+
export type AsObject = {
|
|
758
|
+
destinationName: string,
|
|
759
|
+
uri: string,
|
|
760
|
+
}
|
|
761
|
+
}
|
|
762
|
+
|
|
763
|
+
|
|
764
|
+
export class ListSelect extends jspb.Message {
|
|
765
|
+
getTitle(): string;
|
|
766
|
+
setTitle(value: string): ListSelect;
|
|
767
|
+
|
|
768
|
+
getItemsList(): Array<Intent.Message.ListSelect.Item>;
|
|
769
|
+
setItemsList(value: Array<Intent.Message.ListSelect.Item>): ListSelect;
|
|
770
|
+
clearItemsList(): ListSelect;
|
|
771
|
+
addItems(value?: Intent.Message.ListSelect.Item, index?: number): Intent.Message.ListSelect.Item;
|
|
772
|
+
|
|
773
|
+
serializeBinary(): Uint8Array;
|
|
774
|
+
toObject(includeInstance?: boolean): ListSelect.AsObject;
|
|
775
|
+
static toObject(includeInstance: boolean, msg: ListSelect): ListSelect.AsObject;
|
|
776
|
+
static serializeBinaryToWriter(message: ListSelect, writer: jspb.BinaryWriter): void;
|
|
777
|
+
static deserializeBinary(bytes: Uint8Array): ListSelect;
|
|
778
|
+
static deserializeBinaryFromReader(message: ListSelect, reader: jspb.BinaryReader): ListSelect;
|
|
779
|
+
}
|
|
780
|
+
|
|
781
|
+
export namespace ListSelect {
|
|
782
|
+
export type AsObject = {
|
|
783
|
+
title: string,
|
|
784
|
+
itemsList: Array<Intent.Message.ListSelect.Item.AsObject>,
|
|
785
|
+
}
|
|
786
|
+
|
|
787
|
+
export class Item extends jspb.Message {
|
|
788
|
+
getInfo(): Intent.Message.SelectItemInfo | undefined;
|
|
789
|
+
setInfo(value?: Intent.Message.SelectItemInfo): Item;
|
|
790
|
+
hasInfo(): boolean;
|
|
791
|
+
clearInfo(): Item;
|
|
792
|
+
|
|
793
|
+
getTitle(): string;
|
|
794
|
+
setTitle(value: string): Item;
|
|
795
|
+
|
|
796
|
+
getDescription(): string;
|
|
797
|
+
setDescription(value: string): Item;
|
|
798
|
+
|
|
799
|
+
getImage(): Intent.Message.Image | undefined;
|
|
800
|
+
setImage(value?: Intent.Message.Image): Item;
|
|
801
|
+
hasImage(): boolean;
|
|
802
|
+
clearImage(): Item;
|
|
803
|
+
|
|
804
|
+
serializeBinary(): Uint8Array;
|
|
805
|
+
toObject(includeInstance?: boolean): Item.AsObject;
|
|
806
|
+
static toObject(includeInstance: boolean, msg: Item): Item.AsObject;
|
|
807
|
+
static serializeBinaryToWriter(message: Item, writer: jspb.BinaryWriter): void;
|
|
808
|
+
static deserializeBinary(bytes: Uint8Array): Item;
|
|
809
|
+
static deserializeBinaryFromReader(message: Item, reader: jspb.BinaryReader): Item;
|
|
810
|
+
}
|
|
811
|
+
|
|
812
|
+
export namespace Item {
|
|
813
|
+
export type AsObject = {
|
|
814
|
+
info?: Intent.Message.SelectItemInfo.AsObject,
|
|
815
|
+
title: string,
|
|
816
|
+
description: string,
|
|
817
|
+
image?: Intent.Message.Image.AsObject,
|
|
818
|
+
}
|
|
819
|
+
}
|
|
820
|
+
|
|
821
|
+
}
|
|
822
|
+
|
|
823
|
+
|
|
824
|
+
export class CarouselSelect extends jspb.Message {
|
|
825
|
+
getItemsList(): Array<Intent.Message.CarouselSelect.Item>;
|
|
826
|
+
setItemsList(value: Array<Intent.Message.CarouselSelect.Item>): CarouselSelect;
|
|
827
|
+
clearItemsList(): CarouselSelect;
|
|
828
|
+
addItems(value?: Intent.Message.CarouselSelect.Item, index?: number): Intent.Message.CarouselSelect.Item;
|
|
829
|
+
|
|
830
|
+
serializeBinary(): Uint8Array;
|
|
831
|
+
toObject(includeInstance?: boolean): CarouselSelect.AsObject;
|
|
832
|
+
static toObject(includeInstance: boolean, msg: CarouselSelect): CarouselSelect.AsObject;
|
|
833
|
+
static serializeBinaryToWriter(message: CarouselSelect, writer: jspb.BinaryWriter): void;
|
|
834
|
+
static deserializeBinary(bytes: Uint8Array): CarouselSelect;
|
|
835
|
+
static deserializeBinaryFromReader(message: CarouselSelect, reader: jspb.BinaryReader): CarouselSelect;
|
|
836
|
+
}
|
|
837
|
+
|
|
838
|
+
export namespace CarouselSelect {
|
|
839
|
+
export type AsObject = {
|
|
840
|
+
itemsList: Array<Intent.Message.CarouselSelect.Item.AsObject>,
|
|
841
|
+
}
|
|
842
|
+
|
|
843
|
+
export class Item extends jspb.Message {
|
|
844
|
+
getInfo(): Intent.Message.SelectItemInfo | undefined;
|
|
845
|
+
setInfo(value?: Intent.Message.SelectItemInfo): Item;
|
|
846
|
+
hasInfo(): boolean;
|
|
847
|
+
clearInfo(): Item;
|
|
848
|
+
|
|
849
|
+
getTitle(): string;
|
|
850
|
+
setTitle(value: string): Item;
|
|
851
|
+
|
|
852
|
+
getDescription(): string;
|
|
853
|
+
setDescription(value: string): Item;
|
|
854
|
+
|
|
855
|
+
getImage(): Intent.Message.Image | undefined;
|
|
856
|
+
setImage(value?: Intent.Message.Image): Item;
|
|
857
|
+
hasImage(): boolean;
|
|
858
|
+
clearImage(): Item;
|
|
859
|
+
|
|
860
|
+
serializeBinary(): Uint8Array;
|
|
861
|
+
toObject(includeInstance?: boolean): Item.AsObject;
|
|
862
|
+
static toObject(includeInstance: boolean, msg: Item): Item.AsObject;
|
|
863
|
+
static serializeBinaryToWriter(message: Item, writer: jspb.BinaryWriter): void;
|
|
864
|
+
static deserializeBinary(bytes: Uint8Array): Item;
|
|
865
|
+
static deserializeBinaryFromReader(message: Item, reader: jspb.BinaryReader): Item;
|
|
866
|
+
}
|
|
867
|
+
|
|
868
|
+
export namespace Item {
|
|
869
|
+
export type AsObject = {
|
|
870
|
+
info?: Intent.Message.SelectItemInfo.AsObject,
|
|
871
|
+
title: string,
|
|
872
|
+
description: string,
|
|
873
|
+
image?: Intent.Message.Image.AsObject,
|
|
874
|
+
}
|
|
875
|
+
}
|
|
876
|
+
|
|
877
|
+
}
|
|
878
|
+
|
|
879
|
+
|
|
880
|
+
export class HTMLText extends jspb.Message {
|
|
881
|
+
getTextList(): Array<string>;
|
|
882
|
+
setTextList(value: Array<string>): HTMLText;
|
|
883
|
+
clearTextList(): HTMLText;
|
|
884
|
+
addText(value: string, index?: number): HTMLText;
|
|
885
|
+
|
|
886
|
+
serializeBinary(): Uint8Array;
|
|
887
|
+
toObject(includeInstance?: boolean): HTMLText.AsObject;
|
|
888
|
+
static toObject(includeInstance: boolean, msg: HTMLText): HTMLText.AsObject;
|
|
889
|
+
static serializeBinaryToWriter(message: HTMLText, writer: jspb.BinaryWriter): void;
|
|
890
|
+
static deserializeBinary(bytes: Uint8Array): HTMLText;
|
|
891
|
+
static deserializeBinaryFromReader(message: HTMLText, reader: jspb.BinaryReader): HTMLText;
|
|
892
|
+
}
|
|
893
|
+
|
|
894
|
+
export namespace HTMLText {
|
|
895
|
+
export type AsObject = {
|
|
896
|
+
textList: Array<string>,
|
|
897
|
+
}
|
|
898
|
+
}
|
|
899
|
+
|
|
900
|
+
|
|
901
|
+
export class Video extends jspb.Message {
|
|
902
|
+
getUri(): string;
|
|
903
|
+
setUri(value: string): Video;
|
|
904
|
+
|
|
905
|
+
getAccessibilityText(): string;
|
|
906
|
+
setAccessibilityText(value: string): Video;
|
|
907
|
+
|
|
908
|
+
serializeBinary(): Uint8Array;
|
|
909
|
+
toObject(includeInstance?: boolean): Video.AsObject;
|
|
910
|
+
static toObject(includeInstance: boolean, msg: Video): Video.AsObject;
|
|
911
|
+
static serializeBinaryToWriter(message: Video, writer: jspb.BinaryWriter): void;
|
|
912
|
+
static deserializeBinary(bytes: Uint8Array): Video;
|
|
913
|
+
static deserializeBinaryFromReader(message: Video, reader: jspb.BinaryReader): Video;
|
|
914
|
+
}
|
|
915
|
+
|
|
916
|
+
export namespace Video {
|
|
917
|
+
export type AsObject = {
|
|
918
|
+
uri: string,
|
|
919
|
+
accessibilityText: string,
|
|
920
|
+
}
|
|
921
|
+
}
|
|
922
|
+
|
|
923
|
+
|
|
924
|
+
export class Audio extends jspb.Message {
|
|
925
|
+
getUri(): string;
|
|
926
|
+
setUri(value: string): Audio;
|
|
927
|
+
|
|
928
|
+
getAccessibilityText(): string;
|
|
929
|
+
setAccessibilityText(value: string): Audio;
|
|
930
|
+
|
|
931
|
+
serializeBinary(): Uint8Array;
|
|
932
|
+
toObject(includeInstance?: boolean): Audio.AsObject;
|
|
933
|
+
static toObject(includeInstance: boolean, msg: Audio): Audio.AsObject;
|
|
934
|
+
static serializeBinaryToWriter(message: Audio, writer: jspb.BinaryWriter): void;
|
|
935
|
+
static deserializeBinary(bytes: Uint8Array): Audio;
|
|
936
|
+
static deserializeBinaryFromReader(message: Audio, reader: jspb.BinaryReader): Audio;
|
|
937
|
+
}
|
|
938
|
+
|
|
939
|
+
export namespace Audio {
|
|
940
|
+
export type AsObject = {
|
|
941
|
+
uri: string,
|
|
942
|
+
accessibilityText: string,
|
|
943
|
+
}
|
|
944
|
+
}
|
|
945
|
+
|
|
946
|
+
|
|
947
|
+
export class SelectItemInfo extends jspb.Message {
|
|
948
|
+
getKey(): string;
|
|
949
|
+
setKey(value: string): SelectItemInfo;
|
|
950
|
+
|
|
951
|
+
getSynonymsList(): Array<string>;
|
|
952
|
+
setSynonymsList(value: Array<string>): SelectItemInfo;
|
|
953
|
+
clearSynonymsList(): SelectItemInfo;
|
|
954
|
+
addSynonyms(value: string, index?: number): SelectItemInfo;
|
|
955
|
+
|
|
956
|
+
serializeBinary(): Uint8Array;
|
|
957
|
+
toObject(includeInstance?: boolean): SelectItemInfo.AsObject;
|
|
958
|
+
static toObject(includeInstance: boolean, msg: SelectItemInfo): SelectItemInfo.AsObject;
|
|
959
|
+
static serializeBinaryToWriter(message: SelectItemInfo, writer: jspb.BinaryWriter): void;
|
|
960
|
+
static deserializeBinary(bytes: Uint8Array): SelectItemInfo;
|
|
961
|
+
static deserializeBinaryFromReader(message: SelectItemInfo, reader: jspb.BinaryReader): SelectItemInfo;
|
|
962
|
+
}
|
|
963
|
+
|
|
964
|
+
export namespace SelectItemInfo {
|
|
965
|
+
export type AsObject = {
|
|
966
|
+
key: string,
|
|
967
|
+
synonymsList: Array<string>,
|
|
968
|
+
}
|
|
969
|
+
}
|
|
970
|
+
|
|
971
|
+
|
|
972
|
+
export enum Platform {
|
|
973
|
+
PLATFORM_UNSPECIFIED = 0,
|
|
974
|
+
FACEBOOK = 1,
|
|
975
|
+
SLACK = 2,
|
|
976
|
+
TELEGRAM = 3,
|
|
977
|
+
KIK = 4,
|
|
978
|
+
SKYPE = 5,
|
|
979
|
+
LINE = 6,
|
|
980
|
+
VIBER = 7,
|
|
981
|
+
ACTIONS_ON_GOOGLE = 8,
|
|
982
|
+
PLACEHOLDER_1 = 9,
|
|
983
|
+
PLACEHOLDER_2 = 10,
|
|
984
|
+
PLACEHOLDER_3 = 11,
|
|
985
|
+
PLACEHOLDER_4 = 12,
|
|
986
|
+
PLACEHOLDER_5 = 13,
|
|
987
|
+
PLACEHOLDER_6 = 14,
|
|
988
|
+
PLACEHOLDER_7 = 15,
|
|
989
|
+
PLACEHOLDER_8 = 16,
|
|
990
|
+
PLACEHOLDER_9 = 17,
|
|
991
|
+
PLACEHOLDER_10 = 18,
|
|
992
|
+
PLACEHOLDER_11 = 19,
|
|
993
|
+
PLACEHOLDER_12 = 20,
|
|
994
|
+
PLACEHOLDER_13 = 21,
|
|
995
|
+
PLACEHOLDER_14 = 22,
|
|
996
|
+
PLACEHOLDER_15 = 23,
|
|
997
|
+
PLACEHOLDER_16 = 24,
|
|
998
|
+
PLACEHOLDER_17 = 25,
|
|
999
|
+
PLACEHOLDER_18 = 26,
|
|
1000
|
+
PLACEHOLDER_19 = 27,
|
|
1001
|
+
PLACEHOLDER_20 = 28,
|
|
1002
|
+
}
|
|
1003
|
+
|
|
1004
|
+
export enum MessageCase {
|
|
1005
|
+
MESSAGE_NOT_SET = 0,
|
|
1006
|
+
TEXT = 1,
|
|
1007
|
+
IMAGE = 2,
|
|
1008
|
+
QUICK_REPLIES = 3,
|
|
1009
|
+
CARD = 4,
|
|
1010
|
+
PAYLOAD = 5,
|
|
1011
|
+
SIMPLE_RESPONSES = 7,
|
|
1012
|
+
BASIC_CARD = 8,
|
|
1013
|
+
SUGGESTIONS = 9,
|
|
1014
|
+
LINK_OUT_SUGGESTION = 10,
|
|
1015
|
+
LIST_SELECT = 11,
|
|
1016
|
+
CAROUSEL_SELECT = 12,
|
|
1017
|
+
HTML_TEXT = 13,
|
|
1018
|
+
VIDEO = 14,
|
|
1019
|
+
AUDIO = 15,
|
|
1020
|
+
}
|
|
1021
|
+
}
|
|
1022
|
+
|
|
1023
|
+
|
|
1024
|
+
export class FollowupIntentInfo extends jspb.Message {
|
|
1025
|
+
getFollowupIntentName(): string;
|
|
1026
|
+
setFollowupIntentName(value: string): FollowupIntentInfo;
|
|
1027
|
+
|
|
1028
|
+
getParentFollowupIntentName(): string;
|
|
1029
|
+
setParentFollowupIntentName(value: string): FollowupIntentInfo;
|
|
1030
|
+
|
|
1031
|
+
serializeBinary(): Uint8Array;
|
|
1032
|
+
toObject(includeInstance?: boolean): FollowupIntentInfo.AsObject;
|
|
1033
|
+
static toObject(includeInstance: boolean, msg: FollowupIntentInfo): FollowupIntentInfo.AsObject;
|
|
1034
|
+
static serializeBinaryToWriter(message: FollowupIntentInfo, writer: jspb.BinaryWriter): void;
|
|
1035
|
+
static deserializeBinary(bytes: Uint8Array): FollowupIntentInfo;
|
|
1036
|
+
static deserializeBinaryFromReader(message: FollowupIntentInfo, reader: jspb.BinaryReader): FollowupIntentInfo;
|
|
1037
|
+
}
|
|
1038
|
+
|
|
1039
|
+
export namespace FollowupIntentInfo {
|
|
1040
|
+
export type AsObject = {
|
|
1041
|
+
followupIntentName: string,
|
|
1042
|
+
parentFollowupIntentName: string,
|
|
1043
|
+
}
|
|
1044
|
+
}
|
|
1045
|
+
|
|
1046
|
+
|
|
1047
|
+
export enum IntentStatus {
|
|
1048
|
+
ACTIVE = 0,
|
|
1049
|
+
INACTIVE = 1,
|
|
1050
|
+
}
|
|
1051
|
+
|
|
1052
|
+
export enum WebhookState {
|
|
1053
|
+
WEBHOOK_STATE_UNSPECIFIED = 0,
|
|
1054
|
+
WEBHOOK_STATE_ENABLED = 1,
|
|
1055
|
+
WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING = 2,
|
|
1056
|
+
}
|
|
1057
|
+
}
|
|
1058
|
+
|
|
1059
|
+
export class ListIntentsRequest extends jspb.Message {
|
|
1060
|
+
getParent(): string;
|
|
1061
|
+
setParent(value: string): ListIntentsRequest;
|
|
1062
|
+
|
|
1063
|
+
getLanguageCode(): string;
|
|
1064
|
+
setLanguageCode(value: string): ListIntentsRequest;
|
|
1065
|
+
|
|
1066
|
+
getIntentView(): IntentView;
|
|
1067
|
+
setIntentView(value: IntentView): ListIntentsRequest;
|
|
1068
|
+
|
|
1069
|
+
getPageToken(): string;
|
|
1070
|
+
setPageToken(value: string): ListIntentsRequest;
|
|
1071
|
+
|
|
1072
|
+
getFilterByCategory(): IntentCategory;
|
|
1073
|
+
setFilterByCategory(value: IntentCategory): ListIntentsRequest;
|
|
1074
|
+
|
|
1075
|
+
getSortByField(): IntentSorting | undefined;
|
|
1076
|
+
setSortByField(value?: IntentSorting): ListIntentsRequest;
|
|
1077
|
+
hasSortByField(): boolean;
|
|
1078
|
+
clearSortByField(): ListIntentsRequest;
|
|
1079
|
+
|
|
1080
|
+
getFilterByTagsList(): Array<string>;
|
|
1081
|
+
setFilterByTagsList(value: Array<string>): ListIntentsRequest;
|
|
1082
|
+
clearFilterByTagsList(): ListIntentsRequest;
|
|
1083
|
+
addFilterByTags(value: string, index?: number): ListIntentsRequest;
|
|
1084
|
+
|
|
1085
|
+
serializeBinary(): Uint8Array;
|
|
1086
|
+
toObject(includeInstance?: boolean): ListIntentsRequest.AsObject;
|
|
1087
|
+
static toObject(includeInstance: boolean, msg: ListIntentsRequest): ListIntentsRequest.AsObject;
|
|
1088
|
+
static serializeBinaryToWriter(message: ListIntentsRequest, writer: jspb.BinaryWriter): void;
|
|
1089
|
+
static deserializeBinary(bytes: Uint8Array): ListIntentsRequest;
|
|
1090
|
+
static deserializeBinaryFromReader(message: ListIntentsRequest, reader: jspb.BinaryReader): ListIntentsRequest;
|
|
1091
|
+
}
|
|
1092
|
+
|
|
1093
|
+
export namespace ListIntentsRequest {
|
|
1094
|
+
export type AsObject = {
|
|
1095
|
+
parent: string,
|
|
1096
|
+
languageCode: string,
|
|
1097
|
+
intentView: IntentView,
|
|
1098
|
+
pageToken: string,
|
|
1099
|
+
filterByCategory: IntentCategory,
|
|
1100
|
+
sortByField?: IntentSorting.AsObject,
|
|
1101
|
+
filterByTagsList: Array<string>,
|
|
1102
|
+
}
|
|
1103
|
+
}
|
|
1104
|
+
|
|
1105
|
+
export class ListIntentsResponse extends jspb.Message {
|
|
1106
|
+
getIntentsList(): Array<Intent>;
|
|
1107
|
+
setIntentsList(value: Array<Intent>): ListIntentsResponse;
|
|
1108
|
+
clearIntentsList(): ListIntentsResponse;
|
|
1109
|
+
addIntents(value?: Intent, index?: number): Intent;
|
|
1110
|
+
|
|
1111
|
+
getNextPageToken(): string;
|
|
1112
|
+
setNextPageToken(value: string): ListIntentsResponse;
|
|
1113
|
+
|
|
1114
|
+
serializeBinary(): Uint8Array;
|
|
1115
|
+
toObject(includeInstance?: boolean): ListIntentsResponse.AsObject;
|
|
1116
|
+
static toObject(includeInstance: boolean, msg: ListIntentsResponse): ListIntentsResponse.AsObject;
|
|
1117
|
+
static serializeBinaryToWriter(message: ListIntentsResponse, writer: jspb.BinaryWriter): void;
|
|
1118
|
+
static deserializeBinary(bytes: Uint8Array): ListIntentsResponse;
|
|
1119
|
+
static deserializeBinaryFromReader(message: ListIntentsResponse, reader: jspb.BinaryReader): ListIntentsResponse;
|
|
1120
|
+
}
|
|
1121
|
+
|
|
1122
|
+
export namespace ListIntentsResponse {
|
|
1123
|
+
export type AsObject = {
|
|
1124
|
+
intentsList: Array<Intent.AsObject>,
|
|
1125
|
+
nextPageToken: string,
|
|
1126
|
+
}
|
|
1127
|
+
}
|
|
1128
|
+
|
|
1129
|
+
export class GetIntentRequest extends jspb.Message {
|
|
1130
|
+
getName(): string;
|
|
1131
|
+
setName(value: string): GetIntentRequest;
|
|
1132
|
+
|
|
1133
|
+
getLanguageCode(): string;
|
|
1134
|
+
setLanguageCode(value: string): GetIntentRequest;
|
|
1135
|
+
|
|
1136
|
+
getIntentView(): IntentView;
|
|
1137
|
+
setIntentView(value: IntentView): GetIntentRequest;
|
|
1138
|
+
|
|
1139
|
+
getPageToken(): string;
|
|
1140
|
+
setPageToken(value: string): GetIntentRequest;
|
|
1141
|
+
|
|
1142
|
+
serializeBinary(): Uint8Array;
|
|
1143
|
+
toObject(includeInstance?: boolean): GetIntentRequest.AsObject;
|
|
1144
|
+
static toObject(includeInstance: boolean, msg: GetIntentRequest): GetIntentRequest.AsObject;
|
|
1145
|
+
static serializeBinaryToWriter(message: GetIntentRequest, writer: jspb.BinaryWriter): void;
|
|
1146
|
+
static deserializeBinary(bytes: Uint8Array): GetIntentRequest;
|
|
1147
|
+
static deserializeBinaryFromReader(message: GetIntentRequest, reader: jspb.BinaryReader): GetIntentRequest;
|
|
1148
|
+
}
|
|
1149
|
+
|
|
1150
|
+
export namespace GetIntentRequest {
|
|
1151
|
+
export type AsObject = {
|
|
1152
|
+
name: string,
|
|
1153
|
+
languageCode: string,
|
|
1154
|
+
intentView: IntentView,
|
|
1155
|
+
pageToken: string,
|
|
1156
|
+
}
|
|
1157
|
+
}
|
|
1158
|
+
|
|
1159
|
+
export class CreateIntentRequest extends jspb.Message {
|
|
1160
|
+
getParent(): string;
|
|
1161
|
+
setParent(value: string): CreateIntentRequest;
|
|
1162
|
+
|
|
1163
|
+
getIntent(): Intent | undefined;
|
|
1164
|
+
setIntent(value?: Intent): CreateIntentRequest;
|
|
1165
|
+
hasIntent(): boolean;
|
|
1166
|
+
clearIntent(): CreateIntentRequest;
|
|
1167
|
+
|
|
1168
|
+
getLanguageCode(): string;
|
|
1169
|
+
setLanguageCode(value: string): CreateIntentRequest;
|
|
1170
|
+
|
|
1171
|
+
getIntentView(): IntentView;
|
|
1172
|
+
setIntentView(value: IntentView): CreateIntentRequest;
|
|
1173
|
+
|
|
1174
|
+
serializeBinary(): Uint8Array;
|
|
1175
|
+
toObject(includeInstance?: boolean): CreateIntentRequest.AsObject;
|
|
1176
|
+
static toObject(includeInstance: boolean, msg: CreateIntentRequest): CreateIntentRequest.AsObject;
|
|
1177
|
+
static serializeBinaryToWriter(message: CreateIntentRequest, writer: jspb.BinaryWriter): void;
|
|
1178
|
+
static deserializeBinary(bytes: Uint8Array): CreateIntentRequest;
|
|
1179
|
+
static deserializeBinaryFromReader(message: CreateIntentRequest, reader: jspb.BinaryReader): CreateIntentRequest;
|
|
1180
|
+
}
|
|
1181
|
+
|
|
1182
|
+
export namespace CreateIntentRequest {
|
|
1183
|
+
export type AsObject = {
|
|
1184
|
+
parent: string,
|
|
1185
|
+
intent?: Intent.AsObject,
|
|
1186
|
+
languageCode: string,
|
|
1187
|
+
intentView: IntentView,
|
|
1188
|
+
}
|
|
1189
|
+
}
|
|
1190
|
+
|
|
1191
|
+
export class UpdateIntentRequest extends jspb.Message {
|
|
1192
|
+
getIntent(): Intent | undefined;
|
|
1193
|
+
setIntent(value?: Intent): UpdateIntentRequest;
|
|
1194
|
+
hasIntent(): boolean;
|
|
1195
|
+
clearIntent(): UpdateIntentRequest;
|
|
1196
|
+
|
|
1197
|
+
getLanguageCode(): string;
|
|
1198
|
+
setLanguageCode(value: string): UpdateIntentRequest;
|
|
1199
|
+
|
|
1200
|
+
getUpdateMask(): google_protobuf_field_mask_pb.FieldMask | undefined;
|
|
1201
|
+
setUpdateMask(value?: google_protobuf_field_mask_pb.FieldMask): UpdateIntentRequest;
|
|
1202
|
+
hasUpdateMask(): boolean;
|
|
1203
|
+
clearUpdateMask(): UpdateIntentRequest;
|
|
1204
|
+
|
|
1205
|
+
getIntentView(): IntentView;
|
|
1206
|
+
setIntentView(value: IntentView): UpdateIntentRequest;
|
|
1207
|
+
|
|
1208
|
+
serializeBinary(): Uint8Array;
|
|
1209
|
+
toObject(includeInstance?: boolean): UpdateIntentRequest.AsObject;
|
|
1210
|
+
static toObject(includeInstance: boolean, msg: UpdateIntentRequest): UpdateIntentRequest.AsObject;
|
|
1211
|
+
static serializeBinaryToWriter(message: UpdateIntentRequest, writer: jspb.BinaryWriter): void;
|
|
1212
|
+
static deserializeBinary(bytes: Uint8Array): UpdateIntentRequest;
|
|
1213
|
+
static deserializeBinaryFromReader(message: UpdateIntentRequest, reader: jspb.BinaryReader): UpdateIntentRequest;
|
|
1214
|
+
}
|
|
1215
|
+
|
|
1216
|
+
export namespace UpdateIntentRequest {
|
|
1217
|
+
export type AsObject = {
|
|
1218
|
+
intent?: Intent.AsObject,
|
|
1219
|
+
languageCode: string,
|
|
1220
|
+
updateMask?: google_protobuf_field_mask_pb.FieldMask.AsObject,
|
|
1221
|
+
intentView: IntentView,
|
|
1222
|
+
}
|
|
1223
|
+
}
|
|
1224
|
+
|
|
1225
|
+
export class DeleteIntentRequest extends jspb.Message {
|
|
1226
|
+
getName(): string;
|
|
1227
|
+
setName(value: string): DeleteIntentRequest;
|
|
1228
|
+
|
|
1229
|
+
serializeBinary(): Uint8Array;
|
|
1230
|
+
toObject(includeInstance?: boolean): DeleteIntentRequest.AsObject;
|
|
1231
|
+
static toObject(includeInstance: boolean, msg: DeleteIntentRequest): DeleteIntentRequest.AsObject;
|
|
1232
|
+
static serializeBinaryToWriter(message: DeleteIntentRequest, writer: jspb.BinaryWriter): void;
|
|
1233
|
+
static deserializeBinary(bytes: Uint8Array): DeleteIntentRequest;
|
|
1234
|
+
static deserializeBinaryFromReader(message: DeleteIntentRequest, reader: jspb.BinaryReader): DeleteIntentRequest;
|
|
1235
|
+
}
|
|
1236
|
+
|
|
1237
|
+
export namespace DeleteIntentRequest {
|
|
1238
|
+
export type AsObject = {
|
|
1239
|
+
name: string,
|
|
1240
|
+
}
|
|
1241
|
+
}
|
|
1242
|
+
|
|
1243
|
+
export class BatchUpdateIntentsRequest extends jspb.Message {
|
|
1244
|
+
getParent(): string;
|
|
1245
|
+
setParent(value: string): BatchUpdateIntentsRequest;
|
|
1246
|
+
|
|
1247
|
+
getIntentBatchUri(): string;
|
|
1248
|
+
setIntentBatchUri(value: string): BatchUpdateIntentsRequest;
|
|
1249
|
+
|
|
1250
|
+
getIntentBatchInline(): IntentBatch | undefined;
|
|
1251
|
+
setIntentBatchInline(value?: IntentBatch): BatchUpdateIntentsRequest;
|
|
1252
|
+
hasIntentBatchInline(): boolean;
|
|
1253
|
+
clearIntentBatchInline(): BatchUpdateIntentsRequest;
|
|
1254
|
+
|
|
1255
|
+
getLanguageCode(): string;
|
|
1256
|
+
setLanguageCode(value: string): BatchUpdateIntentsRequest;
|
|
1257
|
+
|
|
1258
|
+
getUpdateMask(): google_protobuf_field_mask_pb.FieldMask | undefined;
|
|
1259
|
+
setUpdateMask(value?: google_protobuf_field_mask_pb.FieldMask): BatchUpdateIntentsRequest;
|
|
1260
|
+
hasUpdateMask(): boolean;
|
|
1261
|
+
clearUpdateMask(): BatchUpdateIntentsRequest;
|
|
1262
|
+
|
|
1263
|
+
getIntentView(): IntentView;
|
|
1264
|
+
setIntentView(value: IntentView): BatchUpdateIntentsRequest;
|
|
1265
|
+
|
|
1266
|
+
getIntentBatchCase(): BatchUpdateIntentsRequest.IntentBatchCase;
|
|
1267
|
+
|
|
1268
|
+
serializeBinary(): Uint8Array;
|
|
1269
|
+
toObject(includeInstance?: boolean): BatchUpdateIntentsRequest.AsObject;
|
|
1270
|
+
static toObject(includeInstance: boolean, msg: BatchUpdateIntentsRequest): BatchUpdateIntentsRequest.AsObject;
|
|
1271
|
+
static serializeBinaryToWriter(message: BatchUpdateIntentsRequest, writer: jspb.BinaryWriter): void;
|
|
1272
|
+
static deserializeBinary(bytes: Uint8Array): BatchUpdateIntentsRequest;
|
|
1273
|
+
static deserializeBinaryFromReader(message: BatchUpdateIntentsRequest, reader: jspb.BinaryReader): BatchUpdateIntentsRequest;
|
|
1274
|
+
}
|
|
1275
|
+
|
|
1276
|
+
export namespace BatchUpdateIntentsRequest {
|
|
1277
|
+
export type AsObject = {
|
|
1278
|
+
parent: string,
|
|
1279
|
+
intentBatchUri: string,
|
|
1280
|
+
intentBatchInline?: IntentBatch.AsObject,
|
|
1281
|
+
languageCode: string,
|
|
1282
|
+
updateMask?: google_protobuf_field_mask_pb.FieldMask.AsObject,
|
|
1283
|
+
intentView: IntentView,
|
|
1284
|
+
}
|
|
1285
|
+
|
|
1286
|
+
export enum IntentBatchCase {
|
|
1287
|
+
INTENT_BATCH_NOT_SET = 0,
|
|
1288
|
+
INTENT_BATCH_URI = 2,
|
|
1289
|
+
INTENT_BATCH_INLINE = 3,
|
|
1290
|
+
}
|
|
1291
|
+
}
|
|
1292
|
+
|
|
1293
|
+
export class BatchUpdateIntentsResponse extends jspb.Message {
|
|
1294
|
+
getIntentsList(): Array<Intent>;
|
|
1295
|
+
setIntentsList(value: Array<Intent>): BatchUpdateIntentsResponse;
|
|
1296
|
+
clearIntentsList(): BatchUpdateIntentsResponse;
|
|
1297
|
+
addIntents(value?: Intent, index?: number): Intent;
|
|
1298
|
+
|
|
1299
|
+
serializeBinary(): Uint8Array;
|
|
1300
|
+
toObject(includeInstance?: boolean): BatchUpdateIntentsResponse.AsObject;
|
|
1301
|
+
static toObject(includeInstance: boolean, msg: BatchUpdateIntentsResponse): BatchUpdateIntentsResponse.AsObject;
|
|
1302
|
+
static serializeBinaryToWriter(message: BatchUpdateIntentsResponse, writer: jspb.BinaryWriter): void;
|
|
1303
|
+
static deserializeBinary(bytes: Uint8Array): BatchUpdateIntentsResponse;
|
|
1304
|
+
static deserializeBinaryFromReader(message: BatchUpdateIntentsResponse, reader: jspb.BinaryReader): BatchUpdateIntentsResponse;
|
|
1305
|
+
}
|
|
1306
|
+
|
|
1307
|
+
export namespace BatchUpdateIntentsResponse {
|
|
1308
|
+
export type AsObject = {
|
|
1309
|
+
intentsList: Array<Intent.AsObject>,
|
|
1310
|
+
}
|
|
1311
|
+
}
|
|
1312
|
+
|
|
1313
|
+
export class BatchDeleteIntentsRequest extends jspb.Message {
|
|
1314
|
+
getParent(): string;
|
|
1315
|
+
setParent(value: string): BatchDeleteIntentsRequest;
|
|
1316
|
+
|
|
1317
|
+
getIntentsList(): Array<Intent>;
|
|
1318
|
+
setIntentsList(value: Array<Intent>): BatchDeleteIntentsRequest;
|
|
1319
|
+
clearIntentsList(): BatchDeleteIntentsRequest;
|
|
1320
|
+
addIntents(value?: Intent, index?: number): Intent;
|
|
1321
|
+
|
|
1322
|
+
serializeBinary(): Uint8Array;
|
|
1323
|
+
toObject(includeInstance?: boolean): BatchDeleteIntentsRequest.AsObject;
|
|
1324
|
+
static toObject(includeInstance: boolean, msg: BatchDeleteIntentsRequest): BatchDeleteIntentsRequest.AsObject;
|
|
1325
|
+
static serializeBinaryToWriter(message: BatchDeleteIntentsRequest, writer: jspb.BinaryWriter): void;
|
|
1326
|
+
static deserializeBinary(bytes: Uint8Array): BatchDeleteIntentsRequest;
|
|
1327
|
+
static deserializeBinaryFromReader(message: BatchDeleteIntentsRequest, reader: jspb.BinaryReader): BatchDeleteIntentsRequest;
|
|
1328
|
+
}
|
|
1329
|
+
|
|
1330
|
+
export namespace BatchDeleteIntentsRequest {
|
|
1331
|
+
export type AsObject = {
|
|
1332
|
+
parent: string,
|
|
1333
|
+
intentsList: Array<Intent.AsObject>,
|
|
1334
|
+
}
|
|
1335
|
+
}
|
|
1336
|
+
|
|
1337
|
+
export class IntentBatch extends jspb.Message {
|
|
1338
|
+
getIntentsList(): Array<Intent>;
|
|
1339
|
+
setIntentsList(value: Array<Intent>): IntentBatch;
|
|
1340
|
+
clearIntentsList(): IntentBatch;
|
|
1341
|
+
addIntents(value?: Intent, index?: number): Intent;
|
|
1342
|
+
|
|
1343
|
+
serializeBinary(): Uint8Array;
|
|
1344
|
+
toObject(includeInstance?: boolean): IntentBatch.AsObject;
|
|
1345
|
+
static toObject(includeInstance: boolean, msg: IntentBatch): IntentBatch.AsObject;
|
|
1346
|
+
static serializeBinaryToWriter(message: IntentBatch, writer: jspb.BinaryWriter): void;
|
|
1347
|
+
static deserializeBinary(bytes: Uint8Array): IntentBatch;
|
|
1348
|
+
static deserializeBinaryFromReader(message: IntentBatch, reader: jspb.BinaryReader): IntentBatch;
|
|
1349
|
+
}
|
|
1350
|
+
|
|
1351
|
+
export namespace IntentBatch {
|
|
1352
|
+
export type AsObject = {
|
|
1353
|
+
intentsList: Array<Intent.AsObject>,
|
|
1354
|
+
}
|
|
1355
|
+
}
|
|
1356
|
+
|
|
1357
|
+
export class IntentSorting extends jspb.Message {
|
|
1358
|
+
getSortingField(): IntentSorting.IntentSortingField;
|
|
1359
|
+
setSortingField(value: IntentSorting.IntentSortingField): IntentSorting;
|
|
1360
|
+
|
|
1361
|
+
getSortingMode(): ondewo_nlu_common_pb.SortingMode;
|
|
1362
|
+
setSortingMode(value: ondewo_nlu_common_pb.SortingMode): IntentSorting;
|
|
1363
|
+
|
|
1364
|
+
serializeBinary(): Uint8Array;
|
|
1365
|
+
toObject(includeInstance?: boolean): IntentSorting.AsObject;
|
|
1366
|
+
static toObject(includeInstance: boolean, msg: IntentSorting): IntentSorting.AsObject;
|
|
1367
|
+
static serializeBinaryToWriter(message: IntentSorting, writer: jspb.BinaryWriter): void;
|
|
1368
|
+
static deserializeBinary(bytes: Uint8Array): IntentSorting;
|
|
1369
|
+
static deserializeBinaryFromReader(message: IntentSorting, reader: jspb.BinaryReader): IntentSorting;
|
|
1370
|
+
}
|
|
1371
|
+
|
|
1372
|
+
export namespace IntentSorting {
|
|
1373
|
+
export type AsObject = {
|
|
1374
|
+
sortingField: IntentSorting.IntentSortingField,
|
|
1375
|
+
sortingMode: ondewo_nlu_common_pb.SortingMode,
|
|
1376
|
+
}
|
|
1377
|
+
|
|
1378
|
+
export enum IntentSortingField {
|
|
1379
|
+
NO_INTENT_SORTING = 0,
|
|
1380
|
+
SORT_INTENT_BY_NAME = 1,
|
|
1381
|
+
SORT_INTENT_BY_CREATION_DATE = 2,
|
|
1382
|
+
SORT_INTENT_BY_LAST_UPDATED = 3,
|
|
1383
|
+
SORT_INTENT_BY_USERSAYS_COUNT = 4,
|
|
1384
|
+
SORT_INTENT_BY_START_DATE = 5,
|
|
1385
|
+
SORT_INTENT_BY_END_DATE = 6,
|
|
1386
|
+
}
|
|
1387
|
+
}
|
|
1388
|
+
|
|
1389
|
+
export class IntentTagRequest extends jspb.Message {
|
|
1390
|
+
getIntentName(): string;
|
|
1391
|
+
setIntentName(value: string): IntentTagRequest;
|
|
1392
|
+
|
|
1393
|
+
getTagsList(): Array<string>;
|
|
1394
|
+
setTagsList(value: Array<string>): IntentTagRequest;
|
|
1395
|
+
clearTagsList(): IntentTagRequest;
|
|
1396
|
+
addTags(value: string, index?: number): IntentTagRequest;
|
|
1397
|
+
|
|
1398
|
+
serializeBinary(): Uint8Array;
|
|
1399
|
+
toObject(includeInstance?: boolean): IntentTagRequest.AsObject;
|
|
1400
|
+
static toObject(includeInstance: boolean, msg: IntentTagRequest): IntentTagRequest.AsObject;
|
|
1401
|
+
static serializeBinaryToWriter(message: IntentTagRequest, writer: jspb.BinaryWriter): void;
|
|
1402
|
+
static deserializeBinary(bytes: Uint8Array): IntentTagRequest;
|
|
1403
|
+
static deserializeBinaryFromReader(message: IntentTagRequest, reader: jspb.BinaryReader): IntentTagRequest;
|
|
1404
|
+
}
|
|
1405
|
+
|
|
1406
|
+
export namespace IntentTagRequest {
|
|
1407
|
+
export type AsObject = {
|
|
1408
|
+
intentName: string,
|
|
1409
|
+
tagsList: Array<string>,
|
|
1410
|
+
}
|
|
1411
|
+
}
|
|
1412
|
+
|
|
1413
|
+
export class GetIntentTagsRequest extends jspb.Message {
|
|
1414
|
+
getIntentName(): string;
|
|
1415
|
+
setIntentName(value: string): GetIntentTagsRequest;
|
|
1416
|
+
|
|
1417
|
+
serializeBinary(): Uint8Array;
|
|
1418
|
+
toObject(includeInstance?: boolean): GetIntentTagsRequest.AsObject;
|
|
1419
|
+
static toObject(includeInstance: boolean, msg: GetIntentTagsRequest): GetIntentTagsRequest.AsObject;
|
|
1420
|
+
static serializeBinaryToWriter(message: GetIntentTagsRequest, writer: jspb.BinaryWriter): void;
|
|
1421
|
+
static deserializeBinary(bytes: Uint8Array): GetIntentTagsRequest;
|
|
1422
|
+
static deserializeBinaryFromReader(message: GetIntentTagsRequest, reader: jspb.BinaryReader): GetIntentTagsRequest;
|
|
1423
|
+
}
|
|
1424
|
+
|
|
1425
|
+
export namespace GetIntentTagsRequest {
|
|
1426
|
+
export type AsObject = {
|
|
1427
|
+
intentName: string,
|
|
1428
|
+
}
|
|
1429
|
+
}
|
|
1430
|
+
|
|
1431
|
+
export class GetIntentTagsResponse extends jspb.Message {
|
|
1432
|
+
getIntentTagsList(): Array<string>;
|
|
1433
|
+
setIntentTagsList(value: Array<string>): GetIntentTagsResponse;
|
|
1434
|
+
clearIntentTagsList(): GetIntentTagsResponse;
|
|
1435
|
+
addIntentTags(value: string, index?: number): GetIntentTagsResponse;
|
|
1436
|
+
|
|
1437
|
+
serializeBinary(): Uint8Array;
|
|
1438
|
+
toObject(includeInstance?: boolean): GetIntentTagsResponse.AsObject;
|
|
1439
|
+
static toObject(includeInstance: boolean, msg: GetIntentTagsResponse): GetIntentTagsResponse.AsObject;
|
|
1440
|
+
static serializeBinaryToWriter(message: GetIntentTagsResponse, writer: jspb.BinaryWriter): void;
|
|
1441
|
+
static deserializeBinary(bytes: Uint8Array): GetIntentTagsResponse;
|
|
1442
|
+
static deserializeBinaryFromReader(message: GetIntentTagsResponse, reader: jspb.BinaryReader): GetIntentTagsResponse;
|
|
1443
|
+
}
|
|
1444
|
+
|
|
1445
|
+
export namespace GetIntentTagsResponse {
|
|
1446
|
+
export type AsObject = {
|
|
1447
|
+
intentTagsList: Array<string>,
|
|
1448
|
+
}
|
|
1449
|
+
}
|
|
1450
|
+
|
|
1451
|
+
export class GetAllIntentTagsRequest extends jspb.Message {
|
|
1452
|
+
getParent(): string;
|
|
1453
|
+
setParent(value: string): GetAllIntentTagsRequest;
|
|
1454
|
+
|
|
1455
|
+
serializeBinary(): Uint8Array;
|
|
1456
|
+
toObject(includeInstance?: boolean): GetAllIntentTagsRequest.AsObject;
|
|
1457
|
+
static toObject(includeInstance: boolean, msg: GetAllIntentTagsRequest): GetAllIntentTagsRequest.AsObject;
|
|
1458
|
+
static serializeBinaryToWriter(message: GetAllIntentTagsRequest, writer: jspb.BinaryWriter): void;
|
|
1459
|
+
static deserializeBinary(bytes: Uint8Array): GetAllIntentTagsRequest;
|
|
1460
|
+
static deserializeBinaryFromReader(message: GetAllIntentTagsRequest, reader: jspb.BinaryReader): GetAllIntentTagsRequest;
|
|
1461
|
+
}
|
|
1462
|
+
|
|
1463
|
+
export namespace GetAllIntentTagsRequest {
|
|
1464
|
+
export type AsObject = {
|
|
1465
|
+
parent: string,
|
|
1466
|
+
}
|
|
1467
|
+
}
|
|
1468
|
+
|
|
1469
|
+
export class BatchUpdateTrainingPhrasesRequest extends jspb.Message {
|
|
1470
|
+
getTrainingPhrasesList(): Array<Intent.TrainingPhrase>;
|
|
1471
|
+
setTrainingPhrasesList(value: Array<Intent.TrainingPhrase>): BatchUpdateTrainingPhrasesRequest;
|
|
1472
|
+
clearTrainingPhrasesList(): BatchUpdateTrainingPhrasesRequest;
|
|
1473
|
+
addTrainingPhrases(value?: Intent.TrainingPhrase, index?: number): Intent.TrainingPhrase;
|
|
1474
|
+
|
|
1475
|
+
serializeBinary(): Uint8Array;
|
|
1476
|
+
toObject(includeInstance?: boolean): BatchUpdateTrainingPhrasesRequest.AsObject;
|
|
1477
|
+
static toObject(includeInstance: boolean, msg: BatchUpdateTrainingPhrasesRequest): BatchUpdateTrainingPhrasesRequest.AsObject;
|
|
1478
|
+
static serializeBinaryToWriter(message: BatchUpdateTrainingPhrasesRequest, writer: jspb.BinaryWriter): void;
|
|
1479
|
+
static deserializeBinary(bytes: Uint8Array): BatchUpdateTrainingPhrasesRequest;
|
|
1480
|
+
static deserializeBinaryFromReader(message: BatchUpdateTrainingPhrasesRequest, reader: jspb.BinaryReader): BatchUpdateTrainingPhrasesRequest;
|
|
1481
|
+
}
|
|
1482
|
+
|
|
1483
|
+
export namespace BatchUpdateTrainingPhrasesRequest {
|
|
1484
|
+
export type AsObject = {
|
|
1485
|
+
trainingPhrasesList: Array<Intent.TrainingPhrase.AsObject>,
|
|
1486
|
+
}
|
|
1487
|
+
}
|
|
1488
|
+
|
|
1489
|
+
export class TrainingPhraseStatus extends jspb.Message {
|
|
1490
|
+
getTrainingPhrase(): Intent.TrainingPhrase | undefined;
|
|
1491
|
+
setTrainingPhrase(value?: Intent.TrainingPhrase): TrainingPhraseStatus;
|
|
1492
|
+
hasTrainingPhrase(): boolean;
|
|
1493
|
+
clearTrainingPhrase(): TrainingPhraseStatus;
|
|
1494
|
+
|
|
1495
|
+
getErrorMessage(): string;
|
|
1496
|
+
setErrorMessage(value: string): TrainingPhraseStatus;
|
|
1497
|
+
|
|
1498
|
+
getPhraseOrStatusCase(): TrainingPhraseStatus.PhraseOrStatusCase;
|
|
1499
|
+
|
|
1500
|
+
serializeBinary(): Uint8Array;
|
|
1501
|
+
toObject(includeInstance?: boolean): TrainingPhraseStatus.AsObject;
|
|
1502
|
+
static toObject(includeInstance: boolean, msg: TrainingPhraseStatus): TrainingPhraseStatus.AsObject;
|
|
1503
|
+
static serializeBinaryToWriter(message: TrainingPhraseStatus, writer: jspb.BinaryWriter): void;
|
|
1504
|
+
static deserializeBinary(bytes: Uint8Array): TrainingPhraseStatus;
|
|
1505
|
+
static deserializeBinaryFromReader(message: TrainingPhraseStatus, reader: jspb.BinaryReader): TrainingPhraseStatus;
|
|
1506
|
+
}
|
|
1507
|
+
|
|
1508
|
+
export namespace TrainingPhraseStatus {
|
|
1509
|
+
export type AsObject = {
|
|
1510
|
+
trainingPhrase?: Intent.TrainingPhrase.AsObject,
|
|
1511
|
+
errorMessage: string,
|
|
1512
|
+
}
|
|
1513
|
+
|
|
1514
|
+
export enum PhraseOrStatusCase {
|
|
1515
|
+
PHRASE_OR_STATUS_NOT_SET = 0,
|
|
1516
|
+
TRAINING_PHRASE = 1,
|
|
1517
|
+
ERROR_MESSAGE = 2,
|
|
1518
|
+
}
|
|
1519
|
+
}
|
|
1520
|
+
|
|
1521
|
+
export class BatchTrainingPhrasesStatusResponse extends jspb.Message {
|
|
1522
|
+
getTrainingPhraseStatusesList(): Array<TrainingPhraseStatus>;
|
|
1523
|
+
setTrainingPhraseStatusesList(value: Array<TrainingPhraseStatus>): BatchTrainingPhrasesStatusResponse;
|
|
1524
|
+
clearTrainingPhraseStatusesList(): BatchTrainingPhrasesStatusResponse;
|
|
1525
|
+
addTrainingPhraseStatuses(value?: TrainingPhraseStatus, index?: number): TrainingPhraseStatus;
|
|
1526
|
+
|
|
1527
|
+
getHasErrors(): boolean;
|
|
1528
|
+
setHasErrors(value: boolean): BatchTrainingPhrasesStatusResponse;
|
|
1529
|
+
|
|
1530
|
+
serializeBinary(): Uint8Array;
|
|
1531
|
+
toObject(includeInstance?: boolean): BatchTrainingPhrasesStatusResponse.AsObject;
|
|
1532
|
+
static toObject(includeInstance: boolean, msg: BatchTrainingPhrasesStatusResponse): BatchTrainingPhrasesStatusResponse.AsObject;
|
|
1533
|
+
static serializeBinaryToWriter(message: BatchTrainingPhrasesStatusResponse, writer: jspb.BinaryWriter): void;
|
|
1534
|
+
static deserializeBinary(bytes: Uint8Array): BatchTrainingPhrasesStatusResponse;
|
|
1535
|
+
static deserializeBinaryFromReader(message: BatchTrainingPhrasesStatusResponse, reader: jspb.BinaryReader): BatchTrainingPhrasesStatusResponse;
|
|
1536
|
+
}
|
|
1537
|
+
|
|
1538
|
+
export namespace BatchTrainingPhrasesStatusResponse {
|
|
1539
|
+
export type AsObject = {
|
|
1540
|
+
trainingPhraseStatusesList: Array<TrainingPhraseStatus.AsObject>,
|
|
1541
|
+
hasErrors: boolean,
|
|
1542
|
+
}
|
|
1543
|
+
}
|
|
1544
|
+
|
|
1545
|
+
export class BatchCreateTrainingPhrasesRequest extends jspb.Message {
|
|
1546
|
+
getTrainingPhraseRequestsList(): Array<BatchCreateTrainingPhrasesRequest.CreateTrainingPhraseRequest>;
|
|
1547
|
+
setTrainingPhraseRequestsList(value: Array<BatchCreateTrainingPhrasesRequest.CreateTrainingPhraseRequest>): BatchCreateTrainingPhrasesRequest;
|
|
1548
|
+
clearTrainingPhraseRequestsList(): BatchCreateTrainingPhrasesRequest;
|
|
1549
|
+
addTrainingPhraseRequests(value?: BatchCreateTrainingPhrasesRequest.CreateTrainingPhraseRequest, index?: number): BatchCreateTrainingPhrasesRequest.CreateTrainingPhraseRequest;
|
|
1550
|
+
|
|
1551
|
+
serializeBinary(): Uint8Array;
|
|
1552
|
+
toObject(includeInstance?: boolean): BatchCreateTrainingPhrasesRequest.AsObject;
|
|
1553
|
+
static toObject(includeInstance: boolean, msg: BatchCreateTrainingPhrasesRequest): BatchCreateTrainingPhrasesRequest.AsObject;
|
|
1554
|
+
static serializeBinaryToWriter(message: BatchCreateTrainingPhrasesRequest, writer: jspb.BinaryWriter): void;
|
|
1555
|
+
static deserializeBinary(bytes: Uint8Array): BatchCreateTrainingPhrasesRequest;
|
|
1556
|
+
static deserializeBinaryFromReader(message: BatchCreateTrainingPhrasesRequest, reader: jspb.BinaryReader): BatchCreateTrainingPhrasesRequest;
|
|
1557
|
+
}
|
|
1558
|
+
|
|
1559
|
+
export namespace BatchCreateTrainingPhrasesRequest {
|
|
1560
|
+
export type AsObject = {
|
|
1561
|
+
trainingPhraseRequestsList: Array<BatchCreateTrainingPhrasesRequest.CreateTrainingPhraseRequest.AsObject>,
|
|
1562
|
+
}
|
|
1563
|
+
|
|
1564
|
+
export class CreateTrainingPhraseRequest extends jspb.Message {
|
|
1565
|
+
getIntentName(): string;
|
|
1566
|
+
setIntentName(value: string): CreateTrainingPhraseRequest;
|
|
1567
|
+
|
|
1568
|
+
getTrainingPhrase(): Intent.TrainingPhrase | undefined;
|
|
1569
|
+
setTrainingPhrase(value?: Intent.TrainingPhrase): CreateTrainingPhraseRequest;
|
|
1570
|
+
hasTrainingPhrase(): boolean;
|
|
1571
|
+
clearTrainingPhrase(): CreateTrainingPhraseRequest;
|
|
1572
|
+
|
|
1573
|
+
serializeBinary(): Uint8Array;
|
|
1574
|
+
toObject(includeInstance?: boolean): CreateTrainingPhraseRequest.AsObject;
|
|
1575
|
+
static toObject(includeInstance: boolean, msg: CreateTrainingPhraseRequest): CreateTrainingPhraseRequest.AsObject;
|
|
1576
|
+
static serializeBinaryToWriter(message: CreateTrainingPhraseRequest, writer: jspb.BinaryWriter): void;
|
|
1577
|
+
static deserializeBinary(bytes: Uint8Array): CreateTrainingPhraseRequest;
|
|
1578
|
+
static deserializeBinaryFromReader(message: CreateTrainingPhraseRequest, reader: jspb.BinaryReader): CreateTrainingPhraseRequest;
|
|
1579
|
+
}
|
|
1580
|
+
|
|
1581
|
+
export namespace CreateTrainingPhraseRequest {
|
|
1582
|
+
export type AsObject = {
|
|
1583
|
+
intentName: string,
|
|
1584
|
+
trainingPhrase?: Intent.TrainingPhrase.AsObject,
|
|
1585
|
+
}
|
|
1586
|
+
}
|
|
1587
|
+
|
|
1588
|
+
}
|
|
1589
|
+
|
|
1590
|
+
export class BatchGetTrainingPhrasesRequest extends jspb.Message {
|
|
1591
|
+
getNamesList(): Array<string>;
|
|
1592
|
+
setNamesList(value: Array<string>): BatchGetTrainingPhrasesRequest;
|
|
1593
|
+
clearNamesList(): BatchGetTrainingPhrasesRequest;
|
|
1594
|
+
addNames(value: string, index?: number): BatchGetTrainingPhrasesRequest;
|
|
1595
|
+
|
|
1596
|
+
serializeBinary(): Uint8Array;
|
|
1597
|
+
toObject(includeInstance?: boolean): BatchGetTrainingPhrasesRequest.AsObject;
|
|
1598
|
+
static toObject(includeInstance: boolean, msg: BatchGetTrainingPhrasesRequest): BatchGetTrainingPhrasesRequest.AsObject;
|
|
1599
|
+
static serializeBinaryToWriter(message: BatchGetTrainingPhrasesRequest, writer: jspb.BinaryWriter): void;
|
|
1600
|
+
static deserializeBinary(bytes: Uint8Array): BatchGetTrainingPhrasesRequest;
|
|
1601
|
+
static deserializeBinaryFromReader(message: BatchGetTrainingPhrasesRequest, reader: jspb.BinaryReader): BatchGetTrainingPhrasesRequest;
|
|
1602
|
+
}
|
|
1603
|
+
|
|
1604
|
+
export namespace BatchGetTrainingPhrasesRequest {
|
|
1605
|
+
export type AsObject = {
|
|
1606
|
+
namesList: Array<string>,
|
|
1607
|
+
}
|
|
1608
|
+
}
|
|
1609
|
+
|
|
1610
|
+
export class BatchDeleteTrainingPhrasesRequest extends jspb.Message {
|
|
1611
|
+
getNamesList(): Array<string>;
|
|
1612
|
+
setNamesList(value: Array<string>): BatchDeleteTrainingPhrasesRequest;
|
|
1613
|
+
clearNamesList(): BatchDeleteTrainingPhrasesRequest;
|
|
1614
|
+
addNames(value: string, index?: number): BatchDeleteTrainingPhrasesRequest;
|
|
1615
|
+
|
|
1616
|
+
serializeBinary(): Uint8Array;
|
|
1617
|
+
toObject(includeInstance?: boolean): BatchDeleteTrainingPhrasesRequest.AsObject;
|
|
1618
|
+
static toObject(includeInstance: boolean, msg: BatchDeleteTrainingPhrasesRequest): BatchDeleteTrainingPhrasesRequest.AsObject;
|
|
1619
|
+
static serializeBinaryToWriter(message: BatchDeleteTrainingPhrasesRequest, writer: jspb.BinaryWriter): void;
|
|
1620
|
+
static deserializeBinary(bytes: Uint8Array): BatchDeleteTrainingPhrasesRequest;
|
|
1621
|
+
static deserializeBinaryFromReader(message: BatchDeleteTrainingPhrasesRequest, reader: jspb.BinaryReader): BatchDeleteTrainingPhrasesRequest;
|
|
1622
|
+
}
|
|
1623
|
+
|
|
1624
|
+
export namespace BatchDeleteTrainingPhrasesRequest {
|
|
1625
|
+
export type AsObject = {
|
|
1626
|
+
namesList: Array<string>,
|
|
1627
|
+
}
|
|
1628
|
+
}
|
|
1629
|
+
|
|
1630
|
+
export class BatchDeleteTrainingPhrasesResponse extends jspb.Message {
|
|
1631
|
+
getDeleteStatusesList(): Array<BatchDeleteTrainingPhrasesResponse.DeleteTrainingPhraseStatus>;
|
|
1632
|
+
setDeleteStatusesList(value: Array<BatchDeleteTrainingPhrasesResponse.DeleteTrainingPhraseStatus>): BatchDeleteTrainingPhrasesResponse;
|
|
1633
|
+
clearDeleteStatusesList(): BatchDeleteTrainingPhrasesResponse;
|
|
1634
|
+
addDeleteStatuses(value?: BatchDeleteTrainingPhrasesResponse.DeleteTrainingPhraseStatus, index?: number): BatchDeleteTrainingPhrasesResponse.DeleteTrainingPhraseStatus;
|
|
1635
|
+
|
|
1636
|
+
getHasErrors(): boolean;
|
|
1637
|
+
setHasErrors(value: boolean): BatchDeleteTrainingPhrasesResponse;
|
|
1638
|
+
|
|
1639
|
+
serializeBinary(): Uint8Array;
|
|
1640
|
+
toObject(includeInstance?: boolean): BatchDeleteTrainingPhrasesResponse.AsObject;
|
|
1641
|
+
static toObject(includeInstance: boolean, msg: BatchDeleteTrainingPhrasesResponse): BatchDeleteTrainingPhrasesResponse.AsObject;
|
|
1642
|
+
static serializeBinaryToWriter(message: BatchDeleteTrainingPhrasesResponse, writer: jspb.BinaryWriter): void;
|
|
1643
|
+
static deserializeBinary(bytes: Uint8Array): BatchDeleteTrainingPhrasesResponse;
|
|
1644
|
+
static deserializeBinaryFromReader(message: BatchDeleteTrainingPhrasesResponse, reader: jspb.BinaryReader): BatchDeleteTrainingPhrasesResponse;
|
|
1645
|
+
}
|
|
1646
|
+
|
|
1647
|
+
export namespace BatchDeleteTrainingPhrasesResponse {
|
|
1648
|
+
export type AsObject = {
|
|
1649
|
+
deleteStatusesList: Array<BatchDeleteTrainingPhrasesResponse.DeleteTrainingPhraseStatus.AsObject>,
|
|
1650
|
+
hasErrors: boolean,
|
|
1651
|
+
}
|
|
1652
|
+
|
|
1653
|
+
export class DeleteTrainingPhraseStatus extends jspb.Message {
|
|
1654
|
+
getSuccessfullyDeleted(): google_protobuf_empty_pb.Empty | undefined;
|
|
1655
|
+
setSuccessfullyDeleted(value?: google_protobuf_empty_pb.Empty): DeleteTrainingPhraseStatus;
|
|
1656
|
+
hasSuccessfullyDeleted(): boolean;
|
|
1657
|
+
clearSuccessfullyDeleted(): DeleteTrainingPhraseStatus;
|
|
1658
|
+
|
|
1659
|
+
getErrorMessage(): string;
|
|
1660
|
+
setErrorMessage(value: string): DeleteTrainingPhraseStatus;
|
|
1661
|
+
|
|
1662
|
+
getDeleteStatusCase(): DeleteTrainingPhraseStatus.DeleteStatusCase;
|
|
1663
|
+
|
|
1664
|
+
serializeBinary(): Uint8Array;
|
|
1665
|
+
toObject(includeInstance?: boolean): DeleteTrainingPhraseStatus.AsObject;
|
|
1666
|
+
static toObject(includeInstance: boolean, msg: DeleteTrainingPhraseStatus): DeleteTrainingPhraseStatus.AsObject;
|
|
1667
|
+
static serializeBinaryToWriter(message: DeleteTrainingPhraseStatus, writer: jspb.BinaryWriter): void;
|
|
1668
|
+
static deserializeBinary(bytes: Uint8Array): DeleteTrainingPhraseStatus;
|
|
1669
|
+
static deserializeBinaryFromReader(message: DeleteTrainingPhraseStatus, reader: jspb.BinaryReader): DeleteTrainingPhraseStatus;
|
|
1670
|
+
}
|
|
1671
|
+
|
|
1672
|
+
export namespace DeleteTrainingPhraseStatus {
|
|
1673
|
+
export type AsObject = {
|
|
1674
|
+
successfullyDeleted?: google_protobuf_empty_pb.Empty.AsObject,
|
|
1675
|
+
errorMessage: string,
|
|
1676
|
+
}
|
|
1677
|
+
|
|
1678
|
+
export enum DeleteStatusCase {
|
|
1679
|
+
DELETE_STATUS_NOT_SET = 0,
|
|
1680
|
+
SUCCESSFULLY_DELETED = 1,
|
|
1681
|
+
ERROR_MESSAGE = 2,
|
|
1682
|
+
}
|
|
1683
|
+
}
|
|
1684
|
+
|
|
1685
|
+
}
|
|
1686
|
+
|
|
1687
|
+
export class ListTrainingPhrasesRequest extends jspb.Message {
|
|
1688
|
+
getIntentName(): string;
|
|
1689
|
+
setIntentName(value: string): ListTrainingPhrasesRequest;
|
|
1690
|
+
|
|
1691
|
+
getLanguageCode(): string;
|
|
1692
|
+
setLanguageCode(value: string): ListTrainingPhrasesRequest;
|
|
1693
|
+
|
|
1694
|
+
getPageToken(): string;
|
|
1695
|
+
setPageToken(value: string): ListTrainingPhrasesRequest;
|
|
1696
|
+
|
|
1697
|
+
serializeBinary(): Uint8Array;
|
|
1698
|
+
toObject(includeInstance?: boolean): ListTrainingPhrasesRequest.AsObject;
|
|
1699
|
+
static toObject(includeInstance: boolean, msg: ListTrainingPhrasesRequest): ListTrainingPhrasesRequest.AsObject;
|
|
1700
|
+
static serializeBinaryToWriter(message: ListTrainingPhrasesRequest, writer: jspb.BinaryWriter): void;
|
|
1701
|
+
static deserializeBinary(bytes: Uint8Array): ListTrainingPhrasesRequest;
|
|
1702
|
+
static deserializeBinaryFromReader(message: ListTrainingPhrasesRequest, reader: jspb.BinaryReader): ListTrainingPhrasesRequest;
|
|
1703
|
+
}
|
|
1704
|
+
|
|
1705
|
+
export namespace ListTrainingPhrasesRequest {
|
|
1706
|
+
export type AsObject = {
|
|
1707
|
+
intentName: string,
|
|
1708
|
+
languageCode: string,
|
|
1709
|
+
pageToken: string,
|
|
1710
|
+
}
|
|
1711
|
+
}
|
|
1712
|
+
|
|
1713
|
+
export class ListTrainingPhrasesResponse extends jspb.Message {
|
|
1714
|
+
getTrainingPhrasesList(): Array<Intent.TrainingPhrase>;
|
|
1715
|
+
setTrainingPhrasesList(value: Array<Intent.TrainingPhrase>): ListTrainingPhrasesResponse;
|
|
1716
|
+
clearTrainingPhrasesList(): ListTrainingPhrasesResponse;
|
|
1717
|
+
addTrainingPhrases(value?: Intent.TrainingPhrase, index?: number): Intent.TrainingPhrase;
|
|
1718
|
+
|
|
1719
|
+
getNextPageToken(): string;
|
|
1720
|
+
setNextPageToken(value: string): ListTrainingPhrasesResponse;
|
|
1721
|
+
|
|
1722
|
+
serializeBinary(): Uint8Array;
|
|
1723
|
+
toObject(includeInstance?: boolean): ListTrainingPhrasesResponse.AsObject;
|
|
1724
|
+
static toObject(includeInstance: boolean, msg: ListTrainingPhrasesResponse): ListTrainingPhrasesResponse.AsObject;
|
|
1725
|
+
static serializeBinaryToWriter(message: ListTrainingPhrasesResponse, writer: jspb.BinaryWriter): void;
|
|
1726
|
+
static deserializeBinary(bytes: Uint8Array): ListTrainingPhrasesResponse;
|
|
1727
|
+
static deserializeBinaryFromReader(message: ListTrainingPhrasesResponse, reader: jspb.BinaryReader): ListTrainingPhrasesResponse;
|
|
1728
|
+
}
|
|
1729
|
+
|
|
1730
|
+
export namespace ListTrainingPhrasesResponse {
|
|
1731
|
+
export type AsObject = {
|
|
1732
|
+
trainingPhrasesList: Array<Intent.TrainingPhrase.AsObject>,
|
|
1733
|
+
nextPageToken: string,
|
|
1734
|
+
}
|
|
1735
|
+
}
|
|
1736
|
+
|
|
1737
|
+
export class BatchResponseMessagesStatusResponse extends jspb.Message {
|
|
1738
|
+
getResponseMessageStatusesList(): Array<BatchResponseMessagesStatusResponse.ResponseMessageStatus>;
|
|
1739
|
+
setResponseMessageStatusesList(value: Array<BatchResponseMessagesStatusResponse.ResponseMessageStatus>): BatchResponseMessagesStatusResponse;
|
|
1740
|
+
clearResponseMessageStatusesList(): BatchResponseMessagesStatusResponse;
|
|
1741
|
+
addResponseMessageStatuses(value?: BatchResponseMessagesStatusResponse.ResponseMessageStatus, index?: number): BatchResponseMessagesStatusResponse.ResponseMessageStatus;
|
|
1742
|
+
|
|
1743
|
+
getHasErrors(): boolean;
|
|
1744
|
+
setHasErrors(value: boolean): BatchResponseMessagesStatusResponse;
|
|
1745
|
+
|
|
1746
|
+
serializeBinary(): Uint8Array;
|
|
1747
|
+
toObject(includeInstance?: boolean): BatchResponseMessagesStatusResponse.AsObject;
|
|
1748
|
+
static toObject(includeInstance: boolean, msg: BatchResponseMessagesStatusResponse): BatchResponseMessagesStatusResponse.AsObject;
|
|
1749
|
+
static serializeBinaryToWriter(message: BatchResponseMessagesStatusResponse, writer: jspb.BinaryWriter): void;
|
|
1750
|
+
static deserializeBinary(bytes: Uint8Array): BatchResponseMessagesStatusResponse;
|
|
1751
|
+
static deserializeBinaryFromReader(message: BatchResponseMessagesStatusResponse, reader: jspb.BinaryReader): BatchResponseMessagesStatusResponse;
|
|
1752
|
+
}
|
|
1753
|
+
|
|
1754
|
+
export namespace BatchResponseMessagesStatusResponse {
|
|
1755
|
+
export type AsObject = {
|
|
1756
|
+
responseMessageStatusesList: Array<BatchResponseMessagesStatusResponse.ResponseMessageStatus.AsObject>,
|
|
1757
|
+
hasErrors: boolean,
|
|
1758
|
+
}
|
|
1759
|
+
|
|
1760
|
+
export class ResponseMessageStatus extends jspb.Message {
|
|
1761
|
+
getResponseMessage(): Intent.Message | undefined;
|
|
1762
|
+
setResponseMessage(value?: Intent.Message): ResponseMessageStatus;
|
|
1763
|
+
hasResponseMessage(): boolean;
|
|
1764
|
+
clearResponseMessage(): ResponseMessageStatus;
|
|
1765
|
+
|
|
1766
|
+
getErrorMessage(): string;
|
|
1767
|
+
setErrorMessage(value: string): ResponseMessageStatus;
|
|
1768
|
+
|
|
1769
|
+
getPhraseOrStatusCase(): ResponseMessageStatus.PhraseOrStatusCase;
|
|
1770
|
+
|
|
1771
|
+
serializeBinary(): Uint8Array;
|
|
1772
|
+
toObject(includeInstance?: boolean): ResponseMessageStatus.AsObject;
|
|
1773
|
+
static toObject(includeInstance: boolean, msg: ResponseMessageStatus): ResponseMessageStatus.AsObject;
|
|
1774
|
+
static serializeBinaryToWriter(message: ResponseMessageStatus, writer: jspb.BinaryWriter): void;
|
|
1775
|
+
static deserializeBinary(bytes: Uint8Array): ResponseMessageStatus;
|
|
1776
|
+
static deserializeBinaryFromReader(message: ResponseMessageStatus, reader: jspb.BinaryReader): ResponseMessageStatus;
|
|
1777
|
+
}
|
|
1778
|
+
|
|
1779
|
+
export namespace ResponseMessageStatus {
|
|
1780
|
+
export type AsObject = {
|
|
1781
|
+
responseMessage?: Intent.Message.AsObject,
|
|
1782
|
+
errorMessage: string,
|
|
1783
|
+
}
|
|
1784
|
+
|
|
1785
|
+
export enum PhraseOrStatusCase {
|
|
1786
|
+
PHRASE_OR_STATUS_NOT_SET = 0,
|
|
1787
|
+
RESPONSE_MESSAGE = 1,
|
|
1788
|
+
ERROR_MESSAGE = 2,
|
|
1789
|
+
}
|
|
1790
|
+
}
|
|
1791
|
+
|
|
1792
|
+
}
|
|
1793
|
+
|
|
1794
|
+
export class BatchCreateResponseMessagesRequest extends jspb.Message {
|
|
1795
|
+
getResponseMessageRequestsList(): Array<BatchCreateResponseMessagesRequest.CreateResponseMessageRequest>;
|
|
1796
|
+
setResponseMessageRequestsList(value: Array<BatchCreateResponseMessagesRequest.CreateResponseMessageRequest>): BatchCreateResponseMessagesRequest;
|
|
1797
|
+
clearResponseMessageRequestsList(): BatchCreateResponseMessagesRequest;
|
|
1798
|
+
addResponseMessageRequests(value?: BatchCreateResponseMessagesRequest.CreateResponseMessageRequest, index?: number): BatchCreateResponseMessagesRequest.CreateResponseMessageRequest;
|
|
1799
|
+
|
|
1800
|
+
serializeBinary(): Uint8Array;
|
|
1801
|
+
toObject(includeInstance?: boolean): BatchCreateResponseMessagesRequest.AsObject;
|
|
1802
|
+
static toObject(includeInstance: boolean, msg: BatchCreateResponseMessagesRequest): BatchCreateResponseMessagesRequest.AsObject;
|
|
1803
|
+
static serializeBinaryToWriter(message: BatchCreateResponseMessagesRequest, writer: jspb.BinaryWriter): void;
|
|
1804
|
+
static deserializeBinary(bytes: Uint8Array): BatchCreateResponseMessagesRequest;
|
|
1805
|
+
static deserializeBinaryFromReader(message: BatchCreateResponseMessagesRequest, reader: jspb.BinaryReader): BatchCreateResponseMessagesRequest;
|
|
1806
|
+
}
|
|
1807
|
+
|
|
1808
|
+
export namespace BatchCreateResponseMessagesRequest {
|
|
1809
|
+
export type AsObject = {
|
|
1810
|
+
responseMessageRequestsList: Array<BatchCreateResponseMessagesRequest.CreateResponseMessageRequest.AsObject>,
|
|
1811
|
+
}
|
|
1812
|
+
|
|
1813
|
+
export class CreateResponseMessageRequest extends jspb.Message {
|
|
1814
|
+
getIntentName(): string;
|
|
1815
|
+
setIntentName(value: string): CreateResponseMessageRequest;
|
|
1816
|
+
|
|
1817
|
+
getResponseMessage(): Intent.Message | undefined;
|
|
1818
|
+
setResponseMessage(value?: Intent.Message): CreateResponseMessageRequest;
|
|
1819
|
+
hasResponseMessage(): boolean;
|
|
1820
|
+
clearResponseMessage(): CreateResponseMessageRequest;
|
|
1821
|
+
|
|
1822
|
+
serializeBinary(): Uint8Array;
|
|
1823
|
+
toObject(includeInstance?: boolean): CreateResponseMessageRequest.AsObject;
|
|
1824
|
+
static toObject(includeInstance: boolean, msg: CreateResponseMessageRequest): CreateResponseMessageRequest.AsObject;
|
|
1825
|
+
static serializeBinaryToWriter(message: CreateResponseMessageRequest, writer: jspb.BinaryWriter): void;
|
|
1826
|
+
static deserializeBinary(bytes: Uint8Array): CreateResponseMessageRequest;
|
|
1827
|
+
static deserializeBinaryFromReader(message: CreateResponseMessageRequest, reader: jspb.BinaryReader): CreateResponseMessageRequest;
|
|
1828
|
+
}
|
|
1829
|
+
|
|
1830
|
+
export namespace CreateResponseMessageRequest {
|
|
1831
|
+
export type AsObject = {
|
|
1832
|
+
intentName: string,
|
|
1833
|
+
responseMessage?: Intent.Message.AsObject,
|
|
1834
|
+
}
|
|
1835
|
+
}
|
|
1836
|
+
|
|
1837
|
+
}
|
|
1838
|
+
|
|
1839
|
+
export class BatchUpdateResponseMessagesRequest extends jspb.Message {
|
|
1840
|
+
getResponseMessagesList(): Array<Intent.Message>;
|
|
1841
|
+
setResponseMessagesList(value: Array<Intent.Message>): BatchUpdateResponseMessagesRequest;
|
|
1842
|
+
clearResponseMessagesList(): BatchUpdateResponseMessagesRequest;
|
|
1843
|
+
addResponseMessages(value?: Intent.Message, index?: number): Intent.Message;
|
|
1844
|
+
|
|
1845
|
+
serializeBinary(): Uint8Array;
|
|
1846
|
+
toObject(includeInstance?: boolean): BatchUpdateResponseMessagesRequest.AsObject;
|
|
1847
|
+
static toObject(includeInstance: boolean, msg: BatchUpdateResponseMessagesRequest): BatchUpdateResponseMessagesRequest.AsObject;
|
|
1848
|
+
static serializeBinaryToWriter(message: BatchUpdateResponseMessagesRequest, writer: jspb.BinaryWriter): void;
|
|
1849
|
+
static deserializeBinary(bytes: Uint8Array): BatchUpdateResponseMessagesRequest;
|
|
1850
|
+
static deserializeBinaryFromReader(message: BatchUpdateResponseMessagesRequest, reader: jspb.BinaryReader): BatchUpdateResponseMessagesRequest;
|
|
1851
|
+
}
|
|
1852
|
+
|
|
1853
|
+
export namespace BatchUpdateResponseMessagesRequest {
|
|
1854
|
+
export type AsObject = {
|
|
1855
|
+
responseMessagesList: Array<Intent.Message.AsObject>,
|
|
1856
|
+
}
|
|
1857
|
+
}
|
|
1858
|
+
|
|
1859
|
+
export class BatchGetResponseMessagesRequest extends jspb.Message {
|
|
1860
|
+
getNamesList(): Array<string>;
|
|
1861
|
+
setNamesList(value: Array<string>): BatchGetResponseMessagesRequest;
|
|
1862
|
+
clearNamesList(): BatchGetResponseMessagesRequest;
|
|
1863
|
+
addNames(value: string, index?: number): BatchGetResponseMessagesRequest;
|
|
1864
|
+
|
|
1865
|
+
serializeBinary(): Uint8Array;
|
|
1866
|
+
toObject(includeInstance?: boolean): BatchGetResponseMessagesRequest.AsObject;
|
|
1867
|
+
static toObject(includeInstance: boolean, msg: BatchGetResponseMessagesRequest): BatchGetResponseMessagesRequest.AsObject;
|
|
1868
|
+
static serializeBinaryToWriter(message: BatchGetResponseMessagesRequest, writer: jspb.BinaryWriter): void;
|
|
1869
|
+
static deserializeBinary(bytes: Uint8Array): BatchGetResponseMessagesRequest;
|
|
1870
|
+
static deserializeBinaryFromReader(message: BatchGetResponseMessagesRequest, reader: jspb.BinaryReader): BatchGetResponseMessagesRequest;
|
|
1871
|
+
}
|
|
1872
|
+
|
|
1873
|
+
export namespace BatchGetResponseMessagesRequest {
|
|
1874
|
+
export type AsObject = {
|
|
1875
|
+
namesList: Array<string>,
|
|
1876
|
+
}
|
|
1877
|
+
}
|
|
1878
|
+
|
|
1879
|
+
export class BatchDeleteResponseMessagesRequest extends jspb.Message {
|
|
1880
|
+
getNamesList(): Array<string>;
|
|
1881
|
+
setNamesList(value: Array<string>): BatchDeleteResponseMessagesRequest;
|
|
1882
|
+
clearNamesList(): BatchDeleteResponseMessagesRequest;
|
|
1883
|
+
addNames(value: string, index?: number): BatchDeleteResponseMessagesRequest;
|
|
1884
|
+
|
|
1885
|
+
serializeBinary(): Uint8Array;
|
|
1886
|
+
toObject(includeInstance?: boolean): BatchDeleteResponseMessagesRequest.AsObject;
|
|
1887
|
+
static toObject(includeInstance: boolean, msg: BatchDeleteResponseMessagesRequest): BatchDeleteResponseMessagesRequest.AsObject;
|
|
1888
|
+
static serializeBinaryToWriter(message: BatchDeleteResponseMessagesRequest, writer: jspb.BinaryWriter): void;
|
|
1889
|
+
static deserializeBinary(bytes: Uint8Array): BatchDeleteResponseMessagesRequest;
|
|
1890
|
+
static deserializeBinaryFromReader(message: BatchDeleteResponseMessagesRequest, reader: jspb.BinaryReader): BatchDeleteResponseMessagesRequest;
|
|
1891
|
+
}
|
|
1892
|
+
|
|
1893
|
+
export namespace BatchDeleteResponseMessagesRequest {
|
|
1894
|
+
export type AsObject = {
|
|
1895
|
+
namesList: Array<string>,
|
|
1896
|
+
}
|
|
1897
|
+
}
|
|
1898
|
+
|
|
1899
|
+
export class BatchDeleteResponseMessagesResponse extends jspb.Message {
|
|
1900
|
+
getDeleteStatusesList(): Array<BatchDeleteResponseMessagesResponse.DeleteResponseMessageStatus>;
|
|
1901
|
+
setDeleteStatusesList(value: Array<BatchDeleteResponseMessagesResponse.DeleteResponseMessageStatus>): BatchDeleteResponseMessagesResponse;
|
|
1902
|
+
clearDeleteStatusesList(): BatchDeleteResponseMessagesResponse;
|
|
1903
|
+
addDeleteStatuses(value?: BatchDeleteResponseMessagesResponse.DeleteResponseMessageStatus, index?: number): BatchDeleteResponseMessagesResponse.DeleteResponseMessageStatus;
|
|
1904
|
+
|
|
1905
|
+
getHasErrors(): boolean;
|
|
1906
|
+
setHasErrors(value: boolean): BatchDeleteResponseMessagesResponse;
|
|
1907
|
+
|
|
1908
|
+
serializeBinary(): Uint8Array;
|
|
1909
|
+
toObject(includeInstance?: boolean): BatchDeleteResponseMessagesResponse.AsObject;
|
|
1910
|
+
static toObject(includeInstance: boolean, msg: BatchDeleteResponseMessagesResponse): BatchDeleteResponseMessagesResponse.AsObject;
|
|
1911
|
+
static serializeBinaryToWriter(message: BatchDeleteResponseMessagesResponse, writer: jspb.BinaryWriter): void;
|
|
1912
|
+
static deserializeBinary(bytes: Uint8Array): BatchDeleteResponseMessagesResponse;
|
|
1913
|
+
static deserializeBinaryFromReader(message: BatchDeleteResponseMessagesResponse, reader: jspb.BinaryReader): BatchDeleteResponseMessagesResponse;
|
|
1914
|
+
}
|
|
1915
|
+
|
|
1916
|
+
export namespace BatchDeleteResponseMessagesResponse {
|
|
1917
|
+
export type AsObject = {
|
|
1918
|
+
deleteStatusesList: Array<BatchDeleteResponseMessagesResponse.DeleteResponseMessageStatus.AsObject>,
|
|
1919
|
+
hasErrors: boolean,
|
|
1920
|
+
}
|
|
1921
|
+
|
|
1922
|
+
export class DeleteResponseMessageStatus extends jspb.Message {
|
|
1923
|
+
getSuccessfullyDeleted(): google_protobuf_empty_pb.Empty | undefined;
|
|
1924
|
+
setSuccessfullyDeleted(value?: google_protobuf_empty_pb.Empty): DeleteResponseMessageStatus;
|
|
1925
|
+
hasSuccessfullyDeleted(): boolean;
|
|
1926
|
+
clearSuccessfullyDeleted(): DeleteResponseMessageStatus;
|
|
1927
|
+
|
|
1928
|
+
getErrorMessage(): string;
|
|
1929
|
+
setErrorMessage(value: string): DeleteResponseMessageStatus;
|
|
1930
|
+
|
|
1931
|
+
getDeleteStatusCase(): DeleteResponseMessageStatus.DeleteStatusCase;
|
|
1932
|
+
|
|
1933
|
+
serializeBinary(): Uint8Array;
|
|
1934
|
+
toObject(includeInstance?: boolean): DeleteResponseMessageStatus.AsObject;
|
|
1935
|
+
static toObject(includeInstance: boolean, msg: DeleteResponseMessageStatus): DeleteResponseMessageStatus.AsObject;
|
|
1936
|
+
static serializeBinaryToWriter(message: DeleteResponseMessageStatus, writer: jspb.BinaryWriter): void;
|
|
1937
|
+
static deserializeBinary(bytes: Uint8Array): DeleteResponseMessageStatus;
|
|
1938
|
+
static deserializeBinaryFromReader(message: DeleteResponseMessageStatus, reader: jspb.BinaryReader): DeleteResponseMessageStatus;
|
|
1939
|
+
}
|
|
1940
|
+
|
|
1941
|
+
export namespace DeleteResponseMessageStatus {
|
|
1942
|
+
export type AsObject = {
|
|
1943
|
+
successfullyDeleted?: google_protobuf_empty_pb.Empty.AsObject,
|
|
1944
|
+
errorMessage: string,
|
|
1945
|
+
}
|
|
1946
|
+
|
|
1947
|
+
export enum DeleteStatusCase {
|
|
1948
|
+
DELETE_STATUS_NOT_SET = 0,
|
|
1949
|
+
SUCCESSFULLY_DELETED = 1,
|
|
1950
|
+
ERROR_MESSAGE = 2,
|
|
1951
|
+
}
|
|
1952
|
+
}
|
|
1953
|
+
|
|
1954
|
+
}
|
|
1955
|
+
|
|
1956
|
+
export class ListResponseMessagesRequest extends jspb.Message {
|
|
1957
|
+
getIntentName(): string;
|
|
1958
|
+
setIntentName(value: string): ListResponseMessagesRequest;
|
|
1959
|
+
|
|
1960
|
+
getLanguageCode(): string;
|
|
1961
|
+
setLanguageCode(value: string): ListResponseMessagesRequest;
|
|
1962
|
+
|
|
1963
|
+
getPageToken(): string;
|
|
1964
|
+
setPageToken(value: string): ListResponseMessagesRequest;
|
|
1965
|
+
|
|
1966
|
+
serializeBinary(): Uint8Array;
|
|
1967
|
+
toObject(includeInstance?: boolean): ListResponseMessagesRequest.AsObject;
|
|
1968
|
+
static toObject(includeInstance: boolean, msg: ListResponseMessagesRequest): ListResponseMessagesRequest.AsObject;
|
|
1969
|
+
static serializeBinaryToWriter(message: ListResponseMessagesRequest, writer: jspb.BinaryWriter): void;
|
|
1970
|
+
static deserializeBinary(bytes: Uint8Array): ListResponseMessagesRequest;
|
|
1971
|
+
static deserializeBinaryFromReader(message: ListResponseMessagesRequest, reader: jspb.BinaryReader): ListResponseMessagesRequest;
|
|
1972
|
+
}
|
|
1973
|
+
|
|
1974
|
+
export namespace ListResponseMessagesRequest {
|
|
1975
|
+
export type AsObject = {
|
|
1976
|
+
intentName: string,
|
|
1977
|
+
languageCode: string,
|
|
1978
|
+
pageToken: string,
|
|
1979
|
+
}
|
|
1980
|
+
}
|
|
1981
|
+
|
|
1982
|
+
export class ListResponseMessagesResponse extends jspb.Message {
|
|
1983
|
+
getResponseMessagesList(): Array<Intent.Message>;
|
|
1984
|
+
setResponseMessagesList(value: Array<Intent.Message>): ListResponseMessagesResponse;
|
|
1985
|
+
clearResponseMessagesList(): ListResponseMessagesResponse;
|
|
1986
|
+
addResponseMessages(value?: Intent.Message, index?: number): Intent.Message;
|
|
1987
|
+
|
|
1988
|
+
getNextPageToken(): string;
|
|
1989
|
+
setNextPageToken(value: string): ListResponseMessagesResponse;
|
|
1990
|
+
|
|
1991
|
+
serializeBinary(): Uint8Array;
|
|
1992
|
+
toObject(includeInstance?: boolean): ListResponseMessagesResponse.AsObject;
|
|
1993
|
+
static toObject(includeInstance: boolean, msg: ListResponseMessagesResponse): ListResponseMessagesResponse.AsObject;
|
|
1994
|
+
static serializeBinaryToWriter(message: ListResponseMessagesResponse, writer: jspb.BinaryWriter): void;
|
|
1995
|
+
static deserializeBinary(bytes: Uint8Array): ListResponseMessagesResponse;
|
|
1996
|
+
static deserializeBinaryFromReader(message: ListResponseMessagesResponse, reader: jspb.BinaryReader): ListResponseMessagesResponse;
|
|
1997
|
+
}
|
|
1998
|
+
|
|
1999
|
+
export namespace ListResponseMessagesResponse {
|
|
2000
|
+
export type AsObject = {
|
|
2001
|
+
responseMessagesList: Array<Intent.Message.AsObject>,
|
|
2002
|
+
nextPageToken: string,
|
|
2003
|
+
}
|
|
2004
|
+
}
|
|
2005
|
+
|
|
2006
|
+
export class BatchParametersStatusResponse extends jspb.Message {
|
|
2007
|
+
getParameterStatusesList(): Array<BatchParametersStatusResponse.ParameterStatus>;
|
|
2008
|
+
setParameterStatusesList(value: Array<BatchParametersStatusResponse.ParameterStatus>): BatchParametersStatusResponse;
|
|
2009
|
+
clearParameterStatusesList(): BatchParametersStatusResponse;
|
|
2010
|
+
addParameterStatuses(value?: BatchParametersStatusResponse.ParameterStatus, index?: number): BatchParametersStatusResponse.ParameterStatus;
|
|
2011
|
+
|
|
2012
|
+
getHasErrors(): boolean;
|
|
2013
|
+
setHasErrors(value: boolean): BatchParametersStatusResponse;
|
|
2014
|
+
|
|
2015
|
+
serializeBinary(): Uint8Array;
|
|
2016
|
+
toObject(includeInstance?: boolean): BatchParametersStatusResponse.AsObject;
|
|
2017
|
+
static toObject(includeInstance: boolean, msg: BatchParametersStatusResponse): BatchParametersStatusResponse.AsObject;
|
|
2018
|
+
static serializeBinaryToWriter(message: BatchParametersStatusResponse, writer: jspb.BinaryWriter): void;
|
|
2019
|
+
static deserializeBinary(bytes: Uint8Array): BatchParametersStatusResponse;
|
|
2020
|
+
static deserializeBinaryFromReader(message: BatchParametersStatusResponse, reader: jspb.BinaryReader): BatchParametersStatusResponse;
|
|
2021
|
+
}
|
|
2022
|
+
|
|
2023
|
+
export namespace BatchParametersStatusResponse {
|
|
2024
|
+
export type AsObject = {
|
|
2025
|
+
parameterStatusesList: Array<BatchParametersStatusResponse.ParameterStatus.AsObject>,
|
|
2026
|
+
hasErrors: boolean,
|
|
2027
|
+
}
|
|
2028
|
+
|
|
2029
|
+
export class ParameterStatus extends jspb.Message {
|
|
2030
|
+
getParameter(): Intent.Parameter | undefined;
|
|
2031
|
+
setParameter(value?: Intent.Parameter): ParameterStatus;
|
|
2032
|
+
hasParameter(): boolean;
|
|
2033
|
+
clearParameter(): ParameterStatus;
|
|
2034
|
+
|
|
2035
|
+
getErrorMessage(): string;
|
|
2036
|
+
setErrorMessage(value: string): ParameterStatus;
|
|
2037
|
+
|
|
2038
|
+
getPhraseOrStatusCase(): ParameterStatus.PhraseOrStatusCase;
|
|
2039
|
+
|
|
2040
|
+
serializeBinary(): Uint8Array;
|
|
2041
|
+
toObject(includeInstance?: boolean): ParameterStatus.AsObject;
|
|
2042
|
+
static toObject(includeInstance: boolean, msg: ParameterStatus): ParameterStatus.AsObject;
|
|
2043
|
+
static serializeBinaryToWriter(message: ParameterStatus, writer: jspb.BinaryWriter): void;
|
|
2044
|
+
static deserializeBinary(bytes: Uint8Array): ParameterStatus;
|
|
2045
|
+
static deserializeBinaryFromReader(message: ParameterStatus, reader: jspb.BinaryReader): ParameterStatus;
|
|
2046
|
+
}
|
|
2047
|
+
|
|
2048
|
+
export namespace ParameterStatus {
|
|
2049
|
+
export type AsObject = {
|
|
2050
|
+
parameter?: Intent.Parameter.AsObject,
|
|
2051
|
+
errorMessage: string,
|
|
2052
|
+
}
|
|
2053
|
+
|
|
2054
|
+
export enum PhraseOrStatusCase {
|
|
2055
|
+
PHRASE_OR_STATUS_NOT_SET = 0,
|
|
2056
|
+
PARAMETER = 1,
|
|
2057
|
+
ERROR_MESSAGE = 2,
|
|
2058
|
+
}
|
|
2059
|
+
}
|
|
2060
|
+
|
|
2061
|
+
}
|
|
2062
|
+
|
|
2063
|
+
export class BatchCreateParametersRequest extends jspb.Message {
|
|
2064
|
+
getParameterRequestsList(): Array<BatchCreateParametersRequest.CreateParameterRequest>;
|
|
2065
|
+
setParameterRequestsList(value: Array<BatchCreateParametersRequest.CreateParameterRequest>): BatchCreateParametersRequest;
|
|
2066
|
+
clearParameterRequestsList(): BatchCreateParametersRequest;
|
|
2067
|
+
addParameterRequests(value?: BatchCreateParametersRequest.CreateParameterRequest, index?: number): BatchCreateParametersRequest.CreateParameterRequest;
|
|
2068
|
+
|
|
2069
|
+
serializeBinary(): Uint8Array;
|
|
2070
|
+
toObject(includeInstance?: boolean): BatchCreateParametersRequest.AsObject;
|
|
2071
|
+
static toObject(includeInstance: boolean, msg: BatchCreateParametersRequest): BatchCreateParametersRequest.AsObject;
|
|
2072
|
+
static serializeBinaryToWriter(message: BatchCreateParametersRequest, writer: jspb.BinaryWriter): void;
|
|
2073
|
+
static deserializeBinary(bytes: Uint8Array): BatchCreateParametersRequest;
|
|
2074
|
+
static deserializeBinaryFromReader(message: BatchCreateParametersRequest, reader: jspb.BinaryReader): BatchCreateParametersRequest;
|
|
2075
|
+
}
|
|
2076
|
+
|
|
2077
|
+
export namespace BatchCreateParametersRequest {
|
|
2078
|
+
export type AsObject = {
|
|
2079
|
+
parameterRequestsList: Array<BatchCreateParametersRequest.CreateParameterRequest.AsObject>,
|
|
2080
|
+
}
|
|
2081
|
+
|
|
2082
|
+
export class CreateParameterRequest extends jspb.Message {
|
|
2083
|
+
getIntentName(): string;
|
|
2084
|
+
setIntentName(value: string): CreateParameterRequest;
|
|
2085
|
+
|
|
2086
|
+
getParameter(): Intent.Parameter | undefined;
|
|
2087
|
+
setParameter(value?: Intent.Parameter): CreateParameterRequest;
|
|
2088
|
+
hasParameter(): boolean;
|
|
2089
|
+
clearParameter(): CreateParameterRequest;
|
|
2090
|
+
|
|
2091
|
+
serializeBinary(): Uint8Array;
|
|
2092
|
+
toObject(includeInstance?: boolean): CreateParameterRequest.AsObject;
|
|
2093
|
+
static toObject(includeInstance: boolean, msg: CreateParameterRequest): CreateParameterRequest.AsObject;
|
|
2094
|
+
static serializeBinaryToWriter(message: CreateParameterRequest, writer: jspb.BinaryWriter): void;
|
|
2095
|
+
static deserializeBinary(bytes: Uint8Array): CreateParameterRequest;
|
|
2096
|
+
static deserializeBinaryFromReader(message: CreateParameterRequest, reader: jspb.BinaryReader): CreateParameterRequest;
|
|
2097
|
+
}
|
|
2098
|
+
|
|
2099
|
+
export namespace CreateParameterRequest {
|
|
2100
|
+
export type AsObject = {
|
|
2101
|
+
intentName: string,
|
|
2102
|
+
parameter?: Intent.Parameter.AsObject,
|
|
2103
|
+
}
|
|
2104
|
+
}
|
|
2105
|
+
|
|
2106
|
+
}
|
|
2107
|
+
|
|
2108
|
+
export class BatchUpdateParametersRequest extends jspb.Message {
|
|
2109
|
+
getParametersList(): Array<Intent.Parameter>;
|
|
2110
|
+
setParametersList(value: Array<Intent.Parameter>): BatchUpdateParametersRequest;
|
|
2111
|
+
clearParametersList(): BatchUpdateParametersRequest;
|
|
2112
|
+
addParameters(value?: Intent.Parameter, index?: number): Intent.Parameter;
|
|
2113
|
+
|
|
2114
|
+
serializeBinary(): Uint8Array;
|
|
2115
|
+
toObject(includeInstance?: boolean): BatchUpdateParametersRequest.AsObject;
|
|
2116
|
+
static toObject(includeInstance: boolean, msg: BatchUpdateParametersRequest): BatchUpdateParametersRequest.AsObject;
|
|
2117
|
+
static serializeBinaryToWriter(message: BatchUpdateParametersRequest, writer: jspb.BinaryWriter): void;
|
|
2118
|
+
static deserializeBinary(bytes: Uint8Array): BatchUpdateParametersRequest;
|
|
2119
|
+
static deserializeBinaryFromReader(message: BatchUpdateParametersRequest, reader: jspb.BinaryReader): BatchUpdateParametersRequest;
|
|
2120
|
+
}
|
|
2121
|
+
|
|
2122
|
+
export namespace BatchUpdateParametersRequest {
|
|
2123
|
+
export type AsObject = {
|
|
2124
|
+
parametersList: Array<Intent.Parameter.AsObject>,
|
|
2125
|
+
}
|
|
2126
|
+
}
|
|
2127
|
+
|
|
2128
|
+
export class BatchGetParametersRequest extends jspb.Message {
|
|
2129
|
+
getNamesList(): Array<string>;
|
|
2130
|
+
setNamesList(value: Array<string>): BatchGetParametersRequest;
|
|
2131
|
+
clearNamesList(): BatchGetParametersRequest;
|
|
2132
|
+
addNames(value: string, index?: number): BatchGetParametersRequest;
|
|
2133
|
+
|
|
2134
|
+
serializeBinary(): Uint8Array;
|
|
2135
|
+
toObject(includeInstance?: boolean): BatchGetParametersRequest.AsObject;
|
|
2136
|
+
static toObject(includeInstance: boolean, msg: BatchGetParametersRequest): BatchGetParametersRequest.AsObject;
|
|
2137
|
+
static serializeBinaryToWriter(message: BatchGetParametersRequest, writer: jspb.BinaryWriter): void;
|
|
2138
|
+
static deserializeBinary(bytes: Uint8Array): BatchGetParametersRequest;
|
|
2139
|
+
static deserializeBinaryFromReader(message: BatchGetParametersRequest, reader: jspb.BinaryReader): BatchGetParametersRequest;
|
|
2140
|
+
}
|
|
2141
|
+
|
|
2142
|
+
export namespace BatchGetParametersRequest {
|
|
2143
|
+
export type AsObject = {
|
|
2144
|
+
namesList: Array<string>,
|
|
2145
|
+
}
|
|
2146
|
+
}
|
|
2147
|
+
|
|
2148
|
+
export class BatchDeleteParametersRequest extends jspb.Message {
|
|
2149
|
+
getNamesList(): Array<string>;
|
|
2150
|
+
setNamesList(value: Array<string>): BatchDeleteParametersRequest;
|
|
2151
|
+
clearNamesList(): BatchDeleteParametersRequest;
|
|
2152
|
+
addNames(value: string, index?: number): BatchDeleteParametersRequest;
|
|
2153
|
+
|
|
2154
|
+
serializeBinary(): Uint8Array;
|
|
2155
|
+
toObject(includeInstance?: boolean): BatchDeleteParametersRequest.AsObject;
|
|
2156
|
+
static toObject(includeInstance: boolean, msg: BatchDeleteParametersRequest): BatchDeleteParametersRequest.AsObject;
|
|
2157
|
+
static serializeBinaryToWriter(message: BatchDeleteParametersRequest, writer: jspb.BinaryWriter): void;
|
|
2158
|
+
static deserializeBinary(bytes: Uint8Array): BatchDeleteParametersRequest;
|
|
2159
|
+
static deserializeBinaryFromReader(message: BatchDeleteParametersRequest, reader: jspb.BinaryReader): BatchDeleteParametersRequest;
|
|
2160
|
+
}
|
|
2161
|
+
|
|
2162
|
+
export namespace BatchDeleteParametersRequest {
|
|
2163
|
+
export type AsObject = {
|
|
2164
|
+
namesList: Array<string>,
|
|
2165
|
+
}
|
|
2166
|
+
}
|
|
2167
|
+
|
|
2168
|
+
export class BatchDeleteParametersResponse extends jspb.Message {
|
|
2169
|
+
getDeleteStatusesList(): Array<BatchDeleteParametersResponse.DeleteParameterStatus>;
|
|
2170
|
+
setDeleteStatusesList(value: Array<BatchDeleteParametersResponse.DeleteParameterStatus>): BatchDeleteParametersResponse;
|
|
2171
|
+
clearDeleteStatusesList(): BatchDeleteParametersResponse;
|
|
2172
|
+
addDeleteStatuses(value?: BatchDeleteParametersResponse.DeleteParameterStatus, index?: number): BatchDeleteParametersResponse.DeleteParameterStatus;
|
|
2173
|
+
|
|
2174
|
+
getHasErrors(): boolean;
|
|
2175
|
+
setHasErrors(value: boolean): BatchDeleteParametersResponse;
|
|
2176
|
+
|
|
2177
|
+
serializeBinary(): Uint8Array;
|
|
2178
|
+
toObject(includeInstance?: boolean): BatchDeleteParametersResponse.AsObject;
|
|
2179
|
+
static toObject(includeInstance: boolean, msg: BatchDeleteParametersResponse): BatchDeleteParametersResponse.AsObject;
|
|
2180
|
+
static serializeBinaryToWriter(message: BatchDeleteParametersResponse, writer: jspb.BinaryWriter): void;
|
|
2181
|
+
static deserializeBinary(bytes: Uint8Array): BatchDeleteParametersResponse;
|
|
2182
|
+
static deserializeBinaryFromReader(message: BatchDeleteParametersResponse, reader: jspb.BinaryReader): BatchDeleteParametersResponse;
|
|
2183
|
+
}
|
|
2184
|
+
|
|
2185
|
+
export namespace BatchDeleteParametersResponse {
|
|
2186
|
+
export type AsObject = {
|
|
2187
|
+
deleteStatusesList: Array<BatchDeleteParametersResponse.DeleteParameterStatus.AsObject>,
|
|
2188
|
+
hasErrors: boolean,
|
|
2189
|
+
}
|
|
2190
|
+
|
|
2191
|
+
export class DeleteParameterStatus extends jspb.Message {
|
|
2192
|
+
getSuccessfullyDeleted(): google_protobuf_empty_pb.Empty | undefined;
|
|
2193
|
+
setSuccessfullyDeleted(value?: google_protobuf_empty_pb.Empty): DeleteParameterStatus;
|
|
2194
|
+
hasSuccessfullyDeleted(): boolean;
|
|
2195
|
+
clearSuccessfullyDeleted(): DeleteParameterStatus;
|
|
2196
|
+
|
|
2197
|
+
getErrorMessage(): string;
|
|
2198
|
+
setErrorMessage(value: string): DeleteParameterStatus;
|
|
2199
|
+
|
|
2200
|
+
getDeleteStatusCase(): DeleteParameterStatus.DeleteStatusCase;
|
|
2201
|
+
|
|
2202
|
+
serializeBinary(): Uint8Array;
|
|
2203
|
+
toObject(includeInstance?: boolean): DeleteParameterStatus.AsObject;
|
|
2204
|
+
static toObject(includeInstance: boolean, msg: DeleteParameterStatus): DeleteParameterStatus.AsObject;
|
|
2205
|
+
static serializeBinaryToWriter(message: DeleteParameterStatus, writer: jspb.BinaryWriter): void;
|
|
2206
|
+
static deserializeBinary(bytes: Uint8Array): DeleteParameterStatus;
|
|
2207
|
+
static deserializeBinaryFromReader(message: DeleteParameterStatus, reader: jspb.BinaryReader): DeleteParameterStatus;
|
|
2208
|
+
}
|
|
2209
|
+
|
|
2210
|
+
export namespace DeleteParameterStatus {
|
|
2211
|
+
export type AsObject = {
|
|
2212
|
+
successfullyDeleted?: google_protobuf_empty_pb.Empty.AsObject,
|
|
2213
|
+
errorMessage: string,
|
|
2214
|
+
}
|
|
2215
|
+
|
|
2216
|
+
export enum DeleteStatusCase {
|
|
2217
|
+
DELETE_STATUS_NOT_SET = 0,
|
|
2218
|
+
SUCCESSFULLY_DELETED = 1,
|
|
2219
|
+
ERROR_MESSAGE = 2,
|
|
2220
|
+
}
|
|
2221
|
+
}
|
|
2222
|
+
|
|
2223
|
+
}
|
|
2224
|
+
|
|
2225
|
+
export class ListParametersRequest extends jspb.Message {
|
|
2226
|
+
getIntentName(): string;
|
|
2227
|
+
setIntentName(value: string): ListParametersRequest;
|
|
2228
|
+
|
|
2229
|
+
getLanguageCode(): string;
|
|
2230
|
+
setLanguageCode(value: string): ListParametersRequest;
|
|
2231
|
+
|
|
2232
|
+
getPageToken(): string;
|
|
2233
|
+
setPageToken(value: string): ListParametersRequest;
|
|
2234
|
+
|
|
2235
|
+
serializeBinary(): Uint8Array;
|
|
2236
|
+
toObject(includeInstance?: boolean): ListParametersRequest.AsObject;
|
|
2237
|
+
static toObject(includeInstance: boolean, msg: ListParametersRequest): ListParametersRequest.AsObject;
|
|
2238
|
+
static serializeBinaryToWriter(message: ListParametersRequest, writer: jspb.BinaryWriter): void;
|
|
2239
|
+
static deserializeBinary(bytes: Uint8Array): ListParametersRequest;
|
|
2240
|
+
static deserializeBinaryFromReader(message: ListParametersRequest, reader: jspb.BinaryReader): ListParametersRequest;
|
|
2241
|
+
}
|
|
2242
|
+
|
|
2243
|
+
export namespace ListParametersRequest {
|
|
2244
|
+
export type AsObject = {
|
|
2245
|
+
intentName: string,
|
|
2246
|
+
languageCode: string,
|
|
2247
|
+
pageToken: string,
|
|
2248
|
+
}
|
|
2249
|
+
}
|
|
2250
|
+
|
|
2251
|
+
export class ListParametersResponse extends jspb.Message {
|
|
2252
|
+
getParametersList(): Array<Intent.Parameter>;
|
|
2253
|
+
setParametersList(value: Array<Intent.Parameter>): ListParametersResponse;
|
|
2254
|
+
clearParametersList(): ListParametersResponse;
|
|
2255
|
+
addParameters(value?: Intent.Parameter, index?: number): Intent.Parameter;
|
|
2256
|
+
|
|
2257
|
+
getNextPageToken(): string;
|
|
2258
|
+
setNextPageToken(value: string): ListParametersResponse;
|
|
2259
|
+
|
|
2260
|
+
serializeBinary(): Uint8Array;
|
|
2261
|
+
toObject(includeInstance?: boolean): ListParametersResponse.AsObject;
|
|
2262
|
+
static toObject(includeInstance: boolean, msg: ListParametersResponse): ListParametersResponse.AsObject;
|
|
2263
|
+
static serializeBinaryToWriter(message: ListParametersResponse, writer: jspb.BinaryWriter): void;
|
|
2264
|
+
static deserializeBinary(bytes: Uint8Array): ListParametersResponse;
|
|
2265
|
+
static deserializeBinaryFromReader(message: ListParametersResponse, reader: jspb.BinaryReader): ListParametersResponse;
|
|
2266
|
+
}
|
|
2267
|
+
|
|
2268
|
+
export namespace ListParametersResponse {
|
|
2269
|
+
export type AsObject = {
|
|
2270
|
+
parametersList: Array<Intent.Parameter.AsObject>,
|
|
2271
|
+
nextPageToken: string,
|
|
2272
|
+
}
|
|
2273
|
+
}
|
|
2274
|
+
|
|
2275
|
+
export class ListTrainingPhrasesofIntentsWithEnrichmentRequest extends jspb.Message {
|
|
2276
|
+
getParent(): string;
|
|
2277
|
+
setParent(value: string): ListTrainingPhrasesofIntentsWithEnrichmentRequest;
|
|
2278
|
+
|
|
2279
|
+
getLanguageCode(): string;
|
|
2280
|
+
setLanguageCode(value: string): ListTrainingPhrasesofIntentsWithEnrichmentRequest;
|
|
2281
|
+
|
|
2282
|
+
getIntentIdsList(): Array<string>;
|
|
2283
|
+
setIntentIdsList(value: Array<string>): ListTrainingPhrasesofIntentsWithEnrichmentRequest;
|
|
2284
|
+
clearIntentIdsList(): ListTrainingPhrasesofIntentsWithEnrichmentRequest;
|
|
2285
|
+
addIntentIds(value: string, index?: number): ListTrainingPhrasesofIntentsWithEnrichmentRequest;
|
|
2286
|
+
|
|
2287
|
+
getPageToken(): string;
|
|
2288
|
+
setPageToken(value: string): ListTrainingPhrasesofIntentsWithEnrichmentRequest;
|
|
2289
|
+
|
|
2290
|
+
serializeBinary(): Uint8Array;
|
|
2291
|
+
toObject(includeInstance?: boolean): ListTrainingPhrasesofIntentsWithEnrichmentRequest.AsObject;
|
|
2292
|
+
static toObject(includeInstance: boolean, msg: ListTrainingPhrasesofIntentsWithEnrichmentRequest): ListTrainingPhrasesofIntentsWithEnrichmentRequest.AsObject;
|
|
2293
|
+
static serializeBinaryToWriter(message: ListTrainingPhrasesofIntentsWithEnrichmentRequest, writer: jspb.BinaryWriter): void;
|
|
2294
|
+
static deserializeBinary(bytes: Uint8Array): ListTrainingPhrasesofIntentsWithEnrichmentRequest;
|
|
2295
|
+
static deserializeBinaryFromReader(message: ListTrainingPhrasesofIntentsWithEnrichmentRequest, reader: jspb.BinaryReader): ListTrainingPhrasesofIntentsWithEnrichmentRequest;
|
|
2296
|
+
}
|
|
2297
|
+
|
|
2298
|
+
export namespace ListTrainingPhrasesofIntentsWithEnrichmentRequest {
|
|
2299
|
+
export type AsObject = {
|
|
2300
|
+
parent: string,
|
|
2301
|
+
languageCode: string,
|
|
2302
|
+
intentIdsList: Array<string>,
|
|
2303
|
+
pageToken: string,
|
|
2304
|
+
}
|
|
2305
|
+
}
|
|
2306
|
+
|
|
2307
|
+
export class ListTrainingPhrasesofIntentsWithEnrichmentResponse extends jspb.Message {
|
|
2308
|
+
getTrainingPhrasesList(): Array<string>;
|
|
2309
|
+
setTrainingPhrasesList(value: Array<string>): ListTrainingPhrasesofIntentsWithEnrichmentResponse;
|
|
2310
|
+
clearTrainingPhrasesList(): ListTrainingPhrasesofIntentsWithEnrichmentResponse;
|
|
2311
|
+
addTrainingPhrases(value: string, index?: number): ListTrainingPhrasesofIntentsWithEnrichmentResponse;
|
|
2312
|
+
|
|
2313
|
+
getNextPageToken(): string;
|
|
2314
|
+
setNextPageToken(value: string): ListTrainingPhrasesofIntentsWithEnrichmentResponse;
|
|
2315
|
+
|
|
2316
|
+
serializeBinary(): Uint8Array;
|
|
2317
|
+
toObject(includeInstance?: boolean): ListTrainingPhrasesofIntentsWithEnrichmentResponse.AsObject;
|
|
2318
|
+
static toObject(includeInstance: boolean, msg: ListTrainingPhrasesofIntentsWithEnrichmentResponse): ListTrainingPhrasesofIntentsWithEnrichmentResponse.AsObject;
|
|
2319
|
+
static serializeBinaryToWriter(message: ListTrainingPhrasesofIntentsWithEnrichmentResponse, writer: jspb.BinaryWriter): void;
|
|
2320
|
+
static deserializeBinary(bytes: Uint8Array): ListTrainingPhrasesofIntentsWithEnrichmentResponse;
|
|
2321
|
+
static deserializeBinaryFromReader(message: ListTrainingPhrasesofIntentsWithEnrichmentResponse, reader: jspb.BinaryReader): ListTrainingPhrasesofIntentsWithEnrichmentResponse;
|
|
2322
|
+
}
|
|
2323
|
+
|
|
2324
|
+
export namespace ListTrainingPhrasesofIntentsWithEnrichmentResponse {
|
|
2325
|
+
export type AsObject = {
|
|
2326
|
+
trainingPhrasesList: Array<string>,
|
|
2327
|
+
nextPageToken: string,
|
|
2328
|
+
}
|
|
2329
|
+
}
|
|
2330
|
+
|
|
2331
|
+
export enum IntentView {
|
|
2332
|
+
INTENT_VIEW_UNSPECIFIED = 0,
|
|
2333
|
+
INTENT_VIEW_FULL = 1,
|
|
2334
|
+
INTENT_VIEW_PARTIAL = 2,
|
|
2335
|
+
INTENT_VIEW_SHALLOW = 3,
|
|
2336
|
+
}
|
|
2337
|
+
export enum IntentCategory {
|
|
2338
|
+
ALL_INTENTS = 0,
|
|
2339
|
+
DEFAULT_INTENTS = 1,
|
|
2340
|
+
USER_DEFINED_INTENTS = 2,
|
|
2341
|
+
DATE_EXPIRED_INTENTS = 3,
|
|
2342
|
+
DATE_ACTIVE_INTENTS = 4,
|
|
2343
|
+
DATE_UPCOMING_INTENTS = 5,
|
|
2344
|
+
}
|