@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,2014 @@
|
|
|
1
|
+
import { GrpcMessage, RecursivePartial, ToProtobufJSONOptions } from '@ngx-grpc/common';
|
|
2
|
+
import { BinaryReader, BinaryWriter, ByteSource } from 'google-protobuf';
|
|
3
|
+
import * as googleProtobuf004 from '@ngx-grpc/well-known-types';
|
|
4
|
+
import * as googleProtobuf008 from '@ngx-grpc/well-known-types';
|
|
5
|
+
import * as ondewoNlu009 from '../../ondewo/nlu/common.pb';
|
|
6
|
+
export declare enum EntityTypeView {
|
|
7
|
+
ENTITY_TYPE_VIEW_UNSPECIFIED = 0,
|
|
8
|
+
ENTITY_TYPE_VIEW_FULL = 1,
|
|
9
|
+
ENTITY_TYPE_VIEW_PARTIAL = 2,
|
|
10
|
+
ENTITY_TYPE_VIEW_SHALLOW = 3
|
|
11
|
+
}
|
|
12
|
+
export declare enum EntityTypeCategory {
|
|
13
|
+
ALL_ENTITY_TYPES = 0,
|
|
14
|
+
DEFAULT_ENTITY_TYPES = 1,
|
|
15
|
+
USER_DEFINED_ENTITY_TYPES = 2
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Message implementation for ondewo.nlu.EntityType
|
|
19
|
+
*/
|
|
20
|
+
export declare class EntityType implements GrpcMessage {
|
|
21
|
+
static id: string;
|
|
22
|
+
/**
|
|
23
|
+
* Deserialize binary data to message
|
|
24
|
+
* @param instance message instance
|
|
25
|
+
*/
|
|
26
|
+
static deserializeBinary(bytes: ByteSource): EntityType;
|
|
27
|
+
/**
|
|
28
|
+
* Check all the properties and set default protobuf values if necessary
|
|
29
|
+
* @param _instance message instance
|
|
30
|
+
*/
|
|
31
|
+
static refineValues(_instance: EntityType): void;
|
|
32
|
+
/**
|
|
33
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
34
|
+
* @param _instance message instance
|
|
35
|
+
* @param _reader binary reader instance
|
|
36
|
+
*/
|
|
37
|
+
static deserializeBinaryFromReader(_instance: EntityType, _reader: BinaryReader): void;
|
|
38
|
+
/**
|
|
39
|
+
* Serializes a message to binary format using provided binary reader
|
|
40
|
+
* @param _instance message instance
|
|
41
|
+
* @param _writer binary writer instance
|
|
42
|
+
*/
|
|
43
|
+
static serializeBinaryToWriter(_instance: EntityType, _writer: BinaryWriter): void;
|
|
44
|
+
private _name?;
|
|
45
|
+
private _displayName?;
|
|
46
|
+
private _kind?;
|
|
47
|
+
private _autoExpansionMode?;
|
|
48
|
+
private _entities?;
|
|
49
|
+
private _nextPageToken?;
|
|
50
|
+
private _entityCount?;
|
|
51
|
+
private _status?;
|
|
52
|
+
private _synonymCount?;
|
|
53
|
+
/**
|
|
54
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
55
|
+
* @param _value initial values object or instance of EntityType to deeply clone from
|
|
56
|
+
*/
|
|
57
|
+
constructor(_value?: RecursivePartial<EntityType.AsObject>);
|
|
58
|
+
get name(): string | undefined;
|
|
59
|
+
set name(value: string | undefined);
|
|
60
|
+
get displayName(): string | undefined;
|
|
61
|
+
set displayName(value: string | undefined);
|
|
62
|
+
get kind(): EntityType.Kind | undefined;
|
|
63
|
+
set kind(value: EntityType.Kind | undefined);
|
|
64
|
+
get autoExpansionMode(): EntityType.AutoExpansionMode | undefined;
|
|
65
|
+
set autoExpansionMode(value: EntityType.AutoExpansionMode | undefined);
|
|
66
|
+
get entities(): EntityType.Entity[] | undefined;
|
|
67
|
+
set entities(value: EntityType.Entity[] | undefined);
|
|
68
|
+
get nextPageToken(): string | undefined;
|
|
69
|
+
set nextPageToken(value: string | undefined);
|
|
70
|
+
get entityCount(): number | undefined;
|
|
71
|
+
set entityCount(value: number | undefined);
|
|
72
|
+
get status(): EntityType.EntityTypeStatus | undefined;
|
|
73
|
+
set status(value: EntityType.EntityTypeStatus | undefined);
|
|
74
|
+
get synonymCount(): number | undefined;
|
|
75
|
+
set synonymCount(value: number | undefined);
|
|
76
|
+
/**
|
|
77
|
+
* Serialize message to binary data
|
|
78
|
+
* @param instance message instance
|
|
79
|
+
*/
|
|
80
|
+
serializeBinary(): any;
|
|
81
|
+
/**
|
|
82
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
83
|
+
*/
|
|
84
|
+
toObject(): EntityType.AsObject;
|
|
85
|
+
/**
|
|
86
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
87
|
+
*/
|
|
88
|
+
toJSON(): EntityType.AsObject;
|
|
89
|
+
/**
|
|
90
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
91
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
92
|
+
* 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
|
|
93
|
+
*/
|
|
94
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): EntityType.AsProtobufJSON;
|
|
95
|
+
}
|
|
96
|
+
export declare module EntityType {
|
|
97
|
+
/**
|
|
98
|
+
* Standard JavaScript object representation for EntityType
|
|
99
|
+
*/
|
|
100
|
+
interface AsObject {
|
|
101
|
+
name?: string;
|
|
102
|
+
displayName?: string;
|
|
103
|
+
kind?: EntityType.Kind;
|
|
104
|
+
autoExpansionMode?: EntityType.AutoExpansionMode;
|
|
105
|
+
entities?: EntityType.Entity.AsObject[];
|
|
106
|
+
nextPageToken?: string;
|
|
107
|
+
entityCount?: number;
|
|
108
|
+
status?: EntityType.EntityTypeStatus;
|
|
109
|
+
synonymCount?: number;
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* Protobuf JSON representation for EntityType
|
|
113
|
+
*/
|
|
114
|
+
interface AsProtobufJSON {
|
|
115
|
+
name?: string;
|
|
116
|
+
displayName?: string;
|
|
117
|
+
kind?: string;
|
|
118
|
+
autoExpansionMode?: string;
|
|
119
|
+
entities?: EntityType.Entity.AsProtobufJSON[] | null;
|
|
120
|
+
nextPageToken?: string;
|
|
121
|
+
entityCount?: number;
|
|
122
|
+
status?: string;
|
|
123
|
+
synonymCount?: number;
|
|
124
|
+
}
|
|
125
|
+
enum Kind {
|
|
126
|
+
KIND_UNSPECIFIED = 0,
|
|
127
|
+
KIND_MAP = 1,
|
|
128
|
+
KIND_LIST = 2
|
|
129
|
+
}
|
|
130
|
+
enum EntityTypeStatus {
|
|
131
|
+
ACTIVE = 0,
|
|
132
|
+
INACTIVE = 1
|
|
133
|
+
}
|
|
134
|
+
enum AutoExpansionMode {
|
|
135
|
+
AUTO_EXPANSION_MODE_UNSPECIFIED = 0,
|
|
136
|
+
AUTO_EXPANSION_MODE_DEFAULT = 1
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
* Message implementation for ondewo.nlu.Entity
|
|
140
|
+
*/
|
|
141
|
+
class Entity implements GrpcMessage {
|
|
142
|
+
static id: string;
|
|
143
|
+
/**
|
|
144
|
+
* Deserialize binary data to message
|
|
145
|
+
* @param instance message instance
|
|
146
|
+
*/
|
|
147
|
+
static deserializeBinary(bytes: ByteSource): Entity;
|
|
148
|
+
/**
|
|
149
|
+
* Check all the properties and set default protobuf values if necessary
|
|
150
|
+
* @param _instance message instance
|
|
151
|
+
*/
|
|
152
|
+
static refineValues(_instance: Entity): void;
|
|
153
|
+
/**
|
|
154
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
155
|
+
* @param _instance message instance
|
|
156
|
+
* @param _reader binary reader instance
|
|
157
|
+
*/
|
|
158
|
+
static deserializeBinaryFromReader(_instance: Entity, _reader: BinaryReader): void;
|
|
159
|
+
/**
|
|
160
|
+
* Serializes a message to binary format using provided binary reader
|
|
161
|
+
* @param _instance message instance
|
|
162
|
+
* @param _writer binary writer instance
|
|
163
|
+
*/
|
|
164
|
+
static serializeBinaryToWriter(_instance: Entity, _writer: BinaryWriter): void;
|
|
165
|
+
private _value?;
|
|
166
|
+
private _synonyms?;
|
|
167
|
+
private _name?;
|
|
168
|
+
private _displayName?;
|
|
169
|
+
private _synonymCount?;
|
|
170
|
+
private _languageCode?;
|
|
171
|
+
/**
|
|
172
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
173
|
+
* @param _value initial values object or instance of Entity to deeply clone from
|
|
174
|
+
*/
|
|
175
|
+
constructor(_value?: RecursivePartial<Entity.AsObject>);
|
|
176
|
+
get value(): string | undefined;
|
|
177
|
+
set value(value: string | undefined);
|
|
178
|
+
get synonyms(): string[] | undefined;
|
|
179
|
+
set synonyms(value: string[] | undefined);
|
|
180
|
+
get name(): string | undefined;
|
|
181
|
+
set name(value: string | undefined);
|
|
182
|
+
get displayName(): string | undefined;
|
|
183
|
+
set displayName(value: string | undefined);
|
|
184
|
+
get synonymCount(): number | undefined;
|
|
185
|
+
set synonymCount(value: number | undefined);
|
|
186
|
+
get languageCode(): string | undefined;
|
|
187
|
+
set languageCode(value: string | undefined);
|
|
188
|
+
/**
|
|
189
|
+
* Serialize message to binary data
|
|
190
|
+
* @param instance message instance
|
|
191
|
+
*/
|
|
192
|
+
serializeBinary(): any;
|
|
193
|
+
/**
|
|
194
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
195
|
+
*/
|
|
196
|
+
toObject(): Entity.AsObject;
|
|
197
|
+
/**
|
|
198
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
199
|
+
*/
|
|
200
|
+
toJSON(): Entity.AsObject;
|
|
201
|
+
/**
|
|
202
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
203
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
204
|
+
* 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
|
|
205
|
+
*/
|
|
206
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): Entity.AsProtobufJSON;
|
|
207
|
+
}
|
|
208
|
+
module Entity {
|
|
209
|
+
/**
|
|
210
|
+
* Standard JavaScript object representation for Entity
|
|
211
|
+
*/
|
|
212
|
+
interface AsObject {
|
|
213
|
+
value?: string;
|
|
214
|
+
synonyms?: string[];
|
|
215
|
+
name?: string;
|
|
216
|
+
displayName?: string;
|
|
217
|
+
synonymCount?: number;
|
|
218
|
+
languageCode?: string;
|
|
219
|
+
}
|
|
220
|
+
/**
|
|
221
|
+
* Protobuf JSON representation for Entity
|
|
222
|
+
*/
|
|
223
|
+
interface AsProtobufJSON {
|
|
224
|
+
value?: string;
|
|
225
|
+
synonyms?: string[];
|
|
226
|
+
name?: string;
|
|
227
|
+
displayName?: string;
|
|
228
|
+
synonymCount?: number;
|
|
229
|
+
languageCode?: string;
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
/**
|
|
234
|
+
* Message implementation for ondewo.nlu.ListEntityTypesRequest
|
|
235
|
+
*/
|
|
236
|
+
export declare class ListEntityTypesRequest implements GrpcMessage {
|
|
237
|
+
static id: string;
|
|
238
|
+
/**
|
|
239
|
+
* Deserialize binary data to message
|
|
240
|
+
* @param instance message instance
|
|
241
|
+
*/
|
|
242
|
+
static deserializeBinary(bytes: ByteSource): ListEntityTypesRequest;
|
|
243
|
+
/**
|
|
244
|
+
* Check all the properties and set default protobuf values if necessary
|
|
245
|
+
* @param _instance message instance
|
|
246
|
+
*/
|
|
247
|
+
static refineValues(_instance: ListEntityTypesRequest): void;
|
|
248
|
+
/**
|
|
249
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
250
|
+
* @param _instance message instance
|
|
251
|
+
* @param _reader binary reader instance
|
|
252
|
+
*/
|
|
253
|
+
static deserializeBinaryFromReader(_instance: ListEntityTypesRequest, _reader: BinaryReader): void;
|
|
254
|
+
/**
|
|
255
|
+
* Serializes a message to binary format using provided binary reader
|
|
256
|
+
* @param _instance message instance
|
|
257
|
+
* @param _writer binary writer instance
|
|
258
|
+
*/
|
|
259
|
+
static serializeBinaryToWriter(_instance: ListEntityTypesRequest, _writer: BinaryWriter): void;
|
|
260
|
+
private _parent?;
|
|
261
|
+
private _languageCode?;
|
|
262
|
+
private _pageToken?;
|
|
263
|
+
private _entityTypeView?;
|
|
264
|
+
private _filterByCategory?;
|
|
265
|
+
private _sortByField?;
|
|
266
|
+
/**
|
|
267
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
268
|
+
* @param _value initial values object or instance of ListEntityTypesRequest to deeply clone from
|
|
269
|
+
*/
|
|
270
|
+
constructor(_value?: RecursivePartial<ListEntityTypesRequest.AsObject>);
|
|
271
|
+
get parent(): string | undefined;
|
|
272
|
+
set parent(value: string | undefined);
|
|
273
|
+
get languageCode(): string | undefined;
|
|
274
|
+
set languageCode(value: string | undefined);
|
|
275
|
+
get pageToken(): string | undefined;
|
|
276
|
+
set pageToken(value: string | undefined);
|
|
277
|
+
get entityTypeView(): EntityTypeView | undefined;
|
|
278
|
+
set entityTypeView(value: EntityTypeView | undefined);
|
|
279
|
+
get filterByCategory(): EntityTypeCategory | undefined;
|
|
280
|
+
set filterByCategory(value: EntityTypeCategory | undefined);
|
|
281
|
+
get sortByField(): EntityTypeSorting | undefined;
|
|
282
|
+
set sortByField(value: EntityTypeSorting | undefined);
|
|
283
|
+
/**
|
|
284
|
+
* Serialize message to binary data
|
|
285
|
+
* @param instance message instance
|
|
286
|
+
*/
|
|
287
|
+
serializeBinary(): any;
|
|
288
|
+
/**
|
|
289
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
290
|
+
*/
|
|
291
|
+
toObject(): ListEntityTypesRequest.AsObject;
|
|
292
|
+
/**
|
|
293
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
294
|
+
*/
|
|
295
|
+
toJSON(): ListEntityTypesRequest.AsObject;
|
|
296
|
+
/**
|
|
297
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
298
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
299
|
+
* 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
|
|
300
|
+
*/
|
|
301
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): ListEntityTypesRequest.AsProtobufJSON;
|
|
302
|
+
}
|
|
303
|
+
export declare module ListEntityTypesRequest {
|
|
304
|
+
/**
|
|
305
|
+
* Standard JavaScript object representation for ListEntityTypesRequest
|
|
306
|
+
*/
|
|
307
|
+
interface AsObject {
|
|
308
|
+
parent?: string;
|
|
309
|
+
languageCode?: string;
|
|
310
|
+
pageToken?: string;
|
|
311
|
+
entityTypeView?: EntityTypeView;
|
|
312
|
+
filterByCategory?: EntityTypeCategory;
|
|
313
|
+
sortByField?: EntityTypeSorting.AsObject;
|
|
314
|
+
}
|
|
315
|
+
/**
|
|
316
|
+
* Protobuf JSON representation for ListEntityTypesRequest
|
|
317
|
+
*/
|
|
318
|
+
interface AsProtobufJSON {
|
|
319
|
+
parent?: string;
|
|
320
|
+
languageCode?: string;
|
|
321
|
+
pageToken?: string;
|
|
322
|
+
entityTypeView?: string;
|
|
323
|
+
filterByCategory?: string;
|
|
324
|
+
sortByField?: EntityTypeSorting.AsProtobufJSON | null;
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
/**
|
|
328
|
+
* Message implementation for ondewo.nlu.ListEntityTypesResponse
|
|
329
|
+
*/
|
|
330
|
+
export declare class ListEntityTypesResponse implements GrpcMessage {
|
|
331
|
+
static id: string;
|
|
332
|
+
/**
|
|
333
|
+
* Deserialize binary data to message
|
|
334
|
+
* @param instance message instance
|
|
335
|
+
*/
|
|
336
|
+
static deserializeBinary(bytes: ByteSource): ListEntityTypesResponse;
|
|
337
|
+
/**
|
|
338
|
+
* Check all the properties and set default protobuf values if necessary
|
|
339
|
+
* @param _instance message instance
|
|
340
|
+
*/
|
|
341
|
+
static refineValues(_instance: ListEntityTypesResponse): void;
|
|
342
|
+
/**
|
|
343
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
344
|
+
* @param _instance message instance
|
|
345
|
+
* @param _reader binary reader instance
|
|
346
|
+
*/
|
|
347
|
+
static deserializeBinaryFromReader(_instance: ListEntityTypesResponse, _reader: BinaryReader): void;
|
|
348
|
+
/**
|
|
349
|
+
* Serializes a message to binary format using provided binary reader
|
|
350
|
+
* @param _instance message instance
|
|
351
|
+
* @param _writer binary writer instance
|
|
352
|
+
*/
|
|
353
|
+
static serializeBinaryToWriter(_instance: ListEntityTypesResponse, _writer: BinaryWriter): void;
|
|
354
|
+
private _entityTypes?;
|
|
355
|
+
private _nextPageToken?;
|
|
356
|
+
/**
|
|
357
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
358
|
+
* @param _value initial values object or instance of ListEntityTypesResponse to deeply clone from
|
|
359
|
+
*/
|
|
360
|
+
constructor(_value?: RecursivePartial<ListEntityTypesResponse.AsObject>);
|
|
361
|
+
get entityTypes(): EntityType[] | undefined;
|
|
362
|
+
set entityTypes(value: EntityType[] | undefined);
|
|
363
|
+
get nextPageToken(): string | undefined;
|
|
364
|
+
set nextPageToken(value: string | undefined);
|
|
365
|
+
/**
|
|
366
|
+
* Serialize message to binary data
|
|
367
|
+
* @param instance message instance
|
|
368
|
+
*/
|
|
369
|
+
serializeBinary(): any;
|
|
370
|
+
/**
|
|
371
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
372
|
+
*/
|
|
373
|
+
toObject(): ListEntityTypesResponse.AsObject;
|
|
374
|
+
/**
|
|
375
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
376
|
+
*/
|
|
377
|
+
toJSON(): ListEntityTypesResponse.AsObject;
|
|
378
|
+
/**
|
|
379
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
380
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
381
|
+
* 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
|
|
382
|
+
*/
|
|
383
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): ListEntityTypesResponse.AsProtobufJSON;
|
|
384
|
+
}
|
|
385
|
+
export declare module ListEntityTypesResponse {
|
|
386
|
+
/**
|
|
387
|
+
* Standard JavaScript object representation for ListEntityTypesResponse
|
|
388
|
+
*/
|
|
389
|
+
interface AsObject {
|
|
390
|
+
entityTypes?: EntityType.AsObject[];
|
|
391
|
+
nextPageToken?: string;
|
|
392
|
+
}
|
|
393
|
+
/**
|
|
394
|
+
* Protobuf JSON representation for ListEntityTypesResponse
|
|
395
|
+
*/
|
|
396
|
+
interface AsProtobufJSON {
|
|
397
|
+
entityTypes?: EntityType.AsProtobufJSON[] | null;
|
|
398
|
+
nextPageToken?: string;
|
|
399
|
+
}
|
|
400
|
+
}
|
|
401
|
+
/**
|
|
402
|
+
* Message implementation for ondewo.nlu.GetEntityTypeRequest
|
|
403
|
+
*/
|
|
404
|
+
export declare class GetEntityTypeRequest implements GrpcMessage {
|
|
405
|
+
static id: string;
|
|
406
|
+
/**
|
|
407
|
+
* Deserialize binary data to message
|
|
408
|
+
* @param instance message instance
|
|
409
|
+
*/
|
|
410
|
+
static deserializeBinary(bytes: ByteSource): GetEntityTypeRequest;
|
|
411
|
+
/**
|
|
412
|
+
* Check all the properties and set default protobuf values if necessary
|
|
413
|
+
* @param _instance message instance
|
|
414
|
+
*/
|
|
415
|
+
static refineValues(_instance: GetEntityTypeRequest): void;
|
|
416
|
+
/**
|
|
417
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
418
|
+
* @param _instance message instance
|
|
419
|
+
* @param _reader binary reader instance
|
|
420
|
+
*/
|
|
421
|
+
static deserializeBinaryFromReader(_instance: GetEntityTypeRequest, _reader: BinaryReader): void;
|
|
422
|
+
/**
|
|
423
|
+
* Serializes a message to binary format using provided binary reader
|
|
424
|
+
* @param _instance message instance
|
|
425
|
+
* @param _writer binary writer instance
|
|
426
|
+
*/
|
|
427
|
+
static serializeBinaryToWriter(_instance: GetEntityTypeRequest, _writer: BinaryWriter): void;
|
|
428
|
+
private _name?;
|
|
429
|
+
private _languageCode?;
|
|
430
|
+
private _pageToken?;
|
|
431
|
+
private _entityTypeView?;
|
|
432
|
+
/**
|
|
433
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
434
|
+
* @param _value initial values object or instance of GetEntityTypeRequest to deeply clone from
|
|
435
|
+
*/
|
|
436
|
+
constructor(_value?: RecursivePartial<GetEntityTypeRequest.AsObject>);
|
|
437
|
+
get name(): string | undefined;
|
|
438
|
+
set name(value: string | undefined);
|
|
439
|
+
get languageCode(): string | undefined;
|
|
440
|
+
set languageCode(value: string | undefined);
|
|
441
|
+
get pageToken(): string | undefined;
|
|
442
|
+
set pageToken(value: string | undefined);
|
|
443
|
+
get entityTypeView(): EntityTypeView | undefined;
|
|
444
|
+
set entityTypeView(value: EntityTypeView | undefined);
|
|
445
|
+
/**
|
|
446
|
+
* Serialize message to binary data
|
|
447
|
+
* @param instance message instance
|
|
448
|
+
*/
|
|
449
|
+
serializeBinary(): any;
|
|
450
|
+
/**
|
|
451
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
452
|
+
*/
|
|
453
|
+
toObject(): GetEntityTypeRequest.AsObject;
|
|
454
|
+
/**
|
|
455
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
456
|
+
*/
|
|
457
|
+
toJSON(): GetEntityTypeRequest.AsObject;
|
|
458
|
+
/**
|
|
459
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
460
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
461
|
+
* 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
|
|
462
|
+
*/
|
|
463
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): GetEntityTypeRequest.AsProtobufJSON;
|
|
464
|
+
}
|
|
465
|
+
export declare module GetEntityTypeRequest {
|
|
466
|
+
/**
|
|
467
|
+
* Standard JavaScript object representation for GetEntityTypeRequest
|
|
468
|
+
*/
|
|
469
|
+
interface AsObject {
|
|
470
|
+
name?: string;
|
|
471
|
+
languageCode?: string;
|
|
472
|
+
pageToken?: string;
|
|
473
|
+
entityTypeView?: EntityTypeView;
|
|
474
|
+
}
|
|
475
|
+
/**
|
|
476
|
+
* Protobuf JSON representation for GetEntityTypeRequest
|
|
477
|
+
*/
|
|
478
|
+
interface AsProtobufJSON {
|
|
479
|
+
name?: string;
|
|
480
|
+
languageCode?: string;
|
|
481
|
+
pageToken?: string;
|
|
482
|
+
entityTypeView?: string;
|
|
483
|
+
}
|
|
484
|
+
}
|
|
485
|
+
/**
|
|
486
|
+
* Message implementation for ondewo.nlu.CreateEntityTypeRequest
|
|
487
|
+
*/
|
|
488
|
+
export declare class CreateEntityTypeRequest implements GrpcMessage {
|
|
489
|
+
static id: string;
|
|
490
|
+
/**
|
|
491
|
+
* Deserialize binary data to message
|
|
492
|
+
* @param instance message instance
|
|
493
|
+
*/
|
|
494
|
+
static deserializeBinary(bytes: ByteSource): CreateEntityTypeRequest;
|
|
495
|
+
/**
|
|
496
|
+
* Check all the properties and set default protobuf values if necessary
|
|
497
|
+
* @param _instance message instance
|
|
498
|
+
*/
|
|
499
|
+
static refineValues(_instance: CreateEntityTypeRequest): void;
|
|
500
|
+
/**
|
|
501
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
502
|
+
* @param _instance message instance
|
|
503
|
+
* @param _reader binary reader instance
|
|
504
|
+
*/
|
|
505
|
+
static deserializeBinaryFromReader(_instance: CreateEntityTypeRequest, _reader: BinaryReader): void;
|
|
506
|
+
/**
|
|
507
|
+
* Serializes a message to binary format using provided binary reader
|
|
508
|
+
* @param _instance message instance
|
|
509
|
+
* @param _writer binary writer instance
|
|
510
|
+
*/
|
|
511
|
+
static serializeBinaryToWriter(_instance: CreateEntityTypeRequest, _writer: BinaryWriter): void;
|
|
512
|
+
private _parent?;
|
|
513
|
+
private _entityType?;
|
|
514
|
+
private _languageCode?;
|
|
515
|
+
private _entityTypeView?;
|
|
516
|
+
/**
|
|
517
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
518
|
+
* @param _value initial values object or instance of CreateEntityTypeRequest to deeply clone from
|
|
519
|
+
*/
|
|
520
|
+
constructor(_value?: RecursivePartial<CreateEntityTypeRequest.AsObject>);
|
|
521
|
+
get parent(): string | undefined;
|
|
522
|
+
set parent(value: string | undefined);
|
|
523
|
+
get entityType(): EntityType | undefined;
|
|
524
|
+
set entityType(value: EntityType | undefined);
|
|
525
|
+
get languageCode(): string | undefined;
|
|
526
|
+
set languageCode(value: string | undefined);
|
|
527
|
+
get entityTypeView(): EntityTypeView | undefined;
|
|
528
|
+
set entityTypeView(value: EntityTypeView | undefined);
|
|
529
|
+
/**
|
|
530
|
+
* Serialize message to binary data
|
|
531
|
+
* @param instance message instance
|
|
532
|
+
*/
|
|
533
|
+
serializeBinary(): any;
|
|
534
|
+
/**
|
|
535
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
536
|
+
*/
|
|
537
|
+
toObject(): CreateEntityTypeRequest.AsObject;
|
|
538
|
+
/**
|
|
539
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
540
|
+
*/
|
|
541
|
+
toJSON(): CreateEntityTypeRequest.AsObject;
|
|
542
|
+
/**
|
|
543
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
544
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
545
|
+
* 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
|
|
546
|
+
*/
|
|
547
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): CreateEntityTypeRequest.AsProtobufJSON;
|
|
548
|
+
}
|
|
549
|
+
export declare module CreateEntityTypeRequest {
|
|
550
|
+
/**
|
|
551
|
+
* Standard JavaScript object representation for CreateEntityTypeRequest
|
|
552
|
+
*/
|
|
553
|
+
interface AsObject {
|
|
554
|
+
parent?: string;
|
|
555
|
+
entityType?: EntityType.AsObject;
|
|
556
|
+
languageCode?: string;
|
|
557
|
+
entityTypeView?: EntityTypeView;
|
|
558
|
+
}
|
|
559
|
+
/**
|
|
560
|
+
* Protobuf JSON representation for CreateEntityTypeRequest
|
|
561
|
+
*/
|
|
562
|
+
interface AsProtobufJSON {
|
|
563
|
+
parent?: string;
|
|
564
|
+
entityType?: EntityType.AsProtobufJSON | null;
|
|
565
|
+
languageCode?: string;
|
|
566
|
+
entityTypeView?: string;
|
|
567
|
+
}
|
|
568
|
+
}
|
|
569
|
+
/**
|
|
570
|
+
* Message implementation for ondewo.nlu.UpdateEntityTypeRequest
|
|
571
|
+
*/
|
|
572
|
+
export declare class UpdateEntityTypeRequest implements GrpcMessage {
|
|
573
|
+
static id: string;
|
|
574
|
+
/**
|
|
575
|
+
* Deserialize binary data to message
|
|
576
|
+
* @param instance message instance
|
|
577
|
+
*/
|
|
578
|
+
static deserializeBinary(bytes: ByteSource): UpdateEntityTypeRequest;
|
|
579
|
+
/**
|
|
580
|
+
* Check all the properties and set default protobuf values if necessary
|
|
581
|
+
* @param _instance message instance
|
|
582
|
+
*/
|
|
583
|
+
static refineValues(_instance: UpdateEntityTypeRequest): void;
|
|
584
|
+
/**
|
|
585
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
586
|
+
* @param _instance message instance
|
|
587
|
+
* @param _reader binary reader instance
|
|
588
|
+
*/
|
|
589
|
+
static deserializeBinaryFromReader(_instance: UpdateEntityTypeRequest, _reader: BinaryReader): void;
|
|
590
|
+
/**
|
|
591
|
+
* Serializes a message to binary format using provided binary reader
|
|
592
|
+
* @param _instance message instance
|
|
593
|
+
* @param _writer binary writer instance
|
|
594
|
+
*/
|
|
595
|
+
static serializeBinaryToWriter(_instance: UpdateEntityTypeRequest, _writer: BinaryWriter): void;
|
|
596
|
+
private _entityType?;
|
|
597
|
+
private _languageCode?;
|
|
598
|
+
private _updateMask?;
|
|
599
|
+
private _entityTypeView?;
|
|
600
|
+
/**
|
|
601
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
602
|
+
* @param _value initial values object or instance of UpdateEntityTypeRequest to deeply clone from
|
|
603
|
+
*/
|
|
604
|
+
constructor(_value?: RecursivePartial<UpdateEntityTypeRequest.AsObject>);
|
|
605
|
+
get entityType(): EntityType | undefined;
|
|
606
|
+
set entityType(value: EntityType | undefined);
|
|
607
|
+
get languageCode(): string | undefined;
|
|
608
|
+
set languageCode(value: string | undefined);
|
|
609
|
+
get updateMask(): googleProtobuf008.FieldMask | undefined;
|
|
610
|
+
set updateMask(value: googleProtobuf008.FieldMask | undefined);
|
|
611
|
+
get entityTypeView(): EntityTypeView | undefined;
|
|
612
|
+
set entityTypeView(value: EntityTypeView | undefined);
|
|
613
|
+
/**
|
|
614
|
+
* Serialize message to binary data
|
|
615
|
+
* @param instance message instance
|
|
616
|
+
*/
|
|
617
|
+
serializeBinary(): any;
|
|
618
|
+
/**
|
|
619
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
620
|
+
*/
|
|
621
|
+
toObject(): UpdateEntityTypeRequest.AsObject;
|
|
622
|
+
/**
|
|
623
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
624
|
+
*/
|
|
625
|
+
toJSON(): UpdateEntityTypeRequest.AsObject;
|
|
626
|
+
/**
|
|
627
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
628
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
629
|
+
* 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
|
|
630
|
+
*/
|
|
631
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): UpdateEntityTypeRequest.AsProtobufJSON;
|
|
632
|
+
}
|
|
633
|
+
export declare module UpdateEntityTypeRequest {
|
|
634
|
+
/**
|
|
635
|
+
* Standard JavaScript object representation for UpdateEntityTypeRequest
|
|
636
|
+
*/
|
|
637
|
+
interface AsObject {
|
|
638
|
+
entityType?: EntityType.AsObject;
|
|
639
|
+
languageCode?: string;
|
|
640
|
+
updateMask?: googleProtobuf008.FieldMask.AsObject;
|
|
641
|
+
entityTypeView?: EntityTypeView;
|
|
642
|
+
}
|
|
643
|
+
/**
|
|
644
|
+
* Protobuf JSON representation for UpdateEntityTypeRequest
|
|
645
|
+
*/
|
|
646
|
+
interface AsProtobufJSON {
|
|
647
|
+
entityType?: EntityType.AsProtobufJSON | null;
|
|
648
|
+
languageCode?: string;
|
|
649
|
+
updateMask?: googleProtobuf008.FieldMask.AsProtobufJSON | null;
|
|
650
|
+
entityTypeView?: string;
|
|
651
|
+
}
|
|
652
|
+
}
|
|
653
|
+
/**
|
|
654
|
+
* Message implementation for ondewo.nlu.DeleteEntityTypeRequest
|
|
655
|
+
*/
|
|
656
|
+
export declare class DeleteEntityTypeRequest implements GrpcMessage {
|
|
657
|
+
static id: string;
|
|
658
|
+
/**
|
|
659
|
+
* Deserialize binary data to message
|
|
660
|
+
* @param instance message instance
|
|
661
|
+
*/
|
|
662
|
+
static deserializeBinary(bytes: ByteSource): DeleteEntityTypeRequest;
|
|
663
|
+
/**
|
|
664
|
+
* Check all the properties and set default protobuf values if necessary
|
|
665
|
+
* @param _instance message instance
|
|
666
|
+
*/
|
|
667
|
+
static refineValues(_instance: DeleteEntityTypeRequest): void;
|
|
668
|
+
/**
|
|
669
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
670
|
+
* @param _instance message instance
|
|
671
|
+
* @param _reader binary reader instance
|
|
672
|
+
*/
|
|
673
|
+
static deserializeBinaryFromReader(_instance: DeleteEntityTypeRequest, _reader: BinaryReader): void;
|
|
674
|
+
/**
|
|
675
|
+
* Serializes a message to binary format using provided binary reader
|
|
676
|
+
* @param _instance message instance
|
|
677
|
+
* @param _writer binary writer instance
|
|
678
|
+
*/
|
|
679
|
+
static serializeBinaryToWriter(_instance: DeleteEntityTypeRequest, _writer: BinaryWriter): void;
|
|
680
|
+
private _name?;
|
|
681
|
+
/**
|
|
682
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
683
|
+
* @param _value initial values object or instance of DeleteEntityTypeRequest to deeply clone from
|
|
684
|
+
*/
|
|
685
|
+
constructor(_value?: RecursivePartial<DeleteEntityTypeRequest.AsObject>);
|
|
686
|
+
get name(): string | undefined;
|
|
687
|
+
set name(value: string | undefined);
|
|
688
|
+
/**
|
|
689
|
+
* Serialize message to binary data
|
|
690
|
+
* @param instance message instance
|
|
691
|
+
*/
|
|
692
|
+
serializeBinary(): any;
|
|
693
|
+
/**
|
|
694
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
695
|
+
*/
|
|
696
|
+
toObject(): DeleteEntityTypeRequest.AsObject;
|
|
697
|
+
/**
|
|
698
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
699
|
+
*/
|
|
700
|
+
toJSON(): DeleteEntityTypeRequest.AsObject;
|
|
701
|
+
/**
|
|
702
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
703
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
704
|
+
* 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
|
|
705
|
+
*/
|
|
706
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): DeleteEntityTypeRequest.AsProtobufJSON;
|
|
707
|
+
}
|
|
708
|
+
export declare module DeleteEntityTypeRequest {
|
|
709
|
+
/**
|
|
710
|
+
* Standard JavaScript object representation for DeleteEntityTypeRequest
|
|
711
|
+
*/
|
|
712
|
+
interface AsObject {
|
|
713
|
+
name?: string;
|
|
714
|
+
}
|
|
715
|
+
/**
|
|
716
|
+
* Protobuf JSON representation for DeleteEntityTypeRequest
|
|
717
|
+
*/
|
|
718
|
+
interface AsProtobufJSON {
|
|
719
|
+
name?: string;
|
|
720
|
+
}
|
|
721
|
+
}
|
|
722
|
+
/**
|
|
723
|
+
* Message implementation for ondewo.nlu.BatchUpdateEntityTypesRequest
|
|
724
|
+
*/
|
|
725
|
+
export declare class BatchUpdateEntityTypesRequest implements GrpcMessage {
|
|
726
|
+
static id: string;
|
|
727
|
+
/**
|
|
728
|
+
* Deserialize binary data to message
|
|
729
|
+
* @param instance message instance
|
|
730
|
+
*/
|
|
731
|
+
static deserializeBinary(bytes: ByteSource): BatchUpdateEntityTypesRequest;
|
|
732
|
+
/**
|
|
733
|
+
* Check all the properties and set default protobuf values if necessary
|
|
734
|
+
* @param _instance message instance
|
|
735
|
+
*/
|
|
736
|
+
static refineValues(_instance: BatchUpdateEntityTypesRequest): void;
|
|
737
|
+
/**
|
|
738
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
739
|
+
* @param _instance message instance
|
|
740
|
+
* @param _reader binary reader instance
|
|
741
|
+
*/
|
|
742
|
+
static deserializeBinaryFromReader(_instance: BatchUpdateEntityTypesRequest, _reader: BinaryReader): void;
|
|
743
|
+
/**
|
|
744
|
+
* Serializes a message to binary format using provided binary reader
|
|
745
|
+
* @param _instance message instance
|
|
746
|
+
* @param _writer binary writer instance
|
|
747
|
+
*/
|
|
748
|
+
static serializeBinaryToWriter(_instance: BatchUpdateEntityTypesRequest, _writer: BinaryWriter): void;
|
|
749
|
+
private _parent?;
|
|
750
|
+
private _entityTypeBatchUri?;
|
|
751
|
+
private _entityTypeBatchInline?;
|
|
752
|
+
private _languageCode?;
|
|
753
|
+
private _updateMask?;
|
|
754
|
+
private _entityTypeBatch;
|
|
755
|
+
/**
|
|
756
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
757
|
+
* @param _value initial values object or instance of BatchUpdateEntityTypesRequest to deeply clone from
|
|
758
|
+
*/
|
|
759
|
+
constructor(_value?: RecursivePartial<BatchUpdateEntityTypesRequest.AsObject>);
|
|
760
|
+
get parent(): string | undefined;
|
|
761
|
+
set parent(value: string | undefined);
|
|
762
|
+
get entityTypeBatchUri(): string | undefined;
|
|
763
|
+
set entityTypeBatchUri(value: string | undefined);
|
|
764
|
+
get entityTypeBatchInline(): EntityTypeBatch | undefined;
|
|
765
|
+
set entityTypeBatchInline(value: EntityTypeBatch | undefined);
|
|
766
|
+
get languageCode(): string | undefined;
|
|
767
|
+
set languageCode(value: string | undefined);
|
|
768
|
+
get updateMask(): googleProtobuf008.FieldMask | undefined;
|
|
769
|
+
set updateMask(value: googleProtobuf008.FieldMask | undefined);
|
|
770
|
+
get entityTypeBatch(): BatchUpdateEntityTypesRequest.EntityTypeBatchCase;
|
|
771
|
+
/**
|
|
772
|
+
* Serialize message to binary data
|
|
773
|
+
* @param instance message instance
|
|
774
|
+
*/
|
|
775
|
+
serializeBinary(): any;
|
|
776
|
+
/**
|
|
777
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
778
|
+
*/
|
|
779
|
+
toObject(): BatchUpdateEntityTypesRequest.AsObject;
|
|
780
|
+
/**
|
|
781
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
782
|
+
*/
|
|
783
|
+
toJSON(): BatchUpdateEntityTypesRequest.AsObject;
|
|
784
|
+
/**
|
|
785
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
786
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
787
|
+
* 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
|
|
788
|
+
*/
|
|
789
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): BatchUpdateEntityTypesRequest.AsProtobufJSON;
|
|
790
|
+
}
|
|
791
|
+
export declare module BatchUpdateEntityTypesRequest {
|
|
792
|
+
/**
|
|
793
|
+
* Standard JavaScript object representation for BatchUpdateEntityTypesRequest
|
|
794
|
+
*/
|
|
795
|
+
interface AsObject {
|
|
796
|
+
parent?: string;
|
|
797
|
+
entityTypeBatchUri?: string;
|
|
798
|
+
entityTypeBatchInline?: EntityTypeBatch.AsObject;
|
|
799
|
+
languageCode?: string;
|
|
800
|
+
updateMask?: googleProtobuf008.FieldMask.AsObject;
|
|
801
|
+
}
|
|
802
|
+
/**
|
|
803
|
+
* Protobuf JSON representation for BatchUpdateEntityTypesRequest
|
|
804
|
+
*/
|
|
805
|
+
interface AsProtobufJSON {
|
|
806
|
+
parent?: string;
|
|
807
|
+
entityTypeBatchUri?: string | null;
|
|
808
|
+
entityTypeBatchInline?: EntityTypeBatch.AsProtobufJSON | null;
|
|
809
|
+
languageCode?: string;
|
|
810
|
+
updateMask?: googleProtobuf008.FieldMask.AsProtobufJSON | null;
|
|
811
|
+
}
|
|
812
|
+
enum EntityTypeBatchCase {
|
|
813
|
+
none = 0,
|
|
814
|
+
entityTypeBatchUri = 1,
|
|
815
|
+
entityTypeBatchInline = 2
|
|
816
|
+
}
|
|
817
|
+
}
|
|
818
|
+
/**
|
|
819
|
+
* Message implementation for ondewo.nlu.BatchUpdateEntityTypesResponse
|
|
820
|
+
*/
|
|
821
|
+
export declare class BatchUpdateEntityTypesResponse implements GrpcMessage {
|
|
822
|
+
static id: string;
|
|
823
|
+
/**
|
|
824
|
+
* Deserialize binary data to message
|
|
825
|
+
* @param instance message instance
|
|
826
|
+
*/
|
|
827
|
+
static deserializeBinary(bytes: ByteSource): BatchUpdateEntityTypesResponse;
|
|
828
|
+
/**
|
|
829
|
+
* Check all the properties and set default protobuf values if necessary
|
|
830
|
+
* @param _instance message instance
|
|
831
|
+
*/
|
|
832
|
+
static refineValues(_instance: BatchUpdateEntityTypesResponse): void;
|
|
833
|
+
/**
|
|
834
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
835
|
+
* @param _instance message instance
|
|
836
|
+
* @param _reader binary reader instance
|
|
837
|
+
*/
|
|
838
|
+
static deserializeBinaryFromReader(_instance: BatchUpdateEntityTypesResponse, _reader: BinaryReader): void;
|
|
839
|
+
/**
|
|
840
|
+
* Serializes a message to binary format using provided binary reader
|
|
841
|
+
* @param _instance message instance
|
|
842
|
+
* @param _writer binary writer instance
|
|
843
|
+
*/
|
|
844
|
+
static serializeBinaryToWriter(_instance: BatchUpdateEntityTypesResponse, _writer: BinaryWriter): void;
|
|
845
|
+
private _entityTypes?;
|
|
846
|
+
/**
|
|
847
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
848
|
+
* @param _value initial values object or instance of BatchUpdateEntityTypesResponse to deeply clone from
|
|
849
|
+
*/
|
|
850
|
+
constructor(_value?: RecursivePartial<BatchUpdateEntityTypesResponse.AsObject>);
|
|
851
|
+
get entityTypes(): EntityType[] | undefined;
|
|
852
|
+
set entityTypes(value: EntityType[] | undefined);
|
|
853
|
+
/**
|
|
854
|
+
* Serialize message to binary data
|
|
855
|
+
* @param instance message instance
|
|
856
|
+
*/
|
|
857
|
+
serializeBinary(): any;
|
|
858
|
+
/**
|
|
859
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
860
|
+
*/
|
|
861
|
+
toObject(): BatchUpdateEntityTypesResponse.AsObject;
|
|
862
|
+
/**
|
|
863
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
864
|
+
*/
|
|
865
|
+
toJSON(): BatchUpdateEntityTypesResponse.AsObject;
|
|
866
|
+
/**
|
|
867
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
868
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
869
|
+
* 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
|
|
870
|
+
*/
|
|
871
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): BatchUpdateEntityTypesResponse.AsProtobufJSON;
|
|
872
|
+
}
|
|
873
|
+
export declare module BatchUpdateEntityTypesResponse {
|
|
874
|
+
/**
|
|
875
|
+
* Standard JavaScript object representation for BatchUpdateEntityTypesResponse
|
|
876
|
+
*/
|
|
877
|
+
interface AsObject {
|
|
878
|
+
entityTypes?: EntityType.AsObject[];
|
|
879
|
+
}
|
|
880
|
+
/**
|
|
881
|
+
* Protobuf JSON representation for BatchUpdateEntityTypesResponse
|
|
882
|
+
*/
|
|
883
|
+
interface AsProtobufJSON {
|
|
884
|
+
entityTypes?: EntityType.AsProtobufJSON[] | null;
|
|
885
|
+
}
|
|
886
|
+
}
|
|
887
|
+
/**
|
|
888
|
+
* Message implementation for ondewo.nlu.BatchDeleteEntityTypesRequest
|
|
889
|
+
*/
|
|
890
|
+
export declare class BatchDeleteEntityTypesRequest implements GrpcMessage {
|
|
891
|
+
static id: string;
|
|
892
|
+
/**
|
|
893
|
+
* Deserialize binary data to message
|
|
894
|
+
* @param instance message instance
|
|
895
|
+
*/
|
|
896
|
+
static deserializeBinary(bytes: ByteSource): BatchDeleteEntityTypesRequest;
|
|
897
|
+
/**
|
|
898
|
+
* Check all the properties and set default protobuf values if necessary
|
|
899
|
+
* @param _instance message instance
|
|
900
|
+
*/
|
|
901
|
+
static refineValues(_instance: BatchDeleteEntityTypesRequest): void;
|
|
902
|
+
/**
|
|
903
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
904
|
+
* @param _instance message instance
|
|
905
|
+
* @param _reader binary reader instance
|
|
906
|
+
*/
|
|
907
|
+
static deserializeBinaryFromReader(_instance: BatchDeleteEntityTypesRequest, _reader: BinaryReader): void;
|
|
908
|
+
/**
|
|
909
|
+
* Serializes a message to binary format using provided binary reader
|
|
910
|
+
* @param _instance message instance
|
|
911
|
+
* @param _writer binary writer instance
|
|
912
|
+
*/
|
|
913
|
+
static serializeBinaryToWriter(_instance: BatchDeleteEntityTypesRequest, _writer: BinaryWriter): void;
|
|
914
|
+
private _parent?;
|
|
915
|
+
private _entityTypeNames?;
|
|
916
|
+
/**
|
|
917
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
918
|
+
* @param _value initial values object or instance of BatchDeleteEntityTypesRequest to deeply clone from
|
|
919
|
+
*/
|
|
920
|
+
constructor(_value?: RecursivePartial<BatchDeleteEntityTypesRequest.AsObject>);
|
|
921
|
+
get parent(): string | undefined;
|
|
922
|
+
set parent(value: string | undefined);
|
|
923
|
+
get entityTypeNames(): string[] | undefined;
|
|
924
|
+
set entityTypeNames(value: string[] | undefined);
|
|
925
|
+
/**
|
|
926
|
+
* Serialize message to binary data
|
|
927
|
+
* @param instance message instance
|
|
928
|
+
*/
|
|
929
|
+
serializeBinary(): any;
|
|
930
|
+
/**
|
|
931
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
932
|
+
*/
|
|
933
|
+
toObject(): BatchDeleteEntityTypesRequest.AsObject;
|
|
934
|
+
/**
|
|
935
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
936
|
+
*/
|
|
937
|
+
toJSON(): BatchDeleteEntityTypesRequest.AsObject;
|
|
938
|
+
/**
|
|
939
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
940
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
941
|
+
* 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
|
|
942
|
+
*/
|
|
943
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): BatchDeleteEntityTypesRequest.AsProtobufJSON;
|
|
944
|
+
}
|
|
945
|
+
export declare module BatchDeleteEntityTypesRequest {
|
|
946
|
+
/**
|
|
947
|
+
* Standard JavaScript object representation for BatchDeleteEntityTypesRequest
|
|
948
|
+
*/
|
|
949
|
+
interface AsObject {
|
|
950
|
+
parent?: string;
|
|
951
|
+
entityTypeNames?: string[];
|
|
952
|
+
}
|
|
953
|
+
/**
|
|
954
|
+
* Protobuf JSON representation for BatchDeleteEntityTypesRequest
|
|
955
|
+
*/
|
|
956
|
+
interface AsProtobufJSON {
|
|
957
|
+
parent?: string;
|
|
958
|
+
entityTypeNames?: string[];
|
|
959
|
+
}
|
|
960
|
+
}
|
|
961
|
+
/**
|
|
962
|
+
* Message implementation for ondewo.nlu.EntityTypeBatch
|
|
963
|
+
*/
|
|
964
|
+
export declare class EntityTypeBatch implements GrpcMessage {
|
|
965
|
+
static id: string;
|
|
966
|
+
/**
|
|
967
|
+
* Deserialize binary data to message
|
|
968
|
+
* @param instance message instance
|
|
969
|
+
*/
|
|
970
|
+
static deserializeBinary(bytes: ByteSource): EntityTypeBatch;
|
|
971
|
+
/**
|
|
972
|
+
* Check all the properties and set default protobuf values if necessary
|
|
973
|
+
* @param _instance message instance
|
|
974
|
+
*/
|
|
975
|
+
static refineValues(_instance: EntityTypeBatch): void;
|
|
976
|
+
/**
|
|
977
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
978
|
+
* @param _instance message instance
|
|
979
|
+
* @param _reader binary reader instance
|
|
980
|
+
*/
|
|
981
|
+
static deserializeBinaryFromReader(_instance: EntityTypeBatch, _reader: BinaryReader): void;
|
|
982
|
+
/**
|
|
983
|
+
* Serializes a message to binary format using provided binary reader
|
|
984
|
+
* @param _instance message instance
|
|
985
|
+
* @param _writer binary writer instance
|
|
986
|
+
*/
|
|
987
|
+
static serializeBinaryToWriter(_instance: EntityTypeBatch, _writer: BinaryWriter): void;
|
|
988
|
+
private _entityTypes?;
|
|
989
|
+
/**
|
|
990
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
991
|
+
* @param _value initial values object or instance of EntityTypeBatch to deeply clone from
|
|
992
|
+
*/
|
|
993
|
+
constructor(_value?: RecursivePartial<EntityTypeBatch.AsObject>);
|
|
994
|
+
get entityTypes(): EntityType[] | undefined;
|
|
995
|
+
set entityTypes(value: EntityType[] | undefined);
|
|
996
|
+
/**
|
|
997
|
+
* Serialize message to binary data
|
|
998
|
+
* @param instance message instance
|
|
999
|
+
*/
|
|
1000
|
+
serializeBinary(): any;
|
|
1001
|
+
/**
|
|
1002
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
1003
|
+
*/
|
|
1004
|
+
toObject(): EntityTypeBatch.AsObject;
|
|
1005
|
+
/**
|
|
1006
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
1007
|
+
*/
|
|
1008
|
+
toJSON(): EntityTypeBatch.AsObject;
|
|
1009
|
+
/**
|
|
1010
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
1011
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
1012
|
+
* 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
|
|
1013
|
+
*/
|
|
1014
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): EntityTypeBatch.AsProtobufJSON;
|
|
1015
|
+
}
|
|
1016
|
+
export declare module EntityTypeBatch {
|
|
1017
|
+
/**
|
|
1018
|
+
* Standard JavaScript object representation for EntityTypeBatch
|
|
1019
|
+
*/
|
|
1020
|
+
interface AsObject {
|
|
1021
|
+
entityTypes?: EntityType.AsObject[];
|
|
1022
|
+
}
|
|
1023
|
+
/**
|
|
1024
|
+
* Protobuf JSON representation for EntityTypeBatch
|
|
1025
|
+
*/
|
|
1026
|
+
interface AsProtobufJSON {
|
|
1027
|
+
entityTypes?: EntityType.AsProtobufJSON[] | null;
|
|
1028
|
+
}
|
|
1029
|
+
}
|
|
1030
|
+
/**
|
|
1031
|
+
* Message implementation for ondewo.nlu.EntityTypeSorting
|
|
1032
|
+
*/
|
|
1033
|
+
export declare class EntityTypeSorting implements GrpcMessage {
|
|
1034
|
+
static id: string;
|
|
1035
|
+
/**
|
|
1036
|
+
* Deserialize binary data to message
|
|
1037
|
+
* @param instance message instance
|
|
1038
|
+
*/
|
|
1039
|
+
static deserializeBinary(bytes: ByteSource): EntityTypeSorting;
|
|
1040
|
+
/**
|
|
1041
|
+
* Check all the properties and set default protobuf values if necessary
|
|
1042
|
+
* @param _instance message instance
|
|
1043
|
+
*/
|
|
1044
|
+
static refineValues(_instance: EntityTypeSorting): void;
|
|
1045
|
+
/**
|
|
1046
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
1047
|
+
* @param _instance message instance
|
|
1048
|
+
* @param _reader binary reader instance
|
|
1049
|
+
*/
|
|
1050
|
+
static deserializeBinaryFromReader(_instance: EntityTypeSorting, _reader: BinaryReader): void;
|
|
1051
|
+
/**
|
|
1052
|
+
* Serializes a message to binary format using provided binary reader
|
|
1053
|
+
* @param _instance message instance
|
|
1054
|
+
* @param _writer binary writer instance
|
|
1055
|
+
*/
|
|
1056
|
+
static serializeBinaryToWriter(_instance: EntityTypeSorting, _writer: BinaryWriter): void;
|
|
1057
|
+
private _sortingField?;
|
|
1058
|
+
private _sortingMode?;
|
|
1059
|
+
/**
|
|
1060
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
1061
|
+
* @param _value initial values object or instance of EntityTypeSorting to deeply clone from
|
|
1062
|
+
*/
|
|
1063
|
+
constructor(_value?: RecursivePartial<EntityTypeSorting.AsObject>);
|
|
1064
|
+
get sortingField(): EntityTypeSorting.EntityTypeSortingField | undefined;
|
|
1065
|
+
set sortingField(value: EntityTypeSorting.EntityTypeSortingField | undefined);
|
|
1066
|
+
get sortingMode(): ondewoNlu009.SortingMode | undefined;
|
|
1067
|
+
set sortingMode(value: ondewoNlu009.SortingMode | undefined);
|
|
1068
|
+
/**
|
|
1069
|
+
* Serialize message to binary data
|
|
1070
|
+
* @param instance message instance
|
|
1071
|
+
*/
|
|
1072
|
+
serializeBinary(): any;
|
|
1073
|
+
/**
|
|
1074
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
1075
|
+
*/
|
|
1076
|
+
toObject(): EntityTypeSorting.AsObject;
|
|
1077
|
+
/**
|
|
1078
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
1079
|
+
*/
|
|
1080
|
+
toJSON(): EntityTypeSorting.AsObject;
|
|
1081
|
+
/**
|
|
1082
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
1083
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
1084
|
+
* 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
|
|
1085
|
+
*/
|
|
1086
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): EntityTypeSorting.AsProtobufJSON;
|
|
1087
|
+
}
|
|
1088
|
+
export declare module EntityTypeSorting {
|
|
1089
|
+
/**
|
|
1090
|
+
* Standard JavaScript object representation for EntityTypeSorting
|
|
1091
|
+
*/
|
|
1092
|
+
interface AsObject {
|
|
1093
|
+
sortingField?: EntityTypeSorting.EntityTypeSortingField;
|
|
1094
|
+
sortingMode?: ondewoNlu009.SortingMode;
|
|
1095
|
+
}
|
|
1096
|
+
/**
|
|
1097
|
+
* Protobuf JSON representation for EntityTypeSorting
|
|
1098
|
+
*/
|
|
1099
|
+
interface AsProtobufJSON {
|
|
1100
|
+
sortingField?: string;
|
|
1101
|
+
sortingMode?: string;
|
|
1102
|
+
}
|
|
1103
|
+
enum EntityTypeSortingField {
|
|
1104
|
+
NO_ENTITY_TYPE_SORTING = 0,
|
|
1105
|
+
SORT_ENTITY_TYPE_BY_NAME = 1,
|
|
1106
|
+
SORT_ENTITY_TYPE_BY_CREATION_DATE = 2,
|
|
1107
|
+
SORT_ENTITY_TYPE_BY_LAST_UPDATED = 3,
|
|
1108
|
+
SORT_ENTITY_TYPE_BY_ENTITY_VALUE_COUNT = 4,
|
|
1109
|
+
SORT_ENTITY_TYPE_BY_SYNONYM_COUNT = 5
|
|
1110
|
+
}
|
|
1111
|
+
}
|
|
1112
|
+
/**
|
|
1113
|
+
* Message implementation for ondewo.nlu.BatchEntitiesResponse
|
|
1114
|
+
*/
|
|
1115
|
+
export declare class BatchEntitiesResponse implements GrpcMessage {
|
|
1116
|
+
static id: string;
|
|
1117
|
+
/**
|
|
1118
|
+
* Deserialize binary data to message
|
|
1119
|
+
* @param instance message instance
|
|
1120
|
+
*/
|
|
1121
|
+
static deserializeBinary(bytes: ByteSource): BatchEntitiesResponse;
|
|
1122
|
+
/**
|
|
1123
|
+
* Check all the properties and set default protobuf values if necessary
|
|
1124
|
+
* @param _instance message instance
|
|
1125
|
+
*/
|
|
1126
|
+
static refineValues(_instance: BatchEntitiesResponse): void;
|
|
1127
|
+
/**
|
|
1128
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
1129
|
+
* @param _instance message instance
|
|
1130
|
+
* @param _reader binary reader instance
|
|
1131
|
+
*/
|
|
1132
|
+
static deserializeBinaryFromReader(_instance: BatchEntitiesResponse, _reader: BinaryReader): void;
|
|
1133
|
+
/**
|
|
1134
|
+
* Serializes a message to binary format using provided binary reader
|
|
1135
|
+
* @param _instance message instance
|
|
1136
|
+
* @param _writer binary writer instance
|
|
1137
|
+
*/
|
|
1138
|
+
static serializeBinaryToWriter(_instance: BatchEntitiesResponse, _writer: BinaryWriter): void;
|
|
1139
|
+
private _entityStatuses?;
|
|
1140
|
+
private _hasErrors?;
|
|
1141
|
+
/**
|
|
1142
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
1143
|
+
* @param _value initial values object or instance of BatchEntitiesResponse to deeply clone from
|
|
1144
|
+
*/
|
|
1145
|
+
constructor(_value?: RecursivePartial<BatchEntitiesResponse.AsObject>);
|
|
1146
|
+
get entityStatuses(): BatchEntitiesResponse.EntityStatus[] | undefined;
|
|
1147
|
+
set entityStatuses(value: BatchEntitiesResponse.EntityStatus[] | undefined);
|
|
1148
|
+
get hasErrors(): boolean | undefined;
|
|
1149
|
+
set hasErrors(value: boolean | undefined);
|
|
1150
|
+
/**
|
|
1151
|
+
* Serialize message to binary data
|
|
1152
|
+
* @param instance message instance
|
|
1153
|
+
*/
|
|
1154
|
+
serializeBinary(): any;
|
|
1155
|
+
/**
|
|
1156
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
1157
|
+
*/
|
|
1158
|
+
toObject(): BatchEntitiesResponse.AsObject;
|
|
1159
|
+
/**
|
|
1160
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
1161
|
+
*/
|
|
1162
|
+
toJSON(): BatchEntitiesResponse.AsObject;
|
|
1163
|
+
/**
|
|
1164
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
1165
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
1166
|
+
* 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
|
|
1167
|
+
*/
|
|
1168
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): BatchEntitiesResponse.AsProtobufJSON;
|
|
1169
|
+
}
|
|
1170
|
+
export declare module BatchEntitiesResponse {
|
|
1171
|
+
/**
|
|
1172
|
+
* Standard JavaScript object representation for BatchEntitiesResponse
|
|
1173
|
+
*/
|
|
1174
|
+
interface AsObject {
|
|
1175
|
+
entityStatuses?: BatchEntitiesResponse.EntityStatus.AsObject[];
|
|
1176
|
+
hasErrors?: boolean;
|
|
1177
|
+
}
|
|
1178
|
+
/**
|
|
1179
|
+
* Protobuf JSON representation for BatchEntitiesResponse
|
|
1180
|
+
*/
|
|
1181
|
+
interface AsProtobufJSON {
|
|
1182
|
+
entityStatuses?: BatchEntitiesResponse.EntityStatus.AsProtobufJSON[] | null;
|
|
1183
|
+
hasErrors?: boolean;
|
|
1184
|
+
}
|
|
1185
|
+
/**
|
|
1186
|
+
* Message implementation for ondewo.nlu.EntityStatus
|
|
1187
|
+
*/
|
|
1188
|
+
class EntityStatus implements GrpcMessage {
|
|
1189
|
+
static id: string;
|
|
1190
|
+
/**
|
|
1191
|
+
* Deserialize binary data to message
|
|
1192
|
+
* @param instance message instance
|
|
1193
|
+
*/
|
|
1194
|
+
static deserializeBinary(bytes: ByteSource): EntityStatus;
|
|
1195
|
+
/**
|
|
1196
|
+
* Check all the properties and set default protobuf values if necessary
|
|
1197
|
+
* @param _instance message instance
|
|
1198
|
+
*/
|
|
1199
|
+
static refineValues(_instance: EntityStatus): void;
|
|
1200
|
+
/**
|
|
1201
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
1202
|
+
* @param _instance message instance
|
|
1203
|
+
* @param _reader binary reader instance
|
|
1204
|
+
*/
|
|
1205
|
+
static deserializeBinaryFromReader(_instance: EntityStatus, _reader: BinaryReader): void;
|
|
1206
|
+
/**
|
|
1207
|
+
* Serializes a message to binary format using provided binary reader
|
|
1208
|
+
* @param _instance message instance
|
|
1209
|
+
* @param _writer binary writer instance
|
|
1210
|
+
*/
|
|
1211
|
+
static serializeBinaryToWriter(_instance: EntityStatus, _writer: BinaryWriter): void;
|
|
1212
|
+
private _entity?;
|
|
1213
|
+
private _errorMessage?;
|
|
1214
|
+
private _entityOrStatus;
|
|
1215
|
+
/**
|
|
1216
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
1217
|
+
* @param _value initial values object or instance of EntityStatus to deeply clone from
|
|
1218
|
+
*/
|
|
1219
|
+
constructor(_value?: RecursivePartial<EntityStatus.AsObject>);
|
|
1220
|
+
get entity(): EntityType.Entity | undefined;
|
|
1221
|
+
set entity(value: EntityType.Entity | undefined);
|
|
1222
|
+
get errorMessage(): string | undefined;
|
|
1223
|
+
set errorMessage(value: string | undefined);
|
|
1224
|
+
get entityOrStatus(): EntityStatus.EntityOrStatusCase;
|
|
1225
|
+
/**
|
|
1226
|
+
* Serialize message to binary data
|
|
1227
|
+
* @param instance message instance
|
|
1228
|
+
*/
|
|
1229
|
+
serializeBinary(): any;
|
|
1230
|
+
/**
|
|
1231
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
1232
|
+
*/
|
|
1233
|
+
toObject(): EntityStatus.AsObject;
|
|
1234
|
+
/**
|
|
1235
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
1236
|
+
*/
|
|
1237
|
+
toJSON(): EntityStatus.AsObject;
|
|
1238
|
+
/**
|
|
1239
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
1240
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
1241
|
+
* 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
|
|
1242
|
+
*/
|
|
1243
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): EntityStatus.AsProtobufJSON;
|
|
1244
|
+
}
|
|
1245
|
+
module EntityStatus {
|
|
1246
|
+
/**
|
|
1247
|
+
* Standard JavaScript object representation for EntityStatus
|
|
1248
|
+
*/
|
|
1249
|
+
interface AsObject {
|
|
1250
|
+
entity?: EntityType.Entity.AsObject;
|
|
1251
|
+
errorMessage?: string;
|
|
1252
|
+
}
|
|
1253
|
+
/**
|
|
1254
|
+
* Protobuf JSON representation for EntityStatus
|
|
1255
|
+
*/
|
|
1256
|
+
interface AsProtobufJSON {
|
|
1257
|
+
entity?: EntityType.Entity.AsProtobufJSON | null;
|
|
1258
|
+
errorMessage?: string | null;
|
|
1259
|
+
}
|
|
1260
|
+
enum EntityOrStatusCase {
|
|
1261
|
+
none = 0,
|
|
1262
|
+
entity = 1,
|
|
1263
|
+
errorMessage = 2
|
|
1264
|
+
}
|
|
1265
|
+
}
|
|
1266
|
+
}
|
|
1267
|
+
/**
|
|
1268
|
+
* Message implementation for ondewo.nlu.BatchCreateEntitiesRequest
|
|
1269
|
+
*/
|
|
1270
|
+
export declare class BatchCreateEntitiesRequest implements GrpcMessage {
|
|
1271
|
+
static id: string;
|
|
1272
|
+
/**
|
|
1273
|
+
* Deserialize binary data to message
|
|
1274
|
+
* @param instance message instance
|
|
1275
|
+
*/
|
|
1276
|
+
static deserializeBinary(bytes: ByteSource): BatchCreateEntitiesRequest;
|
|
1277
|
+
/**
|
|
1278
|
+
* Check all the properties and set default protobuf values if necessary
|
|
1279
|
+
* @param _instance message instance
|
|
1280
|
+
*/
|
|
1281
|
+
static refineValues(_instance: BatchCreateEntitiesRequest): void;
|
|
1282
|
+
/**
|
|
1283
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
1284
|
+
* @param _instance message instance
|
|
1285
|
+
* @param _reader binary reader instance
|
|
1286
|
+
*/
|
|
1287
|
+
static deserializeBinaryFromReader(_instance: BatchCreateEntitiesRequest, _reader: BinaryReader): void;
|
|
1288
|
+
/**
|
|
1289
|
+
* Serializes a message to binary format using provided binary reader
|
|
1290
|
+
* @param _instance message instance
|
|
1291
|
+
* @param _writer binary writer instance
|
|
1292
|
+
*/
|
|
1293
|
+
static serializeBinaryToWriter(_instance: BatchCreateEntitiesRequest, _writer: BinaryWriter): void;
|
|
1294
|
+
private _createEntityRequests?;
|
|
1295
|
+
/**
|
|
1296
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
1297
|
+
* @param _value initial values object or instance of BatchCreateEntitiesRequest to deeply clone from
|
|
1298
|
+
*/
|
|
1299
|
+
constructor(_value?: RecursivePartial<BatchCreateEntitiesRequest.AsObject>);
|
|
1300
|
+
get createEntityRequests(): BatchCreateEntitiesRequest.CreateEntityRequest[] | undefined;
|
|
1301
|
+
set createEntityRequests(value: BatchCreateEntitiesRequest.CreateEntityRequest[] | undefined);
|
|
1302
|
+
/**
|
|
1303
|
+
* Serialize message to binary data
|
|
1304
|
+
* @param instance message instance
|
|
1305
|
+
*/
|
|
1306
|
+
serializeBinary(): any;
|
|
1307
|
+
/**
|
|
1308
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
1309
|
+
*/
|
|
1310
|
+
toObject(): BatchCreateEntitiesRequest.AsObject;
|
|
1311
|
+
/**
|
|
1312
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
1313
|
+
*/
|
|
1314
|
+
toJSON(): BatchCreateEntitiesRequest.AsObject;
|
|
1315
|
+
/**
|
|
1316
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
1317
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
1318
|
+
* 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
|
|
1319
|
+
*/
|
|
1320
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): BatchCreateEntitiesRequest.AsProtobufJSON;
|
|
1321
|
+
}
|
|
1322
|
+
export declare module BatchCreateEntitiesRequest {
|
|
1323
|
+
/**
|
|
1324
|
+
* Standard JavaScript object representation for BatchCreateEntitiesRequest
|
|
1325
|
+
*/
|
|
1326
|
+
interface AsObject {
|
|
1327
|
+
createEntityRequests?: BatchCreateEntitiesRequest.CreateEntityRequest.AsObject[];
|
|
1328
|
+
}
|
|
1329
|
+
/**
|
|
1330
|
+
* Protobuf JSON representation for BatchCreateEntitiesRequest
|
|
1331
|
+
*/
|
|
1332
|
+
interface AsProtobufJSON {
|
|
1333
|
+
createEntityRequests?: BatchCreateEntitiesRequest.CreateEntityRequest.AsProtobufJSON[] | null;
|
|
1334
|
+
}
|
|
1335
|
+
/**
|
|
1336
|
+
* Message implementation for ondewo.nlu.CreateEntityRequest
|
|
1337
|
+
*/
|
|
1338
|
+
class CreateEntityRequest implements GrpcMessage {
|
|
1339
|
+
static id: string;
|
|
1340
|
+
/**
|
|
1341
|
+
* Deserialize binary data to message
|
|
1342
|
+
* @param instance message instance
|
|
1343
|
+
*/
|
|
1344
|
+
static deserializeBinary(bytes: ByteSource): CreateEntityRequest;
|
|
1345
|
+
/**
|
|
1346
|
+
* Check all the properties and set default protobuf values if necessary
|
|
1347
|
+
* @param _instance message instance
|
|
1348
|
+
*/
|
|
1349
|
+
static refineValues(_instance: CreateEntityRequest): void;
|
|
1350
|
+
/**
|
|
1351
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
1352
|
+
* @param _instance message instance
|
|
1353
|
+
* @param _reader binary reader instance
|
|
1354
|
+
*/
|
|
1355
|
+
static deserializeBinaryFromReader(_instance: CreateEntityRequest, _reader: BinaryReader): void;
|
|
1356
|
+
/**
|
|
1357
|
+
* Serializes a message to binary format using provided binary reader
|
|
1358
|
+
* @param _instance message instance
|
|
1359
|
+
* @param _writer binary writer instance
|
|
1360
|
+
*/
|
|
1361
|
+
static serializeBinaryToWriter(_instance: CreateEntityRequest, _writer: BinaryWriter): void;
|
|
1362
|
+
private _entityTypeName?;
|
|
1363
|
+
private _entity?;
|
|
1364
|
+
/**
|
|
1365
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
1366
|
+
* @param _value initial values object or instance of CreateEntityRequest to deeply clone from
|
|
1367
|
+
*/
|
|
1368
|
+
constructor(_value?: RecursivePartial<CreateEntityRequest.AsObject>);
|
|
1369
|
+
get entityTypeName(): string | undefined;
|
|
1370
|
+
set entityTypeName(value: string | undefined);
|
|
1371
|
+
get entity(): EntityType.Entity | undefined;
|
|
1372
|
+
set entity(value: EntityType.Entity | undefined);
|
|
1373
|
+
/**
|
|
1374
|
+
* Serialize message to binary data
|
|
1375
|
+
* @param instance message instance
|
|
1376
|
+
*/
|
|
1377
|
+
serializeBinary(): any;
|
|
1378
|
+
/**
|
|
1379
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
1380
|
+
*/
|
|
1381
|
+
toObject(): CreateEntityRequest.AsObject;
|
|
1382
|
+
/**
|
|
1383
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
1384
|
+
*/
|
|
1385
|
+
toJSON(): CreateEntityRequest.AsObject;
|
|
1386
|
+
/**
|
|
1387
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
1388
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
1389
|
+
* 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
|
|
1390
|
+
*/
|
|
1391
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): CreateEntityRequest.AsProtobufJSON;
|
|
1392
|
+
}
|
|
1393
|
+
module CreateEntityRequest {
|
|
1394
|
+
/**
|
|
1395
|
+
* Standard JavaScript object representation for CreateEntityRequest
|
|
1396
|
+
*/
|
|
1397
|
+
interface AsObject {
|
|
1398
|
+
entityTypeName?: string;
|
|
1399
|
+
entity?: EntityType.Entity.AsObject;
|
|
1400
|
+
}
|
|
1401
|
+
/**
|
|
1402
|
+
* Protobuf JSON representation for CreateEntityRequest
|
|
1403
|
+
*/
|
|
1404
|
+
interface AsProtobufJSON {
|
|
1405
|
+
entityTypeName?: string;
|
|
1406
|
+
entity?: EntityType.Entity.AsProtobufJSON | null;
|
|
1407
|
+
}
|
|
1408
|
+
}
|
|
1409
|
+
}
|
|
1410
|
+
/**
|
|
1411
|
+
* Message implementation for ondewo.nlu.BatchUpdateEntitiesRequest
|
|
1412
|
+
*/
|
|
1413
|
+
export declare class BatchUpdateEntitiesRequest implements GrpcMessage {
|
|
1414
|
+
static id: string;
|
|
1415
|
+
/**
|
|
1416
|
+
* Deserialize binary data to message
|
|
1417
|
+
* @param instance message instance
|
|
1418
|
+
*/
|
|
1419
|
+
static deserializeBinary(bytes: ByteSource): BatchUpdateEntitiesRequest;
|
|
1420
|
+
/**
|
|
1421
|
+
* Check all the properties and set default protobuf values if necessary
|
|
1422
|
+
* @param _instance message instance
|
|
1423
|
+
*/
|
|
1424
|
+
static refineValues(_instance: BatchUpdateEntitiesRequest): void;
|
|
1425
|
+
/**
|
|
1426
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
1427
|
+
* @param _instance message instance
|
|
1428
|
+
* @param _reader binary reader instance
|
|
1429
|
+
*/
|
|
1430
|
+
static deserializeBinaryFromReader(_instance: BatchUpdateEntitiesRequest, _reader: BinaryReader): void;
|
|
1431
|
+
/**
|
|
1432
|
+
* Serializes a message to binary format using provided binary reader
|
|
1433
|
+
* @param _instance message instance
|
|
1434
|
+
* @param _writer binary writer instance
|
|
1435
|
+
*/
|
|
1436
|
+
static serializeBinaryToWriter(_instance: BatchUpdateEntitiesRequest, _writer: BinaryWriter): void;
|
|
1437
|
+
private _entities?;
|
|
1438
|
+
/**
|
|
1439
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
1440
|
+
* @param _value initial values object or instance of BatchUpdateEntitiesRequest to deeply clone from
|
|
1441
|
+
*/
|
|
1442
|
+
constructor(_value?: RecursivePartial<BatchUpdateEntitiesRequest.AsObject>);
|
|
1443
|
+
get entities(): EntityType.Entity[] | undefined;
|
|
1444
|
+
set entities(value: EntityType.Entity[] | undefined);
|
|
1445
|
+
/**
|
|
1446
|
+
* Serialize message to binary data
|
|
1447
|
+
* @param instance message instance
|
|
1448
|
+
*/
|
|
1449
|
+
serializeBinary(): any;
|
|
1450
|
+
/**
|
|
1451
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
1452
|
+
*/
|
|
1453
|
+
toObject(): BatchUpdateEntitiesRequest.AsObject;
|
|
1454
|
+
/**
|
|
1455
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
1456
|
+
*/
|
|
1457
|
+
toJSON(): BatchUpdateEntitiesRequest.AsObject;
|
|
1458
|
+
/**
|
|
1459
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
1460
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
1461
|
+
* 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
|
|
1462
|
+
*/
|
|
1463
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): BatchUpdateEntitiesRequest.AsProtobufJSON;
|
|
1464
|
+
}
|
|
1465
|
+
export declare module BatchUpdateEntitiesRequest {
|
|
1466
|
+
/**
|
|
1467
|
+
* Standard JavaScript object representation for BatchUpdateEntitiesRequest
|
|
1468
|
+
*/
|
|
1469
|
+
interface AsObject {
|
|
1470
|
+
entities?: EntityType.Entity.AsObject[];
|
|
1471
|
+
}
|
|
1472
|
+
/**
|
|
1473
|
+
* Protobuf JSON representation for BatchUpdateEntitiesRequest
|
|
1474
|
+
*/
|
|
1475
|
+
interface AsProtobufJSON {
|
|
1476
|
+
entities?: EntityType.Entity.AsProtobufJSON[] | null;
|
|
1477
|
+
}
|
|
1478
|
+
}
|
|
1479
|
+
/**
|
|
1480
|
+
* Message implementation for ondewo.nlu.BatchGetEntitiesRequest
|
|
1481
|
+
*/
|
|
1482
|
+
export declare class BatchGetEntitiesRequest implements GrpcMessage {
|
|
1483
|
+
static id: string;
|
|
1484
|
+
/**
|
|
1485
|
+
* Deserialize binary data to message
|
|
1486
|
+
* @param instance message instance
|
|
1487
|
+
*/
|
|
1488
|
+
static deserializeBinary(bytes: ByteSource): BatchGetEntitiesRequest;
|
|
1489
|
+
/**
|
|
1490
|
+
* Check all the properties and set default protobuf values if necessary
|
|
1491
|
+
* @param _instance message instance
|
|
1492
|
+
*/
|
|
1493
|
+
static refineValues(_instance: BatchGetEntitiesRequest): void;
|
|
1494
|
+
/**
|
|
1495
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
1496
|
+
* @param _instance message instance
|
|
1497
|
+
* @param _reader binary reader instance
|
|
1498
|
+
*/
|
|
1499
|
+
static deserializeBinaryFromReader(_instance: BatchGetEntitiesRequest, _reader: BinaryReader): void;
|
|
1500
|
+
/**
|
|
1501
|
+
* Serializes a message to binary format using provided binary reader
|
|
1502
|
+
* @param _instance message instance
|
|
1503
|
+
* @param _writer binary writer instance
|
|
1504
|
+
*/
|
|
1505
|
+
static serializeBinaryToWriter(_instance: BatchGetEntitiesRequest, _writer: BinaryWriter): void;
|
|
1506
|
+
private _names?;
|
|
1507
|
+
/**
|
|
1508
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
1509
|
+
* @param _value initial values object or instance of BatchGetEntitiesRequest to deeply clone from
|
|
1510
|
+
*/
|
|
1511
|
+
constructor(_value?: RecursivePartial<BatchGetEntitiesRequest.AsObject>);
|
|
1512
|
+
get names(): string[] | undefined;
|
|
1513
|
+
set names(value: string[] | undefined);
|
|
1514
|
+
/**
|
|
1515
|
+
* Serialize message to binary data
|
|
1516
|
+
* @param instance message instance
|
|
1517
|
+
*/
|
|
1518
|
+
serializeBinary(): any;
|
|
1519
|
+
/**
|
|
1520
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
1521
|
+
*/
|
|
1522
|
+
toObject(): BatchGetEntitiesRequest.AsObject;
|
|
1523
|
+
/**
|
|
1524
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
1525
|
+
*/
|
|
1526
|
+
toJSON(): BatchGetEntitiesRequest.AsObject;
|
|
1527
|
+
/**
|
|
1528
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
1529
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
1530
|
+
* 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
|
|
1531
|
+
*/
|
|
1532
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): BatchGetEntitiesRequest.AsProtobufJSON;
|
|
1533
|
+
}
|
|
1534
|
+
export declare module BatchGetEntitiesRequest {
|
|
1535
|
+
/**
|
|
1536
|
+
* Standard JavaScript object representation for BatchGetEntitiesRequest
|
|
1537
|
+
*/
|
|
1538
|
+
interface AsObject {
|
|
1539
|
+
names?: string[];
|
|
1540
|
+
}
|
|
1541
|
+
/**
|
|
1542
|
+
* Protobuf JSON representation for BatchGetEntitiesRequest
|
|
1543
|
+
*/
|
|
1544
|
+
interface AsProtobufJSON {
|
|
1545
|
+
names?: string[];
|
|
1546
|
+
}
|
|
1547
|
+
}
|
|
1548
|
+
/**
|
|
1549
|
+
* Message implementation for ondewo.nlu.BatchDeleteEntitiesRequest
|
|
1550
|
+
*/
|
|
1551
|
+
export declare class BatchDeleteEntitiesRequest implements GrpcMessage {
|
|
1552
|
+
static id: string;
|
|
1553
|
+
/**
|
|
1554
|
+
* Deserialize binary data to message
|
|
1555
|
+
* @param instance message instance
|
|
1556
|
+
*/
|
|
1557
|
+
static deserializeBinary(bytes: ByteSource): BatchDeleteEntitiesRequest;
|
|
1558
|
+
/**
|
|
1559
|
+
* Check all the properties and set default protobuf values if necessary
|
|
1560
|
+
* @param _instance message instance
|
|
1561
|
+
*/
|
|
1562
|
+
static refineValues(_instance: BatchDeleteEntitiesRequest): void;
|
|
1563
|
+
/**
|
|
1564
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
1565
|
+
* @param _instance message instance
|
|
1566
|
+
* @param _reader binary reader instance
|
|
1567
|
+
*/
|
|
1568
|
+
static deserializeBinaryFromReader(_instance: BatchDeleteEntitiesRequest, _reader: BinaryReader): void;
|
|
1569
|
+
/**
|
|
1570
|
+
* Serializes a message to binary format using provided binary reader
|
|
1571
|
+
* @param _instance message instance
|
|
1572
|
+
* @param _writer binary writer instance
|
|
1573
|
+
*/
|
|
1574
|
+
static serializeBinaryToWriter(_instance: BatchDeleteEntitiesRequest, _writer: BinaryWriter): void;
|
|
1575
|
+
private _names?;
|
|
1576
|
+
/**
|
|
1577
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
1578
|
+
* @param _value initial values object or instance of BatchDeleteEntitiesRequest to deeply clone from
|
|
1579
|
+
*/
|
|
1580
|
+
constructor(_value?: RecursivePartial<BatchDeleteEntitiesRequest.AsObject>);
|
|
1581
|
+
get names(): string[] | undefined;
|
|
1582
|
+
set names(value: string[] | undefined);
|
|
1583
|
+
/**
|
|
1584
|
+
* Serialize message to binary data
|
|
1585
|
+
* @param instance message instance
|
|
1586
|
+
*/
|
|
1587
|
+
serializeBinary(): any;
|
|
1588
|
+
/**
|
|
1589
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
1590
|
+
*/
|
|
1591
|
+
toObject(): BatchDeleteEntitiesRequest.AsObject;
|
|
1592
|
+
/**
|
|
1593
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
1594
|
+
*/
|
|
1595
|
+
toJSON(): BatchDeleteEntitiesRequest.AsObject;
|
|
1596
|
+
/**
|
|
1597
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
1598
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
1599
|
+
* 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
|
|
1600
|
+
*/
|
|
1601
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): BatchDeleteEntitiesRequest.AsProtobufJSON;
|
|
1602
|
+
}
|
|
1603
|
+
export declare module BatchDeleteEntitiesRequest {
|
|
1604
|
+
/**
|
|
1605
|
+
* Standard JavaScript object representation for BatchDeleteEntitiesRequest
|
|
1606
|
+
*/
|
|
1607
|
+
interface AsObject {
|
|
1608
|
+
names?: string[];
|
|
1609
|
+
}
|
|
1610
|
+
/**
|
|
1611
|
+
* Protobuf JSON representation for BatchDeleteEntitiesRequest
|
|
1612
|
+
*/
|
|
1613
|
+
interface AsProtobufJSON {
|
|
1614
|
+
names?: string[];
|
|
1615
|
+
}
|
|
1616
|
+
}
|
|
1617
|
+
/**
|
|
1618
|
+
* Message implementation for ondewo.nlu.BatchDeleteEntitiesResponse
|
|
1619
|
+
*/
|
|
1620
|
+
export declare class BatchDeleteEntitiesResponse implements GrpcMessage {
|
|
1621
|
+
static id: string;
|
|
1622
|
+
/**
|
|
1623
|
+
* Deserialize binary data to message
|
|
1624
|
+
* @param instance message instance
|
|
1625
|
+
*/
|
|
1626
|
+
static deserializeBinary(bytes: ByteSource): BatchDeleteEntitiesResponse;
|
|
1627
|
+
/**
|
|
1628
|
+
* Check all the properties and set default protobuf values if necessary
|
|
1629
|
+
* @param _instance message instance
|
|
1630
|
+
*/
|
|
1631
|
+
static refineValues(_instance: BatchDeleteEntitiesResponse): void;
|
|
1632
|
+
/**
|
|
1633
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
1634
|
+
* @param _instance message instance
|
|
1635
|
+
* @param _reader binary reader instance
|
|
1636
|
+
*/
|
|
1637
|
+
static deserializeBinaryFromReader(_instance: BatchDeleteEntitiesResponse, _reader: BinaryReader): void;
|
|
1638
|
+
/**
|
|
1639
|
+
* Serializes a message to binary format using provided binary reader
|
|
1640
|
+
* @param _instance message instance
|
|
1641
|
+
* @param _writer binary writer instance
|
|
1642
|
+
*/
|
|
1643
|
+
static serializeBinaryToWriter(_instance: BatchDeleteEntitiesResponse, _writer: BinaryWriter): void;
|
|
1644
|
+
private _deleteStatuses?;
|
|
1645
|
+
private _hasErrors?;
|
|
1646
|
+
/**
|
|
1647
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
1648
|
+
* @param _value initial values object or instance of BatchDeleteEntitiesResponse to deeply clone from
|
|
1649
|
+
*/
|
|
1650
|
+
constructor(_value?: RecursivePartial<BatchDeleteEntitiesResponse.AsObject>);
|
|
1651
|
+
get deleteStatuses(): BatchDeleteEntitiesResponse.DeleteEntityStatus[] | undefined;
|
|
1652
|
+
set deleteStatuses(value: BatchDeleteEntitiesResponse.DeleteEntityStatus[] | undefined);
|
|
1653
|
+
get hasErrors(): boolean | undefined;
|
|
1654
|
+
set hasErrors(value: boolean | undefined);
|
|
1655
|
+
/**
|
|
1656
|
+
* Serialize message to binary data
|
|
1657
|
+
* @param instance message instance
|
|
1658
|
+
*/
|
|
1659
|
+
serializeBinary(): any;
|
|
1660
|
+
/**
|
|
1661
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
1662
|
+
*/
|
|
1663
|
+
toObject(): BatchDeleteEntitiesResponse.AsObject;
|
|
1664
|
+
/**
|
|
1665
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
1666
|
+
*/
|
|
1667
|
+
toJSON(): BatchDeleteEntitiesResponse.AsObject;
|
|
1668
|
+
/**
|
|
1669
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
1670
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
1671
|
+
* 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
|
|
1672
|
+
*/
|
|
1673
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): BatchDeleteEntitiesResponse.AsProtobufJSON;
|
|
1674
|
+
}
|
|
1675
|
+
export declare module BatchDeleteEntitiesResponse {
|
|
1676
|
+
/**
|
|
1677
|
+
* Standard JavaScript object representation for BatchDeleteEntitiesResponse
|
|
1678
|
+
*/
|
|
1679
|
+
interface AsObject {
|
|
1680
|
+
deleteStatuses?: BatchDeleteEntitiesResponse.DeleteEntityStatus.AsObject[];
|
|
1681
|
+
hasErrors?: boolean;
|
|
1682
|
+
}
|
|
1683
|
+
/**
|
|
1684
|
+
* Protobuf JSON representation for BatchDeleteEntitiesResponse
|
|
1685
|
+
*/
|
|
1686
|
+
interface AsProtobufJSON {
|
|
1687
|
+
deleteStatuses?: BatchDeleteEntitiesResponse.DeleteEntityStatus.AsProtobufJSON[] | null;
|
|
1688
|
+
hasErrors?: boolean;
|
|
1689
|
+
}
|
|
1690
|
+
/**
|
|
1691
|
+
* Message implementation for ondewo.nlu.DeleteEntityStatus
|
|
1692
|
+
*/
|
|
1693
|
+
class DeleteEntityStatus implements GrpcMessage {
|
|
1694
|
+
static id: string;
|
|
1695
|
+
/**
|
|
1696
|
+
* Deserialize binary data to message
|
|
1697
|
+
* @param instance message instance
|
|
1698
|
+
*/
|
|
1699
|
+
static deserializeBinary(bytes: ByteSource): DeleteEntityStatus;
|
|
1700
|
+
/**
|
|
1701
|
+
* Check all the properties and set default protobuf values if necessary
|
|
1702
|
+
* @param _instance message instance
|
|
1703
|
+
*/
|
|
1704
|
+
static refineValues(_instance: DeleteEntityStatus): void;
|
|
1705
|
+
/**
|
|
1706
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
1707
|
+
* @param _instance message instance
|
|
1708
|
+
* @param _reader binary reader instance
|
|
1709
|
+
*/
|
|
1710
|
+
static deserializeBinaryFromReader(_instance: DeleteEntityStatus, _reader: BinaryReader): void;
|
|
1711
|
+
/**
|
|
1712
|
+
* Serializes a message to binary format using provided binary reader
|
|
1713
|
+
* @param _instance message instance
|
|
1714
|
+
* @param _writer binary writer instance
|
|
1715
|
+
*/
|
|
1716
|
+
static serializeBinaryToWriter(_instance: DeleteEntityStatus, _writer: BinaryWriter): void;
|
|
1717
|
+
private _successfullyDeleted?;
|
|
1718
|
+
private _errorMessage?;
|
|
1719
|
+
private _deleteStatus;
|
|
1720
|
+
/**
|
|
1721
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
1722
|
+
* @param _value initial values object or instance of DeleteEntityStatus to deeply clone from
|
|
1723
|
+
*/
|
|
1724
|
+
constructor(_value?: RecursivePartial<DeleteEntityStatus.AsObject>);
|
|
1725
|
+
get successfullyDeleted(): googleProtobuf004.Empty | undefined;
|
|
1726
|
+
set successfullyDeleted(value: googleProtobuf004.Empty | undefined);
|
|
1727
|
+
get errorMessage(): string | undefined;
|
|
1728
|
+
set errorMessage(value: string | undefined);
|
|
1729
|
+
get deleteStatus(): DeleteEntityStatus.DeleteStatusCase;
|
|
1730
|
+
/**
|
|
1731
|
+
* Serialize message to binary data
|
|
1732
|
+
* @param instance message instance
|
|
1733
|
+
*/
|
|
1734
|
+
serializeBinary(): any;
|
|
1735
|
+
/**
|
|
1736
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
1737
|
+
*/
|
|
1738
|
+
toObject(): DeleteEntityStatus.AsObject;
|
|
1739
|
+
/**
|
|
1740
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
1741
|
+
*/
|
|
1742
|
+
toJSON(): DeleteEntityStatus.AsObject;
|
|
1743
|
+
/**
|
|
1744
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
1745
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
1746
|
+
* 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
|
|
1747
|
+
*/
|
|
1748
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): DeleteEntityStatus.AsProtobufJSON;
|
|
1749
|
+
}
|
|
1750
|
+
module DeleteEntityStatus {
|
|
1751
|
+
/**
|
|
1752
|
+
* Standard JavaScript object representation for DeleteEntityStatus
|
|
1753
|
+
*/
|
|
1754
|
+
interface AsObject {
|
|
1755
|
+
successfullyDeleted?: googleProtobuf004.Empty.AsObject;
|
|
1756
|
+
errorMessage?: string;
|
|
1757
|
+
}
|
|
1758
|
+
/**
|
|
1759
|
+
* Protobuf JSON representation for DeleteEntityStatus
|
|
1760
|
+
*/
|
|
1761
|
+
interface AsProtobufJSON {
|
|
1762
|
+
successfullyDeleted?: googleProtobuf004.Empty.AsProtobufJSON | null;
|
|
1763
|
+
errorMessage?: string | null;
|
|
1764
|
+
}
|
|
1765
|
+
enum DeleteStatusCase {
|
|
1766
|
+
none = 0,
|
|
1767
|
+
successfullyDeleted = 1,
|
|
1768
|
+
errorMessage = 2
|
|
1769
|
+
}
|
|
1770
|
+
}
|
|
1771
|
+
}
|
|
1772
|
+
/**
|
|
1773
|
+
* Message implementation for ondewo.nlu.ListEntitiesRequest
|
|
1774
|
+
*/
|
|
1775
|
+
export declare class ListEntitiesRequest implements GrpcMessage {
|
|
1776
|
+
static id: string;
|
|
1777
|
+
/**
|
|
1778
|
+
* Deserialize binary data to message
|
|
1779
|
+
* @param instance message instance
|
|
1780
|
+
*/
|
|
1781
|
+
static deserializeBinary(bytes: ByteSource): ListEntitiesRequest;
|
|
1782
|
+
/**
|
|
1783
|
+
* Check all the properties and set default protobuf values if necessary
|
|
1784
|
+
* @param _instance message instance
|
|
1785
|
+
*/
|
|
1786
|
+
static refineValues(_instance: ListEntitiesRequest): void;
|
|
1787
|
+
/**
|
|
1788
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
1789
|
+
* @param _instance message instance
|
|
1790
|
+
* @param _reader binary reader instance
|
|
1791
|
+
*/
|
|
1792
|
+
static deserializeBinaryFromReader(_instance: ListEntitiesRequest, _reader: BinaryReader): void;
|
|
1793
|
+
/**
|
|
1794
|
+
* Serializes a message to binary format using provided binary reader
|
|
1795
|
+
* @param _instance message instance
|
|
1796
|
+
* @param _writer binary writer instance
|
|
1797
|
+
*/
|
|
1798
|
+
static serializeBinaryToWriter(_instance: ListEntitiesRequest, _writer: BinaryWriter): void;
|
|
1799
|
+
private _entityTypeName?;
|
|
1800
|
+
private _languageCode?;
|
|
1801
|
+
private _pageToken?;
|
|
1802
|
+
private _sortByField?;
|
|
1803
|
+
private _searchByPattern?;
|
|
1804
|
+
/**
|
|
1805
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
1806
|
+
* @param _value initial values object or instance of ListEntitiesRequest to deeply clone from
|
|
1807
|
+
*/
|
|
1808
|
+
constructor(_value?: RecursivePartial<ListEntitiesRequest.AsObject>);
|
|
1809
|
+
get entityTypeName(): string | undefined;
|
|
1810
|
+
set entityTypeName(value: string | undefined);
|
|
1811
|
+
get languageCode(): string | undefined;
|
|
1812
|
+
set languageCode(value: string | undefined);
|
|
1813
|
+
get pageToken(): string | undefined;
|
|
1814
|
+
set pageToken(value: string | undefined);
|
|
1815
|
+
get sortByField(): EntityValueSorting | undefined;
|
|
1816
|
+
set sortByField(value: EntityValueSorting | undefined);
|
|
1817
|
+
get searchByPattern(): string | undefined;
|
|
1818
|
+
set searchByPattern(value: string | undefined);
|
|
1819
|
+
/**
|
|
1820
|
+
* Serialize message to binary data
|
|
1821
|
+
* @param instance message instance
|
|
1822
|
+
*/
|
|
1823
|
+
serializeBinary(): any;
|
|
1824
|
+
/**
|
|
1825
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
1826
|
+
*/
|
|
1827
|
+
toObject(): ListEntitiesRequest.AsObject;
|
|
1828
|
+
/**
|
|
1829
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
1830
|
+
*/
|
|
1831
|
+
toJSON(): ListEntitiesRequest.AsObject;
|
|
1832
|
+
/**
|
|
1833
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
1834
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
1835
|
+
* 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
|
|
1836
|
+
*/
|
|
1837
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): ListEntitiesRequest.AsProtobufJSON;
|
|
1838
|
+
}
|
|
1839
|
+
export declare module ListEntitiesRequest {
|
|
1840
|
+
/**
|
|
1841
|
+
* Standard JavaScript object representation for ListEntitiesRequest
|
|
1842
|
+
*/
|
|
1843
|
+
interface AsObject {
|
|
1844
|
+
entityTypeName?: string;
|
|
1845
|
+
languageCode?: string;
|
|
1846
|
+
pageToken?: string;
|
|
1847
|
+
sortByField?: EntityValueSorting.AsObject;
|
|
1848
|
+
searchByPattern?: string;
|
|
1849
|
+
}
|
|
1850
|
+
/**
|
|
1851
|
+
* Protobuf JSON representation for ListEntitiesRequest
|
|
1852
|
+
*/
|
|
1853
|
+
interface AsProtobufJSON {
|
|
1854
|
+
entityTypeName?: string;
|
|
1855
|
+
languageCode?: string;
|
|
1856
|
+
pageToken?: string;
|
|
1857
|
+
sortByField?: EntityValueSorting.AsProtobufJSON | null;
|
|
1858
|
+
searchByPattern?: string;
|
|
1859
|
+
}
|
|
1860
|
+
}
|
|
1861
|
+
/**
|
|
1862
|
+
* Message implementation for ondewo.nlu.ListEntitiesResponse
|
|
1863
|
+
*/
|
|
1864
|
+
export declare class ListEntitiesResponse implements GrpcMessage {
|
|
1865
|
+
static id: string;
|
|
1866
|
+
/**
|
|
1867
|
+
* Deserialize binary data to message
|
|
1868
|
+
* @param instance message instance
|
|
1869
|
+
*/
|
|
1870
|
+
static deserializeBinary(bytes: ByteSource): ListEntitiesResponse;
|
|
1871
|
+
/**
|
|
1872
|
+
* Check all the properties and set default protobuf values if necessary
|
|
1873
|
+
* @param _instance message instance
|
|
1874
|
+
*/
|
|
1875
|
+
static refineValues(_instance: ListEntitiesResponse): void;
|
|
1876
|
+
/**
|
|
1877
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
1878
|
+
* @param _instance message instance
|
|
1879
|
+
* @param _reader binary reader instance
|
|
1880
|
+
*/
|
|
1881
|
+
static deserializeBinaryFromReader(_instance: ListEntitiesResponse, _reader: BinaryReader): void;
|
|
1882
|
+
/**
|
|
1883
|
+
* Serializes a message to binary format using provided binary reader
|
|
1884
|
+
* @param _instance message instance
|
|
1885
|
+
* @param _writer binary writer instance
|
|
1886
|
+
*/
|
|
1887
|
+
static serializeBinaryToWriter(_instance: ListEntitiesResponse, _writer: BinaryWriter): void;
|
|
1888
|
+
private _entities?;
|
|
1889
|
+
private _nextPageToken?;
|
|
1890
|
+
/**
|
|
1891
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
1892
|
+
* @param _value initial values object or instance of ListEntitiesResponse to deeply clone from
|
|
1893
|
+
*/
|
|
1894
|
+
constructor(_value?: RecursivePartial<ListEntitiesResponse.AsObject>);
|
|
1895
|
+
get entities(): EntityType.Entity[] | undefined;
|
|
1896
|
+
set entities(value: EntityType.Entity[] | undefined);
|
|
1897
|
+
get nextPageToken(): string | undefined;
|
|
1898
|
+
set nextPageToken(value: string | undefined);
|
|
1899
|
+
/**
|
|
1900
|
+
* Serialize message to binary data
|
|
1901
|
+
* @param instance message instance
|
|
1902
|
+
*/
|
|
1903
|
+
serializeBinary(): any;
|
|
1904
|
+
/**
|
|
1905
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
1906
|
+
*/
|
|
1907
|
+
toObject(): ListEntitiesResponse.AsObject;
|
|
1908
|
+
/**
|
|
1909
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
1910
|
+
*/
|
|
1911
|
+
toJSON(): ListEntitiesResponse.AsObject;
|
|
1912
|
+
/**
|
|
1913
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
1914
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
1915
|
+
* 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
|
|
1916
|
+
*/
|
|
1917
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): ListEntitiesResponse.AsProtobufJSON;
|
|
1918
|
+
}
|
|
1919
|
+
export declare module ListEntitiesResponse {
|
|
1920
|
+
/**
|
|
1921
|
+
* Standard JavaScript object representation for ListEntitiesResponse
|
|
1922
|
+
*/
|
|
1923
|
+
interface AsObject {
|
|
1924
|
+
entities?: EntityType.Entity.AsObject[];
|
|
1925
|
+
nextPageToken?: string;
|
|
1926
|
+
}
|
|
1927
|
+
/**
|
|
1928
|
+
* Protobuf JSON representation for ListEntitiesResponse
|
|
1929
|
+
*/
|
|
1930
|
+
interface AsProtobufJSON {
|
|
1931
|
+
entities?: EntityType.Entity.AsProtobufJSON[] | null;
|
|
1932
|
+
nextPageToken?: string;
|
|
1933
|
+
}
|
|
1934
|
+
}
|
|
1935
|
+
/**
|
|
1936
|
+
* Message implementation for ondewo.nlu.EntityValueSorting
|
|
1937
|
+
*/
|
|
1938
|
+
export declare class EntityValueSorting implements GrpcMessage {
|
|
1939
|
+
static id: string;
|
|
1940
|
+
/**
|
|
1941
|
+
* Deserialize binary data to message
|
|
1942
|
+
* @param instance message instance
|
|
1943
|
+
*/
|
|
1944
|
+
static deserializeBinary(bytes: ByteSource): EntityValueSorting;
|
|
1945
|
+
/**
|
|
1946
|
+
* Check all the properties and set default protobuf values if necessary
|
|
1947
|
+
* @param _instance message instance
|
|
1948
|
+
*/
|
|
1949
|
+
static refineValues(_instance: EntityValueSorting): void;
|
|
1950
|
+
/**
|
|
1951
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
1952
|
+
* @param _instance message instance
|
|
1953
|
+
* @param _reader binary reader instance
|
|
1954
|
+
*/
|
|
1955
|
+
static deserializeBinaryFromReader(_instance: EntityValueSorting, _reader: BinaryReader): void;
|
|
1956
|
+
/**
|
|
1957
|
+
* Serializes a message to binary format using provided binary reader
|
|
1958
|
+
* @param _instance message instance
|
|
1959
|
+
* @param _writer binary writer instance
|
|
1960
|
+
*/
|
|
1961
|
+
static serializeBinaryToWriter(_instance: EntityValueSorting, _writer: BinaryWriter): void;
|
|
1962
|
+
private _sortingField?;
|
|
1963
|
+
private _sortingMode?;
|
|
1964
|
+
/**
|
|
1965
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
1966
|
+
* @param _value initial values object or instance of EntityValueSorting to deeply clone from
|
|
1967
|
+
*/
|
|
1968
|
+
constructor(_value?: RecursivePartial<EntityValueSorting.AsObject>);
|
|
1969
|
+
get sortingField(): EntityValueSorting.EntityValueSortingField | undefined;
|
|
1970
|
+
set sortingField(value: EntityValueSorting.EntityValueSortingField | undefined);
|
|
1971
|
+
get sortingMode(): ondewoNlu009.SortingMode | undefined;
|
|
1972
|
+
set sortingMode(value: ondewoNlu009.SortingMode | undefined);
|
|
1973
|
+
/**
|
|
1974
|
+
* Serialize message to binary data
|
|
1975
|
+
* @param instance message instance
|
|
1976
|
+
*/
|
|
1977
|
+
serializeBinary(): any;
|
|
1978
|
+
/**
|
|
1979
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
1980
|
+
*/
|
|
1981
|
+
toObject(): EntityValueSorting.AsObject;
|
|
1982
|
+
/**
|
|
1983
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
1984
|
+
*/
|
|
1985
|
+
toJSON(): EntityValueSorting.AsObject;
|
|
1986
|
+
/**
|
|
1987
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
1988
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
1989
|
+
* 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
|
|
1990
|
+
*/
|
|
1991
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): EntityValueSorting.AsProtobufJSON;
|
|
1992
|
+
}
|
|
1993
|
+
export declare module EntityValueSorting {
|
|
1994
|
+
/**
|
|
1995
|
+
* Standard JavaScript object representation for EntityValueSorting
|
|
1996
|
+
*/
|
|
1997
|
+
interface AsObject {
|
|
1998
|
+
sortingField?: EntityValueSorting.EntityValueSortingField;
|
|
1999
|
+
sortingMode?: ondewoNlu009.SortingMode;
|
|
2000
|
+
}
|
|
2001
|
+
/**
|
|
2002
|
+
* Protobuf JSON representation for EntityValueSorting
|
|
2003
|
+
*/
|
|
2004
|
+
interface AsProtobufJSON {
|
|
2005
|
+
sortingField?: string;
|
|
2006
|
+
sortingMode?: string;
|
|
2007
|
+
}
|
|
2008
|
+
enum EntityValueSortingField {
|
|
2009
|
+
NO_ENTITY_VALUE_SORTING = 0,
|
|
2010
|
+
SORT_ENTITY_VALUE_BY_DISPLAY_NAME = 1,
|
|
2011
|
+
SORT_ENTITY_VALUE_BY_VALUE = 2,
|
|
2012
|
+
SORT_ENTITY_VALUE_BY_SYNONYM_COUNT = 3
|
|
2013
|
+
}
|
|
2014
|
+
}
|