@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,1577 @@
|
|
|
1
|
+
import { GrpcMessage, RecursivePartial, ToProtobufJSONOptions } from '@ngx-grpc/common';
|
|
2
|
+
import { BinaryReader, BinaryWriter, ByteSource } from 'google-protobuf';
|
|
3
|
+
import * as googleProtobuf003 from '@ngx-grpc/well-known-types';
|
|
4
|
+
import * as ondewoNlu005 from '../../ondewo/nlu/project-role.pb';
|
|
5
|
+
export declare enum DefaultServerRole {
|
|
6
|
+
SERVER_UNSPECIFIED = 0,
|
|
7
|
+
SERVER_USER = 1,
|
|
8
|
+
SERVER_MANAGER = 2,
|
|
9
|
+
SERVER_ADMIN = 3,
|
|
10
|
+
SERVER_INACTIVE = 4
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Message implementation for ondewo.nlu.User
|
|
14
|
+
*/
|
|
15
|
+
export declare class User implements GrpcMessage {
|
|
16
|
+
static id: string;
|
|
17
|
+
/**
|
|
18
|
+
* Deserialize binary data to message
|
|
19
|
+
* @param instance message instance
|
|
20
|
+
*/
|
|
21
|
+
static deserializeBinary(bytes: ByteSource): User;
|
|
22
|
+
/**
|
|
23
|
+
* Check all the properties and set default protobuf values if necessary
|
|
24
|
+
* @param _instance message instance
|
|
25
|
+
*/
|
|
26
|
+
static refineValues(_instance: User): void;
|
|
27
|
+
/**
|
|
28
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
29
|
+
* @param _instance message instance
|
|
30
|
+
* @param _reader binary reader instance
|
|
31
|
+
*/
|
|
32
|
+
static deserializeBinaryFromReader(_instance: User, _reader: BinaryReader): void;
|
|
33
|
+
/**
|
|
34
|
+
* Serializes a message to binary format using provided binary reader
|
|
35
|
+
* @param _instance message instance
|
|
36
|
+
* @param _writer binary writer instance
|
|
37
|
+
*/
|
|
38
|
+
static serializeBinaryToWriter(_instance: User, _writer: BinaryWriter): void;
|
|
39
|
+
private _userId?;
|
|
40
|
+
private _displayName?;
|
|
41
|
+
private _serverRoleId?;
|
|
42
|
+
private _userEmail?;
|
|
43
|
+
/**
|
|
44
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
45
|
+
* @param _value initial values object or instance of User to deeply clone from
|
|
46
|
+
*/
|
|
47
|
+
constructor(_value?: RecursivePartial<User.AsObject>);
|
|
48
|
+
get userId(): string | undefined;
|
|
49
|
+
set userId(value: string | undefined);
|
|
50
|
+
get displayName(): string | undefined;
|
|
51
|
+
set displayName(value: string | undefined);
|
|
52
|
+
get serverRoleId(): number | undefined;
|
|
53
|
+
set serverRoleId(value: number | undefined);
|
|
54
|
+
get userEmail(): string | undefined;
|
|
55
|
+
set userEmail(value: string | undefined);
|
|
56
|
+
/**
|
|
57
|
+
* Serialize message to binary data
|
|
58
|
+
* @param instance message instance
|
|
59
|
+
*/
|
|
60
|
+
serializeBinary(): any;
|
|
61
|
+
/**
|
|
62
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
63
|
+
*/
|
|
64
|
+
toObject(): User.AsObject;
|
|
65
|
+
/**
|
|
66
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
67
|
+
*/
|
|
68
|
+
toJSON(): User.AsObject;
|
|
69
|
+
/**
|
|
70
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
71
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
72
|
+
* 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
|
|
73
|
+
*/
|
|
74
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): User.AsProtobufJSON;
|
|
75
|
+
}
|
|
76
|
+
export declare module User {
|
|
77
|
+
/**
|
|
78
|
+
* Standard JavaScript object representation for User
|
|
79
|
+
*/
|
|
80
|
+
interface AsObject {
|
|
81
|
+
userId?: string;
|
|
82
|
+
displayName?: string;
|
|
83
|
+
serverRoleId?: number;
|
|
84
|
+
userEmail?: string;
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* Protobuf JSON representation for User
|
|
88
|
+
*/
|
|
89
|
+
interface AsProtobufJSON {
|
|
90
|
+
userId?: string;
|
|
91
|
+
displayName?: string;
|
|
92
|
+
serverRoleId?: number;
|
|
93
|
+
userEmail?: string;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* Message implementation for ondewo.nlu.UserInfo
|
|
98
|
+
*/
|
|
99
|
+
export declare class UserInfo implements GrpcMessage {
|
|
100
|
+
static id: string;
|
|
101
|
+
/**
|
|
102
|
+
* Deserialize binary data to message
|
|
103
|
+
* @param instance message instance
|
|
104
|
+
*/
|
|
105
|
+
static deserializeBinary(bytes: ByteSource): UserInfo;
|
|
106
|
+
/**
|
|
107
|
+
* Check all the properties and set default protobuf values if necessary
|
|
108
|
+
* @param _instance message instance
|
|
109
|
+
*/
|
|
110
|
+
static refineValues(_instance: UserInfo): void;
|
|
111
|
+
/**
|
|
112
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
113
|
+
* @param _instance message instance
|
|
114
|
+
* @param _reader binary reader instance
|
|
115
|
+
*/
|
|
116
|
+
static deserializeBinaryFromReader(_instance: UserInfo, _reader: BinaryReader): void;
|
|
117
|
+
/**
|
|
118
|
+
* Serializes a message to binary format using provided binary reader
|
|
119
|
+
* @param _instance message instance
|
|
120
|
+
* @param _writer binary writer instance
|
|
121
|
+
*/
|
|
122
|
+
static serializeBinaryToWriter(_instance: UserInfo, _writer: BinaryWriter): void;
|
|
123
|
+
private _user?;
|
|
124
|
+
private _projectRoles?;
|
|
125
|
+
/**
|
|
126
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
127
|
+
* @param _value initial values object or instance of UserInfo to deeply clone from
|
|
128
|
+
*/
|
|
129
|
+
constructor(_value?: RecursivePartial<UserInfo.AsObject>);
|
|
130
|
+
get user(): User | undefined;
|
|
131
|
+
set user(value: User | undefined);
|
|
132
|
+
get projectRoles(): {
|
|
133
|
+
[prop: string]: ondewoNlu005.ProjectRole;
|
|
134
|
+
} | undefined;
|
|
135
|
+
set projectRoles(value: {
|
|
136
|
+
[prop: string]: ondewoNlu005.ProjectRole;
|
|
137
|
+
} | undefined);
|
|
138
|
+
/**
|
|
139
|
+
* Serialize message to binary data
|
|
140
|
+
* @param instance message instance
|
|
141
|
+
*/
|
|
142
|
+
serializeBinary(): any;
|
|
143
|
+
/**
|
|
144
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
145
|
+
*/
|
|
146
|
+
toObject(): UserInfo.AsObject;
|
|
147
|
+
/**
|
|
148
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
149
|
+
*/
|
|
150
|
+
toJSON(): UserInfo.AsObject;
|
|
151
|
+
/**
|
|
152
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
153
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
154
|
+
* 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
|
|
155
|
+
*/
|
|
156
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): UserInfo.AsProtobufJSON;
|
|
157
|
+
}
|
|
158
|
+
export declare module UserInfo {
|
|
159
|
+
/**
|
|
160
|
+
* Standard JavaScript object representation for UserInfo
|
|
161
|
+
*/
|
|
162
|
+
interface AsObject {
|
|
163
|
+
user?: User.AsObject;
|
|
164
|
+
projectRoles?: {
|
|
165
|
+
[prop: string]: ondewoNlu005.ProjectRole;
|
|
166
|
+
};
|
|
167
|
+
}
|
|
168
|
+
/**
|
|
169
|
+
* Protobuf JSON representation for UserInfo
|
|
170
|
+
*/
|
|
171
|
+
interface AsProtobufJSON {
|
|
172
|
+
user?: User.AsProtobufJSON | null;
|
|
173
|
+
projectRoles?: {
|
|
174
|
+
[prop: string]: ondewoNlu005.ProjectRole;
|
|
175
|
+
};
|
|
176
|
+
}
|
|
177
|
+
/**
|
|
178
|
+
* Message implementation for ondewo.nlu.ProjectRolesEntry
|
|
179
|
+
*/
|
|
180
|
+
class ProjectRolesEntry implements GrpcMessage {
|
|
181
|
+
static id: string;
|
|
182
|
+
/**
|
|
183
|
+
* Deserialize binary data to message
|
|
184
|
+
* @param instance message instance
|
|
185
|
+
*/
|
|
186
|
+
static deserializeBinary(bytes: ByteSource): ProjectRolesEntry;
|
|
187
|
+
/**
|
|
188
|
+
* Check all the properties and set default protobuf values if necessary
|
|
189
|
+
* @param _instance message instance
|
|
190
|
+
*/
|
|
191
|
+
static refineValues(_instance: ProjectRolesEntry): void;
|
|
192
|
+
/**
|
|
193
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
194
|
+
* @param _instance message instance
|
|
195
|
+
* @param _reader binary reader instance
|
|
196
|
+
*/
|
|
197
|
+
static deserializeBinaryFromReader(_instance: ProjectRolesEntry, _reader: BinaryReader): void;
|
|
198
|
+
/**
|
|
199
|
+
* Serializes a message to binary format using provided binary reader
|
|
200
|
+
* @param _instance message instance
|
|
201
|
+
* @param _writer binary writer instance
|
|
202
|
+
*/
|
|
203
|
+
static serializeBinaryToWriter(_instance: ProjectRolesEntry, _writer: BinaryWriter): void;
|
|
204
|
+
private _key?;
|
|
205
|
+
private _value?;
|
|
206
|
+
/**
|
|
207
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
208
|
+
* @param _value initial values object or instance of ProjectRolesEntry to deeply clone from
|
|
209
|
+
*/
|
|
210
|
+
constructor(_value?: RecursivePartial<ProjectRolesEntry.AsObject>);
|
|
211
|
+
get key(): string | undefined;
|
|
212
|
+
set key(value: string | undefined);
|
|
213
|
+
get value(): ondewoNlu005.ProjectRole | undefined;
|
|
214
|
+
set value(value: ondewoNlu005.ProjectRole | undefined);
|
|
215
|
+
/**
|
|
216
|
+
* Serialize message to binary data
|
|
217
|
+
* @param instance message instance
|
|
218
|
+
*/
|
|
219
|
+
serializeBinary(): any;
|
|
220
|
+
/**
|
|
221
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
222
|
+
*/
|
|
223
|
+
toObject(): ProjectRolesEntry.AsObject;
|
|
224
|
+
/**
|
|
225
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
226
|
+
*/
|
|
227
|
+
toJSON(): ProjectRolesEntry.AsObject;
|
|
228
|
+
/**
|
|
229
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
230
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
231
|
+
* 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
|
|
232
|
+
*/
|
|
233
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): ProjectRolesEntry.AsProtobufJSON;
|
|
234
|
+
}
|
|
235
|
+
module ProjectRolesEntry {
|
|
236
|
+
/**
|
|
237
|
+
* Standard JavaScript object representation for ProjectRolesEntry
|
|
238
|
+
*/
|
|
239
|
+
interface AsObject {
|
|
240
|
+
key?: string;
|
|
241
|
+
value?: ondewoNlu005.ProjectRole.AsObject;
|
|
242
|
+
}
|
|
243
|
+
/**
|
|
244
|
+
* Protobuf JSON representation for ProjectRolesEntry
|
|
245
|
+
*/
|
|
246
|
+
interface AsProtobufJSON {
|
|
247
|
+
key?: string;
|
|
248
|
+
value?: ondewoNlu005.ProjectRole.AsProtobufJSON | null;
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
/**
|
|
253
|
+
* Message implementation for ondewo.nlu.CreateUserRequest
|
|
254
|
+
*/
|
|
255
|
+
export declare class CreateUserRequest implements GrpcMessage {
|
|
256
|
+
static id: string;
|
|
257
|
+
/**
|
|
258
|
+
* Deserialize binary data to message
|
|
259
|
+
* @param instance message instance
|
|
260
|
+
*/
|
|
261
|
+
static deserializeBinary(bytes: ByteSource): CreateUserRequest;
|
|
262
|
+
/**
|
|
263
|
+
* Check all the properties and set default protobuf values if necessary
|
|
264
|
+
* @param _instance message instance
|
|
265
|
+
*/
|
|
266
|
+
static refineValues(_instance: CreateUserRequest): void;
|
|
267
|
+
/**
|
|
268
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
269
|
+
* @param _instance message instance
|
|
270
|
+
* @param _reader binary reader instance
|
|
271
|
+
*/
|
|
272
|
+
static deserializeBinaryFromReader(_instance: CreateUserRequest, _reader: BinaryReader): void;
|
|
273
|
+
/**
|
|
274
|
+
* Serializes a message to binary format using provided binary reader
|
|
275
|
+
* @param _instance message instance
|
|
276
|
+
* @param _writer binary writer instance
|
|
277
|
+
*/
|
|
278
|
+
static serializeBinaryToWriter(_instance: CreateUserRequest, _writer: BinaryWriter): void;
|
|
279
|
+
private _user?;
|
|
280
|
+
private _password?;
|
|
281
|
+
/**
|
|
282
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
283
|
+
* @param _value initial values object or instance of CreateUserRequest to deeply clone from
|
|
284
|
+
*/
|
|
285
|
+
constructor(_value?: RecursivePartial<CreateUserRequest.AsObject>);
|
|
286
|
+
get user(): User | undefined;
|
|
287
|
+
set user(value: User | undefined);
|
|
288
|
+
get password(): string | undefined;
|
|
289
|
+
set password(value: string | undefined);
|
|
290
|
+
/**
|
|
291
|
+
* Serialize message to binary data
|
|
292
|
+
* @param instance message instance
|
|
293
|
+
*/
|
|
294
|
+
serializeBinary(): any;
|
|
295
|
+
/**
|
|
296
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
297
|
+
*/
|
|
298
|
+
toObject(): CreateUserRequest.AsObject;
|
|
299
|
+
/**
|
|
300
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
301
|
+
*/
|
|
302
|
+
toJSON(): CreateUserRequest.AsObject;
|
|
303
|
+
/**
|
|
304
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
305
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
306
|
+
* 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
|
|
307
|
+
*/
|
|
308
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): CreateUserRequest.AsProtobufJSON;
|
|
309
|
+
}
|
|
310
|
+
export declare module CreateUserRequest {
|
|
311
|
+
/**
|
|
312
|
+
* Standard JavaScript object representation for CreateUserRequest
|
|
313
|
+
*/
|
|
314
|
+
interface AsObject {
|
|
315
|
+
user?: User.AsObject;
|
|
316
|
+
password?: string;
|
|
317
|
+
}
|
|
318
|
+
/**
|
|
319
|
+
* Protobuf JSON representation for CreateUserRequest
|
|
320
|
+
*/
|
|
321
|
+
interface AsProtobufJSON {
|
|
322
|
+
user?: User.AsProtobufJSON | null;
|
|
323
|
+
password?: string;
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
/**
|
|
327
|
+
* Message implementation for ondewo.nlu.UpdateUserRequest
|
|
328
|
+
*/
|
|
329
|
+
export declare class UpdateUserRequest implements GrpcMessage {
|
|
330
|
+
static id: string;
|
|
331
|
+
/**
|
|
332
|
+
* Deserialize binary data to message
|
|
333
|
+
* @param instance message instance
|
|
334
|
+
*/
|
|
335
|
+
static deserializeBinary(bytes: ByteSource): UpdateUserRequest;
|
|
336
|
+
/**
|
|
337
|
+
* Check all the properties and set default protobuf values if necessary
|
|
338
|
+
* @param _instance message instance
|
|
339
|
+
*/
|
|
340
|
+
static refineValues(_instance: UpdateUserRequest): void;
|
|
341
|
+
/**
|
|
342
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
343
|
+
* @param _instance message instance
|
|
344
|
+
* @param _reader binary reader instance
|
|
345
|
+
*/
|
|
346
|
+
static deserializeBinaryFromReader(_instance: UpdateUserRequest, _reader: BinaryReader): void;
|
|
347
|
+
/**
|
|
348
|
+
* Serializes a message to binary format using provided binary reader
|
|
349
|
+
* @param _instance message instance
|
|
350
|
+
* @param _writer binary writer instance
|
|
351
|
+
*/
|
|
352
|
+
static serializeBinaryToWriter(_instance: UpdateUserRequest, _writer: BinaryWriter): void;
|
|
353
|
+
private _user?;
|
|
354
|
+
private _password?;
|
|
355
|
+
private _updateMask?;
|
|
356
|
+
/**
|
|
357
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
358
|
+
* @param _value initial values object or instance of UpdateUserRequest to deeply clone from
|
|
359
|
+
*/
|
|
360
|
+
constructor(_value?: RecursivePartial<UpdateUserRequest.AsObject>);
|
|
361
|
+
get user(): User | undefined;
|
|
362
|
+
set user(value: User | undefined);
|
|
363
|
+
get password(): string | undefined;
|
|
364
|
+
set password(value: string | undefined);
|
|
365
|
+
get updateMask(): googleProtobuf003.FieldMask | undefined;
|
|
366
|
+
set updateMask(value: googleProtobuf003.FieldMask | undefined);
|
|
367
|
+
/**
|
|
368
|
+
* Serialize message to binary data
|
|
369
|
+
* @param instance message instance
|
|
370
|
+
*/
|
|
371
|
+
serializeBinary(): any;
|
|
372
|
+
/**
|
|
373
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
374
|
+
*/
|
|
375
|
+
toObject(): UpdateUserRequest.AsObject;
|
|
376
|
+
/**
|
|
377
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
378
|
+
*/
|
|
379
|
+
toJSON(): UpdateUserRequest.AsObject;
|
|
380
|
+
/**
|
|
381
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
382
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
383
|
+
* 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
|
|
384
|
+
*/
|
|
385
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): UpdateUserRequest.AsProtobufJSON;
|
|
386
|
+
}
|
|
387
|
+
export declare module UpdateUserRequest {
|
|
388
|
+
/**
|
|
389
|
+
* Standard JavaScript object representation for UpdateUserRequest
|
|
390
|
+
*/
|
|
391
|
+
interface AsObject {
|
|
392
|
+
user?: User.AsObject;
|
|
393
|
+
password?: string;
|
|
394
|
+
updateMask?: googleProtobuf003.FieldMask.AsObject;
|
|
395
|
+
}
|
|
396
|
+
/**
|
|
397
|
+
* Protobuf JSON representation for UpdateUserRequest
|
|
398
|
+
*/
|
|
399
|
+
interface AsProtobufJSON {
|
|
400
|
+
user?: User.AsProtobufJSON | null;
|
|
401
|
+
password?: string;
|
|
402
|
+
updateMask?: googleProtobuf003.FieldMask.AsProtobufJSON | null;
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
/**
|
|
406
|
+
* Message implementation for ondewo.nlu.GetUserRequest
|
|
407
|
+
*/
|
|
408
|
+
export declare class GetUserRequest implements GrpcMessage {
|
|
409
|
+
static id: string;
|
|
410
|
+
/**
|
|
411
|
+
* Deserialize binary data to message
|
|
412
|
+
* @param instance message instance
|
|
413
|
+
*/
|
|
414
|
+
static deserializeBinary(bytes: ByteSource): GetUserRequest;
|
|
415
|
+
/**
|
|
416
|
+
* Check all the properties and set default protobuf values if necessary
|
|
417
|
+
* @param _instance message instance
|
|
418
|
+
*/
|
|
419
|
+
static refineValues(_instance: GetUserRequest): void;
|
|
420
|
+
/**
|
|
421
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
422
|
+
* @param _instance message instance
|
|
423
|
+
* @param _reader binary reader instance
|
|
424
|
+
*/
|
|
425
|
+
static deserializeBinaryFromReader(_instance: GetUserRequest, _reader: BinaryReader): void;
|
|
426
|
+
/**
|
|
427
|
+
* Serializes a message to binary format using provided binary reader
|
|
428
|
+
* @param _instance message instance
|
|
429
|
+
* @param _writer binary writer instance
|
|
430
|
+
*/
|
|
431
|
+
static serializeBinaryToWriter(_instance: GetUserRequest, _writer: BinaryWriter): void;
|
|
432
|
+
private _userId?;
|
|
433
|
+
private _userEmail?;
|
|
434
|
+
private _userIdentifier;
|
|
435
|
+
/**
|
|
436
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
437
|
+
* @param _value initial values object or instance of GetUserRequest to deeply clone from
|
|
438
|
+
*/
|
|
439
|
+
constructor(_value?: RecursivePartial<GetUserRequest.AsObject>);
|
|
440
|
+
get userId(): string | undefined;
|
|
441
|
+
set userId(value: string | undefined);
|
|
442
|
+
get userEmail(): string | undefined;
|
|
443
|
+
set userEmail(value: string | undefined);
|
|
444
|
+
get userIdentifier(): GetUserRequest.UserIdentifierCase;
|
|
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(): GetUserRequest.AsObject;
|
|
454
|
+
/**
|
|
455
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
456
|
+
*/
|
|
457
|
+
toJSON(): GetUserRequest.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): GetUserRequest.AsProtobufJSON;
|
|
464
|
+
}
|
|
465
|
+
export declare module GetUserRequest {
|
|
466
|
+
/**
|
|
467
|
+
* Standard JavaScript object representation for GetUserRequest
|
|
468
|
+
*/
|
|
469
|
+
interface AsObject {
|
|
470
|
+
userId?: string;
|
|
471
|
+
userEmail?: string;
|
|
472
|
+
}
|
|
473
|
+
/**
|
|
474
|
+
* Protobuf JSON representation for GetUserRequest
|
|
475
|
+
*/
|
|
476
|
+
interface AsProtobufJSON {
|
|
477
|
+
userId?: string | null;
|
|
478
|
+
userEmail?: string | null;
|
|
479
|
+
}
|
|
480
|
+
enum UserIdentifierCase {
|
|
481
|
+
none = 0,
|
|
482
|
+
userId = 1,
|
|
483
|
+
userEmail = 2
|
|
484
|
+
}
|
|
485
|
+
}
|
|
486
|
+
/**
|
|
487
|
+
* Message implementation for ondewo.nlu.DeleteUserRequest
|
|
488
|
+
*/
|
|
489
|
+
export declare class DeleteUserRequest implements GrpcMessage {
|
|
490
|
+
static id: string;
|
|
491
|
+
/**
|
|
492
|
+
* Deserialize binary data to message
|
|
493
|
+
* @param instance message instance
|
|
494
|
+
*/
|
|
495
|
+
static deserializeBinary(bytes: ByteSource): DeleteUserRequest;
|
|
496
|
+
/**
|
|
497
|
+
* Check all the properties and set default protobuf values if necessary
|
|
498
|
+
* @param _instance message instance
|
|
499
|
+
*/
|
|
500
|
+
static refineValues(_instance: DeleteUserRequest): void;
|
|
501
|
+
/**
|
|
502
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
503
|
+
* @param _instance message instance
|
|
504
|
+
* @param _reader binary reader instance
|
|
505
|
+
*/
|
|
506
|
+
static deserializeBinaryFromReader(_instance: DeleteUserRequest, _reader: BinaryReader): void;
|
|
507
|
+
/**
|
|
508
|
+
* Serializes a message to binary format using provided binary reader
|
|
509
|
+
* @param _instance message instance
|
|
510
|
+
* @param _writer binary writer instance
|
|
511
|
+
*/
|
|
512
|
+
static serializeBinaryToWriter(_instance: DeleteUserRequest, _writer: BinaryWriter): void;
|
|
513
|
+
private _userId?;
|
|
514
|
+
/**
|
|
515
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
516
|
+
* @param _value initial values object or instance of DeleteUserRequest to deeply clone from
|
|
517
|
+
*/
|
|
518
|
+
constructor(_value?: RecursivePartial<DeleteUserRequest.AsObject>);
|
|
519
|
+
get userId(): string | undefined;
|
|
520
|
+
set userId(value: string | undefined);
|
|
521
|
+
/**
|
|
522
|
+
* Serialize message to binary data
|
|
523
|
+
* @param instance message instance
|
|
524
|
+
*/
|
|
525
|
+
serializeBinary(): any;
|
|
526
|
+
/**
|
|
527
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
528
|
+
*/
|
|
529
|
+
toObject(): DeleteUserRequest.AsObject;
|
|
530
|
+
/**
|
|
531
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
532
|
+
*/
|
|
533
|
+
toJSON(): DeleteUserRequest.AsObject;
|
|
534
|
+
/**
|
|
535
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
536
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
537
|
+
* 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
|
|
538
|
+
*/
|
|
539
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): DeleteUserRequest.AsProtobufJSON;
|
|
540
|
+
}
|
|
541
|
+
export declare module DeleteUserRequest {
|
|
542
|
+
/**
|
|
543
|
+
* Standard JavaScript object representation for DeleteUserRequest
|
|
544
|
+
*/
|
|
545
|
+
interface AsObject {
|
|
546
|
+
userId?: string;
|
|
547
|
+
}
|
|
548
|
+
/**
|
|
549
|
+
* Protobuf JSON representation for DeleteUserRequest
|
|
550
|
+
*/
|
|
551
|
+
interface AsProtobufJSON {
|
|
552
|
+
userId?: string;
|
|
553
|
+
}
|
|
554
|
+
}
|
|
555
|
+
/**
|
|
556
|
+
* Message implementation for ondewo.nlu.ListUsersRequest
|
|
557
|
+
*/
|
|
558
|
+
export declare class ListUsersRequest implements GrpcMessage {
|
|
559
|
+
static id: string;
|
|
560
|
+
/**
|
|
561
|
+
* Deserialize binary data to message
|
|
562
|
+
* @param instance message instance
|
|
563
|
+
*/
|
|
564
|
+
static deserializeBinary(bytes: ByteSource): ListUsersRequest;
|
|
565
|
+
/**
|
|
566
|
+
* Check all the properties and set default protobuf values if necessary
|
|
567
|
+
* @param _instance message instance
|
|
568
|
+
*/
|
|
569
|
+
static refineValues(_instance: ListUsersRequest): void;
|
|
570
|
+
/**
|
|
571
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
572
|
+
* @param _instance message instance
|
|
573
|
+
* @param _reader binary reader instance
|
|
574
|
+
*/
|
|
575
|
+
static deserializeBinaryFromReader(_instance: ListUsersRequest, _reader: BinaryReader): void;
|
|
576
|
+
/**
|
|
577
|
+
* Serializes a message to binary format using provided binary reader
|
|
578
|
+
* @param _instance message instance
|
|
579
|
+
* @param _writer binary writer instance
|
|
580
|
+
*/
|
|
581
|
+
static serializeBinaryToWriter(_instance: ListUsersRequest, _writer: BinaryWriter): void;
|
|
582
|
+
private _pageToken?;
|
|
583
|
+
/**
|
|
584
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
585
|
+
* @param _value initial values object or instance of ListUsersRequest to deeply clone from
|
|
586
|
+
*/
|
|
587
|
+
constructor(_value?: RecursivePartial<ListUsersRequest.AsObject>);
|
|
588
|
+
get pageToken(): string | undefined;
|
|
589
|
+
set pageToken(value: string | undefined);
|
|
590
|
+
/**
|
|
591
|
+
* Serialize message to binary data
|
|
592
|
+
* @param instance message instance
|
|
593
|
+
*/
|
|
594
|
+
serializeBinary(): any;
|
|
595
|
+
/**
|
|
596
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
597
|
+
*/
|
|
598
|
+
toObject(): ListUsersRequest.AsObject;
|
|
599
|
+
/**
|
|
600
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
601
|
+
*/
|
|
602
|
+
toJSON(): ListUsersRequest.AsObject;
|
|
603
|
+
/**
|
|
604
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
605
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
606
|
+
* 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
|
|
607
|
+
*/
|
|
608
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): ListUsersRequest.AsProtobufJSON;
|
|
609
|
+
}
|
|
610
|
+
export declare module ListUsersRequest {
|
|
611
|
+
/**
|
|
612
|
+
* Standard JavaScript object representation for ListUsersRequest
|
|
613
|
+
*/
|
|
614
|
+
interface AsObject {
|
|
615
|
+
pageToken?: string;
|
|
616
|
+
}
|
|
617
|
+
/**
|
|
618
|
+
* Protobuf JSON representation for ListUsersRequest
|
|
619
|
+
*/
|
|
620
|
+
interface AsProtobufJSON {
|
|
621
|
+
pageToken?: string;
|
|
622
|
+
}
|
|
623
|
+
}
|
|
624
|
+
/**
|
|
625
|
+
* Message implementation for ondewo.nlu.ListUsersResponse
|
|
626
|
+
*/
|
|
627
|
+
export declare class ListUsersResponse implements GrpcMessage {
|
|
628
|
+
static id: string;
|
|
629
|
+
/**
|
|
630
|
+
* Deserialize binary data to message
|
|
631
|
+
* @param instance message instance
|
|
632
|
+
*/
|
|
633
|
+
static deserializeBinary(bytes: ByteSource): ListUsersResponse;
|
|
634
|
+
/**
|
|
635
|
+
* Check all the properties and set default protobuf values if necessary
|
|
636
|
+
* @param _instance message instance
|
|
637
|
+
*/
|
|
638
|
+
static refineValues(_instance: ListUsersResponse): void;
|
|
639
|
+
/**
|
|
640
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
641
|
+
* @param _instance message instance
|
|
642
|
+
* @param _reader binary reader instance
|
|
643
|
+
*/
|
|
644
|
+
static deserializeBinaryFromReader(_instance: ListUsersResponse, _reader: BinaryReader): void;
|
|
645
|
+
/**
|
|
646
|
+
* Serializes a message to binary format using provided binary reader
|
|
647
|
+
* @param _instance message instance
|
|
648
|
+
* @param _writer binary writer instance
|
|
649
|
+
*/
|
|
650
|
+
static serializeBinaryToWriter(_instance: ListUsersResponse, _writer: BinaryWriter): void;
|
|
651
|
+
private _users?;
|
|
652
|
+
private _nextPageToken?;
|
|
653
|
+
/**
|
|
654
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
655
|
+
* @param _value initial values object or instance of ListUsersResponse to deeply clone from
|
|
656
|
+
*/
|
|
657
|
+
constructor(_value?: RecursivePartial<ListUsersResponse.AsObject>);
|
|
658
|
+
get users(): User[] | undefined;
|
|
659
|
+
set users(value: User[] | undefined);
|
|
660
|
+
get nextPageToken(): string | undefined;
|
|
661
|
+
set nextPageToken(value: string | undefined);
|
|
662
|
+
/**
|
|
663
|
+
* Serialize message to binary data
|
|
664
|
+
* @param instance message instance
|
|
665
|
+
*/
|
|
666
|
+
serializeBinary(): any;
|
|
667
|
+
/**
|
|
668
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
669
|
+
*/
|
|
670
|
+
toObject(): ListUsersResponse.AsObject;
|
|
671
|
+
/**
|
|
672
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
673
|
+
*/
|
|
674
|
+
toJSON(): ListUsersResponse.AsObject;
|
|
675
|
+
/**
|
|
676
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
677
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
678
|
+
* 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
|
|
679
|
+
*/
|
|
680
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): ListUsersResponse.AsProtobufJSON;
|
|
681
|
+
}
|
|
682
|
+
export declare module ListUsersResponse {
|
|
683
|
+
/**
|
|
684
|
+
* Standard JavaScript object representation for ListUsersResponse
|
|
685
|
+
*/
|
|
686
|
+
interface AsObject {
|
|
687
|
+
users?: User.AsObject[];
|
|
688
|
+
nextPageToken?: string;
|
|
689
|
+
}
|
|
690
|
+
/**
|
|
691
|
+
* Protobuf JSON representation for ListUsersResponse
|
|
692
|
+
*/
|
|
693
|
+
interface AsProtobufJSON {
|
|
694
|
+
users?: User.AsProtobufJSON[] | null;
|
|
695
|
+
nextPageToken?: string;
|
|
696
|
+
}
|
|
697
|
+
}
|
|
698
|
+
/**
|
|
699
|
+
* Message implementation for ondewo.nlu.ListUserInfosResponse
|
|
700
|
+
*/
|
|
701
|
+
export declare class ListUserInfosResponse implements GrpcMessage {
|
|
702
|
+
static id: string;
|
|
703
|
+
/**
|
|
704
|
+
* Deserialize binary data to message
|
|
705
|
+
* @param instance message instance
|
|
706
|
+
*/
|
|
707
|
+
static deserializeBinary(bytes: ByteSource): ListUserInfosResponse;
|
|
708
|
+
/**
|
|
709
|
+
* Check all the properties and set default protobuf values if necessary
|
|
710
|
+
* @param _instance message instance
|
|
711
|
+
*/
|
|
712
|
+
static refineValues(_instance: ListUserInfosResponse): void;
|
|
713
|
+
/**
|
|
714
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
715
|
+
* @param _instance message instance
|
|
716
|
+
* @param _reader binary reader instance
|
|
717
|
+
*/
|
|
718
|
+
static deserializeBinaryFromReader(_instance: ListUserInfosResponse, _reader: BinaryReader): void;
|
|
719
|
+
/**
|
|
720
|
+
* Serializes a message to binary format using provided binary reader
|
|
721
|
+
* @param _instance message instance
|
|
722
|
+
* @param _writer binary writer instance
|
|
723
|
+
*/
|
|
724
|
+
static serializeBinaryToWriter(_instance: ListUserInfosResponse, _writer: BinaryWriter): void;
|
|
725
|
+
private _users?;
|
|
726
|
+
private _nextPageToken?;
|
|
727
|
+
/**
|
|
728
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
729
|
+
* @param _value initial values object or instance of ListUserInfosResponse to deeply clone from
|
|
730
|
+
*/
|
|
731
|
+
constructor(_value?: RecursivePartial<ListUserInfosResponse.AsObject>);
|
|
732
|
+
get users(): UserInfo[] | undefined;
|
|
733
|
+
set users(value: UserInfo[] | undefined);
|
|
734
|
+
get nextPageToken(): string | undefined;
|
|
735
|
+
set nextPageToken(value: string | undefined);
|
|
736
|
+
/**
|
|
737
|
+
* Serialize message to binary data
|
|
738
|
+
* @param instance message instance
|
|
739
|
+
*/
|
|
740
|
+
serializeBinary(): any;
|
|
741
|
+
/**
|
|
742
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
743
|
+
*/
|
|
744
|
+
toObject(): ListUserInfosResponse.AsObject;
|
|
745
|
+
/**
|
|
746
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
747
|
+
*/
|
|
748
|
+
toJSON(): ListUserInfosResponse.AsObject;
|
|
749
|
+
/**
|
|
750
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
751
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
752
|
+
* 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
|
|
753
|
+
*/
|
|
754
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): ListUserInfosResponse.AsProtobufJSON;
|
|
755
|
+
}
|
|
756
|
+
export declare module ListUserInfosResponse {
|
|
757
|
+
/**
|
|
758
|
+
* Standard JavaScript object representation for ListUserInfosResponse
|
|
759
|
+
*/
|
|
760
|
+
interface AsObject {
|
|
761
|
+
users?: UserInfo.AsObject[];
|
|
762
|
+
nextPageToken?: string;
|
|
763
|
+
}
|
|
764
|
+
/**
|
|
765
|
+
* Protobuf JSON representation for ListUserInfosResponse
|
|
766
|
+
*/
|
|
767
|
+
interface AsProtobufJSON {
|
|
768
|
+
users?: UserInfo.AsProtobufJSON[] | null;
|
|
769
|
+
nextPageToken?: string;
|
|
770
|
+
}
|
|
771
|
+
}
|
|
772
|
+
/**
|
|
773
|
+
* Message implementation for ondewo.nlu.ServerRole
|
|
774
|
+
*/
|
|
775
|
+
export declare class ServerRole implements GrpcMessage {
|
|
776
|
+
static id: string;
|
|
777
|
+
/**
|
|
778
|
+
* Deserialize binary data to message
|
|
779
|
+
* @param instance message instance
|
|
780
|
+
*/
|
|
781
|
+
static deserializeBinary(bytes: ByteSource): ServerRole;
|
|
782
|
+
/**
|
|
783
|
+
* Check all the properties and set default protobuf values if necessary
|
|
784
|
+
* @param _instance message instance
|
|
785
|
+
*/
|
|
786
|
+
static refineValues(_instance: ServerRole): void;
|
|
787
|
+
/**
|
|
788
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
789
|
+
* @param _instance message instance
|
|
790
|
+
* @param _reader binary reader instance
|
|
791
|
+
*/
|
|
792
|
+
static deserializeBinaryFromReader(_instance: ServerRole, _reader: BinaryReader): void;
|
|
793
|
+
/**
|
|
794
|
+
* Serializes a message to binary format using provided binary reader
|
|
795
|
+
* @param _instance message instance
|
|
796
|
+
* @param _writer binary writer instance
|
|
797
|
+
*/
|
|
798
|
+
static serializeBinaryToWriter(_instance: ServerRole, _writer: BinaryWriter): void;
|
|
799
|
+
private _roleId?;
|
|
800
|
+
private _name?;
|
|
801
|
+
private _permissions?;
|
|
802
|
+
/**
|
|
803
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
804
|
+
* @param _value initial values object or instance of ServerRole to deeply clone from
|
|
805
|
+
*/
|
|
806
|
+
constructor(_value?: RecursivePartial<ServerRole.AsObject>);
|
|
807
|
+
get roleId(): number | undefined;
|
|
808
|
+
set roleId(value: number | undefined);
|
|
809
|
+
get name(): string | undefined;
|
|
810
|
+
set name(value: string | undefined);
|
|
811
|
+
get permissions(): string[] | undefined;
|
|
812
|
+
set permissions(value: string[] | undefined);
|
|
813
|
+
/**
|
|
814
|
+
* Serialize message to binary data
|
|
815
|
+
* @param instance message instance
|
|
816
|
+
*/
|
|
817
|
+
serializeBinary(): any;
|
|
818
|
+
/**
|
|
819
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
820
|
+
*/
|
|
821
|
+
toObject(): ServerRole.AsObject;
|
|
822
|
+
/**
|
|
823
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
824
|
+
*/
|
|
825
|
+
toJSON(): ServerRole.AsObject;
|
|
826
|
+
/**
|
|
827
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
828
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
829
|
+
* 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
|
|
830
|
+
*/
|
|
831
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): ServerRole.AsProtobufJSON;
|
|
832
|
+
}
|
|
833
|
+
export declare module ServerRole {
|
|
834
|
+
/**
|
|
835
|
+
* Standard JavaScript object representation for ServerRole
|
|
836
|
+
*/
|
|
837
|
+
interface AsObject {
|
|
838
|
+
roleId?: number;
|
|
839
|
+
name?: string;
|
|
840
|
+
permissions?: string[];
|
|
841
|
+
}
|
|
842
|
+
/**
|
|
843
|
+
* Protobuf JSON representation for ServerRole
|
|
844
|
+
*/
|
|
845
|
+
interface AsProtobufJSON {
|
|
846
|
+
roleId?: number;
|
|
847
|
+
name?: string;
|
|
848
|
+
permissions?: string[];
|
|
849
|
+
}
|
|
850
|
+
}
|
|
851
|
+
/**
|
|
852
|
+
* Message implementation for ondewo.nlu.CreateServerRoleRequest
|
|
853
|
+
*/
|
|
854
|
+
export declare class CreateServerRoleRequest implements GrpcMessage {
|
|
855
|
+
static id: string;
|
|
856
|
+
/**
|
|
857
|
+
* Deserialize binary data to message
|
|
858
|
+
* @param instance message instance
|
|
859
|
+
*/
|
|
860
|
+
static deserializeBinary(bytes: ByteSource): CreateServerRoleRequest;
|
|
861
|
+
/**
|
|
862
|
+
* Check all the properties and set default protobuf values if necessary
|
|
863
|
+
* @param _instance message instance
|
|
864
|
+
*/
|
|
865
|
+
static refineValues(_instance: CreateServerRoleRequest): void;
|
|
866
|
+
/**
|
|
867
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
868
|
+
* @param _instance message instance
|
|
869
|
+
* @param _reader binary reader instance
|
|
870
|
+
*/
|
|
871
|
+
static deserializeBinaryFromReader(_instance: CreateServerRoleRequest, _reader: BinaryReader): void;
|
|
872
|
+
/**
|
|
873
|
+
* Serializes a message to binary format using provided binary reader
|
|
874
|
+
* @param _instance message instance
|
|
875
|
+
* @param _writer binary writer instance
|
|
876
|
+
*/
|
|
877
|
+
static serializeBinaryToWriter(_instance: CreateServerRoleRequest, _writer: BinaryWriter): void;
|
|
878
|
+
private _role?;
|
|
879
|
+
/**
|
|
880
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
881
|
+
* @param _value initial values object or instance of CreateServerRoleRequest to deeply clone from
|
|
882
|
+
*/
|
|
883
|
+
constructor(_value?: RecursivePartial<CreateServerRoleRequest.AsObject>);
|
|
884
|
+
get role(): ServerRole | undefined;
|
|
885
|
+
set role(value: ServerRole | undefined);
|
|
886
|
+
/**
|
|
887
|
+
* Serialize message to binary data
|
|
888
|
+
* @param instance message instance
|
|
889
|
+
*/
|
|
890
|
+
serializeBinary(): any;
|
|
891
|
+
/**
|
|
892
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
893
|
+
*/
|
|
894
|
+
toObject(): CreateServerRoleRequest.AsObject;
|
|
895
|
+
/**
|
|
896
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
897
|
+
*/
|
|
898
|
+
toJSON(): CreateServerRoleRequest.AsObject;
|
|
899
|
+
/**
|
|
900
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
901
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
902
|
+
* 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
|
|
903
|
+
*/
|
|
904
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): CreateServerRoleRequest.AsProtobufJSON;
|
|
905
|
+
}
|
|
906
|
+
export declare module CreateServerRoleRequest {
|
|
907
|
+
/**
|
|
908
|
+
* Standard JavaScript object representation for CreateServerRoleRequest
|
|
909
|
+
*/
|
|
910
|
+
interface AsObject {
|
|
911
|
+
role?: ServerRole.AsObject;
|
|
912
|
+
}
|
|
913
|
+
/**
|
|
914
|
+
* Protobuf JSON representation for CreateServerRoleRequest
|
|
915
|
+
*/
|
|
916
|
+
interface AsProtobufJSON {
|
|
917
|
+
role?: ServerRole.AsProtobufJSON | null;
|
|
918
|
+
}
|
|
919
|
+
}
|
|
920
|
+
/**
|
|
921
|
+
* Message implementation for ondewo.nlu.UpdateServerRoleRequest
|
|
922
|
+
*/
|
|
923
|
+
export declare class UpdateServerRoleRequest implements GrpcMessage {
|
|
924
|
+
static id: string;
|
|
925
|
+
/**
|
|
926
|
+
* Deserialize binary data to message
|
|
927
|
+
* @param instance message instance
|
|
928
|
+
*/
|
|
929
|
+
static deserializeBinary(bytes: ByteSource): UpdateServerRoleRequest;
|
|
930
|
+
/**
|
|
931
|
+
* Check all the properties and set default protobuf values if necessary
|
|
932
|
+
* @param _instance message instance
|
|
933
|
+
*/
|
|
934
|
+
static refineValues(_instance: UpdateServerRoleRequest): void;
|
|
935
|
+
/**
|
|
936
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
937
|
+
* @param _instance message instance
|
|
938
|
+
* @param _reader binary reader instance
|
|
939
|
+
*/
|
|
940
|
+
static deserializeBinaryFromReader(_instance: UpdateServerRoleRequest, _reader: BinaryReader): void;
|
|
941
|
+
/**
|
|
942
|
+
* Serializes a message to binary format using provided binary reader
|
|
943
|
+
* @param _instance message instance
|
|
944
|
+
* @param _writer binary writer instance
|
|
945
|
+
*/
|
|
946
|
+
static serializeBinaryToWriter(_instance: UpdateServerRoleRequest, _writer: BinaryWriter): void;
|
|
947
|
+
private _role?;
|
|
948
|
+
private _updateMask?;
|
|
949
|
+
/**
|
|
950
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
951
|
+
* @param _value initial values object or instance of UpdateServerRoleRequest to deeply clone from
|
|
952
|
+
*/
|
|
953
|
+
constructor(_value?: RecursivePartial<UpdateServerRoleRequest.AsObject>);
|
|
954
|
+
get role(): ServerRole | undefined;
|
|
955
|
+
set role(value: ServerRole | undefined);
|
|
956
|
+
get updateMask(): googleProtobuf003.FieldMask | undefined;
|
|
957
|
+
set updateMask(value: googleProtobuf003.FieldMask | undefined);
|
|
958
|
+
/**
|
|
959
|
+
* Serialize message to binary data
|
|
960
|
+
* @param instance message instance
|
|
961
|
+
*/
|
|
962
|
+
serializeBinary(): any;
|
|
963
|
+
/**
|
|
964
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
965
|
+
*/
|
|
966
|
+
toObject(): UpdateServerRoleRequest.AsObject;
|
|
967
|
+
/**
|
|
968
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
969
|
+
*/
|
|
970
|
+
toJSON(): UpdateServerRoleRequest.AsObject;
|
|
971
|
+
/**
|
|
972
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
973
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
974
|
+
* 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
|
|
975
|
+
*/
|
|
976
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): UpdateServerRoleRequest.AsProtobufJSON;
|
|
977
|
+
}
|
|
978
|
+
export declare module UpdateServerRoleRequest {
|
|
979
|
+
/**
|
|
980
|
+
* Standard JavaScript object representation for UpdateServerRoleRequest
|
|
981
|
+
*/
|
|
982
|
+
interface AsObject {
|
|
983
|
+
role?: ServerRole.AsObject;
|
|
984
|
+
updateMask?: googleProtobuf003.FieldMask.AsObject;
|
|
985
|
+
}
|
|
986
|
+
/**
|
|
987
|
+
* Protobuf JSON representation for UpdateServerRoleRequest
|
|
988
|
+
*/
|
|
989
|
+
interface AsProtobufJSON {
|
|
990
|
+
role?: ServerRole.AsProtobufJSON | null;
|
|
991
|
+
updateMask?: googleProtobuf003.FieldMask.AsProtobufJSON | null;
|
|
992
|
+
}
|
|
993
|
+
}
|
|
994
|
+
/**
|
|
995
|
+
* Message implementation for ondewo.nlu.DeleteServerRoleRequest
|
|
996
|
+
*/
|
|
997
|
+
export declare class DeleteServerRoleRequest implements GrpcMessage {
|
|
998
|
+
static id: string;
|
|
999
|
+
/**
|
|
1000
|
+
* Deserialize binary data to message
|
|
1001
|
+
* @param instance message instance
|
|
1002
|
+
*/
|
|
1003
|
+
static deserializeBinary(bytes: ByteSource): DeleteServerRoleRequest;
|
|
1004
|
+
/**
|
|
1005
|
+
* Check all the properties and set default protobuf values if necessary
|
|
1006
|
+
* @param _instance message instance
|
|
1007
|
+
*/
|
|
1008
|
+
static refineValues(_instance: DeleteServerRoleRequest): void;
|
|
1009
|
+
/**
|
|
1010
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
1011
|
+
* @param _instance message instance
|
|
1012
|
+
* @param _reader binary reader instance
|
|
1013
|
+
*/
|
|
1014
|
+
static deserializeBinaryFromReader(_instance: DeleteServerRoleRequest, _reader: BinaryReader): void;
|
|
1015
|
+
/**
|
|
1016
|
+
* Serializes a message to binary format using provided binary reader
|
|
1017
|
+
* @param _instance message instance
|
|
1018
|
+
* @param _writer binary writer instance
|
|
1019
|
+
*/
|
|
1020
|
+
static serializeBinaryToWriter(_instance: DeleteServerRoleRequest, _writer: BinaryWriter): void;
|
|
1021
|
+
private _roleId?;
|
|
1022
|
+
/**
|
|
1023
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
1024
|
+
* @param _value initial values object or instance of DeleteServerRoleRequest to deeply clone from
|
|
1025
|
+
*/
|
|
1026
|
+
constructor(_value?: RecursivePartial<DeleteServerRoleRequest.AsObject>);
|
|
1027
|
+
get roleId(): number | undefined;
|
|
1028
|
+
set roleId(value: number | undefined);
|
|
1029
|
+
/**
|
|
1030
|
+
* Serialize message to binary data
|
|
1031
|
+
* @param instance message instance
|
|
1032
|
+
*/
|
|
1033
|
+
serializeBinary(): any;
|
|
1034
|
+
/**
|
|
1035
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
1036
|
+
*/
|
|
1037
|
+
toObject(): DeleteServerRoleRequest.AsObject;
|
|
1038
|
+
/**
|
|
1039
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
1040
|
+
*/
|
|
1041
|
+
toJSON(): DeleteServerRoleRequest.AsObject;
|
|
1042
|
+
/**
|
|
1043
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
1044
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
1045
|
+
* 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
|
|
1046
|
+
*/
|
|
1047
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): DeleteServerRoleRequest.AsProtobufJSON;
|
|
1048
|
+
}
|
|
1049
|
+
export declare module DeleteServerRoleRequest {
|
|
1050
|
+
/**
|
|
1051
|
+
* Standard JavaScript object representation for DeleteServerRoleRequest
|
|
1052
|
+
*/
|
|
1053
|
+
interface AsObject {
|
|
1054
|
+
roleId?: number;
|
|
1055
|
+
}
|
|
1056
|
+
/**
|
|
1057
|
+
* Protobuf JSON representation for DeleteServerRoleRequest
|
|
1058
|
+
*/
|
|
1059
|
+
interface AsProtobufJSON {
|
|
1060
|
+
roleId?: number;
|
|
1061
|
+
}
|
|
1062
|
+
}
|
|
1063
|
+
/**
|
|
1064
|
+
* Message implementation for ondewo.nlu.GetServerRoleRequest
|
|
1065
|
+
*/
|
|
1066
|
+
export declare class GetServerRoleRequest implements GrpcMessage {
|
|
1067
|
+
static id: string;
|
|
1068
|
+
/**
|
|
1069
|
+
* Deserialize binary data to message
|
|
1070
|
+
* @param instance message instance
|
|
1071
|
+
*/
|
|
1072
|
+
static deserializeBinary(bytes: ByteSource): GetServerRoleRequest;
|
|
1073
|
+
/**
|
|
1074
|
+
* Check all the properties and set default protobuf values if necessary
|
|
1075
|
+
* @param _instance message instance
|
|
1076
|
+
*/
|
|
1077
|
+
static refineValues(_instance: GetServerRoleRequest): void;
|
|
1078
|
+
/**
|
|
1079
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
1080
|
+
* @param _instance message instance
|
|
1081
|
+
* @param _reader binary reader instance
|
|
1082
|
+
*/
|
|
1083
|
+
static deserializeBinaryFromReader(_instance: GetServerRoleRequest, _reader: BinaryReader): void;
|
|
1084
|
+
/**
|
|
1085
|
+
* Serializes a message to binary format using provided binary reader
|
|
1086
|
+
* @param _instance message instance
|
|
1087
|
+
* @param _writer binary writer instance
|
|
1088
|
+
*/
|
|
1089
|
+
static serializeBinaryToWriter(_instance: GetServerRoleRequest, _writer: BinaryWriter): void;
|
|
1090
|
+
private _roleId?;
|
|
1091
|
+
private _roleName?;
|
|
1092
|
+
private _serverRoleIdentifier;
|
|
1093
|
+
/**
|
|
1094
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
1095
|
+
* @param _value initial values object or instance of GetServerRoleRequest to deeply clone from
|
|
1096
|
+
*/
|
|
1097
|
+
constructor(_value?: RecursivePartial<GetServerRoleRequest.AsObject>);
|
|
1098
|
+
get roleId(): number | undefined;
|
|
1099
|
+
set roleId(value: number | undefined);
|
|
1100
|
+
get roleName(): string | undefined;
|
|
1101
|
+
set roleName(value: string | undefined);
|
|
1102
|
+
get serverRoleIdentifier(): GetServerRoleRequest.ServerRoleIdentifierCase;
|
|
1103
|
+
/**
|
|
1104
|
+
* Serialize message to binary data
|
|
1105
|
+
* @param instance message instance
|
|
1106
|
+
*/
|
|
1107
|
+
serializeBinary(): any;
|
|
1108
|
+
/**
|
|
1109
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
1110
|
+
*/
|
|
1111
|
+
toObject(): GetServerRoleRequest.AsObject;
|
|
1112
|
+
/**
|
|
1113
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
1114
|
+
*/
|
|
1115
|
+
toJSON(): GetServerRoleRequest.AsObject;
|
|
1116
|
+
/**
|
|
1117
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
1118
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
1119
|
+
* 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
|
|
1120
|
+
*/
|
|
1121
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): GetServerRoleRequest.AsProtobufJSON;
|
|
1122
|
+
}
|
|
1123
|
+
export declare module GetServerRoleRequest {
|
|
1124
|
+
/**
|
|
1125
|
+
* Standard JavaScript object representation for GetServerRoleRequest
|
|
1126
|
+
*/
|
|
1127
|
+
interface AsObject {
|
|
1128
|
+
roleId?: number;
|
|
1129
|
+
roleName?: string;
|
|
1130
|
+
}
|
|
1131
|
+
/**
|
|
1132
|
+
* Protobuf JSON representation for GetServerRoleRequest
|
|
1133
|
+
*/
|
|
1134
|
+
interface AsProtobufJSON {
|
|
1135
|
+
roleId?: number | null;
|
|
1136
|
+
roleName?: string | null;
|
|
1137
|
+
}
|
|
1138
|
+
enum ServerRoleIdentifierCase {
|
|
1139
|
+
none = 0,
|
|
1140
|
+
roleId = 1,
|
|
1141
|
+
roleName = 2
|
|
1142
|
+
}
|
|
1143
|
+
}
|
|
1144
|
+
/**
|
|
1145
|
+
* Message implementation for ondewo.nlu.ListServerRolesRequest
|
|
1146
|
+
*/
|
|
1147
|
+
export declare class ListServerRolesRequest implements GrpcMessage {
|
|
1148
|
+
static id: string;
|
|
1149
|
+
/**
|
|
1150
|
+
* Deserialize binary data to message
|
|
1151
|
+
* @param instance message instance
|
|
1152
|
+
*/
|
|
1153
|
+
static deserializeBinary(bytes: ByteSource): ListServerRolesRequest;
|
|
1154
|
+
/**
|
|
1155
|
+
* Check all the properties and set default protobuf values if necessary
|
|
1156
|
+
* @param _instance message instance
|
|
1157
|
+
*/
|
|
1158
|
+
static refineValues(_instance: ListServerRolesRequest): void;
|
|
1159
|
+
/**
|
|
1160
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
1161
|
+
* @param _instance message instance
|
|
1162
|
+
* @param _reader binary reader instance
|
|
1163
|
+
*/
|
|
1164
|
+
static deserializeBinaryFromReader(_instance: ListServerRolesRequest, _reader: BinaryReader): void;
|
|
1165
|
+
/**
|
|
1166
|
+
* Serializes a message to binary format using provided binary reader
|
|
1167
|
+
* @param _instance message instance
|
|
1168
|
+
* @param _writer binary writer instance
|
|
1169
|
+
*/
|
|
1170
|
+
static serializeBinaryToWriter(_instance: ListServerRolesRequest, _writer: BinaryWriter): void;
|
|
1171
|
+
private _pageToken?;
|
|
1172
|
+
/**
|
|
1173
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
1174
|
+
* @param _value initial values object or instance of ListServerRolesRequest to deeply clone from
|
|
1175
|
+
*/
|
|
1176
|
+
constructor(_value?: RecursivePartial<ListServerRolesRequest.AsObject>);
|
|
1177
|
+
get pageToken(): string | undefined;
|
|
1178
|
+
set pageToken(value: string | undefined);
|
|
1179
|
+
/**
|
|
1180
|
+
* Serialize message to binary data
|
|
1181
|
+
* @param instance message instance
|
|
1182
|
+
*/
|
|
1183
|
+
serializeBinary(): any;
|
|
1184
|
+
/**
|
|
1185
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
1186
|
+
*/
|
|
1187
|
+
toObject(): ListServerRolesRequest.AsObject;
|
|
1188
|
+
/**
|
|
1189
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
1190
|
+
*/
|
|
1191
|
+
toJSON(): ListServerRolesRequest.AsObject;
|
|
1192
|
+
/**
|
|
1193
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
1194
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
1195
|
+
* 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
|
|
1196
|
+
*/
|
|
1197
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): ListServerRolesRequest.AsProtobufJSON;
|
|
1198
|
+
}
|
|
1199
|
+
export declare module ListServerRolesRequest {
|
|
1200
|
+
/**
|
|
1201
|
+
* Standard JavaScript object representation for ListServerRolesRequest
|
|
1202
|
+
*/
|
|
1203
|
+
interface AsObject {
|
|
1204
|
+
pageToken?: string;
|
|
1205
|
+
}
|
|
1206
|
+
/**
|
|
1207
|
+
* Protobuf JSON representation for ListServerRolesRequest
|
|
1208
|
+
*/
|
|
1209
|
+
interface AsProtobufJSON {
|
|
1210
|
+
pageToken?: string;
|
|
1211
|
+
}
|
|
1212
|
+
}
|
|
1213
|
+
/**
|
|
1214
|
+
* Message implementation for ondewo.nlu.ListServerRolesResponse
|
|
1215
|
+
*/
|
|
1216
|
+
export declare class ListServerRolesResponse implements GrpcMessage {
|
|
1217
|
+
static id: string;
|
|
1218
|
+
/**
|
|
1219
|
+
* Deserialize binary data to message
|
|
1220
|
+
* @param instance message instance
|
|
1221
|
+
*/
|
|
1222
|
+
static deserializeBinary(bytes: ByteSource): ListServerRolesResponse;
|
|
1223
|
+
/**
|
|
1224
|
+
* Check all the properties and set default protobuf values if necessary
|
|
1225
|
+
* @param _instance message instance
|
|
1226
|
+
*/
|
|
1227
|
+
static refineValues(_instance: ListServerRolesResponse): void;
|
|
1228
|
+
/**
|
|
1229
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
1230
|
+
* @param _instance message instance
|
|
1231
|
+
* @param _reader binary reader instance
|
|
1232
|
+
*/
|
|
1233
|
+
static deserializeBinaryFromReader(_instance: ListServerRolesResponse, _reader: BinaryReader): void;
|
|
1234
|
+
/**
|
|
1235
|
+
* Serializes a message to binary format using provided binary reader
|
|
1236
|
+
* @param _instance message instance
|
|
1237
|
+
* @param _writer binary writer instance
|
|
1238
|
+
*/
|
|
1239
|
+
static serializeBinaryToWriter(_instance: ListServerRolesResponse, _writer: BinaryWriter): void;
|
|
1240
|
+
private _serverRoles?;
|
|
1241
|
+
private _nextPageToken?;
|
|
1242
|
+
/**
|
|
1243
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
1244
|
+
* @param _value initial values object or instance of ListServerRolesResponse to deeply clone from
|
|
1245
|
+
*/
|
|
1246
|
+
constructor(_value?: RecursivePartial<ListServerRolesResponse.AsObject>);
|
|
1247
|
+
get serverRoles(): ServerRole[] | undefined;
|
|
1248
|
+
set serverRoles(value: ServerRole[] | undefined);
|
|
1249
|
+
get nextPageToken(): string | undefined;
|
|
1250
|
+
set nextPageToken(value: string | undefined);
|
|
1251
|
+
/**
|
|
1252
|
+
* Serialize message to binary data
|
|
1253
|
+
* @param instance message instance
|
|
1254
|
+
*/
|
|
1255
|
+
serializeBinary(): any;
|
|
1256
|
+
/**
|
|
1257
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
1258
|
+
*/
|
|
1259
|
+
toObject(): ListServerRolesResponse.AsObject;
|
|
1260
|
+
/**
|
|
1261
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
1262
|
+
*/
|
|
1263
|
+
toJSON(): ListServerRolesResponse.AsObject;
|
|
1264
|
+
/**
|
|
1265
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
1266
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
1267
|
+
* 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
|
|
1268
|
+
*/
|
|
1269
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): ListServerRolesResponse.AsProtobufJSON;
|
|
1270
|
+
}
|
|
1271
|
+
export declare module ListServerRolesResponse {
|
|
1272
|
+
/**
|
|
1273
|
+
* Standard JavaScript object representation for ListServerRolesResponse
|
|
1274
|
+
*/
|
|
1275
|
+
interface AsObject {
|
|
1276
|
+
serverRoles?: ServerRole.AsObject[];
|
|
1277
|
+
nextPageToken?: string;
|
|
1278
|
+
}
|
|
1279
|
+
/**
|
|
1280
|
+
* Protobuf JSON representation for ListServerRolesResponse
|
|
1281
|
+
*/
|
|
1282
|
+
interface AsProtobufJSON {
|
|
1283
|
+
serverRoles?: ServerRole.AsProtobufJSON[] | null;
|
|
1284
|
+
nextPageToken?: string;
|
|
1285
|
+
}
|
|
1286
|
+
}
|
|
1287
|
+
/**
|
|
1288
|
+
* Message implementation for ondewo.nlu.ListServerPermissionsRequest
|
|
1289
|
+
*/
|
|
1290
|
+
export declare class ListServerPermissionsRequest implements GrpcMessage {
|
|
1291
|
+
static id: string;
|
|
1292
|
+
/**
|
|
1293
|
+
* Deserialize binary data to message
|
|
1294
|
+
* @param instance message instance
|
|
1295
|
+
*/
|
|
1296
|
+
static deserializeBinary(bytes: ByteSource): ListServerPermissionsRequest;
|
|
1297
|
+
/**
|
|
1298
|
+
* Check all the properties and set default protobuf values if necessary
|
|
1299
|
+
* @param _instance message instance
|
|
1300
|
+
*/
|
|
1301
|
+
static refineValues(_instance: ListServerPermissionsRequest): void;
|
|
1302
|
+
/**
|
|
1303
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
1304
|
+
* @param _instance message instance
|
|
1305
|
+
* @param _reader binary reader instance
|
|
1306
|
+
*/
|
|
1307
|
+
static deserializeBinaryFromReader(_instance: ListServerPermissionsRequest, _reader: BinaryReader): void;
|
|
1308
|
+
/**
|
|
1309
|
+
* Serializes a message to binary format using provided binary reader
|
|
1310
|
+
* @param _instance message instance
|
|
1311
|
+
* @param _writer binary writer instance
|
|
1312
|
+
*/
|
|
1313
|
+
static serializeBinaryToWriter(_instance: ListServerPermissionsRequest, _writer: BinaryWriter): void;
|
|
1314
|
+
private _pageToken?;
|
|
1315
|
+
/**
|
|
1316
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
1317
|
+
* @param _value initial values object or instance of ListServerPermissionsRequest to deeply clone from
|
|
1318
|
+
*/
|
|
1319
|
+
constructor(_value?: RecursivePartial<ListServerPermissionsRequest.AsObject>);
|
|
1320
|
+
get pageToken(): string | undefined;
|
|
1321
|
+
set pageToken(value: string | undefined);
|
|
1322
|
+
/**
|
|
1323
|
+
* Serialize message to binary data
|
|
1324
|
+
* @param instance message instance
|
|
1325
|
+
*/
|
|
1326
|
+
serializeBinary(): any;
|
|
1327
|
+
/**
|
|
1328
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
1329
|
+
*/
|
|
1330
|
+
toObject(): ListServerPermissionsRequest.AsObject;
|
|
1331
|
+
/**
|
|
1332
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
1333
|
+
*/
|
|
1334
|
+
toJSON(): ListServerPermissionsRequest.AsObject;
|
|
1335
|
+
/**
|
|
1336
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
1337
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
1338
|
+
* 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
|
|
1339
|
+
*/
|
|
1340
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): ListServerPermissionsRequest.AsProtobufJSON;
|
|
1341
|
+
}
|
|
1342
|
+
export declare module ListServerPermissionsRequest {
|
|
1343
|
+
/**
|
|
1344
|
+
* Standard JavaScript object representation for ListServerPermissionsRequest
|
|
1345
|
+
*/
|
|
1346
|
+
interface AsObject {
|
|
1347
|
+
pageToken?: string;
|
|
1348
|
+
}
|
|
1349
|
+
/**
|
|
1350
|
+
* Protobuf JSON representation for ListServerPermissionsRequest
|
|
1351
|
+
*/
|
|
1352
|
+
interface AsProtobufJSON {
|
|
1353
|
+
pageToken?: string;
|
|
1354
|
+
}
|
|
1355
|
+
}
|
|
1356
|
+
/**
|
|
1357
|
+
* Message implementation for ondewo.nlu.ListServerPermissionsResponse
|
|
1358
|
+
*/
|
|
1359
|
+
export declare class ListServerPermissionsResponse implements GrpcMessage {
|
|
1360
|
+
static id: string;
|
|
1361
|
+
/**
|
|
1362
|
+
* Deserialize binary data to message
|
|
1363
|
+
* @param instance message instance
|
|
1364
|
+
*/
|
|
1365
|
+
static deserializeBinary(bytes: ByteSource): ListServerPermissionsResponse;
|
|
1366
|
+
/**
|
|
1367
|
+
* Check all the properties and set default protobuf values if necessary
|
|
1368
|
+
* @param _instance message instance
|
|
1369
|
+
*/
|
|
1370
|
+
static refineValues(_instance: ListServerPermissionsResponse): void;
|
|
1371
|
+
/**
|
|
1372
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
1373
|
+
* @param _instance message instance
|
|
1374
|
+
* @param _reader binary reader instance
|
|
1375
|
+
*/
|
|
1376
|
+
static deserializeBinaryFromReader(_instance: ListServerPermissionsResponse, _reader: BinaryReader): void;
|
|
1377
|
+
/**
|
|
1378
|
+
* Serializes a message to binary format using provided binary reader
|
|
1379
|
+
* @param _instance message instance
|
|
1380
|
+
* @param _writer binary writer instance
|
|
1381
|
+
*/
|
|
1382
|
+
static serializeBinaryToWriter(_instance: ListServerPermissionsResponse, _writer: BinaryWriter): void;
|
|
1383
|
+
private _permissions?;
|
|
1384
|
+
private _nextPageToken?;
|
|
1385
|
+
/**
|
|
1386
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
1387
|
+
* @param _value initial values object or instance of ListServerPermissionsResponse to deeply clone from
|
|
1388
|
+
*/
|
|
1389
|
+
constructor(_value?: RecursivePartial<ListServerPermissionsResponse.AsObject>);
|
|
1390
|
+
get permissions(): string[] | undefined;
|
|
1391
|
+
set permissions(value: string[] | undefined);
|
|
1392
|
+
get nextPageToken(): string | undefined;
|
|
1393
|
+
set nextPageToken(value: string | undefined);
|
|
1394
|
+
/**
|
|
1395
|
+
* Serialize message to binary data
|
|
1396
|
+
* @param instance message instance
|
|
1397
|
+
*/
|
|
1398
|
+
serializeBinary(): any;
|
|
1399
|
+
/**
|
|
1400
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
1401
|
+
*/
|
|
1402
|
+
toObject(): ListServerPermissionsResponse.AsObject;
|
|
1403
|
+
/**
|
|
1404
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
1405
|
+
*/
|
|
1406
|
+
toJSON(): ListServerPermissionsResponse.AsObject;
|
|
1407
|
+
/**
|
|
1408
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
1409
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
1410
|
+
* 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
|
|
1411
|
+
*/
|
|
1412
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): ListServerPermissionsResponse.AsProtobufJSON;
|
|
1413
|
+
}
|
|
1414
|
+
export declare module ListServerPermissionsResponse {
|
|
1415
|
+
/**
|
|
1416
|
+
* Standard JavaScript object representation for ListServerPermissionsResponse
|
|
1417
|
+
*/
|
|
1418
|
+
interface AsObject {
|
|
1419
|
+
permissions?: string[];
|
|
1420
|
+
nextPageToken?: string;
|
|
1421
|
+
}
|
|
1422
|
+
/**
|
|
1423
|
+
* Protobuf JSON representation for ListServerPermissionsResponse
|
|
1424
|
+
*/
|
|
1425
|
+
interface AsProtobufJSON {
|
|
1426
|
+
permissions?: string[];
|
|
1427
|
+
nextPageToken?: string;
|
|
1428
|
+
}
|
|
1429
|
+
}
|
|
1430
|
+
/**
|
|
1431
|
+
* Message implementation for ondewo.nlu.LoginRequest
|
|
1432
|
+
*/
|
|
1433
|
+
export declare class LoginRequest implements GrpcMessage {
|
|
1434
|
+
static id: string;
|
|
1435
|
+
/**
|
|
1436
|
+
* Deserialize binary data to message
|
|
1437
|
+
* @param instance message instance
|
|
1438
|
+
*/
|
|
1439
|
+
static deserializeBinary(bytes: ByteSource): LoginRequest;
|
|
1440
|
+
/**
|
|
1441
|
+
* Check all the properties and set default protobuf values if necessary
|
|
1442
|
+
* @param _instance message instance
|
|
1443
|
+
*/
|
|
1444
|
+
static refineValues(_instance: LoginRequest): void;
|
|
1445
|
+
/**
|
|
1446
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
1447
|
+
* @param _instance message instance
|
|
1448
|
+
* @param _reader binary reader instance
|
|
1449
|
+
*/
|
|
1450
|
+
static deserializeBinaryFromReader(_instance: LoginRequest, _reader: BinaryReader): void;
|
|
1451
|
+
/**
|
|
1452
|
+
* Serializes a message to binary format using provided binary reader
|
|
1453
|
+
* @param _instance message instance
|
|
1454
|
+
* @param _writer binary writer instance
|
|
1455
|
+
*/
|
|
1456
|
+
static serializeBinaryToWriter(_instance: LoginRequest, _writer: BinaryWriter): void;
|
|
1457
|
+
private _userEmail?;
|
|
1458
|
+
private _password?;
|
|
1459
|
+
/**
|
|
1460
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
1461
|
+
* @param _value initial values object or instance of LoginRequest to deeply clone from
|
|
1462
|
+
*/
|
|
1463
|
+
constructor(_value?: RecursivePartial<LoginRequest.AsObject>);
|
|
1464
|
+
get userEmail(): string | undefined;
|
|
1465
|
+
set userEmail(value: string | undefined);
|
|
1466
|
+
get password(): string | undefined;
|
|
1467
|
+
set password(value: string | undefined);
|
|
1468
|
+
/**
|
|
1469
|
+
* Serialize message to binary data
|
|
1470
|
+
* @param instance message instance
|
|
1471
|
+
*/
|
|
1472
|
+
serializeBinary(): any;
|
|
1473
|
+
/**
|
|
1474
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
1475
|
+
*/
|
|
1476
|
+
toObject(): LoginRequest.AsObject;
|
|
1477
|
+
/**
|
|
1478
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
1479
|
+
*/
|
|
1480
|
+
toJSON(): LoginRequest.AsObject;
|
|
1481
|
+
/**
|
|
1482
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
1483
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
1484
|
+
* 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
|
|
1485
|
+
*/
|
|
1486
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): LoginRequest.AsProtobufJSON;
|
|
1487
|
+
}
|
|
1488
|
+
export declare module LoginRequest {
|
|
1489
|
+
/**
|
|
1490
|
+
* Standard JavaScript object representation for LoginRequest
|
|
1491
|
+
*/
|
|
1492
|
+
interface AsObject {
|
|
1493
|
+
userEmail?: string;
|
|
1494
|
+
password?: string;
|
|
1495
|
+
}
|
|
1496
|
+
/**
|
|
1497
|
+
* Protobuf JSON representation for LoginRequest
|
|
1498
|
+
*/
|
|
1499
|
+
interface AsProtobufJSON {
|
|
1500
|
+
userEmail?: string;
|
|
1501
|
+
password?: string;
|
|
1502
|
+
}
|
|
1503
|
+
}
|
|
1504
|
+
/**
|
|
1505
|
+
* Message implementation for ondewo.nlu.LoginResponse
|
|
1506
|
+
*/
|
|
1507
|
+
export declare class LoginResponse implements GrpcMessage {
|
|
1508
|
+
static id: string;
|
|
1509
|
+
/**
|
|
1510
|
+
* Deserialize binary data to message
|
|
1511
|
+
* @param instance message instance
|
|
1512
|
+
*/
|
|
1513
|
+
static deserializeBinary(bytes: ByteSource): LoginResponse;
|
|
1514
|
+
/**
|
|
1515
|
+
* Check all the properties and set default protobuf values if necessary
|
|
1516
|
+
* @param _instance message instance
|
|
1517
|
+
*/
|
|
1518
|
+
static refineValues(_instance: LoginResponse): void;
|
|
1519
|
+
/**
|
|
1520
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
1521
|
+
* @param _instance message instance
|
|
1522
|
+
* @param _reader binary reader instance
|
|
1523
|
+
*/
|
|
1524
|
+
static deserializeBinaryFromReader(_instance: LoginResponse, _reader: BinaryReader): void;
|
|
1525
|
+
/**
|
|
1526
|
+
* Serializes a message to binary format using provided binary reader
|
|
1527
|
+
* @param _instance message instance
|
|
1528
|
+
* @param _writer binary writer instance
|
|
1529
|
+
*/
|
|
1530
|
+
static serializeBinaryToWriter(_instance: LoginResponse, _writer: BinaryWriter): void;
|
|
1531
|
+
private _user?;
|
|
1532
|
+
private _authToken?;
|
|
1533
|
+
/**
|
|
1534
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
1535
|
+
* @param _value initial values object or instance of LoginResponse to deeply clone from
|
|
1536
|
+
*/
|
|
1537
|
+
constructor(_value?: RecursivePartial<LoginResponse.AsObject>);
|
|
1538
|
+
get user(): User | undefined;
|
|
1539
|
+
set user(value: User | undefined);
|
|
1540
|
+
get authToken(): string | undefined;
|
|
1541
|
+
set authToken(value: string | undefined);
|
|
1542
|
+
/**
|
|
1543
|
+
* Serialize message to binary data
|
|
1544
|
+
* @param instance message instance
|
|
1545
|
+
*/
|
|
1546
|
+
serializeBinary(): any;
|
|
1547
|
+
/**
|
|
1548
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
1549
|
+
*/
|
|
1550
|
+
toObject(): LoginResponse.AsObject;
|
|
1551
|
+
/**
|
|
1552
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
1553
|
+
*/
|
|
1554
|
+
toJSON(): LoginResponse.AsObject;
|
|
1555
|
+
/**
|
|
1556
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
1557
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
1558
|
+
* 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
|
|
1559
|
+
*/
|
|
1560
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): LoginResponse.AsProtobufJSON;
|
|
1561
|
+
}
|
|
1562
|
+
export declare module LoginResponse {
|
|
1563
|
+
/**
|
|
1564
|
+
* Standard JavaScript object representation for LoginResponse
|
|
1565
|
+
*/
|
|
1566
|
+
interface AsObject {
|
|
1567
|
+
user?: User.AsObject;
|
|
1568
|
+
authToken?: string;
|
|
1569
|
+
}
|
|
1570
|
+
/**
|
|
1571
|
+
* Protobuf JSON representation for LoginResponse
|
|
1572
|
+
*/
|
|
1573
|
+
interface AsProtobufJSON {
|
|
1574
|
+
user?: User.AsProtobufJSON | null;
|
|
1575
|
+
authToken?: string;
|
|
1576
|
+
}
|
|
1577
|
+
}
|