@ondewo/csi-client-angular 2.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +191 -0
- package/README.md +27 -0
- package/api/google/api/annotations.pb.d.ts +1 -0
- package/api/google/api/http.pb.d.ts +275 -0
- package/api/google/rpc/status.pb.d.ts +82 -0
- package/api/google/type/latlng.pb.d.ts +76 -0
- package/api/ondewo/csi/conversation.pb.d.ts +1312 -0
- package/api/ondewo/csi/conversation.pbconf.d.ts +6 -0
- package/api/ondewo/csi/conversation.pbsc.d.ts +167 -0
- package/api/ondewo/nlu/agent.pb.d.ts +3536 -0
- package/api/ondewo/nlu/agent.pbconf.d.ts +6 -0
- package/api/ondewo/nlu/agent.pbsc.d.ts +472 -0
- package/api/ondewo/nlu/aiservices.pb.d.ts +2472 -0
- package/api/ondewo/nlu/aiservices.pbconf.d.ts +6 -0
- package/api/ondewo/nlu/aiservices.pbsc.d.ts +150 -0
- package/api/ondewo/nlu/common.pb.d.ts +75 -0
- package/api/ondewo/nlu/context.pb.d.ts +756 -0
- package/api/ondewo/nlu/context.pbconf.d.ts +6 -0
- package/api/ondewo/nlu/context.pbsc.d.ts +119 -0
- package/api/ondewo/nlu/entity-type.pb.d.ts +2014 -0
- package/api/ondewo/nlu/entity-type.pbconf.d.ts +6 -0
- package/api/ondewo/nlu/entity-type.pbsc.d.ts +216 -0
- package/api/ondewo/nlu/intent.pb.d.ts +6236 -0
- package/api/ondewo/nlu/intent.pbconf.d.ts +6 -0
- package/api/ondewo/nlu/intent.pbsc.d.ts +456 -0
- package/api/ondewo/nlu/operation-metadata.pb.d.ts +166 -0
- package/api/ondewo/nlu/operations.pb.d.ts +578 -0
- package/api/ondewo/nlu/operations.pbconf.d.ts +6 -0
- package/api/ondewo/nlu/operations.pbsc.d.ts +87 -0
- package/api/ondewo/nlu/project-role.pb.d.ts +576 -0
- package/api/ondewo/nlu/project-role.pbconf.d.ts +6 -0
- package/api/ondewo/nlu/project-role.pbsc.d.ts +103 -0
- package/api/ondewo/nlu/project-statistics.pb.d.ts +295 -0
- package/api/ondewo/nlu/project-statistics.pbconf.d.ts +6 -0
- package/api/ondewo/nlu/project-statistics.pbsc.d.ts +151 -0
- package/api/ondewo/nlu/server-statistics.pb.d.ts +71 -0
- package/api/ondewo/nlu/server-statistics.pbconf.d.ts +6 -0
- package/api/ondewo/nlu/server-statistics.pbsc.d.ts +72 -0
- package/api/ondewo/nlu/session.pb.d.ts +2892 -0
- package/api/ondewo/nlu/session.pbconf.d.ts +6 -0
- package/api/ondewo/nlu/session.pbsc.d.ts +247 -0
- package/api/ondewo/nlu/user.pb.d.ts +1577 -0
- package/api/ondewo/nlu/user.pbconf.d.ts +6 -0
- package/api/ondewo/nlu/user.pbsc.d.ts +263 -0
- package/api/ondewo/nlu/utility.pb.d.ts +1814 -0
- package/api/ondewo/nlu/utility.pbconf.d.ts +6 -0
- package/api/ondewo/nlu/utility.pbsc.d.ts +150 -0
- package/api/ondewo/nlu/webhook.pb.d.ts +401 -0
- package/api/ondewo/nlu/webhook.pbconf.d.ts +6 -0
- package/api/ondewo/nlu/webhook.pbsc.d.ts +70 -0
- package/api/ondewo/s2t/speech-to-text.pb.d.ts +3710 -0
- package/api/ondewo/s2t/speech-to-text.pbconf.d.ts +6 -0
- package/api/ondewo/s2t/speech-to-text.pbsc.d.ts +263 -0
- package/api/ondewo/t2s/text-to-speech.pb.d.ts +3302 -0
- package/api/ondewo/t2s/text-to-speech.pbconf.d.ts +11 -0
- package/api/ondewo/t2s/text-to-speech.pbsc.d.ts +296 -0
- package/esm2020/api/google/api/annotations.pb.mjs +2 -0
- package/esm2020/api/google/api/http.pb.mjs +524 -0
- package/esm2020/api/google/rpc/status.pb.mjs +138 -0
- package/esm2020/api/google/type/latlng.pb.mjs +119 -0
- package/esm2020/api/ondewo/csi/conversation.pb.mjs +2232 -0
- package/esm2020/api/ondewo/csi/conversation.pbconf.mjs +13 -0
- package/esm2020/api/ondewo/csi/conversation.pbsc.mjs +315 -0
- package/esm2020/api/ondewo/nlu/agent.pb.mjs +6077 -0
- package/esm2020/api/ondewo/nlu/agent.pbconf.mjs +13 -0
- package/esm2020/api/ondewo/nlu/agent.pbsc.mjs +886 -0
- package/esm2020/api/ondewo/nlu/aiservices.pb.mjs +4371 -0
- package/esm2020/api/ondewo/nlu/aiservices.pbconf.mjs +13 -0
- package/esm2020/api/ondewo/nlu/aiservices.pbsc.mjs +284 -0
- package/esm2020/api/ondewo/nlu/common.pb.mjs +108 -0
- package/esm2020/api/ondewo/nlu/context.pb.mjs +1233 -0
- package/esm2020/api/ondewo/nlu/context.pbconf.mjs +13 -0
- package/esm2020/api/ondewo/nlu/context.pbsc.mjs +225 -0
- package/esm2020/api/ondewo/nlu/entity-type.pb.mjs +3466 -0
- package/esm2020/api/ondewo/nlu/entity-type.pbconf.mjs +13 -0
- package/esm2020/api/ondewo/nlu/entity-type.pbsc.mjs +406 -0
- package/esm2020/api/ondewo/nlu/intent.pb.mjs +10809 -0
- package/esm2020/api/ondewo/nlu/intent.pbconf.mjs +13 -0
- package/esm2020/api/ondewo/nlu/intent.pbsc.mjs +856 -0
- package/esm2020/api/ondewo/nlu/operation-metadata.pb.mjs +382 -0
- package/esm2020/api/ondewo/nlu/operations.pb.mjs +1003 -0
- package/esm2020/api/ondewo/nlu/operations.pbconf.mjs +13 -0
- package/esm2020/api/ondewo/nlu/operations.pbsc.mjs +165 -0
- package/esm2020/api/ondewo/nlu/project-role.pb.mjs +988 -0
- package/esm2020/api/ondewo/nlu/project-role.pbconf.mjs +13 -0
- package/esm2020/api/ondewo/nlu/project-role.pbsc.mjs +195 -0
- package/esm2020/api/ondewo/nlu/project-statistics.pb.mjs +460 -0
- package/esm2020/api/ondewo/nlu/project-statistics.pbconf.mjs +13 -0
- package/esm2020/api/ondewo/nlu/project-statistics.pbsc.mjs +285 -0
- package/esm2020/api/ondewo/nlu/server-statistics.pb.mjs +103 -0
- package/esm2020/api/ondewo/nlu/server-statistics.pbconf.mjs +13 -0
- package/esm2020/api/ondewo/nlu/server-statistics.pbsc.mjs +136 -0
- package/esm2020/api/ondewo/nlu/session.pb.mjs +5351 -0
- package/esm2020/api/ondewo/nlu/session.pbconf.mjs +13 -0
- package/esm2020/api/ondewo/nlu/session.pbsc.mjs +465 -0
- package/esm2020/api/ondewo/nlu/user.pb.mjs +2536 -0
- package/esm2020/api/ondewo/nlu/user.pbconf.mjs +13 -0
- package/esm2020/api/ondewo/nlu/user.pbsc.mjs +495 -0
- package/esm2020/api/ondewo/nlu/utility.pb.mjs +3302 -0
- package/esm2020/api/ondewo/nlu/utility.pbconf.mjs +13 -0
- package/esm2020/api/ondewo/nlu/utility.pbsc.mjs +284 -0
- package/esm2020/api/ondewo/nlu/webhook.pb.mjs +705 -0
- package/esm2020/api/ondewo/nlu/webhook.pbconf.mjs +13 -0
- package/esm2020/api/ondewo/nlu/webhook.pbsc.mjs +134 -0
- package/esm2020/api/ondewo/s2t/speech-to-text.pb.mjs +6452 -0
- package/esm2020/api/ondewo/s2t/speech-to-text.pbconf.mjs +13 -0
- package/esm2020/api/ondewo/s2t/speech-to-text.pbsc.mjs +495 -0
- package/esm2020/api/ondewo/t2s/text-to-speech.pb.mjs +5779 -0
- package/esm2020/api/ondewo/t2s/text-to-speech.pbconf.mjs +18 -0
- package/esm2020/api/ondewo/t2s/text-to-speech.pbsc.mjs +555 -0
- package/esm2020/ondewo-csi-client-angular.mjs +5 -0
- package/esm2020/public-api.mjs +55 -0
- package/fesm2015/ondewo-csi-client-angular.mjs +62142 -0
- package/fesm2015/ondewo-csi-client-angular.mjs.map +1 -0
- package/fesm2020/ondewo-csi-client-angular.mjs +62135 -0
- package/fesm2020/ondewo-csi-client-angular.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/ondewo-csi-api/README.md +91 -0
- package/ondewo-csi-api/google/ads/googleads/README.md +21 -0
- package/ondewo-csi-api/google/api/README.md +5 -0
- package/ondewo-csi-api/google/api/servicecontrol/README.md +126 -0
- package/ondewo-csi-api/google/api/servicemanagement/README.md +102 -0
- package/ondewo-csi-api/google/appengine/README.md +12 -0
- package/ondewo-csi-api/google/assistant/embedded/README.md +3 -0
- package/ondewo-csi-api/google/cloud/functions/README.md +2 -0
- package/ondewo-csi-api/google/cloud/language/README.md +0 -0
- package/ondewo-csi-api/google/cloud/runtimeconfig/README.md +39 -0
- package/ondewo-csi-api/google/cloud/speech/README.md +3 -0
- package/ondewo-csi-api/google/container/README.md +0 -0
- package/ondewo-csi-api/google/datastore/README.md +0 -0
- package/ondewo-csi-api/google/devtools/cloudbuild/README.md +1 -0
- package/ondewo-csi-api/google/devtools/clouderrorreporting/README.md +1 -0
- package/ondewo-csi-api/google/example/library/README.md +4 -0
- package/ondewo-csi-api/google/firestore/README.md +0 -0
- package/ondewo-csi-api/google/genomics/README.md +14 -0
- package/ondewo-csi-api/google/iam/README.md +14 -0
- package/ondewo-csi-api/google/logging/README.md +3 -0
- package/ondewo-csi-api/google/longrunning/README.md +5 -0
- package/ondewo-csi-api/google/privacy/dlp/README.md +7 -0
- package/ondewo-csi-api/google/pubsub/v1beta2/README.md +136 -0
- package/ondewo-csi-api/google/rpc/README.md +5 -0
- package/ondewo-csi-api/google/streetview/publish/README.md +1 -0
- package/ondewo-csi-api/google/type/README.md +16 -0
- package/ondewo-csi-api/googleapis/README.md +87 -0
- package/ondewo-csi-api/googleapis/google/ads/googleads/README.md +21 -0
- package/ondewo-csi-api/googleapis/google/api/README.md +5 -0
- package/ondewo-csi-api/googleapis/google/api/servicecontrol/README.md +126 -0
- package/ondewo-csi-api/googleapis/google/api/servicemanagement/README.md +102 -0
- package/ondewo-csi-api/googleapis/google/appengine/README.md +12 -0
- package/ondewo-csi-api/googleapis/google/assistant/embedded/README.md +3 -0
- package/ondewo-csi-api/googleapis/google/cloud/functions/README.md +2 -0
- package/ondewo-csi-api/googleapis/google/cloud/language/README.md +0 -0
- package/ondewo-csi-api/googleapis/google/cloud/runtimeconfig/README.md +39 -0
- package/ondewo-csi-api/googleapis/google/cloud/speech/README.md +3 -0
- package/ondewo-csi-api/googleapis/google/container/README.md +0 -0
- package/ondewo-csi-api/googleapis/google/datastore/README.md +0 -0
- package/ondewo-csi-api/googleapis/google/devtools/cloudbuild/README.md +1 -0
- package/ondewo-csi-api/googleapis/google/devtools/clouderrorreporting/README.md +1 -0
- package/ondewo-csi-api/googleapis/google/example/library/README.md +4 -0
- package/ondewo-csi-api/googleapis/google/firestore/README.md +0 -0
- package/ondewo-csi-api/googleapis/google/genomics/README.md +14 -0
- package/ondewo-csi-api/googleapis/google/iam/README.md +14 -0
- package/ondewo-csi-api/googleapis/google/logging/README.md +3 -0
- package/ondewo-csi-api/googleapis/google/longrunning/README.md +5 -0
- package/ondewo-csi-api/googleapis/google/privacy/dlp/README.md +7 -0
- package/ondewo-csi-api/googleapis/google/pubsub/v1beta2/README.md +136 -0
- package/ondewo-csi-api/googleapis/google/rpc/README.md +5 -0
- package/ondewo-csi-api/googleapis/google/streetview/publish/README.md +1 -0
- package/ondewo-csi-api/googleapis/google/type/README.md +16 -0
- package/ondewo-csi-api/ondewo-nlu-api/README.md +117 -0
- package/ondewo-csi-api/ondewo-nlu-api/googleapis/README.md +87 -0
- package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/ads/googleads/README.md +21 -0
- package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/api/README.md +5 -0
- package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/api/servicecontrol/README.md +126 -0
- package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/api/servicemanagement/README.md +102 -0
- package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/appengine/README.md +12 -0
- package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/assistant/embedded/README.md +3 -0
- package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/cloud/functions/README.md +2 -0
- package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/cloud/language/README.md +0 -0
- package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/cloud/runtimeconfig/README.md +39 -0
- package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/cloud/speech/README.md +3 -0
- package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/container/README.md +0 -0
- package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/datastore/README.md +0 -0
- package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/devtools/cloudbuild/README.md +1 -0
- package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/devtools/clouderrorreporting/README.md +1 -0
- package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/example/library/README.md +4 -0
- package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/firestore/README.md +0 -0
- package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/genomics/README.md +14 -0
- package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/iam/README.md +14 -0
- package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/logging/README.md +3 -0
- package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/longrunning/README.md +5 -0
- package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/privacy/dlp/README.md +7 -0
- package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/pubsub/v1beta2/README.md +136 -0
- package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/rpc/README.md +5 -0
- package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/streetview/publish/README.md +1 -0
- package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/type/README.md +16 -0
- package/ondewo-csi-api/ondewo-s2t-api/README.md +89 -0
- package/ondewo-csi-api/ondewo-t2s-api/README.md +89 -0
- package/package.json +49 -0
- package/public-api.d.ts +54 -0
|
@@ -0,0 +1,1814 @@
|
|
|
1
|
+
import { GrpcMessage, RecursivePartial, ToProtobufJSONOptions } from '@ngx-grpc/common';
|
|
2
|
+
import { BinaryReader, BinaryWriter, ByteSource } from 'google-protobuf';
|
|
3
|
+
import * as ondewoNlu008 from '../../ondewo/nlu/intent.pb';
|
|
4
|
+
import * as ondewoNlu009 from '../../ondewo/nlu/entity-type.pb';
|
|
5
|
+
export declare enum ReannotateEntitiesOptions {
|
|
6
|
+
REANNOTATE_NEVER = 0,
|
|
7
|
+
REANNOTATE_ALWAYS = 1,
|
|
8
|
+
REANNOTATE_IF_EMPTY = 2,
|
|
9
|
+
REANNOTATE_AFTER_DELETION = 3,
|
|
10
|
+
REANNOTATE_IF_EMPTY_OR_AFTER_DELETION = 4
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Message implementation for ondewo.nlu.ValidateRegexRequest
|
|
14
|
+
*/
|
|
15
|
+
export declare class ValidateRegexRequest implements GrpcMessage {
|
|
16
|
+
static id: string;
|
|
17
|
+
/**
|
|
18
|
+
* Deserialize binary data to message
|
|
19
|
+
* @param instance message instance
|
|
20
|
+
*/
|
|
21
|
+
static deserializeBinary(bytes: ByteSource): ValidateRegexRequest;
|
|
22
|
+
/**
|
|
23
|
+
* Check all the properties and set default protobuf values if necessary
|
|
24
|
+
* @param _instance message instance
|
|
25
|
+
*/
|
|
26
|
+
static refineValues(_instance: ValidateRegexRequest): void;
|
|
27
|
+
/**
|
|
28
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
29
|
+
* @param _instance message instance
|
|
30
|
+
* @param _reader binary reader instance
|
|
31
|
+
*/
|
|
32
|
+
static deserializeBinaryFromReader(_instance: ValidateRegexRequest, _reader: BinaryReader): void;
|
|
33
|
+
/**
|
|
34
|
+
* Serializes a message to binary format using provided binary reader
|
|
35
|
+
* @param _instance message instance
|
|
36
|
+
* @param _writer binary writer instance
|
|
37
|
+
*/
|
|
38
|
+
static serializeBinaryToWriter(_instance: ValidateRegexRequest, _writer: BinaryWriter): void;
|
|
39
|
+
private _regex?;
|
|
40
|
+
/**
|
|
41
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
42
|
+
* @param _value initial values object or instance of ValidateRegexRequest to deeply clone from
|
|
43
|
+
*/
|
|
44
|
+
constructor(_value?: RecursivePartial<ValidateRegexRequest.AsObject>);
|
|
45
|
+
get regex(): string | undefined;
|
|
46
|
+
set regex(value: string | undefined);
|
|
47
|
+
/**
|
|
48
|
+
* Serialize message to binary data
|
|
49
|
+
* @param instance message instance
|
|
50
|
+
*/
|
|
51
|
+
serializeBinary(): any;
|
|
52
|
+
/**
|
|
53
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
54
|
+
*/
|
|
55
|
+
toObject(): ValidateRegexRequest.AsObject;
|
|
56
|
+
/**
|
|
57
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
58
|
+
*/
|
|
59
|
+
toJSON(): ValidateRegexRequest.AsObject;
|
|
60
|
+
/**
|
|
61
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
62
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
63
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
64
|
+
*/
|
|
65
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): ValidateRegexRequest.AsProtobufJSON;
|
|
66
|
+
}
|
|
67
|
+
export declare module ValidateRegexRequest {
|
|
68
|
+
/**
|
|
69
|
+
* Standard JavaScript object representation for ValidateRegexRequest
|
|
70
|
+
*/
|
|
71
|
+
interface AsObject {
|
|
72
|
+
regex?: string;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Protobuf JSON representation for ValidateRegexRequest
|
|
76
|
+
*/
|
|
77
|
+
interface AsProtobufJSON {
|
|
78
|
+
regex?: string;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Message implementation for ondewo.nlu.ValidateRegexResponse
|
|
83
|
+
*/
|
|
84
|
+
export declare class ValidateRegexResponse implements GrpcMessage {
|
|
85
|
+
static id: string;
|
|
86
|
+
/**
|
|
87
|
+
* Deserialize binary data to message
|
|
88
|
+
* @param instance message instance
|
|
89
|
+
*/
|
|
90
|
+
static deserializeBinary(bytes: ByteSource): ValidateRegexResponse;
|
|
91
|
+
/**
|
|
92
|
+
* Check all the properties and set default protobuf values if necessary
|
|
93
|
+
* @param _instance message instance
|
|
94
|
+
*/
|
|
95
|
+
static refineValues(_instance: ValidateRegexResponse): void;
|
|
96
|
+
/**
|
|
97
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
98
|
+
* @param _instance message instance
|
|
99
|
+
* @param _reader binary reader instance
|
|
100
|
+
*/
|
|
101
|
+
static deserializeBinaryFromReader(_instance: ValidateRegexResponse, _reader: BinaryReader): void;
|
|
102
|
+
/**
|
|
103
|
+
* Serializes a message to binary format using provided binary reader
|
|
104
|
+
* @param _instance message instance
|
|
105
|
+
* @param _writer binary writer instance
|
|
106
|
+
*/
|
|
107
|
+
static serializeBinaryToWriter(_instance: ValidateRegexResponse, _writer: BinaryWriter): void;
|
|
108
|
+
private _errorMessages?;
|
|
109
|
+
/**
|
|
110
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
111
|
+
* @param _value initial values object or instance of ValidateRegexResponse to deeply clone from
|
|
112
|
+
*/
|
|
113
|
+
constructor(_value?: RecursivePartial<ValidateRegexResponse.AsObject>);
|
|
114
|
+
get errorMessages(): string[] | undefined;
|
|
115
|
+
set errorMessages(value: string[] | undefined);
|
|
116
|
+
/**
|
|
117
|
+
* Serialize message to binary data
|
|
118
|
+
* @param instance message instance
|
|
119
|
+
*/
|
|
120
|
+
serializeBinary(): any;
|
|
121
|
+
/**
|
|
122
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
123
|
+
*/
|
|
124
|
+
toObject(): ValidateRegexResponse.AsObject;
|
|
125
|
+
/**
|
|
126
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
127
|
+
*/
|
|
128
|
+
toJSON(): ValidateRegexResponse.AsObject;
|
|
129
|
+
/**
|
|
130
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
131
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
132
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
133
|
+
*/
|
|
134
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): ValidateRegexResponse.AsProtobufJSON;
|
|
135
|
+
}
|
|
136
|
+
export declare module ValidateRegexResponse {
|
|
137
|
+
/**
|
|
138
|
+
* Standard JavaScript object representation for ValidateRegexResponse
|
|
139
|
+
*/
|
|
140
|
+
interface AsObject {
|
|
141
|
+
errorMessages?: string[];
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* Protobuf JSON representation for ValidateRegexResponse
|
|
145
|
+
*/
|
|
146
|
+
interface AsProtobufJSON {
|
|
147
|
+
errorMessages?: string[];
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
/**
|
|
151
|
+
* Message implementation for ondewo.nlu.ValidateEmbeddedRegexRequest
|
|
152
|
+
*/
|
|
153
|
+
export declare class ValidateEmbeddedRegexRequest implements GrpcMessage {
|
|
154
|
+
static id: string;
|
|
155
|
+
/**
|
|
156
|
+
* Deserialize binary data to message
|
|
157
|
+
* @param instance message instance
|
|
158
|
+
*/
|
|
159
|
+
static deserializeBinary(bytes: ByteSource): ValidateEmbeddedRegexRequest;
|
|
160
|
+
/**
|
|
161
|
+
* Check all the properties and set default protobuf values if necessary
|
|
162
|
+
* @param _instance message instance
|
|
163
|
+
*/
|
|
164
|
+
static refineValues(_instance: ValidateEmbeddedRegexRequest): void;
|
|
165
|
+
/**
|
|
166
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
167
|
+
* @param _instance message instance
|
|
168
|
+
* @param _reader binary reader instance
|
|
169
|
+
*/
|
|
170
|
+
static deserializeBinaryFromReader(_instance: ValidateEmbeddedRegexRequest, _reader: BinaryReader): void;
|
|
171
|
+
/**
|
|
172
|
+
* Serializes a message to binary format using provided binary reader
|
|
173
|
+
* @param _instance message instance
|
|
174
|
+
* @param _writer binary writer instance
|
|
175
|
+
*/
|
|
176
|
+
static serializeBinaryToWriter(_instance: ValidateEmbeddedRegexRequest, _writer: BinaryWriter): void;
|
|
177
|
+
private _entityType?;
|
|
178
|
+
/**
|
|
179
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
180
|
+
* @param _value initial values object or instance of ValidateEmbeddedRegexRequest to deeply clone from
|
|
181
|
+
*/
|
|
182
|
+
constructor(_value?: RecursivePartial<ValidateEmbeddedRegexRequest.AsObject>);
|
|
183
|
+
get entityType(): ondewoNlu009.EntityType.Entity | undefined;
|
|
184
|
+
set entityType(value: ondewoNlu009.EntityType.Entity | undefined);
|
|
185
|
+
/**
|
|
186
|
+
* Serialize message to binary data
|
|
187
|
+
* @param instance message instance
|
|
188
|
+
*/
|
|
189
|
+
serializeBinary(): any;
|
|
190
|
+
/**
|
|
191
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
192
|
+
*/
|
|
193
|
+
toObject(): ValidateEmbeddedRegexRequest.AsObject;
|
|
194
|
+
/**
|
|
195
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
196
|
+
*/
|
|
197
|
+
toJSON(): ValidateEmbeddedRegexRequest.AsObject;
|
|
198
|
+
/**
|
|
199
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
200
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
201
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
202
|
+
*/
|
|
203
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): ValidateEmbeddedRegexRequest.AsProtobufJSON;
|
|
204
|
+
}
|
|
205
|
+
export declare module ValidateEmbeddedRegexRequest {
|
|
206
|
+
/**
|
|
207
|
+
* Standard JavaScript object representation for ValidateEmbeddedRegexRequest
|
|
208
|
+
*/
|
|
209
|
+
interface AsObject {
|
|
210
|
+
entityType?: ondewoNlu009.EntityType.Entity.AsObject;
|
|
211
|
+
}
|
|
212
|
+
/**
|
|
213
|
+
* Protobuf JSON representation for ValidateEmbeddedRegexRequest
|
|
214
|
+
*/
|
|
215
|
+
interface AsProtobufJSON {
|
|
216
|
+
entityType?: ondewoNlu009.EntityType.Entity.AsProtobufJSON | null;
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
/**
|
|
220
|
+
* Message implementation for ondewo.nlu.ValidateEmbeddedRegexResponse
|
|
221
|
+
*/
|
|
222
|
+
export declare class ValidateEmbeddedRegexResponse implements GrpcMessage {
|
|
223
|
+
static id: string;
|
|
224
|
+
/**
|
|
225
|
+
* Deserialize binary data to message
|
|
226
|
+
* @param instance message instance
|
|
227
|
+
*/
|
|
228
|
+
static deserializeBinary(bytes: ByteSource): ValidateEmbeddedRegexResponse;
|
|
229
|
+
/**
|
|
230
|
+
* Check all the properties and set default protobuf values if necessary
|
|
231
|
+
* @param _instance message instance
|
|
232
|
+
*/
|
|
233
|
+
static refineValues(_instance: ValidateEmbeddedRegexResponse): void;
|
|
234
|
+
/**
|
|
235
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
236
|
+
* @param _instance message instance
|
|
237
|
+
* @param _reader binary reader instance
|
|
238
|
+
*/
|
|
239
|
+
static deserializeBinaryFromReader(_instance: ValidateEmbeddedRegexResponse, _reader: BinaryReader): void;
|
|
240
|
+
/**
|
|
241
|
+
* Serializes a message to binary format using provided binary reader
|
|
242
|
+
* @param _instance message instance
|
|
243
|
+
* @param _writer binary writer instance
|
|
244
|
+
*/
|
|
245
|
+
static serializeBinaryToWriter(_instance: ValidateEmbeddedRegexResponse, _writer: BinaryWriter): void;
|
|
246
|
+
private _errorMessages?;
|
|
247
|
+
/**
|
|
248
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
249
|
+
* @param _value initial values object or instance of ValidateEmbeddedRegexResponse to deeply clone from
|
|
250
|
+
*/
|
|
251
|
+
constructor(_value?: RecursivePartial<ValidateEmbeddedRegexResponse.AsObject>);
|
|
252
|
+
get errorMessages(): string[] | undefined;
|
|
253
|
+
set errorMessages(value: string[] | undefined);
|
|
254
|
+
/**
|
|
255
|
+
* Serialize message to binary data
|
|
256
|
+
* @param instance message instance
|
|
257
|
+
*/
|
|
258
|
+
serializeBinary(): any;
|
|
259
|
+
/**
|
|
260
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
261
|
+
*/
|
|
262
|
+
toObject(): ValidateEmbeddedRegexResponse.AsObject;
|
|
263
|
+
/**
|
|
264
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
265
|
+
*/
|
|
266
|
+
toJSON(): ValidateEmbeddedRegexResponse.AsObject;
|
|
267
|
+
/**
|
|
268
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
269
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
270
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
271
|
+
*/
|
|
272
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): ValidateEmbeddedRegexResponse.AsProtobufJSON;
|
|
273
|
+
}
|
|
274
|
+
export declare module ValidateEmbeddedRegexResponse {
|
|
275
|
+
/**
|
|
276
|
+
* Standard JavaScript object representation for ValidateEmbeddedRegexResponse
|
|
277
|
+
*/
|
|
278
|
+
interface AsObject {
|
|
279
|
+
errorMessages?: string[];
|
|
280
|
+
}
|
|
281
|
+
/**
|
|
282
|
+
* Protobuf JSON representation for ValidateEmbeddedRegexResponse
|
|
283
|
+
*/
|
|
284
|
+
interface AsProtobufJSON {
|
|
285
|
+
errorMessages?: string[];
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
/**
|
|
289
|
+
* Message implementation for ondewo.nlu.CleanAllIntentsRequest
|
|
290
|
+
*/
|
|
291
|
+
export declare class CleanAllIntentsRequest implements GrpcMessage {
|
|
292
|
+
static id: string;
|
|
293
|
+
/**
|
|
294
|
+
* Deserialize binary data to message
|
|
295
|
+
* @param instance message instance
|
|
296
|
+
*/
|
|
297
|
+
static deserializeBinary(bytes: ByteSource): CleanAllIntentsRequest;
|
|
298
|
+
/**
|
|
299
|
+
* Check all the properties and set default protobuf values if necessary
|
|
300
|
+
* @param _instance message instance
|
|
301
|
+
*/
|
|
302
|
+
static refineValues(_instance: CleanAllIntentsRequest): void;
|
|
303
|
+
/**
|
|
304
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
305
|
+
* @param _instance message instance
|
|
306
|
+
* @param _reader binary reader instance
|
|
307
|
+
*/
|
|
308
|
+
static deserializeBinaryFromReader(_instance: CleanAllIntentsRequest, _reader: BinaryReader): void;
|
|
309
|
+
/**
|
|
310
|
+
* Serializes a message to binary format using provided binary reader
|
|
311
|
+
* @param _instance message instance
|
|
312
|
+
* @param _writer binary writer instance
|
|
313
|
+
*/
|
|
314
|
+
static serializeBinaryToWriter(_instance: CleanAllIntentsRequest, _writer: BinaryWriter): void;
|
|
315
|
+
private _parent?;
|
|
316
|
+
private _languageCode?;
|
|
317
|
+
private _specialCharacters?;
|
|
318
|
+
private _substringWhiteList?;
|
|
319
|
+
private _dryRun?;
|
|
320
|
+
private _trainingPhraseCleanerOptions?;
|
|
321
|
+
private _reannotateEntitiesOptions?;
|
|
322
|
+
private _numberOfWorkers?;
|
|
323
|
+
/**
|
|
324
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
325
|
+
* @param _value initial values object or instance of CleanAllIntentsRequest to deeply clone from
|
|
326
|
+
*/
|
|
327
|
+
constructor(_value?: RecursivePartial<CleanAllIntentsRequest.AsObject>);
|
|
328
|
+
get parent(): string | undefined;
|
|
329
|
+
set parent(value: string | undefined);
|
|
330
|
+
get languageCode(): string | undefined;
|
|
331
|
+
set languageCode(value: string | undefined);
|
|
332
|
+
get specialCharacters(): string | undefined;
|
|
333
|
+
set specialCharacters(value: string | undefined);
|
|
334
|
+
get substringWhiteList(): string[] | undefined;
|
|
335
|
+
set substringWhiteList(value: string[] | undefined);
|
|
336
|
+
get dryRun(): boolean | undefined;
|
|
337
|
+
set dryRun(value: boolean | undefined);
|
|
338
|
+
get trainingPhraseCleanerOptions(): TrainingPhraseCleanerOptions | undefined;
|
|
339
|
+
set trainingPhraseCleanerOptions(value: TrainingPhraseCleanerOptions | undefined);
|
|
340
|
+
get reannotateEntitiesOptions(): ReannotateEntitiesOptions | undefined;
|
|
341
|
+
set reannotateEntitiesOptions(value: ReannotateEntitiesOptions | undefined);
|
|
342
|
+
get numberOfWorkers(): number | undefined;
|
|
343
|
+
set numberOfWorkers(value: number | undefined);
|
|
344
|
+
/**
|
|
345
|
+
* Serialize message to binary data
|
|
346
|
+
* @param instance message instance
|
|
347
|
+
*/
|
|
348
|
+
serializeBinary(): any;
|
|
349
|
+
/**
|
|
350
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
351
|
+
*/
|
|
352
|
+
toObject(): CleanAllIntentsRequest.AsObject;
|
|
353
|
+
/**
|
|
354
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
355
|
+
*/
|
|
356
|
+
toJSON(): CleanAllIntentsRequest.AsObject;
|
|
357
|
+
/**
|
|
358
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
359
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
360
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
361
|
+
*/
|
|
362
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): CleanAllIntentsRequest.AsProtobufJSON;
|
|
363
|
+
}
|
|
364
|
+
export declare module CleanAllIntentsRequest {
|
|
365
|
+
/**
|
|
366
|
+
* Standard JavaScript object representation for CleanAllIntentsRequest
|
|
367
|
+
*/
|
|
368
|
+
interface AsObject {
|
|
369
|
+
parent?: string;
|
|
370
|
+
languageCode?: string;
|
|
371
|
+
specialCharacters?: string;
|
|
372
|
+
substringWhiteList?: string[];
|
|
373
|
+
dryRun?: boolean;
|
|
374
|
+
trainingPhraseCleanerOptions?: TrainingPhraseCleanerOptions.AsObject;
|
|
375
|
+
reannotateEntitiesOptions?: ReannotateEntitiesOptions;
|
|
376
|
+
numberOfWorkers?: number;
|
|
377
|
+
}
|
|
378
|
+
/**
|
|
379
|
+
* Protobuf JSON representation for CleanAllIntentsRequest
|
|
380
|
+
*/
|
|
381
|
+
interface AsProtobufJSON {
|
|
382
|
+
parent?: string;
|
|
383
|
+
languageCode?: string;
|
|
384
|
+
specialCharacters?: string;
|
|
385
|
+
substringWhiteList?: string[];
|
|
386
|
+
dryRun?: boolean;
|
|
387
|
+
trainingPhraseCleanerOptions?: TrainingPhraseCleanerOptions.AsProtobufJSON | null;
|
|
388
|
+
reannotateEntitiesOptions?: string;
|
|
389
|
+
numberOfWorkers?: number;
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
/**
|
|
393
|
+
* Message implementation for ondewo.nlu.CleanAllIntentsResponse
|
|
394
|
+
*/
|
|
395
|
+
export declare class CleanAllIntentsResponse implements GrpcMessage {
|
|
396
|
+
static id: string;
|
|
397
|
+
/**
|
|
398
|
+
* Deserialize binary data to message
|
|
399
|
+
* @param instance message instance
|
|
400
|
+
*/
|
|
401
|
+
static deserializeBinary(bytes: ByteSource): CleanAllIntentsResponse;
|
|
402
|
+
/**
|
|
403
|
+
* Check all the properties and set default protobuf values if necessary
|
|
404
|
+
* @param _instance message instance
|
|
405
|
+
*/
|
|
406
|
+
static refineValues(_instance: CleanAllIntentsResponse): void;
|
|
407
|
+
/**
|
|
408
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
409
|
+
* @param _instance message instance
|
|
410
|
+
* @param _reader binary reader instance
|
|
411
|
+
*/
|
|
412
|
+
static deserializeBinaryFromReader(_instance: CleanAllIntentsResponse, _reader: BinaryReader): void;
|
|
413
|
+
/**
|
|
414
|
+
* Serializes a message to binary format using provided binary reader
|
|
415
|
+
* @param _instance message instance
|
|
416
|
+
* @param _writer binary writer instance
|
|
417
|
+
*/
|
|
418
|
+
static serializeBinaryToWriter(_instance: CleanAllIntentsResponse, _writer: BinaryWriter): void;
|
|
419
|
+
private _cleanedIntents?;
|
|
420
|
+
private _intentUpdateList?;
|
|
421
|
+
/**
|
|
422
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
423
|
+
* @param _value initial values object or instance of CleanAllIntentsResponse to deeply clone from
|
|
424
|
+
*/
|
|
425
|
+
constructor(_value?: RecursivePartial<CleanAllIntentsResponse.AsObject>);
|
|
426
|
+
get cleanedIntents(): ondewoNlu008.Intent[] | undefined;
|
|
427
|
+
set cleanedIntents(value: ondewoNlu008.Intent[] | undefined);
|
|
428
|
+
get intentUpdateList(): IntentUpdate[] | undefined;
|
|
429
|
+
set intentUpdateList(value: IntentUpdate[] | undefined);
|
|
430
|
+
/**
|
|
431
|
+
* Serialize message to binary data
|
|
432
|
+
* @param instance message instance
|
|
433
|
+
*/
|
|
434
|
+
serializeBinary(): any;
|
|
435
|
+
/**
|
|
436
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
437
|
+
*/
|
|
438
|
+
toObject(): CleanAllIntentsResponse.AsObject;
|
|
439
|
+
/**
|
|
440
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
441
|
+
*/
|
|
442
|
+
toJSON(): CleanAllIntentsResponse.AsObject;
|
|
443
|
+
/**
|
|
444
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
445
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
446
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
447
|
+
*/
|
|
448
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): CleanAllIntentsResponse.AsProtobufJSON;
|
|
449
|
+
}
|
|
450
|
+
export declare module CleanAllIntentsResponse {
|
|
451
|
+
/**
|
|
452
|
+
* Standard JavaScript object representation for CleanAllIntentsResponse
|
|
453
|
+
*/
|
|
454
|
+
interface AsObject {
|
|
455
|
+
cleanedIntents?: ondewoNlu008.Intent.AsObject[];
|
|
456
|
+
intentUpdateList?: IntentUpdate.AsObject[];
|
|
457
|
+
}
|
|
458
|
+
/**
|
|
459
|
+
* Protobuf JSON representation for CleanAllIntentsResponse
|
|
460
|
+
*/
|
|
461
|
+
interface AsProtobufJSON {
|
|
462
|
+
cleanedIntents?: ondewoNlu008.Intent.AsProtobufJSON[] | null;
|
|
463
|
+
intentUpdateList?: IntentUpdate.AsProtobufJSON[] | null;
|
|
464
|
+
}
|
|
465
|
+
}
|
|
466
|
+
/**
|
|
467
|
+
* Message implementation for ondewo.nlu.CleanIntentRequest
|
|
468
|
+
*/
|
|
469
|
+
export declare class CleanIntentRequest implements GrpcMessage {
|
|
470
|
+
static id: string;
|
|
471
|
+
/**
|
|
472
|
+
* Deserialize binary data to message
|
|
473
|
+
* @param instance message instance
|
|
474
|
+
*/
|
|
475
|
+
static deserializeBinary(bytes: ByteSource): CleanIntentRequest;
|
|
476
|
+
/**
|
|
477
|
+
* Check all the properties and set default protobuf values if necessary
|
|
478
|
+
* @param _instance message instance
|
|
479
|
+
*/
|
|
480
|
+
static refineValues(_instance: CleanIntentRequest): void;
|
|
481
|
+
/**
|
|
482
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
483
|
+
* @param _instance message instance
|
|
484
|
+
* @param _reader binary reader instance
|
|
485
|
+
*/
|
|
486
|
+
static deserializeBinaryFromReader(_instance: CleanIntentRequest, _reader: BinaryReader): void;
|
|
487
|
+
/**
|
|
488
|
+
* Serializes a message to binary format using provided binary reader
|
|
489
|
+
* @param _instance message instance
|
|
490
|
+
* @param _writer binary writer instance
|
|
491
|
+
*/
|
|
492
|
+
static serializeBinaryToWriter(_instance: CleanIntentRequest, _writer: BinaryWriter): void;
|
|
493
|
+
private _parent?;
|
|
494
|
+
private _intentName?;
|
|
495
|
+
private _languageCode?;
|
|
496
|
+
private _specialCharacters?;
|
|
497
|
+
private _substringWhiteList?;
|
|
498
|
+
private _dryRun?;
|
|
499
|
+
private _trainingPhraseCleanerOptions?;
|
|
500
|
+
private _reannotateEntitiesOptions?;
|
|
501
|
+
/**
|
|
502
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
503
|
+
* @param _value initial values object or instance of CleanIntentRequest to deeply clone from
|
|
504
|
+
*/
|
|
505
|
+
constructor(_value?: RecursivePartial<CleanIntentRequest.AsObject>);
|
|
506
|
+
get parent(): string | undefined;
|
|
507
|
+
set parent(value: string | undefined);
|
|
508
|
+
get intentName(): string | undefined;
|
|
509
|
+
set intentName(value: string | undefined);
|
|
510
|
+
get languageCode(): string | undefined;
|
|
511
|
+
set languageCode(value: string | undefined);
|
|
512
|
+
get specialCharacters(): string | undefined;
|
|
513
|
+
set specialCharacters(value: string | undefined);
|
|
514
|
+
get substringWhiteList(): string[] | undefined;
|
|
515
|
+
set substringWhiteList(value: string[] | undefined);
|
|
516
|
+
get dryRun(): boolean | undefined;
|
|
517
|
+
set dryRun(value: boolean | undefined);
|
|
518
|
+
get trainingPhraseCleanerOptions(): TrainingPhraseCleanerOptions | undefined;
|
|
519
|
+
set trainingPhraseCleanerOptions(value: TrainingPhraseCleanerOptions | undefined);
|
|
520
|
+
get reannotateEntitiesOptions(): ReannotateEntitiesOptions | undefined;
|
|
521
|
+
set reannotateEntitiesOptions(value: ReannotateEntitiesOptions | undefined);
|
|
522
|
+
/**
|
|
523
|
+
* Serialize message to binary data
|
|
524
|
+
* @param instance message instance
|
|
525
|
+
*/
|
|
526
|
+
serializeBinary(): any;
|
|
527
|
+
/**
|
|
528
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
529
|
+
*/
|
|
530
|
+
toObject(): CleanIntentRequest.AsObject;
|
|
531
|
+
/**
|
|
532
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
533
|
+
*/
|
|
534
|
+
toJSON(): CleanIntentRequest.AsObject;
|
|
535
|
+
/**
|
|
536
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
537
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
538
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
539
|
+
*/
|
|
540
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): CleanIntentRequest.AsProtobufJSON;
|
|
541
|
+
}
|
|
542
|
+
export declare module CleanIntentRequest {
|
|
543
|
+
/**
|
|
544
|
+
* Standard JavaScript object representation for CleanIntentRequest
|
|
545
|
+
*/
|
|
546
|
+
interface AsObject {
|
|
547
|
+
parent?: string;
|
|
548
|
+
intentName?: string;
|
|
549
|
+
languageCode?: string;
|
|
550
|
+
specialCharacters?: string;
|
|
551
|
+
substringWhiteList?: string[];
|
|
552
|
+
dryRun?: boolean;
|
|
553
|
+
trainingPhraseCleanerOptions?: TrainingPhraseCleanerOptions.AsObject;
|
|
554
|
+
reannotateEntitiesOptions?: ReannotateEntitiesOptions;
|
|
555
|
+
}
|
|
556
|
+
/**
|
|
557
|
+
* Protobuf JSON representation for CleanIntentRequest
|
|
558
|
+
*/
|
|
559
|
+
interface AsProtobufJSON {
|
|
560
|
+
parent?: string;
|
|
561
|
+
intentName?: string;
|
|
562
|
+
languageCode?: string;
|
|
563
|
+
specialCharacters?: string;
|
|
564
|
+
substringWhiteList?: string[];
|
|
565
|
+
dryRun?: boolean;
|
|
566
|
+
trainingPhraseCleanerOptions?: TrainingPhraseCleanerOptions.AsProtobufJSON | null;
|
|
567
|
+
reannotateEntitiesOptions?: string;
|
|
568
|
+
}
|
|
569
|
+
}
|
|
570
|
+
/**
|
|
571
|
+
* Message implementation for ondewo.nlu.CleanIntentResponse
|
|
572
|
+
*/
|
|
573
|
+
export declare class CleanIntentResponse implements GrpcMessage {
|
|
574
|
+
static id: string;
|
|
575
|
+
/**
|
|
576
|
+
* Deserialize binary data to message
|
|
577
|
+
* @param instance message instance
|
|
578
|
+
*/
|
|
579
|
+
static deserializeBinary(bytes: ByteSource): CleanIntentResponse;
|
|
580
|
+
/**
|
|
581
|
+
* Check all the properties and set default protobuf values if necessary
|
|
582
|
+
* @param _instance message instance
|
|
583
|
+
*/
|
|
584
|
+
static refineValues(_instance: CleanIntentResponse): void;
|
|
585
|
+
/**
|
|
586
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
587
|
+
* @param _instance message instance
|
|
588
|
+
* @param _reader binary reader instance
|
|
589
|
+
*/
|
|
590
|
+
static deserializeBinaryFromReader(_instance: CleanIntentResponse, _reader: BinaryReader): void;
|
|
591
|
+
/**
|
|
592
|
+
* Serializes a message to binary format using provided binary reader
|
|
593
|
+
* @param _instance message instance
|
|
594
|
+
* @param _writer binary writer instance
|
|
595
|
+
*/
|
|
596
|
+
static serializeBinaryToWriter(_instance: CleanIntentResponse, _writer: BinaryWriter): void;
|
|
597
|
+
private _cleanedIntent?;
|
|
598
|
+
private _intentUpdate?;
|
|
599
|
+
/**
|
|
600
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
601
|
+
* @param _value initial values object or instance of CleanIntentResponse to deeply clone from
|
|
602
|
+
*/
|
|
603
|
+
constructor(_value?: RecursivePartial<CleanIntentResponse.AsObject>);
|
|
604
|
+
get cleanedIntent(): ondewoNlu008.Intent | undefined;
|
|
605
|
+
set cleanedIntent(value: ondewoNlu008.Intent | undefined);
|
|
606
|
+
get intentUpdate(): IntentUpdate | undefined;
|
|
607
|
+
set intentUpdate(value: IntentUpdate | undefined);
|
|
608
|
+
/**
|
|
609
|
+
* Serialize message to binary data
|
|
610
|
+
* @param instance message instance
|
|
611
|
+
*/
|
|
612
|
+
serializeBinary(): any;
|
|
613
|
+
/**
|
|
614
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
615
|
+
*/
|
|
616
|
+
toObject(): CleanIntentResponse.AsObject;
|
|
617
|
+
/**
|
|
618
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
619
|
+
*/
|
|
620
|
+
toJSON(): CleanIntentResponse.AsObject;
|
|
621
|
+
/**
|
|
622
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
623
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
624
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
625
|
+
*/
|
|
626
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): CleanIntentResponse.AsProtobufJSON;
|
|
627
|
+
}
|
|
628
|
+
export declare module CleanIntentResponse {
|
|
629
|
+
/**
|
|
630
|
+
* Standard JavaScript object representation for CleanIntentResponse
|
|
631
|
+
*/
|
|
632
|
+
interface AsObject {
|
|
633
|
+
cleanedIntent?: ondewoNlu008.Intent.AsObject;
|
|
634
|
+
intentUpdate?: IntentUpdate.AsObject;
|
|
635
|
+
}
|
|
636
|
+
/**
|
|
637
|
+
* Protobuf JSON representation for CleanIntentResponse
|
|
638
|
+
*/
|
|
639
|
+
interface AsProtobufJSON {
|
|
640
|
+
cleanedIntent?: ondewoNlu008.Intent.AsProtobufJSON | null;
|
|
641
|
+
intentUpdate?: IntentUpdate.AsProtobufJSON | null;
|
|
642
|
+
}
|
|
643
|
+
}
|
|
644
|
+
/**
|
|
645
|
+
* Message implementation for ondewo.nlu.TrainingPhraseCleanerOptions
|
|
646
|
+
*/
|
|
647
|
+
export declare class TrainingPhraseCleanerOptions implements GrpcMessage {
|
|
648
|
+
static id: string;
|
|
649
|
+
/**
|
|
650
|
+
* Deserialize binary data to message
|
|
651
|
+
* @param instance message instance
|
|
652
|
+
*/
|
|
653
|
+
static deserializeBinary(bytes: ByteSource): TrainingPhraseCleanerOptions;
|
|
654
|
+
/**
|
|
655
|
+
* Check all the properties and set default protobuf values if necessary
|
|
656
|
+
* @param _instance message instance
|
|
657
|
+
*/
|
|
658
|
+
static refineValues(_instance: TrainingPhraseCleanerOptions): void;
|
|
659
|
+
/**
|
|
660
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
661
|
+
* @param _instance message instance
|
|
662
|
+
* @param _reader binary reader instance
|
|
663
|
+
*/
|
|
664
|
+
static deserializeBinaryFromReader(_instance: TrainingPhraseCleanerOptions, _reader: BinaryReader): void;
|
|
665
|
+
/**
|
|
666
|
+
* Serializes a message to binary format using provided binary reader
|
|
667
|
+
* @param _instance message instance
|
|
668
|
+
* @param _writer binary writer instance
|
|
669
|
+
*/
|
|
670
|
+
static serializeBinaryToWriter(_instance: TrainingPhraseCleanerOptions, _writer: BinaryWriter): void;
|
|
671
|
+
private _deleteRepeatedWhitespaces?;
|
|
672
|
+
private _deleteLeadingSpecialCharacters?;
|
|
673
|
+
private _deleteTrailingSpecialCharacters?;
|
|
674
|
+
/**
|
|
675
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
676
|
+
* @param _value initial values object or instance of TrainingPhraseCleanerOptions to deeply clone from
|
|
677
|
+
*/
|
|
678
|
+
constructor(_value?: RecursivePartial<TrainingPhraseCleanerOptions.AsObject>);
|
|
679
|
+
get deleteRepeatedWhitespaces(): boolean | undefined;
|
|
680
|
+
set deleteRepeatedWhitespaces(value: boolean | undefined);
|
|
681
|
+
get deleteLeadingSpecialCharacters(): boolean | undefined;
|
|
682
|
+
set deleteLeadingSpecialCharacters(value: boolean | undefined);
|
|
683
|
+
get deleteTrailingSpecialCharacters(): boolean | undefined;
|
|
684
|
+
set deleteTrailingSpecialCharacters(value: boolean | undefined);
|
|
685
|
+
/**
|
|
686
|
+
* Serialize message to binary data
|
|
687
|
+
* @param instance message instance
|
|
688
|
+
*/
|
|
689
|
+
serializeBinary(): any;
|
|
690
|
+
/**
|
|
691
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
692
|
+
*/
|
|
693
|
+
toObject(): TrainingPhraseCleanerOptions.AsObject;
|
|
694
|
+
/**
|
|
695
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
696
|
+
*/
|
|
697
|
+
toJSON(): TrainingPhraseCleanerOptions.AsObject;
|
|
698
|
+
/**
|
|
699
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
700
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
701
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
702
|
+
*/
|
|
703
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): TrainingPhraseCleanerOptions.AsProtobufJSON;
|
|
704
|
+
}
|
|
705
|
+
export declare module TrainingPhraseCleanerOptions {
|
|
706
|
+
/**
|
|
707
|
+
* Standard JavaScript object representation for TrainingPhraseCleanerOptions
|
|
708
|
+
*/
|
|
709
|
+
interface AsObject {
|
|
710
|
+
deleteRepeatedWhitespaces?: boolean;
|
|
711
|
+
deleteLeadingSpecialCharacters?: boolean;
|
|
712
|
+
deleteTrailingSpecialCharacters?: boolean;
|
|
713
|
+
}
|
|
714
|
+
/**
|
|
715
|
+
* Protobuf JSON representation for TrainingPhraseCleanerOptions
|
|
716
|
+
*/
|
|
717
|
+
interface AsProtobufJSON {
|
|
718
|
+
deleteRepeatedWhitespaces?: boolean;
|
|
719
|
+
deleteLeadingSpecialCharacters?: boolean;
|
|
720
|
+
deleteTrailingSpecialCharacters?: boolean;
|
|
721
|
+
}
|
|
722
|
+
}
|
|
723
|
+
/**
|
|
724
|
+
* Message implementation for ondewo.nlu.StringUpdate
|
|
725
|
+
*/
|
|
726
|
+
export declare class StringUpdate implements GrpcMessage {
|
|
727
|
+
static id: string;
|
|
728
|
+
/**
|
|
729
|
+
* Deserialize binary data to message
|
|
730
|
+
* @param instance message instance
|
|
731
|
+
*/
|
|
732
|
+
static deserializeBinary(bytes: ByteSource): StringUpdate;
|
|
733
|
+
/**
|
|
734
|
+
* Check all the properties and set default protobuf values if necessary
|
|
735
|
+
* @param _instance message instance
|
|
736
|
+
*/
|
|
737
|
+
static refineValues(_instance: StringUpdate): void;
|
|
738
|
+
/**
|
|
739
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
740
|
+
* @param _instance message instance
|
|
741
|
+
* @param _reader binary reader instance
|
|
742
|
+
*/
|
|
743
|
+
static deserializeBinaryFromReader(_instance: StringUpdate, _reader: BinaryReader): void;
|
|
744
|
+
/**
|
|
745
|
+
* Serializes a message to binary format using provided binary reader
|
|
746
|
+
* @param _instance message instance
|
|
747
|
+
* @param _writer binary writer instance
|
|
748
|
+
*/
|
|
749
|
+
static serializeBinaryToWriter(_instance: StringUpdate, _writer: BinaryWriter): void;
|
|
750
|
+
private _new?;
|
|
751
|
+
private _old?;
|
|
752
|
+
/**
|
|
753
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
754
|
+
* @param _value initial values object or instance of StringUpdate to deeply clone from
|
|
755
|
+
*/
|
|
756
|
+
constructor(_value?: RecursivePartial<StringUpdate.AsObject>);
|
|
757
|
+
get new(): string | undefined;
|
|
758
|
+
set new(value: string | undefined);
|
|
759
|
+
get old(): string | undefined;
|
|
760
|
+
set old(value: string | undefined);
|
|
761
|
+
/**
|
|
762
|
+
* Serialize message to binary data
|
|
763
|
+
* @param instance message instance
|
|
764
|
+
*/
|
|
765
|
+
serializeBinary(): any;
|
|
766
|
+
/**
|
|
767
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
768
|
+
*/
|
|
769
|
+
toObject(): StringUpdate.AsObject;
|
|
770
|
+
/**
|
|
771
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
772
|
+
*/
|
|
773
|
+
toJSON(): StringUpdate.AsObject;
|
|
774
|
+
/**
|
|
775
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
776
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
777
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
778
|
+
*/
|
|
779
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): StringUpdate.AsProtobufJSON;
|
|
780
|
+
}
|
|
781
|
+
export declare module StringUpdate {
|
|
782
|
+
/**
|
|
783
|
+
* Standard JavaScript object representation for StringUpdate
|
|
784
|
+
*/
|
|
785
|
+
interface AsObject {
|
|
786
|
+
new?: string;
|
|
787
|
+
old?: string;
|
|
788
|
+
}
|
|
789
|
+
/**
|
|
790
|
+
* Protobuf JSON representation for StringUpdate
|
|
791
|
+
*/
|
|
792
|
+
interface AsProtobufJSON {
|
|
793
|
+
new?: string;
|
|
794
|
+
old?: string;
|
|
795
|
+
}
|
|
796
|
+
}
|
|
797
|
+
/**
|
|
798
|
+
* Message implementation for ondewo.nlu.IntentUpdate
|
|
799
|
+
*/
|
|
800
|
+
export declare class IntentUpdate implements GrpcMessage {
|
|
801
|
+
static id: string;
|
|
802
|
+
/**
|
|
803
|
+
* Deserialize binary data to message
|
|
804
|
+
* @param instance message instance
|
|
805
|
+
*/
|
|
806
|
+
static deserializeBinary(bytes: ByteSource): IntentUpdate;
|
|
807
|
+
/**
|
|
808
|
+
* Check all the properties and set default protobuf values if necessary
|
|
809
|
+
* @param _instance message instance
|
|
810
|
+
*/
|
|
811
|
+
static refineValues(_instance: IntentUpdate): void;
|
|
812
|
+
/**
|
|
813
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
814
|
+
* @param _instance message instance
|
|
815
|
+
* @param _reader binary reader instance
|
|
816
|
+
*/
|
|
817
|
+
static deserializeBinaryFromReader(_instance: IntentUpdate, _reader: BinaryReader): void;
|
|
818
|
+
/**
|
|
819
|
+
* Serializes a message to binary format using provided binary reader
|
|
820
|
+
* @param _instance message instance
|
|
821
|
+
* @param _writer binary writer instance
|
|
822
|
+
*/
|
|
823
|
+
static serializeBinaryToWriter(_instance: IntentUpdate, _writer: BinaryWriter): void;
|
|
824
|
+
private _intentDisplayName?;
|
|
825
|
+
private _trainingPhraseUpdateList?;
|
|
826
|
+
private _deletedParameters?;
|
|
827
|
+
/**
|
|
828
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
829
|
+
* @param _value initial values object or instance of IntentUpdate to deeply clone from
|
|
830
|
+
*/
|
|
831
|
+
constructor(_value?: RecursivePartial<IntentUpdate.AsObject>);
|
|
832
|
+
get intentDisplayName(): string | undefined;
|
|
833
|
+
set intentDisplayName(value: string | undefined);
|
|
834
|
+
get trainingPhraseUpdateList(): IntentUpdate.TrainingPhraseUpdate[] | undefined;
|
|
835
|
+
set trainingPhraseUpdateList(value: IntentUpdate.TrainingPhraseUpdate[] | undefined);
|
|
836
|
+
get deletedParameters(): string[] | undefined;
|
|
837
|
+
set deletedParameters(value: string[] | undefined);
|
|
838
|
+
/**
|
|
839
|
+
* Serialize message to binary data
|
|
840
|
+
* @param instance message instance
|
|
841
|
+
*/
|
|
842
|
+
serializeBinary(): any;
|
|
843
|
+
/**
|
|
844
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
845
|
+
*/
|
|
846
|
+
toObject(): IntentUpdate.AsObject;
|
|
847
|
+
/**
|
|
848
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
849
|
+
*/
|
|
850
|
+
toJSON(): IntentUpdate.AsObject;
|
|
851
|
+
/**
|
|
852
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
853
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
854
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
855
|
+
*/
|
|
856
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): IntentUpdate.AsProtobufJSON;
|
|
857
|
+
}
|
|
858
|
+
export declare module IntentUpdate {
|
|
859
|
+
/**
|
|
860
|
+
* Standard JavaScript object representation for IntentUpdate
|
|
861
|
+
*/
|
|
862
|
+
interface AsObject {
|
|
863
|
+
intentDisplayName?: string;
|
|
864
|
+
trainingPhraseUpdateList?: IntentUpdate.TrainingPhraseUpdate.AsObject[];
|
|
865
|
+
deletedParameters?: string[];
|
|
866
|
+
}
|
|
867
|
+
/**
|
|
868
|
+
* Protobuf JSON representation for IntentUpdate
|
|
869
|
+
*/
|
|
870
|
+
interface AsProtobufJSON {
|
|
871
|
+
intentDisplayName?: string;
|
|
872
|
+
trainingPhraseUpdateList?: IntentUpdate.TrainingPhraseUpdate.AsProtobufJSON[] | null;
|
|
873
|
+
deletedParameters?: string[];
|
|
874
|
+
}
|
|
875
|
+
/**
|
|
876
|
+
* Message implementation for ondewo.nlu.TrainingPhraseUpdate
|
|
877
|
+
*/
|
|
878
|
+
class TrainingPhraseUpdate implements GrpcMessage {
|
|
879
|
+
static id: string;
|
|
880
|
+
/**
|
|
881
|
+
* Deserialize binary data to message
|
|
882
|
+
* @param instance message instance
|
|
883
|
+
*/
|
|
884
|
+
static deserializeBinary(bytes: ByteSource): TrainingPhraseUpdate;
|
|
885
|
+
/**
|
|
886
|
+
* Check all the properties and set default protobuf values if necessary
|
|
887
|
+
* @param _instance message instance
|
|
888
|
+
*/
|
|
889
|
+
static refineValues(_instance: TrainingPhraseUpdate): void;
|
|
890
|
+
/**
|
|
891
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
892
|
+
* @param _instance message instance
|
|
893
|
+
* @param _reader binary reader instance
|
|
894
|
+
*/
|
|
895
|
+
static deserializeBinaryFromReader(_instance: TrainingPhraseUpdate, _reader: BinaryReader): void;
|
|
896
|
+
/**
|
|
897
|
+
* Serializes a message to binary format using provided binary reader
|
|
898
|
+
* @param _instance message instance
|
|
899
|
+
* @param _writer binary writer instance
|
|
900
|
+
*/
|
|
901
|
+
static serializeBinaryToWriter(_instance: TrainingPhraseUpdate, _writer: BinaryWriter): void;
|
|
902
|
+
private _trainingPhraseUpdate?;
|
|
903
|
+
private _entityUpdates?;
|
|
904
|
+
private _entitiesReannotated?;
|
|
905
|
+
private _containsUpdateVariable?;
|
|
906
|
+
/**
|
|
907
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
908
|
+
* @param _value initial values object or instance of TrainingPhraseUpdate to deeply clone from
|
|
909
|
+
*/
|
|
910
|
+
constructor(_value?: RecursivePartial<TrainingPhraseUpdate.AsObject>);
|
|
911
|
+
get trainingPhraseUpdate(): StringUpdate | undefined;
|
|
912
|
+
set trainingPhraseUpdate(value: StringUpdate | undefined);
|
|
913
|
+
get entityUpdates(): StringUpdate[] | undefined;
|
|
914
|
+
set entityUpdates(value: StringUpdate[] | undefined);
|
|
915
|
+
get entitiesReannotated(): string[] | undefined;
|
|
916
|
+
set entitiesReannotated(value: string[] | undefined);
|
|
917
|
+
get containsUpdateVariable(): boolean | undefined;
|
|
918
|
+
set containsUpdateVariable(value: boolean | undefined);
|
|
919
|
+
/**
|
|
920
|
+
* Serialize message to binary data
|
|
921
|
+
* @param instance message instance
|
|
922
|
+
*/
|
|
923
|
+
serializeBinary(): any;
|
|
924
|
+
/**
|
|
925
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
926
|
+
*/
|
|
927
|
+
toObject(): TrainingPhraseUpdate.AsObject;
|
|
928
|
+
/**
|
|
929
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
930
|
+
*/
|
|
931
|
+
toJSON(): TrainingPhraseUpdate.AsObject;
|
|
932
|
+
/**
|
|
933
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
934
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
935
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
936
|
+
*/
|
|
937
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): TrainingPhraseUpdate.AsProtobufJSON;
|
|
938
|
+
}
|
|
939
|
+
module TrainingPhraseUpdate {
|
|
940
|
+
/**
|
|
941
|
+
* Standard JavaScript object representation for TrainingPhraseUpdate
|
|
942
|
+
*/
|
|
943
|
+
interface AsObject {
|
|
944
|
+
trainingPhraseUpdate?: StringUpdate.AsObject;
|
|
945
|
+
entityUpdates?: StringUpdate.AsObject[];
|
|
946
|
+
entitiesReannotated?: string[];
|
|
947
|
+
containsUpdateVariable?: boolean;
|
|
948
|
+
}
|
|
949
|
+
/**
|
|
950
|
+
* Protobuf JSON representation for TrainingPhraseUpdate
|
|
951
|
+
*/
|
|
952
|
+
interface AsProtobufJSON {
|
|
953
|
+
trainingPhraseUpdate?: StringUpdate.AsProtobufJSON | null;
|
|
954
|
+
entityUpdates?: StringUpdate.AsProtobufJSON[] | null;
|
|
955
|
+
entitiesReannotated?: string[];
|
|
956
|
+
containsUpdateVariable?: boolean;
|
|
957
|
+
}
|
|
958
|
+
}
|
|
959
|
+
}
|
|
960
|
+
/**
|
|
961
|
+
* Message implementation for ondewo.nlu.EntityTypeUpdate
|
|
962
|
+
*/
|
|
963
|
+
export declare class EntityTypeUpdate implements GrpcMessage {
|
|
964
|
+
static id: string;
|
|
965
|
+
/**
|
|
966
|
+
* Deserialize binary data to message
|
|
967
|
+
* @param instance message instance
|
|
968
|
+
*/
|
|
969
|
+
static deserializeBinary(bytes: ByteSource): EntityTypeUpdate;
|
|
970
|
+
/**
|
|
971
|
+
* Check all the properties and set default protobuf values if necessary
|
|
972
|
+
* @param _instance message instance
|
|
973
|
+
*/
|
|
974
|
+
static refineValues(_instance: EntityTypeUpdate): void;
|
|
975
|
+
/**
|
|
976
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
977
|
+
* @param _instance message instance
|
|
978
|
+
* @param _reader binary reader instance
|
|
979
|
+
*/
|
|
980
|
+
static deserializeBinaryFromReader(_instance: EntityTypeUpdate, _reader: BinaryReader): void;
|
|
981
|
+
/**
|
|
982
|
+
* Serializes a message to binary format using provided binary reader
|
|
983
|
+
* @param _instance message instance
|
|
984
|
+
* @param _writer binary writer instance
|
|
985
|
+
*/
|
|
986
|
+
static serializeBinaryToWriter(_instance: EntityTypeUpdate, _writer: BinaryWriter): void;
|
|
987
|
+
private _entityTypeName?;
|
|
988
|
+
private _valuesUpdateList?;
|
|
989
|
+
/**
|
|
990
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
991
|
+
* @param _value initial values object or instance of EntityTypeUpdate to deeply clone from
|
|
992
|
+
*/
|
|
993
|
+
constructor(_value?: RecursivePartial<EntityTypeUpdate.AsObject>);
|
|
994
|
+
get entityTypeName(): string | undefined;
|
|
995
|
+
set entityTypeName(value: string | undefined);
|
|
996
|
+
get valuesUpdateList(): EntityTypeUpdate.EntityUpdate[] | undefined;
|
|
997
|
+
set valuesUpdateList(value: EntityTypeUpdate.EntityUpdate[] | undefined);
|
|
998
|
+
/**
|
|
999
|
+
* Serialize message to binary data
|
|
1000
|
+
* @param instance message instance
|
|
1001
|
+
*/
|
|
1002
|
+
serializeBinary(): any;
|
|
1003
|
+
/**
|
|
1004
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
1005
|
+
*/
|
|
1006
|
+
toObject(): EntityTypeUpdate.AsObject;
|
|
1007
|
+
/**
|
|
1008
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
1009
|
+
*/
|
|
1010
|
+
toJSON(): EntityTypeUpdate.AsObject;
|
|
1011
|
+
/**
|
|
1012
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
1013
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
1014
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
1015
|
+
*/
|
|
1016
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): EntityTypeUpdate.AsProtobufJSON;
|
|
1017
|
+
}
|
|
1018
|
+
export declare module EntityTypeUpdate {
|
|
1019
|
+
/**
|
|
1020
|
+
* Standard JavaScript object representation for EntityTypeUpdate
|
|
1021
|
+
*/
|
|
1022
|
+
interface AsObject {
|
|
1023
|
+
entityTypeName?: string;
|
|
1024
|
+
valuesUpdateList?: EntityTypeUpdate.EntityUpdate.AsObject[];
|
|
1025
|
+
}
|
|
1026
|
+
/**
|
|
1027
|
+
* Protobuf JSON representation for EntityTypeUpdate
|
|
1028
|
+
*/
|
|
1029
|
+
interface AsProtobufJSON {
|
|
1030
|
+
entityTypeName?: string;
|
|
1031
|
+
valuesUpdateList?: EntityTypeUpdate.EntityUpdate.AsProtobufJSON[] | null;
|
|
1032
|
+
}
|
|
1033
|
+
/**
|
|
1034
|
+
* Message implementation for ondewo.nlu.EntityUpdate
|
|
1035
|
+
*/
|
|
1036
|
+
class EntityUpdate implements GrpcMessage {
|
|
1037
|
+
static id: string;
|
|
1038
|
+
/**
|
|
1039
|
+
* Deserialize binary data to message
|
|
1040
|
+
* @param instance message instance
|
|
1041
|
+
*/
|
|
1042
|
+
static deserializeBinary(bytes: ByteSource): EntityUpdate;
|
|
1043
|
+
/**
|
|
1044
|
+
* Check all the properties and set default protobuf values if necessary
|
|
1045
|
+
* @param _instance message instance
|
|
1046
|
+
*/
|
|
1047
|
+
static refineValues(_instance: EntityUpdate): void;
|
|
1048
|
+
/**
|
|
1049
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
1050
|
+
* @param _instance message instance
|
|
1051
|
+
* @param _reader binary reader instance
|
|
1052
|
+
*/
|
|
1053
|
+
static deserializeBinaryFromReader(_instance: EntityUpdate, _reader: BinaryReader): void;
|
|
1054
|
+
/**
|
|
1055
|
+
* Serializes a message to binary format using provided binary reader
|
|
1056
|
+
* @param _instance message instance
|
|
1057
|
+
* @param _writer binary writer instance
|
|
1058
|
+
*/
|
|
1059
|
+
static serializeBinaryToWriter(_instance: EntityUpdate, _writer: BinaryWriter): void;
|
|
1060
|
+
private _entityValueUpdate?;
|
|
1061
|
+
private _entitySynonymUpdates?;
|
|
1062
|
+
/**
|
|
1063
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
1064
|
+
* @param _value initial values object or instance of EntityUpdate to deeply clone from
|
|
1065
|
+
*/
|
|
1066
|
+
constructor(_value?: RecursivePartial<EntityUpdate.AsObject>);
|
|
1067
|
+
get entityValueUpdate(): StringUpdate | undefined;
|
|
1068
|
+
set entityValueUpdate(value: StringUpdate | undefined);
|
|
1069
|
+
get entitySynonymUpdates(): StringUpdate[] | undefined;
|
|
1070
|
+
set entitySynonymUpdates(value: StringUpdate[] | undefined);
|
|
1071
|
+
/**
|
|
1072
|
+
* Serialize message to binary data
|
|
1073
|
+
* @param instance message instance
|
|
1074
|
+
*/
|
|
1075
|
+
serializeBinary(): any;
|
|
1076
|
+
/**
|
|
1077
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
1078
|
+
*/
|
|
1079
|
+
toObject(): EntityUpdate.AsObject;
|
|
1080
|
+
/**
|
|
1081
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
1082
|
+
*/
|
|
1083
|
+
toJSON(): EntityUpdate.AsObject;
|
|
1084
|
+
/**
|
|
1085
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
1086
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
1087
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
1088
|
+
*/
|
|
1089
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): EntityUpdate.AsProtobufJSON;
|
|
1090
|
+
}
|
|
1091
|
+
module EntityUpdate {
|
|
1092
|
+
/**
|
|
1093
|
+
* Standard JavaScript object representation for EntityUpdate
|
|
1094
|
+
*/
|
|
1095
|
+
interface AsObject {
|
|
1096
|
+
entityValueUpdate?: StringUpdate.AsObject;
|
|
1097
|
+
entitySynonymUpdates?: StringUpdate.AsObject[];
|
|
1098
|
+
}
|
|
1099
|
+
/**
|
|
1100
|
+
* Protobuf JSON representation for EntityUpdate
|
|
1101
|
+
*/
|
|
1102
|
+
interface AsProtobufJSON {
|
|
1103
|
+
entityValueUpdate?: StringUpdate.AsProtobufJSON | null;
|
|
1104
|
+
entitySynonymUpdates?: StringUpdate.AsProtobufJSON[] | null;
|
|
1105
|
+
}
|
|
1106
|
+
}
|
|
1107
|
+
}
|
|
1108
|
+
/**
|
|
1109
|
+
* Message implementation for ondewo.nlu.CleanAllEntityTypesRequest
|
|
1110
|
+
*/
|
|
1111
|
+
export declare class CleanAllEntityTypesRequest implements GrpcMessage {
|
|
1112
|
+
static id: string;
|
|
1113
|
+
/**
|
|
1114
|
+
* Deserialize binary data to message
|
|
1115
|
+
* @param instance message instance
|
|
1116
|
+
*/
|
|
1117
|
+
static deserializeBinary(bytes: ByteSource): CleanAllEntityTypesRequest;
|
|
1118
|
+
/**
|
|
1119
|
+
* Check all the properties and set default protobuf values if necessary
|
|
1120
|
+
* @param _instance message instance
|
|
1121
|
+
*/
|
|
1122
|
+
static refineValues(_instance: CleanAllEntityTypesRequest): void;
|
|
1123
|
+
/**
|
|
1124
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
1125
|
+
* @param _instance message instance
|
|
1126
|
+
* @param _reader binary reader instance
|
|
1127
|
+
*/
|
|
1128
|
+
static deserializeBinaryFromReader(_instance: CleanAllEntityTypesRequest, _reader: BinaryReader): void;
|
|
1129
|
+
/**
|
|
1130
|
+
* Serializes a message to binary format using provided binary reader
|
|
1131
|
+
* @param _instance message instance
|
|
1132
|
+
* @param _writer binary writer instance
|
|
1133
|
+
*/
|
|
1134
|
+
static serializeBinaryToWriter(_instance: CleanAllEntityTypesRequest, _writer: BinaryWriter): void;
|
|
1135
|
+
private _parent?;
|
|
1136
|
+
private _languageCode?;
|
|
1137
|
+
private _specialCharacters?;
|
|
1138
|
+
private _substringWhiteList?;
|
|
1139
|
+
private _maxEntityCountUpdate?;
|
|
1140
|
+
private _forbiddenEntityTypePatterns?;
|
|
1141
|
+
private _dryRun?;
|
|
1142
|
+
private _numberOfWorkers?;
|
|
1143
|
+
/**
|
|
1144
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
1145
|
+
* @param _value initial values object or instance of CleanAllEntityTypesRequest to deeply clone from
|
|
1146
|
+
*/
|
|
1147
|
+
constructor(_value?: RecursivePartial<CleanAllEntityTypesRequest.AsObject>);
|
|
1148
|
+
get parent(): string | undefined;
|
|
1149
|
+
set parent(value: string | undefined);
|
|
1150
|
+
get languageCode(): string | undefined;
|
|
1151
|
+
set languageCode(value: string | undefined);
|
|
1152
|
+
get specialCharacters(): string | undefined;
|
|
1153
|
+
set specialCharacters(value: string | undefined);
|
|
1154
|
+
get substringWhiteList(): string[] | undefined;
|
|
1155
|
+
set substringWhiteList(value: string[] | undefined);
|
|
1156
|
+
get maxEntityCountUpdate(): number | undefined;
|
|
1157
|
+
set maxEntityCountUpdate(value: number | undefined);
|
|
1158
|
+
get forbiddenEntityTypePatterns(): string[] | undefined;
|
|
1159
|
+
set forbiddenEntityTypePatterns(value: string[] | undefined);
|
|
1160
|
+
get dryRun(): boolean | undefined;
|
|
1161
|
+
set dryRun(value: boolean | undefined);
|
|
1162
|
+
get numberOfWorkers(): number | undefined;
|
|
1163
|
+
set numberOfWorkers(value: number | undefined);
|
|
1164
|
+
/**
|
|
1165
|
+
* Serialize message to binary data
|
|
1166
|
+
* @param instance message instance
|
|
1167
|
+
*/
|
|
1168
|
+
serializeBinary(): any;
|
|
1169
|
+
/**
|
|
1170
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
1171
|
+
*/
|
|
1172
|
+
toObject(): CleanAllEntityTypesRequest.AsObject;
|
|
1173
|
+
/**
|
|
1174
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
1175
|
+
*/
|
|
1176
|
+
toJSON(): CleanAllEntityTypesRequest.AsObject;
|
|
1177
|
+
/**
|
|
1178
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
1179
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
1180
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
1181
|
+
*/
|
|
1182
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): CleanAllEntityTypesRequest.AsProtobufJSON;
|
|
1183
|
+
}
|
|
1184
|
+
export declare module CleanAllEntityTypesRequest {
|
|
1185
|
+
/**
|
|
1186
|
+
* Standard JavaScript object representation for CleanAllEntityTypesRequest
|
|
1187
|
+
*/
|
|
1188
|
+
interface AsObject {
|
|
1189
|
+
parent?: string;
|
|
1190
|
+
languageCode?: string;
|
|
1191
|
+
specialCharacters?: string;
|
|
1192
|
+
substringWhiteList?: string[];
|
|
1193
|
+
maxEntityCountUpdate?: number;
|
|
1194
|
+
forbiddenEntityTypePatterns?: string[];
|
|
1195
|
+
dryRun?: boolean;
|
|
1196
|
+
numberOfWorkers?: number;
|
|
1197
|
+
}
|
|
1198
|
+
/**
|
|
1199
|
+
* Protobuf JSON representation for CleanAllEntityTypesRequest
|
|
1200
|
+
*/
|
|
1201
|
+
interface AsProtobufJSON {
|
|
1202
|
+
parent?: string;
|
|
1203
|
+
languageCode?: string;
|
|
1204
|
+
specialCharacters?: string;
|
|
1205
|
+
substringWhiteList?: string[];
|
|
1206
|
+
maxEntityCountUpdate?: number;
|
|
1207
|
+
forbiddenEntityTypePatterns?: string[];
|
|
1208
|
+
dryRun?: boolean;
|
|
1209
|
+
numberOfWorkers?: number;
|
|
1210
|
+
}
|
|
1211
|
+
}
|
|
1212
|
+
/**
|
|
1213
|
+
* Message implementation for ondewo.nlu.CleanAllEntityTypesResponse
|
|
1214
|
+
*/
|
|
1215
|
+
export declare class CleanAllEntityTypesResponse implements GrpcMessage {
|
|
1216
|
+
static id: string;
|
|
1217
|
+
/**
|
|
1218
|
+
* Deserialize binary data to message
|
|
1219
|
+
* @param instance message instance
|
|
1220
|
+
*/
|
|
1221
|
+
static deserializeBinary(bytes: ByteSource): CleanAllEntityTypesResponse;
|
|
1222
|
+
/**
|
|
1223
|
+
* Check all the properties and set default protobuf values if necessary
|
|
1224
|
+
* @param _instance message instance
|
|
1225
|
+
*/
|
|
1226
|
+
static refineValues(_instance: CleanAllEntityTypesResponse): void;
|
|
1227
|
+
/**
|
|
1228
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
1229
|
+
* @param _instance message instance
|
|
1230
|
+
* @param _reader binary reader instance
|
|
1231
|
+
*/
|
|
1232
|
+
static deserializeBinaryFromReader(_instance: CleanAllEntityTypesResponse, _reader: BinaryReader): void;
|
|
1233
|
+
/**
|
|
1234
|
+
* Serializes a message to binary format using provided binary reader
|
|
1235
|
+
* @param _instance message instance
|
|
1236
|
+
* @param _writer binary writer instance
|
|
1237
|
+
*/
|
|
1238
|
+
static serializeBinaryToWriter(_instance: CleanAllEntityTypesResponse, _writer: BinaryWriter): void;
|
|
1239
|
+
private _cleanedEntityTypes?;
|
|
1240
|
+
private _deletedEntityTypes?;
|
|
1241
|
+
private _entityTypeUpdates?;
|
|
1242
|
+
private _entityTypeDeletions?;
|
|
1243
|
+
/**
|
|
1244
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
1245
|
+
* @param _value initial values object or instance of CleanAllEntityTypesResponse to deeply clone from
|
|
1246
|
+
*/
|
|
1247
|
+
constructor(_value?: RecursivePartial<CleanAllEntityTypesResponse.AsObject>);
|
|
1248
|
+
get cleanedEntityTypes(): ondewoNlu009.EntityType[] | undefined;
|
|
1249
|
+
set cleanedEntityTypes(value: ondewoNlu009.EntityType[] | undefined);
|
|
1250
|
+
get deletedEntityTypes(): ondewoNlu009.EntityType[] | undefined;
|
|
1251
|
+
set deletedEntityTypes(value: ondewoNlu009.EntityType[] | undefined);
|
|
1252
|
+
get entityTypeUpdates(): EntityTypeUpdate[] | undefined;
|
|
1253
|
+
set entityTypeUpdates(value: EntityTypeUpdate[] | undefined);
|
|
1254
|
+
get entityTypeDeletions(): EntityTypeUpdate[] | undefined;
|
|
1255
|
+
set entityTypeDeletions(value: EntityTypeUpdate[] | undefined);
|
|
1256
|
+
/**
|
|
1257
|
+
* Serialize message to binary data
|
|
1258
|
+
* @param instance message instance
|
|
1259
|
+
*/
|
|
1260
|
+
serializeBinary(): any;
|
|
1261
|
+
/**
|
|
1262
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
1263
|
+
*/
|
|
1264
|
+
toObject(): CleanAllEntityTypesResponse.AsObject;
|
|
1265
|
+
/**
|
|
1266
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
1267
|
+
*/
|
|
1268
|
+
toJSON(): CleanAllEntityTypesResponse.AsObject;
|
|
1269
|
+
/**
|
|
1270
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
1271
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
1272
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
1273
|
+
*/
|
|
1274
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): CleanAllEntityTypesResponse.AsProtobufJSON;
|
|
1275
|
+
}
|
|
1276
|
+
export declare module CleanAllEntityTypesResponse {
|
|
1277
|
+
/**
|
|
1278
|
+
* Standard JavaScript object representation for CleanAllEntityTypesResponse
|
|
1279
|
+
*/
|
|
1280
|
+
interface AsObject {
|
|
1281
|
+
cleanedEntityTypes?: ondewoNlu009.EntityType.AsObject[];
|
|
1282
|
+
deletedEntityTypes?: ondewoNlu009.EntityType.AsObject[];
|
|
1283
|
+
entityTypeUpdates?: EntityTypeUpdate.AsObject[];
|
|
1284
|
+
entityTypeDeletions?: EntityTypeUpdate.AsObject[];
|
|
1285
|
+
}
|
|
1286
|
+
/**
|
|
1287
|
+
* Protobuf JSON representation for CleanAllEntityTypesResponse
|
|
1288
|
+
*/
|
|
1289
|
+
interface AsProtobufJSON {
|
|
1290
|
+
cleanedEntityTypes?: ondewoNlu009.EntityType.AsProtobufJSON[] | null;
|
|
1291
|
+
deletedEntityTypes?: ondewoNlu009.EntityType.AsProtobufJSON[] | null;
|
|
1292
|
+
entityTypeUpdates?: EntityTypeUpdate.AsProtobufJSON[] | null;
|
|
1293
|
+
entityTypeDeletions?: EntityTypeUpdate.AsProtobufJSON[] | null;
|
|
1294
|
+
}
|
|
1295
|
+
}
|
|
1296
|
+
/**
|
|
1297
|
+
* Message implementation for ondewo.nlu.CleanEntityTypeRequest
|
|
1298
|
+
*/
|
|
1299
|
+
export declare class CleanEntityTypeRequest implements GrpcMessage {
|
|
1300
|
+
static id: string;
|
|
1301
|
+
/**
|
|
1302
|
+
* Deserialize binary data to message
|
|
1303
|
+
* @param instance message instance
|
|
1304
|
+
*/
|
|
1305
|
+
static deserializeBinary(bytes: ByteSource): CleanEntityTypeRequest;
|
|
1306
|
+
/**
|
|
1307
|
+
* Check all the properties and set default protobuf values if necessary
|
|
1308
|
+
* @param _instance message instance
|
|
1309
|
+
*/
|
|
1310
|
+
static refineValues(_instance: CleanEntityTypeRequest): void;
|
|
1311
|
+
/**
|
|
1312
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
1313
|
+
* @param _instance message instance
|
|
1314
|
+
* @param _reader binary reader instance
|
|
1315
|
+
*/
|
|
1316
|
+
static deserializeBinaryFromReader(_instance: CleanEntityTypeRequest, _reader: BinaryReader): void;
|
|
1317
|
+
/**
|
|
1318
|
+
* Serializes a message to binary format using provided binary reader
|
|
1319
|
+
* @param _instance message instance
|
|
1320
|
+
* @param _writer binary writer instance
|
|
1321
|
+
*/
|
|
1322
|
+
static serializeBinaryToWriter(_instance: CleanEntityTypeRequest, _writer: BinaryWriter): void;
|
|
1323
|
+
private _parent?;
|
|
1324
|
+
private _entityTypeName?;
|
|
1325
|
+
private _languageCode?;
|
|
1326
|
+
private _specialCharacters?;
|
|
1327
|
+
private _substringWhiteList?;
|
|
1328
|
+
private _maxEntityCountUpdate?;
|
|
1329
|
+
private _dryRun?;
|
|
1330
|
+
/**
|
|
1331
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
1332
|
+
* @param _value initial values object or instance of CleanEntityTypeRequest to deeply clone from
|
|
1333
|
+
*/
|
|
1334
|
+
constructor(_value?: RecursivePartial<CleanEntityTypeRequest.AsObject>);
|
|
1335
|
+
get parent(): string | undefined;
|
|
1336
|
+
set parent(value: string | undefined);
|
|
1337
|
+
get entityTypeName(): string | undefined;
|
|
1338
|
+
set entityTypeName(value: string | undefined);
|
|
1339
|
+
get languageCode(): string | undefined;
|
|
1340
|
+
set languageCode(value: string | undefined);
|
|
1341
|
+
get specialCharacters(): string | undefined;
|
|
1342
|
+
set specialCharacters(value: string | undefined);
|
|
1343
|
+
get substringWhiteList(): string[] | undefined;
|
|
1344
|
+
set substringWhiteList(value: string[] | undefined);
|
|
1345
|
+
get maxEntityCountUpdate(): number | undefined;
|
|
1346
|
+
set maxEntityCountUpdate(value: number | undefined);
|
|
1347
|
+
get dryRun(): boolean | undefined;
|
|
1348
|
+
set dryRun(value: boolean | undefined);
|
|
1349
|
+
/**
|
|
1350
|
+
* Serialize message to binary data
|
|
1351
|
+
* @param instance message instance
|
|
1352
|
+
*/
|
|
1353
|
+
serializeBinary(): any;
|
|
1354
|
+
/**
|
|
1355
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
1356
|
+
*/
|
|
1357
|
+
toObject(): CleanEntityTypeRequest.AsObject;
|
|
1358
|
+
/**
|
|
1359
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
1360
|
+
*/
|
|
1361
|
+
toJSON(): CleanEntityTypeRequest.AsObject;
|
|
1362
|
+
/**
|
|
1363
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
1364
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
1365
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
1366
|
+
*/
|
|
1367
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): CleanEntityTypeRequest.AsProtobufJSON;
|
|
1368
|
+
}
|
|
1369
|
+
export declare module CleanEntityTypeRequest {
|
|
1370
|
+
/**
|
|
1371
|
+
* Standard JavaScript object representation for CleanEntityTypeRequest
|
|
1372
|
+
*/
|
|
1373
|
+
interface AsObject {
|
|
1374
|
+
parent?: string;
|
|
1375
|
+
entityTypeName?: string;
|
|
1376
|
+
languageCode?: string;
|
|
1377
|
+
specialCharacters?: string;
|
|
1378
|
+
substringWhiteList?: string[];
|
|
1379
|
+
maxEntityCountUpdate?: number;
|
|
1380
|
+
dryRun?: boolean;
|
|
1381
|
+
}
|
|
1382
|
+
/**
|
|
1383
|
+
* Protobuf JSON representation for CleanEntityTypeRequest
|
|
1384
|
+
*/
|
|
1385
|
+
interface AsProtobufJSON {
|
|
1386
|
+
parent?: string;
|
|
1387
|
+
entityTypeName?: string;
|
|
1388
|
+
languageCode?: string;
|
|
1389
|
+
specialCharacters?: string;
|
|
1390
|
+
substringWhiteList?: string[];
|
|
1391
|
+
maxEntityCountUpdate?: number;
|
|
1392
|
+
dryRun?: boolean;
|
|
1393
|
+
}
|
|
1394
|
+
}
|
|
1395
|
+
/**
|
|
1396
|
+
* Message implementation for ondewo.nlu.CleanEntityTypeResponse
|
|
1397
|
+
*/
|
|
1398
|
+
export declare class CleanEntityTypeResponse implements GrpcMessage {
|
|
1399
|
+
static id: string;
|
|
1400
|
+
/**
|
|
1401
|
+
* Deserialize binary data to message
|
|
1402
|
+
* @param instance message instance
|
|
1403
|
+
*/
|
|
1404
|
+
static deserializeBinary(bytes: ByteSource): CleanEntityTypeResponse;
|
|
1405
|
+
/**
|
|
1406
|
+
* Check all the properties and set default protobuf values if necessary
|
|
1407
|
+
* @param _instance message instance
|
|
1408
|
+
*/
|
|
1409
|
+
static refineValues(_instance: CleanEntityTypeResponse): void;
|
|
1410
|
+
/**
|
|
1411
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
1412
|
+
* @param _instance message instance
|
|
1413
|
+
* @param _reader binary reader instance
|
|
1414
|
+
*/
|
|
1415
|
+
static deserializeBinaryFromReader(_instance: CleanEntityTypeResponse, _reader: BinaryReader): void;
|
|
1416
|
+
/**
|
|
1417
|
+
* Serializes a message to binary format using provided binary reader
|
|
1418
|
+
* @param _instance message instance
|
|
1419
|
+
* @param _writer binary writer instance
|
|
1420
|
+
*/
|
|
1421
|
+
static serializeBinaryToWriter(_instance: CleanEntityTypeResponse, _writer: BinaryWriter): void;
|
|
1422
|
+
private _cleanedEntityType?;
|
|
1423
|
+
private _entityTypeUpdate?;
|
|
1424
|
+
/**
|
|
1425
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
1426
|
+
* @param _value initial values object or instance of CleanEntityTypeResponse to deeply clone from
|
|
1427
|
+
*/
|
|
1428
|
+
constructor(_value?: RecursivePartial<CleanEntityTypeResponse.AsObject>);
|
|
1429
|
+
get cleanedEntityType(): ondewoNlu009.EntityType | undefined;
|
|
1430
|
+
set cleanedEntityType(value: ondewoNlu009.EntityType | undefined);
|
|
1431
|
+
get entityTypeUpdate(): EntityTypeUpdate | undefined;
|
|
1432
|
+
set entityTypeUpdate(value: EntityTypeUpdate | undefined);
|
|
1433
|
+
/**
|
|
1434
|
+
* Serialize message to binary data
|
|
1435
|
+
* @param instance message instance
|
|
1436
|
+
*/
|
|
1437
|
+
serializeBinary(): any;
|
|
1438
|
+
/**
|
|
1439
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
1440
|
+
*/
|
|
1441
|
+
toObject(): CleanEntityTypeResponse.AsObject;
|
|
1442
|
+
/**
|
|
1443
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
1444
|
+
*/
|
|
1445
|
+
toJSON(): CleanEntityTypeResponse.AsObject;
|
|
1446
|
+
/**
|
|
1447
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
1448
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
1449
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
1450
|
+
*/
|
|
1451
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): CleanEntityTypeResponse.AsProtobufJSON;
|
|
1452
|
+
}
|
|
1453
|
+
export declare module CleanEntityTypeResponse {
|
|
1454
|
+
/**
|
|
1455
|
+
* Standard JavaScript object representation for CleanEntityTypeResponse
|
|
1456
|
+
*/
|
|
1457
|
+
interface AsObject {
|
|
1458
|
+
cleanedEntityType?: ondewoNlu009.EntityType.AsObject;
|
|
1459
|
+
entityTypeUpdate?: EntityTypeUpdate.AsObject;
|
|
1460
|
+
}
|
|
1461
|
+
/**
|
|
1462
|
+
* Protobuf JSON representation for CleanEntityTypeResponse
|
|
1463
|
+
*/
|
|
1464
|
+
interface AsProtobufJSON {
|
|
1465
|
+
cleanedEntityType?: ondewoNlu009.EntityType.AsProtobufJSON | null;
|
|
1466
|
+
entityTypeUpdate?: EntityTypeUpdate.AsProtobufJSON | null;
|
|
1467
|
+
}
|
|
1468
|
+
}
|
|
1469
|
+
/**
|
|
1470
|
+
* Message implementation for ondewo.nlu.AddTrainingPhrasesRequest
|
|
1471
|
+
*/
|
|
1472
|
+
export declare class AddTrainingPhrasesRequest implements GrpcMessage {
|
|
1473
|
+
static id: string;
|
|
1474
|
+
/**
|
|
1475
|
+
* Deserialize binary data to message
|
|
1476
|
+
* @param instance message instance
|
|
1477
|
+
*/
|
|
1478
|
+
static deserializeBinary(bytes: ByteSource): AddTrainingPhrasesRequest;
|
|
1479
|
+
/**
|
|
1480
|
+
* Check all the properties and set default protobuf values if necessary
|
|
1481
|
+
* @param _instance message instance
|
|
1482
|
+
*/
|
|
1483
|
+
static refineValues(_instance: AddTrainingPhrasesRequest): void;
|
|
1484
|
+
/**
|
|
1485
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
1486
|
+
* @param _instance message instance
|
|
1487
|
+
* @param _reader binary reader instance
|
|
1488
|
+
*/
|
|
1489
|
+
static deserializeBinaryFromReader(_instance: AddTrainingPhrasesRequest, _reader: BinaryReader): void;
|
|
1490
|
+
/**
|
|
1491
|
+
* Serializes a message to binary format using provided binary reader
|
|
1492
|
+
* @param _instance message instance
|
|
1493
|
+
* @param _writer binary writer instance
|
|
1494
|
+
*/
|
|
1495
|
+
static serializeBinaryToWriter(_instance: AddTrainingPhrasesRequest, _writer: BinaryWriter): void;
|
|
1496
|
+
private _parent?;
|
|
1497
|
+
private _languageCode?;
|
|
1498
|
+
private _trainingPhraseList?;
|
|
1499
|
+
private _extractEntities?;
|
|
1500
|
+
private _specialCharacters?;
|
|
1501
|
+
private _trainingPhraseCleanerOptions?;
|
|
1502
|
+
private _numberOfWorkers?;
|
|
1503
|
+
/**
|
|
1504
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
1505
|
+
* @param _value initial values object or instance of AddTrainingPhrasesRequest to deeply clone from
|
|
1506
|
+
*/
|
|
1507
|
+
constructor(_value?: RecursivePartial<AddTrainingPhrasesRequest.AsObject>);
|
|
1508
|
+
get parent(): string | undefined;
|
|
1509
|
+
set parent(value: string | undefined);
|
|
1510
|
+
get languageCode(): string | undefined;
|
|
1511
|
+
set languageCode(value: string | undefined);
|
|
1512
|
+
get trainingPhraseList(): AddTrainingPhrasesRequest.TrainingPhraseForIntent[] | undefined;
|
|
1513
|
+
set trainingPhraseList(value: AddTrainingPhrasesRequest.TrainingPhraseForIntent[] | undefined);
|
|
1514
|
+
get extractEntities(): boolean | undefined;
|
|
1515
|
+
set extractEntities(value: boolean | undefined);
|
|
1516
|
+
get specialCharacters(): string | undefined;
|
|
1517
|
+
set specialCharacters(value: string | undefined);
|
|
1518
|
+
get trainingPhraseCleanerOptions(): TrainingPhraseCleanerOptions | undefined;
|
|
1519
|
+
set trainingPhraseCleanerOptions(value: TrainingPhraseCleanerOptions | undefined);
|
|
1520
|
+
get numberOfWorkers(): number | undefined;
|
|
1521
|
+
set numberOfWorkers(value: number | undefined);
|
|
1522
|
+
/**
|
|
1523
|
+
* Serialize message to binary data
|
|
1524
|
+
* @param instance message instance
|
|
1525
|
+
*/
|
|
1526
|
+
serializeBinary(): any;
|
|
1527
|
+
/**
|
|
1528
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
1529
|
+
*/
|
|
1530
|
+
toObject(): AddTrainingPhrasesRequest.AsObject;
|
|
1531
|
+
/**
|
|
1532
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
1533
|
+
*/
|
|
1534
|
+
toJSON(): AddTrainingPhrasesRequest.AsObject;
|
|
1535
|
+
/**
|
|
1536
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
1537
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
1538
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
1539
|
+
*/
|
|
1540
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): AddTrainingPhrasesRequest.AsProtobufJSON;
|
|
1541
|
+
}
|
|
1542
|
+
export declare module AddTrainingPhrasesRequest {
|
|
1543
|
+
/**
|
|
1544
|
+
* Standard JavaScript object representation for AddTrainingPhrasesRequest
|
|
1545
|
+
*/
|
|
1546
|
+
interface AsObject {
|
|
1547
|
+
parent?: string;
|
|
1548
|
+
languageCode?: string;
|
|
1549
|
+
trainingPhraseList?: AddTrainingPhrasesRequest.TrainingPhraseForIntent.AsObject[];
|
|
1550
|
+
extractEntities?: boolean;
|
|
1551
|
+
specialCharacters?: string;
|
|
1552
|
+
trainingPhraseCleanerOptions?: TrainingPhraseCleanerOptions.AsObject;
|
|
1553
|
+
numberOfWorkers?: number;
|
|
1554
|
+
}
|
|
1555
|
+
/**
|
|
1556
|
+
* Protobuf JSON representation for AddTrainingPhrasesRequest
|
|
1557
|
+
*/
|
|
1558
|
+
interface AsProtobufJSON {
|
|
1559
|
+
parent?: string;
|
|
1560
|
+
languageCode?: string;
|
|
1561
|
+
trainingPhraseList?: AddTrainingPhrasesRequest.TrainingPhraseForIntent.AsProtobufJSON[] | null;
|
|
1562
|
+
extractEntities?: boolean;
|
|
1563
|
+
specialCharacters?: string;
|
|
1564
|
+
trainingPhraseCleanerOptions?: TrainingPhraseCleanerOptions.AsProtobufJSON | null;
|
|
1565
|
+
numberOfWorkers?: number;
|
|
1566
|
+
}
|
|
1567
|
+
/**
|
|
1568
|
+
* Message implementation for ondewo.nlu.TrainingPhraseForIntent
|
|
1569
|
+
*/
|
|
1570
|
+
class TrainingPhraseForIntent implements GrpcMessage {
|
|
1571
|
+
static id: string;
|
|
1572
|
+
/**
|
|
1573
|
+
* Deserialize binary data to message
|
|
1574
|
+
* @param instance message instance
|
|
1575
|
+
*/
|
|
1576
|
+
static deserializeBinary(bytes: ByteSource): TrainingPhraseForIntent;
|
|
1577
|
+
/**
|
|
1578
|
+
* Check all the properties and set default protobuf values if necessary
|
|
1579
|
+
* @param _instance message instance
|
|
1580
|
+
*/
|
|
1581
|
+
static refineValues(_instance: TrainingPhraseForIntent): void;
|
|
1582
|
+
/**
|
|
1583
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
1584
|
+
* @param _instance message instance
|
|
1585
|
+
* @param _reader binary reader instance
|
|
1586
|
+
*/
|
|
1587
|
+
static deserializeBinaryFromReader(_instance: TrainingPhraseForIntent, _reader: BinaryReader): void;
|
|
1588
|
+
/**
|
|
1589
|
+
* Serializes a message to binary format using provided binary reader
|
|
1590
|
+
* @param _instance message instance
|
|
1591
|
+
* @param _writer binary writer instance
|
|
1592
|
+
*/
|
|
1593
|
+
static serializeBinaryToWriter(_instance: TrainingPhraseForIntent, _writer: BinaryWriter): void;
|
|
1594
|
+
private _trainingPhrase?;
|
|
1595
|
+
private _intentDisplayName?;
|
|
1596
|
+
private _entities?;
|
|
1597
|
+
/**
|
|
1598
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
1599
|
+
* @param _value initial values object or instance of TrainingPhraseForIntent to deeply clone from
|
|
1600
|
+
*/
|
|
1601
|
+
constructor(_value?: RecursivePartial<TrainingPhraseForIntent.AsObject>);
|
|
1602
|
+
get trainingPhrase(): string | undefined;
|
|
1603
|
+
set trainingPhrase(value: string | undefined);
|
|
1604
|
+
get intentDisplayName(): string | undefined;
|
|
1605
|
+
set intentDisplayName(value: string | undefined);
|
|
1606
|
+
get entities(): ondewoNlu008.Intent.TrainingPhrase.Entity[] | undefined;
|
|
1607
|
+
set entities(value: ondewoNlu008.Intent.TrainingPhrase.Entity[] | undefined);
|
|
1608
|
+
/**
|
|
1609
|
+
* Serialize message to binary data
|
|
1610
|
+
* @param instance message instance
|
|
1611
|
+
*/
|
|
1612
|
+
serializeBinary(): any;
|
|
1613
|
+
/**
|
|
1614
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
1615
|
+
*/
|
|
1616
|
+
toObject(): TrainingPhraseForIntent.AsObject;
|
|
1617
|
+
/**
|
|
1618
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
1619
|
+
*/
|
|
1620
|
+
toJSON(): TrainingPhraseForIntent.AsObject;
|
|
1621
|
+
/**
|
|
1622
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
1623
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
1624
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
1625
|
+
*/
|
|
1626
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): TrainingPhraseForIntent.AsProtobufJSON;
|
|
1627
|
+
}
|
|
1628
|
+
module TrainingPhraseForIntent {
|
|
1629
|
+
/**
|
|
1630
|
+
* Standard JavaScript object representation for TrainingPhraseForIntent
|
|
1631
|
+
*/
|
|
1632
|
+
interface AsObject {
|
|
1633
|
+
trainingPhrase?: string;
|
|
1634
|
+
intentDisplayName?: string;
|
|
1635
|
+
entities?: ondewoNlu008.Intent.TrainingPhrase.Entity.AsObject[];
|
|
1636
|
+
}
|
|
1637
|
+
/**
|
|
1638
|
+
* Protobuf JSON representation for TrainingPhraseForIntent
|
|
1639
|
+
*/
|
|
1640
|
+
interface AsProtobufJSON {
|
|
1641
|
+
trainingPhrase?: string;
|
|
1642
|
+
intentDisplayName?: string;
|
|
1643
|
+
entities?: ondewoNlu008.Intent.TrainingPhrase.Entity.AsProtobufJSON[] | null;
|
|
1644
|
+
}
|
|
1645
|
+
}
|
|
1646
|
+
}
|
|
1647
|
+
/**
|
|
1648
|
+
* Message implementation for ondewo.nlu.AddTrainingPhrasesResponse
|
|
1649
|
+
*/
|
|
1650
|
+
export declare class AddTrainingPhrasesResponse implements GrpcMessage {
|
|
1651
|
+
static id: string;
|
|
1652
|
+
/**
|
|
1653
|
+
* Deserialize binary data to message
|
|
1654
|
+
* @param instance message instance
|
|
1655
|
+
*/
|
|
1656
|
+
static deserializeBinary(bytes: ByteSource): AddTrainingPhrasesResponse;
|
|
1657
|
+
/**
|
|
1658
|
+
* Check all the properties and set default protobuf values if necessary
|
|
1659
|
+
* @param _instance message instance
|
|
1660
|
+
*/
|
|
1661
|
+
static refineValues(_instance: AddTrainingPhrasesResponse): void;
|
|
1662
|
+
/**
|
|
1663
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
1664
|
+
* @param _instance message instance
|
|
1665
|
+
* @param _reader binary reader instance
|
|
1666
|
+
*/
|
|
1667
|
+
static deserializeBinaryFromReader(_instance: AddTrainingPhrasesResponse, _reader: BinaryReader): void;
|
|
1668
|
+
/**
|
|
1669
|
+
* Serializes a message to binary format using provided binary reader
|
|
1670
|
+
* @param _instance message instance
|
|
1671
|
+
* @param _writer binary writer instance
|
|
1672
|
+
*/
|
|
1673
|
+
static serializeBinaryToWriter(_instance: AddTrainingPhrasesResponse, _writer: BinaryWriter): void;
|
|
1674
|
+
private _errorMessages?;
|
|
1675
|
+
/**
|
|
1676
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
1677
|
+
* @param _value initial values object or instance of AddTrainingPhrasesResponse to deeply clone from
|
|
1678
|
+
*/
|
|
1679
|
+
constructor(_value?: RecursivePartial<AddTrainingPhrasesResponse.AsObject>);
|
|
1680
|
+
get errorMessages(): string[] | undefined;
|
|
1681
|
+
set errorMessages(value: string[] | undefined);
|
|
1682
|
+
/**
|
|
1683
|
+
* Serialize message to binary data
|
|
1684
|
+
* @param instance message instance
|
|
1685
|
+
*/
|
|
1686
|
+
serializeBinary(): any;
|
|
1687
|
+
/**
|
|
1688
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
1689
|
+
*/
|
|
1690
|
+
toObject(): AddTrainingPhrasesResponse.AsObject;
|
|
1691
|
+
/**
|
|
1692
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
1693
|
+
*/
|
|
1694
|
+
toJSON(): AddTrainingPhrasesResponse.AsObject;
|
|
1695
|
+
/**
|
|
1696
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
1697
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
1698
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
1699
|
+
*/
|
|
1700
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): AddTrainingPhrasesResponse.AsProtobufJSON;
|
|
1701
|
+
}
|
|
1702
|
+
export declare module AddTrainingPhrasesResponse {
|
|
1703
|
+
/**
|
|
1704
|
+
* Standard JavaScript object representation for AddTrainingPhrasesResponse
|
|
1705
|
+
*/
|
|
1706
|
+
interface AsObject {
|
|
1707
|
+
errorMessages?: string[];
|
|
1708
|
+
}
|
|
1709
|
+
/**
|
|
1710
|
+
* Protobuf JSON representation for AddTrainingPhrasesResponse
|
|
1711
|
+
*/
|
|
1712
|
+
interface AsProtobufJSON {
|
|
1713
|
+
errorMessages?: string[];
|
|
1714
|
+
}
|
|
1715
|
+
}
|
|
1716
|
+
/**
|
|
1717
|
+
* Message implementation for ondewo.nlu.AddTrainingPhrasesFromCSVRequest
|
|
1718
|
+
*/
|
|
1719
|
+
export declare class AddTrainingPhrasesFromCSVRequest implements GrpcMessage {
|
|
1720
|
+
static id: string;
|
|
1721
|
+
/**
|
|
1722
|
+
* Deserialize binary data to message
|
|
1723
|
+
* @param instance message instance
|
|
1724
|
+
*/
|
|
1725
|
+
static deserializeBinary(bytes: ByteSource): AddTrainingPhrasesFromCSVRequest;
|
|
1726
|
+
/**
|
|
1727
|
+
* Check all the properties and set default protobuf values if necessary
|
|
1728
|
+
* @param _instance message instance
|
|
1729
|
+
*/
|
|
1730
|
+
static refineValues(_instance: AddTrainingPhrasesFromCSVRequest): void;
|
|
1731
|
+
/**
|
|
1732
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
1733
|
+
* @param _instance message instance
|
|
1734
|
+
* @param _reader binary reader instance
|
|
1735
|
+
*/
|
|
1736
|
+
static deserializeBinaryFromReader(_instance: AddTrainingPhrasesFromCSVRequest, _reader: BinaryReader): void;
|
|
1737
|
+
/**
|
|
1738
|
+
* Serializes a message to binary format using provided binary reader
|
|
1739
|
+
* @param _instance message instance
|
|
1740
|
+
* @param _writer binary writer instance
|
|
1741
|
+
*/
|
|
1742
|
+
static serializeBinaryToWriter(_instance: AddTrainingPhrasesFromCSVRequest, _writer: BinaryWriter): void;
|
|
1743
|
+
private _parent?;
|
|
1744
|
+
private _languageCode?;
|
|
1745
|
+
private _csvContents?;
|
|
1746
|
+
private _extractEntities?;
|
|
1747
|
+
private _specialCharacters?;
|
|
1748
|
+
private _trainingPhraseCleanerOptions?;
|
|
1749
|
+
private _numberOfWorkers?;
|
|
1750
|
+
/**
|
|
1751
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
1752
|
+
* @param _value initial values object or instance of AddTrainingPhrasesFromCSVRequest to deeply clone from
|
|
1753
|
+
*/
|
|
1754
|
+
constructor(_value?: RecursivePartial<AddTrainingPhrasesFromCSVRequest.AsObject>);
|
|
1755
|
+
get parent(): string | undefined;
|
|
1756
|
+
set parent(value: string | undefined);
|
|
1757
|
+
get languageCode(): string | undefined;
|
|
1758
|
+
set languageCode(value: string | undefined);
|
|
1759
|
+
get csvContents(): Uint8Array | undefined;
|
|
1760
|
+
set csvContents(value: Uint8Array | undefined);
|
|
1761
|
+
get extractEntities(): boolean | undefined;
|
|
1762
|
+
set extractEntities(value: boolean | undefined);
|
|
1763
|
+
get specialCharacters(): string | undefined;
|
|
1764
|
+
set specialCharacters(value: string | undefined);
|
|
1765
|
+
get trainingPhraseCleanerOptions(): TrainingPhraseCleanerOptions | undefined;
|
|
1766
|
+
set trainingPhraseCleanerOptions(value: TrainingPhraseCleanerOptions | undefined);
|
|
1767
|
+
get numberOfWorkers(): number | undefined;
|
|
1768
|
+
set numberOfWorkers(value: number | undefined);
|
|
1769
|
+
/**
|
|
1770
|
+
* Serialize message to binary data
|
|
1771
|
+
* @param instance message instance
|
|
1772
|
+
*/
|
|
1773
|
+
serializeBinary(): any;
|
|
1774
|
+
/**
|
|
1775
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
1776
|
+
*/
|
|
1777
|
+
toObject(): AddTrainingPhrasesFromCSVRequest.AsObject;
|
|
1778
|
+
/**
|
|
1779
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
1780
|
+
*/
|
|
1781
|
+
toJSON(): AddTrainingPhrasesFromCSVRequest.AsObject;
|
|
1782
|
+
/**
|
|
1783
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
1784
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
1785
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
1786
|
+
*/
|
|
1787
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): AddTrainingPhrasesFromCSVRequest.AsProtobufJSON;
|
|
1788
|
+
}
|
|
1789
|
+
export declare module AddTrainingPhrasesFromCSVRequest {
|
|
1790
|
+
/**
|
|
1791
|
+
* Standard JavaScript object representation for AddTrainingPhrasesFromCSVRequest
|
|
1792
|
+
*/
|
|
1793
|
+
interface AsObject {
|
|
1794
|
+
parent?: string;
|
|
1795
|
+
languageCode?: string;
|
|
1796
|
+
csvContents?: Uint8Array;
|
|
1797
|
+
extractEntities?: boolean;
|
|
1798
|
+
specialCharacters?: string;
|
|
1799
|
+
trainingPhraseCleanerOptions?: TrainingPhraseCleanerOptions.AsObject;
|
|
1800
|
+
numberOfWorkers?: number;
|
|
1801
|
+
}
|
|
1802
|
+
/**
|
|
1803
|
+
* Protobuf JSON representation for AddTrainingPhrasesFromCSVRequest
|
|
1804
|
+
*/
|
|
1805
|
+
interface AsProtobufJSON {
|
|
1806
|
+
parent?: string;
|
|
1807
|
+
languageCode?: string;
|
|
1808
|
+
csvContents?: string;
|
|
1809
|
+
extractEntities?: boolean;
|
|
1810
|
+
specialCharacters?: string;
|
|
1811
|
+
trainingPhraseCleanerOptions?: TrainingPhraseCleanerOptions.AsProtobufJSON | null;
|
|
1812
|
+
numberOfWorkers?: number;
|
|
1813
|
+
}
|
|
1814
|
+
}
|