@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.
Files changed (200) hide show
  1. package/LICENSE +191 -0
  2. package/README.md +27 -0
  3. package/api/google/api/annotations.pb.d.ts +1 -0
  4. package/api/google/api/http.pb.d.ts +275 -0
  5. package/api/google/rpc/status.pb.d.ts +82 -0
  6. package/api/google/type/latlng.pb.d.ts +76 -0
  7. package/api/ondewo/csi/conversation.pb.d.ts +1312 -0
  8. package/api/ondewo/csi/conversation.pbconf.d.ts +6 -0
  9. package/api/ondewo/csi/conversation.pbsc.d.ts +167 -0
  10. package/api/ondewo/nlu/agent.pb.d.ts +3536 -0
  11. package/api/ondewo/nlu/agent.pbconf.d.ts +6 -0
  12. package/api/ondewo/nlu/agent.pbsc.d.ts +472 -0
  13. package/api/ondewo/nlu/aiservices.pb.d.ts +2472 -0
  14. package/api/ondewo/nlu/aiservices.pbconf.d.ts +6 -0
  15. package/api/ondewo/nlu/aiservices.pbsc.d.ts +150 -0
  16. package/api/ondewo/nlu/common.pb.d.ts +75 -0
  17. package/api/ondewo/nlu/context.pb.d.ts +756 -0
  18. package/api/ondewo/nlu/context.pbconf.d.ts +6 -0
  19. package/api/ondewo/nlu/context.pbsc.d.ts +119 -0
  20. package/api/ondewo/nlu/entity-type.pb.d.ts +2014 -0
  21. package/api/ondewo/nlu/entity-type.pbconf.d.ts +6 -0
  22. package/api/ondewo/nlu/entity-type.pbsc.d.ts +216 -0
  23. package/api/ondewo/nlu/intent.pb.d.ts +6236 -0
  24. package/api/ondewo/nlu/intent.pbconf.d.ts +6 -0
  25. package/api/ondewo/nlu/intent.pbsc.d.ts +456 -0
  26. package/api/ondewo/nlu/operation-metadata.pb.d.ts +166 -0
  27. package/api/ondewo/nlu/operations.pb.d.ts +578 -0
  28. package/api/ondewo/nlu/operations.pbconf.d.ts +6 -0
  29. package/api/ondewo/nlu/operations.pbsc.d.ts +87 -0
  30. package/api/ondewo/nlu/project-role.pb.d.ts +576 -0
  31. package/api/ondewo/nlu/project-role.pbconf.d.ts +6 -0
  32. package/api/ondewo/nlu/project-role.pbsc.d.ts +103 -0
  33. package/api/ondewo/nlu/project-statistics.pb.d.ts +295 -0
  34. package/api/ondewo/nlu/project-statistics.pbconf.d.ts +6 -0
  35. package/api/ondewo/nlu/project-statistics.pbsc.d.ts +151 -0
  36. package/api/ondewo/nlu/server-statistics.pb.d.ts +71 -0
  37. package/api/ondewo/nlu/server-statistics.pbconf.d.ts +6 -0
  38. package/api/ondewo/nlu/server-statistics.pbsc.d.ts +72 -0
  39. package/api/ondewo/nlu/session.pb.d.ts +2892 -0
  40. package/api/ondewo/nlu/session.pbconf.d.ts +6 -0
  41. package/api/ondewo/nlu/session.pbsc.d.ts +247 -0
  42. package/api/ondewo/nlu/user.pb.d.ts +1577 -0
  43. package/api/ondewo/nlu/user.pbconf.d.ts +6 -0
  44. package/api/ondewo/nlu/user.pbsc.d.ts +263 -0
  45. package/api/ondewo/nlu/utility.pb.d.ts +1814 -0
  46. package/api/ondewo/nlu/utility.pbconf.d.ts +6 -0
  47. package/api/ondewo/nlu/utility.pbsc.d.ts +150 -0
  48. package/api/ondewo/nlu/webhook.pb.d.ts +401 -0
  49. package/api/ondewo/nlu/webhook.pbconf.d.ts +6 -0
  50. package/api/ondewo/nlu/webhook.pbsc.d.ts +70 -0
  51. package/api/ondewo/s2t/speech-to-text.pb.d.ts +3710 -0
  52. package/api/ondewo/s2t/speech-to-text.pbconf.d.ts +6 -0
  53. package/api/ondewo/s2t/speech-to-text.pbsc.d.ts +263 -0
  54. package/api/ondewo/t2s/text-to-speech.pb.d.ts +3302 -0
  55. package/api/ondewo/t2s/text-to-speech.pbconf.d.ts +11 -0
  56. package/api/ondewo/t2s/text-to-speech.pbsc.d.ts +296 -0
  57. package/esm2020/api/google/api/annotations.pb.mjs +2 -0
  58. package/esm2020/api/google/api/http.pb.mjs +524 -0
  59. package/esm2020/api/google/rpc/status.pb.mjs +138 -0
  60. package/esm2020/api/google/type/latlng.pb.mjs +119 -0
  61. package/esm2020/api/ondewo/csi/conversation.pb.mjs +2232 -0
  62. package/esm2020/api/ondewo/csi/conversation.pbconf.mjs +13 -0
  63. package/esm2020/api/ondewo/csi/conversation.pbsc.mjs +315 -0
  64. package/esm2020/api/ondewo/nlu/agent.pb.mjs +6077 -0
  65. package/esm2020/api/ondewo/nlu/agent.pbconf.mjs +13 -0
  66. package/esm2020/api/ondewo/nlu/agent.pbsc.mjs +886 -0
  67. package/esm2020/api/ondewo/nlu/aiservices.pb.mjs +4371 -0
  68. package/esm2020/api/ondewo/nlu/aiservices.pbconf.mjs +13 -0
  69. package/esm2020/api/ondewo/nlu/aiservices.pbsc.mjs +284 -0
  70. package/esm2020/api/ondewo/nlu/common.pb.mjs +108 -0
  71. package/esm2020/api/ondewo/nlu/context.pb.mjs +1233 -0
  72. package/esm2020/api/ondewo/nlu/context.pbconf.mjs +13 -0
  73. package/esm2020/api/ondewo/nlu/context.pbsc.mjs +225 -0
  74. package/esm2020/api/ondewo/nlu/entity-type.pb.mjs +3466 -0
  75. package/esm2020/api/ondewo/nlu/entity-type.pbconf.mjs +13 -0
  76. package/esm2020/api/ondewo/nlu/entity-type.pbsc.mjs +406 -0
  77. package/esm2020/api/ondewo/nlu/intent.pb.mjs +10809 -0
  78. package/esm2020/api/ondewo/nlu/intent.pbconf.mjs +13 -0
  79. package/esm2020/api/ondewo/nlu/intent.pbsc.mjs +856 -0
  80. package/esm2020/api/ondewo/nlu/operation-metadata.pb.mjs +382 -0
  81. package/esm2020/api/ondewo/nlu/operations.pb.mjs +1003 -0
  82. package/esm2020/api/ondewo/nlu/operations.pbconf.mjs +13 -0
  83. package/esm2020/api/ondewo/nlu/operations.pbsc.mjs +165 -0
  84. package/esm2020/api/ondewo/nlu/project-role.pb.mjs +988 -0
  85. package/esm2020/api/ondewo/nlu/project-role.pbconf.mjs +13 -0
  86. package/esm2020/api/ondewo/nlu/project-role.pbsc.mjs +195 -0
  87. package/esm2020/api/ondewo/nlu/project-statistics.pb.mjs +460 -0
  88. package/esm2020/api/ondewo/nlu/project-statistics.pbconf.mjs +13 -0
  89. package/esm2020/api/ondewo/nlu/project-statistics.pbsc.mjs +285 -0
  90. package/esm2020/api/ondewo/nlu/server-statistics.pb.mjs +103 -0
  91. package/esm2020/api/ondewo/nlu/server-statistics.pbconf.mjs +13 -0
  92. package/esm2020/api/ondewo/nlu/server-statistics.pbsc.mjs +136 -0
  93. package/esm2020/api/ondewo/nlu/session.pb.mjs +5351 -0
  94. package/esm2020/api/ondewo/nlu/session.pbconf.mjs +13 -0
  95. package/esm2020/api/ondewo/nlu/session.pbsc.mjs +465 -0
  96. package/esm2020/api/ondewo/nlu/user.pb.mjs +2536 -0
  97. package/esm2020/api/ondewo/nlu/user.pbconf.mjs +13 -0
  98. package/esm2020/api/ondewo/nlu/user.pbsc.mjs +495 -0
  99. package/esm2020/api/ondewo/nlu/utility.pb.mjs +3302 -0
  100. package/esm2020/api/ondewo/nlu/utility.pbconf.mjs +13 -0
  101. package/esm2020/api/ondewo/nlu/utility.pbsc.mjs +284 -0
  102. package/esm2020/api/ondewo/nlu/webhook.pb.mjs +705 -0
  103. package/esm2020/api/ondewo/nlu/webhook.pbconf.mjs +13 -0
  104. package/esm2020/api/ondewo/nlu/webhook.pbsc.mjs +134 -0
  105. package/esm2020/api/ondewo/s2t/speech-to-text.pb.mjs +6452 -0
  106. package/esm2020/api/ondewo/s2t/speech-to-text.pbconf.mjs +13 -0
  107. package/esm2020/api/ondewo/s2t/speech-to-text.pbsc.mjs +495 -0
  108. package/esm2020/api/ondewo/t2s/text-to-speech.pb.mjs +5779 -0
  109. package/esm2020/api/ondewo/t2s/text-to-speech.pbconf.mjs +18 -0
  110. package/esm2020/api/ondewo/t2s/text-to-speech.pbsc.mjs +555 -0
  111. package/esm2020/ondewo-csi-client-angular.mjs +5 -0
  112. package/esm2020/public-api.mjs +55 -0
  113. package/fesm2015/ondewo-csi-client-angular.mjs +62142 -0
  114. package/fesm2015/ondewo-csi-client-angular.mjs.map +1 -0
  115. package/fesm2020/ondewo-csi-client-angular.mjs +62135 -0
  116. package/fesm2020/ondewo-csi-client-angular.mjs.map +1 -0
  117. package/index.d.ts +5 -0
  118. package/ondewo-csi-api/README.md +91 -0
  119. package/ondewo-csi-api/google/ads/googleads/README.md +21 -0
  120. package/ondewo-csi-api/google/api/README.md +5 -0
  121. package/ondewo-csi-api/google/api/servicecontrol/README.md +126 -0
  122. package/ondewo-csi-api/google/api/servicemanagement/README.md +102 -0
  123. package/ondewo-csi-api/google/appengine/README.md +12 -0
  124. package/ondewo-csi-api/google/assistant/embedded/README.md +3 -0
  125. package/ondewo-csi-api/google/cloud/functions/README.md +2 -0
  126. package/ondewo-csi-api/google/cloud/language/README.md +0 -0
  127. package/ondewo-csi-api/google/cloud/runtimeconfig/README.md +39 -0
  128. package/ondewo-csi-api/google/cloud/speech/README.md +3 -0
  129. package/ondewo-csi-api/google/container/README.md +0 -0
  130. package/ondewo-csi-api/google/datastore/README.md +0 -0
  131. package/ondewo-csi-api/google/devtools/cloudbuild/README.md +1 -0
  132. package/ondewo-csi-api/google/devtools/clouderrorreporting/README.md +1 -0
  133. package/ondewo-csi-api/google/example/library/README.md +4 -0
  134. package/ondewo-csi-api/google/firestore/README.md +0 -0
  135. package/ondewo-csi-api/google/genomics/README.md +14 -0
  136. package/ondewo-csi-api/google/iam/README.md +14 -0
  137. package/ondewo-csi-api/google/logging/README.md +3 -0
  138. package/ondewo-csi-api/google/longrunning/README.md +5 -0
  139. package/ondewo-csi-api/google/privacy/dlp/README.md +7 -0
  140. package/ondewo-csi-api/google/pubsub/v1beta2/README.md +136 -0
  141. package/ondewo-csi-api/google/rpc/README.md +5 -0
  142. package/ondewo-csi-api/google/streetview/publish/README.md +1 -0
  143. package/ondewo-csi-api/google/type/README.md +16 -0
  144. package/ondewo-csi-api/googleapis/README.md +87 -0
  145. package/ondewo-csi-api/googleapis/google/ads/googleads/README.md +21 -0
  146. package/ondewo-csi-api/googleapis/google/api/README.md +5 -0
  147. package/ondewo-csi-api/googleapis/google/api/servicecontrol/README.md +126 -0
  148. package/ondewo-csi-api/googleapis/google/api/servicemanagement/README.md +102 -0
  149. package/ondewo-csi-api/googleapis/google/appengine/README.md +12 -0
  150. package/ondewo-csi-api/googleapis/google/assistant/embedded/README.md +3 -0
  151. package/ondewo-csi-api/googleapis/google/cloud/functions/README.md +2 -0
  152. package/ondewo-csi-api/googleapis/google/cloud/language/README.md +0 -0
  153. package/ondewo-csi-api/googleapis/google/cloud/runtimeconfig/README.md +39 -0
  154. package/ondewo-csi-api/googleapis/google/cloud/speech/README.md +3 -0
  155. package/ondewo-csi-api/googleapis/google/container/README.md +0 -0
  156. package/ondewo-csi-api/googleapis/google/datastore/README.md +0 -0
  157. package/ondewo-csi-api/googleapis/google/devtools/cloudbuild/README.md +1 -0
  158. package/ondewo-csi-api/googleapis/google/devtools/clouderrorreporting/README.md +1 -0
  159. package/ondewo-csi-api/googleapis/google/example/library/README.md +4 -0
  160. package/ondewo-csi-api/googleapis/google/firestore/README.md +0 -0
  161. package/ondewo-csi-api/googleapis/google/genomics/README.md +14 -0
  162. package/ondewo-csi-api/googleapis/google/iam/README.md +14 -0
  163. package/ondewo-csi-api/googleapis/google/logging/README.md +3 -0
  164. package/ondewo-csi-api/googleapis/google/longrunning/README.md +5 -0
  165. package/ondewo-csi-api/googleapis/google/privacy/dlp/README.md +7 -0
  166. package/ondewo-csi-api/googleapis/google/pubsub/v1beta2/README.md +136 -0
  167. package/ondewo-csi-api/googleapis/google/rpc/README.md +5 -0
  168. package/ondewo-csi-api/googleapis/google/streetview/publish/README.md +1 -0
  169. package/ondewo-csi-api/googleapis/google/type/README.md +16 -0
  170. package/ondewo-csi-api/ondewo-nlu-api/README.md +117 -0
  171. package/ondewo-csi-api/ondewo-nlu-api/googleapis/README.md +87 -0
  172. package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/ads/googleads/README.md +21 -0
  173. package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/api/README.md +5 -0
  174. package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/api/servicecontrol/README.md +126 -0
  175. package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/api/servicemanagement/README.md +102 -0
  176. package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/appengine/README.md +12 -0
  177. package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/assistant/embedded/README.md +3 -0
  178. package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/cloud/functions/README.md +2 -0
  179. package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/cloud/language/README.md +0 -0
  180. package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/cloud/runtimeconfig/README.md +39 -0
  181. package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/cloud/speech/README.md +3 -0
  182. package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/container/README.md +0 -0
  183. package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/datastore/README.md +0 -0
  184. package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/devtools/cloudbuild/README.md +1 -0
  185. package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/devtools/clouderrorreporting/README.md +1 -0
  186. package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/example/library/README.md +4 -0
  187. package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/firestore/README.md +0 -0
  188. package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/genomics/README.md +14 -0
  189. package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/iam/README.md +14 -0
  190. package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/logging/README.md +3 -0
  191. package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/longrunning/README.md +5 -0
  192. package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/privacy/dlp/README.md +7 -0
  193. package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/pubsub/v1beta2/README.md +136 -0
  194. package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/rpc/README.md +5 -0
  195. package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/streetview/publish/README.md +1 -0
  196. package/ondewo-csi-api/ondewo-nlu-api/googleapis/google/type/README.md +16 -0
  197. package/ondewo-csi-api/ondewo-s2t-api/README.md +89 -0
  198. package/ondewo-csi-api/ondewo-t2s-api/README.md +89 -0
  199. package/package.json +49 -0
  200. package/public-api.d.ts +54 -0
@@ -0,0 +1,1312 @@
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 googleRpc004 from '../../google/rpc/status.pb';
5
+ import * as ondewoNlu006 from '../../ondewo/nlu/context.pb';
6
+ import * as googleProtobuf010 from '@ngx-grpc/well-known-types';
7
+ import * as ondewoNlu011 from '../../ondewo/nlu/session.pb';
8
+ import * as ondewoT2s012 from '../../ondewo/t2s/text-to-speech.pb';
9
+ import * as ondewoS2t013 from '../../ondewo/s2t/speech-to-text.pb';
10
+ export declare enum ControlStatus {
11
+ OK = 0,
12
+ EMERGENCY_STOP = 1
13
+ }
14
+ export declare enum ControlMessageServiceName {
15
+ UNKNOWNNAME = 0,
16
+ ondewo_s2t = 1,
17
+ ondewo_t2s = 2,
18
+ ondewo_nlu = 3,
19
+ ondewo_sip = 4
20
+ }
21
+ export declare enum ControlMessageServiceMethod {
22
+ UNKNOWNMETHOD = 0,
23
+ update_config = 1,
24
+ undo_config = 2,
25
+ reset_config = 3,
26
+ end_call = 4,
27
+ transfer_call = 5,
28
+ play_wav_files = 6,
29
+ play_text = 7,
30
+ mute = 8,
31
+ un_mute = 9,
32
+ stop_all_control_messages = 10,
33
+ train_agent = 11,
34
+ cancel_train_agent = 12,
35
+ delete_session = 13,
36
+ delete_all_contexts = 14,
37
+ create_context = 15,
38
+ update_context = 16,
39
+ delete_context = 17,
40
+ detect_intent = 18
41
+ }
42
+ export declare enum ConditionType {
43
+ UNKNOWTYPE = 0,
44
+ immediate = 1,
45
+ duration = 2,
46
+ datetime = 3,
47
+ interactions = 4
48
+ }
49
+ /**
50
+ * Message implementation for ondewo.csi.S2sPipeline
51
+ */
52
+ export declare class S2sPipeline implements GrpcMessage {
53
+ static id: string;
54
+ /**
55
+ * Deserialize binary data to message
56
+ * @param instance message instance
57
+ */
58
+ static deserializeBinary(bytes: ByteSource): S2sPipeline;
59
+ /**
60
+ * Check all the properties and set default protobuf values if necessary
61
+ * @param _instance message instance
62
+ */
63
+ static refineValues(_instance: S2sPipeline): void;
64
+ /**
65
+ * Deserializes / reads binary message into message instance using provided binary reader
66
+ * @param _instance message instance
67
+ * @param _reader binary reader instance
68
+ */
69
+ static deserializeBinaryFromReader(_instance: S2sPipeline, _reader: BinaryReader): void;
70
+ /**
71
+ * Serializes a message to binary format using provided binary reader
72
+ * @param _instance message instance
73
+ * @param _writer binary writer instance
74
+ */
75
+ static serializeBinaryToWriter(_instance: S2sPipeline, _writer: BinaryWriter): void;
76
+ private _id?;
77
+ private _s2tPipelineId?;
78
+ private _nluProjectId?;
79
+ private _nluLanguageCode?;
80
+ private _t2sPipelineId?;
81
+ /**
82
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
83
+ * @param _value initial values object or instance of S2sPipeline to deeply clone from
84
+ */
85
+ constructor(_value?: RecursivePartial<S2sPipeline.AsObject>);
86
+ get id(): string | undefined;
87
+ set id(value: string | undefined);
88
+ get s2tPipelineId(): string | undefined;
89
+ set s2tPipelineId(value: string | undefined);
90
+ get nluProjectId(): string | undefined;
91
+ set nluProjectId(value: string | undefined);
92
+ get nluLanguageCode(): string | undefined;
93
+ set nluLanguageCode(value: string | undefined);
94
+ get t2sPipelineId(): string | undefined;
95
+ set t2sPipelineId(value: string | undefined);
96
+ /**
97
+ * Serialize message to binary data
98
+ * @param instance message instance
99
+ */
100
+ serializeBinary(): any;
101
+ /**
102
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
103
+ */
104
+ toObject(): S2sPipeline.AsObject;
105
+ /**
106
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
107
+ */
108
+ toJSON(): S2sPipeline.AsObject;
109
+ /**
110
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
111
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
112
+ * 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
113
+ */
114
+ toProtobufJSON(options?: ToProtobufJSONOptions): S2sPipeline.AsProtobufJSON;
115
+ }
116
+ export declare module S2sPipeline {
117
+ /**
118
+ * Standard JavaScript object representation for S2sPipeline
119
+ */
120
+ interface AsObject {
121
+ id?: string;
122
+ s2tPipelineId?: string;
123
+ nluProjectId?: string;
124
+ nluLanguageCode?: string;
125
+ t2sPipelineId?: string;
126
+ }
127
+ /**
128
+ * Protobuf JSON representation for S2sPipeline
129
+ */
130
+ interface AsProtobufJSON {
131
+ id?: string;
132
+ s2tPipelineId?: string;
133
+ nluProjectId?: string;
134
+ nluLanguageCode?: string;
135
+ t2sPipelineId?: string;
136
+ }
137
+ }
138
+ /**
139
+ * Message implementation for ondewo.csi.S2sPipelineId
140
+ */
141
+ export declare class S2sPipelineId implements GrpcMessage {
142
+ static id: string;
143
+ /**
144
+ * Deserialize binary data to message
145
+ * @param instance message instance
146
+ */
147
+ static deserializeBinary(bytes: ByteSource): S2sPipelineId;
148
+ /**
149
+ * Check all the properties and set default protobuf values if necessary
150
+ * @param _instance message instance
151
+ */
152
+ static refineValues(_instance: S2sPipelineId): 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: S2sPipelineId, _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: S2sPipelineId, _writer: BinaryWriter): void;
165
+ private _id?;
166
+ /**
167
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
168
+ * @param _value initial values object or instance of S2sPipelineId to deeply clone from
169
+ */
170
+ constructor(_value?: RecursivePartial<S2sPipelineId.AsObject>);
171
+ get id(): string | undefined;
172
+ set id(value: string | undefined);
173
+ /**
174
+ * Serialize message to binary data
175
+ * @param instance message instance
176
+ */
177
+ serializeBinary(): any;
178
+ /**
179
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
180
+ */
181
+ toObject(): S2sPipelineId.AsObject;
182
+ /**
183
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
184
+ */
185
+ toJSON(): S2sPipelineId.AsObject;
186
+ /**
187
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
188
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
189
+ * 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
190
+ */
191
+ toProtobufJSON(options?: ToProtobufJSONOptions): S2sPipelineId.AsProtobufJSON;
192
+ }
193
+ export declare module S2sPipelineId {
194
+ /**
195
+ * Standard JavaScript object representation for S2sPipelineId
196
+ */
197
+ interface AsObject {
198
+ id?: string;
199
+ }
200
+ /**
201
+ * Protobuf JSON representation for S2sPipelineId
202
+ */
203
+ interface AsProtobufJSON {
204
+ id?: string;
205
+ }
206
+ }
207
+ /**
208
+ * Message implementation for ondewo.csi.ListS2sPipelinesRequest
209
+ */
210
+ export declare class ListS2sPipelinesRequest implements GrpcMessage {
211
+ static id: string;
212
+ /**
213
+ * Deserialize binary data to message
214
+ * @param instance message instance
215
+ */
216
+ static deserializeBinary(bytes: ByteSource): ListS2sPipelinesRequest;
217
+ /**
218
+ * Check all the properties and set default protobuf values if necessary
219
+ * @param _instance message instance
220
+ */
221
+ static refineValues(_instance: ListS2sPipelinesRequest): void;
222
+ /**
223
+ * Deserializes / reads binary message into message instance using provided binary reader
224
+ * @param _instance message instance
225
+ * @param _reader binary reader instance
226
+ */
227
+ static deserializeBinaryFromReader(_instance: ListS2sPipelinesRequest, _reader: BinaryReader): void;
228
+ /**
229
+ * Serializes a message to binary format using provided binary reader
230
+ * @param _instance message instance
231
+ * @param _writer binary writer instance
232
+ */
233
+ static serializeBinaryToWriter(_instance: ListS2sPipelinesRequest, _writer: BinaryWriter): void;
234
+ /**
235
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
236
+ * @param _value initial values object or instance of ListS2sPipelinesRequest to deeply clone from
237
+ */
238
+ constructor(_value?: RecursivePartial<ListS2sPipelinesRequest.AsObject>);
239
+ /**
240
+ * Serialize message to binary data
241
+ * @param instance message instance
242
+ */
243
+ serializeBinary(): any;
244
+ /**
245
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
246
+ */
247
+ toObject(): ListS2sPipelinesRequest.AsObject;
248
+ /**
249
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
250
+ */
251
+ toJSON(): ListS2sPipelinesRequest.AsObject;
252
+ /**
253
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
254
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
255
+ * 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
256
+ */
257
+ toProtobufJSON(options?: ToProtobufJSONOptions): ListS2sPipelinesRequest.AsProtobufJSON;
258
+ }
259
+ export declare module ListS2sPipelinesRequest {
260
+ /**
261
+ * Standard JavaScript object representation for ListS2sPipelinesRequest
262
+ */
263
+ interface AsObject {
264
+ }
265
+ /**
266
+ * Protobuf JSON representation for ListS2sPipelinesRequest
267
+ */
268
+ interface AsProtobufJSON {
269
+ }
270
+ }
271
+ /**
272
+ * Message implementation for ondewo.csi.ListS2sPipelinesResponse
273
+ */
274
+ export declare class ListS2sPipelinesResponse implements GrpcMessage {
275
+ static id: string;
276
+ /**
277
+ * Deserialize binary data to message
278
+ * @param instance message instance
279
+ */
280
+ static deserializeBinary(bytes: ByteSource): ListS2sPipelinesResponse;
281
+ /**
282
+ * Check all the properties and set default protobuf values if necessary
283
+ * @param _instance message instance
284
+ */
285
+ static refineValues(_instance: ListS2sPipelinesResponse): void;
286
+ /**
287
+ * Deserializes / reads binary message into message instance using provided binary reader
288
+ * @param _instance message instance
289
+ * @param _reader binary reader instance
290
+ */
291
+ static deserializeBinaryFromReader(_instance: ListS2sPipelinesResponse, _reader: BinaryReader): void;
292
+ /**
293
+ * Serializes a message to binary format using provided binary reader
294
+ * @param _instance message instance
295
+ * @param _writer binary writer instance
296
+ */
297
+ static serializeBinaryToWriter(_instance: ListS2sPipelinesResponse, _writer: BinaryWriter): void;
298
+ private _pipelines?;
299
+ /**
300
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
301
+ * @param _value initial values object or instance of ListS2sPipelinesResponse to deeply clone from
302
+ */
303
+ constructor(_value?: RecursivePartial<ListS2sPipelinesResponse.AsObject>);
304
+ get pipelines(): S2sPipeline[] | undefined;
305
+ set pipelines(value: S2sPipeline[] | undefined);
306
+ /**
307
+ * Serialize message to binary data
308
+ * @param instance message instance
309
+ */
310
+ serializeBinary(): any;
311
+ /**
312
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
313
+ */
314
+ toObject(): ListS2sPipelinesResponse.AsObject;
315
+ /**
316
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
317
+ */
318
+ toJSON(): ListS2sPipelinesResponse.AsObject;
319
+ /**
320
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
321
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
322
+ * 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
323
+ */
324
+ toProtobufJSON(options?: ToProtobufJSONOptions): ListS2sPipelinesResponse.AsProtobufJSON;
325
+ }
326
+ export declare module ListS2sPipelinesResponse {
327
+ /**
328
+ * Standard JavaScript object representation for ListS2sPipelinesResponse
329
+ */
330
+ interface AsObject {
331
+ pipelines?: S2sPipeline.AsObject[];
332
+ }
333
+ /**
334
+ * Protobuf JSON representation for ListS2sPipelinesResponse
335
+ */
336
+ interface AsProtobufJSON {
337
+ pipelines?: S2sPipeline.AsProtobufJSON[] | null;
338
+ }
339
+ }
340
+ /**
341
+ * Message implementation for ondewo.csi.S2sStreamRequest
342
+ */
343
+ export declare class S2sStreamRequest implements GrpcMessage {
344
+ static id: string;
345
+ /**
346
+ * Deserialize binary data to message
347
+ * @param instance message instance
348
+ */
349
+ static deserializeBinary(bytes: ByteSource): S2sStreamRequest;
350
+ /**
351
+ * Check all the properties and set default protobuf values if necessary
352
+ * @param _instance message instance
353
+ */
354
+ static refineValues(_instance: S2sStreamRequest): void;
355
+ /**
356
+ * Deserializes / reads binary message into message instance using provided binary reader
357
+ * @param _instance message instance
358
+ * @param _reader binary reader instance
359
+ */
360
+ static deserializeBinaryFromReader(_instance: S2sStreamRequest, _reader: BinaryReader): void;
361
+ /**
362
+ * Serializes a message to binary format using provided binary reader
363
+ * @param _instance message instance
364
+ * @param _writer binary writer instance
365
+ */
366
+ static serializeBinaryToWriter(_instance: S2sStreamRequest, _writer: BinaryWriter): void;
367
+ private _pipelineId?;
368
+ private _sessionId?;
369
+ private _audio?;
370
+ private _endOfStream?;
371
+ private _initialIntentDisplayName?;
372
+ /**
373
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
374
+ * @param _value initial values object or instance of S2sStreamRequest to deeply clone from
375
+ */
376
+ constructor(_value?: RecursivePartial<S2sStreamRequest.AsObject>);
377
+ get pipelineId(): string | undefined;
378
+ set pipelineId(value: string | undefined);
379
+ get sessionId(): string | undefined;
380
+ set sessionId(value: string | undefined);
381
+ get audio(): Uint8Array | undefined;
382
+ set audio(value: Uint8Array | undefined);
383
+ get endOfStream(): boolean | undefined;
384
+ set endOfStream(value: boolean | undefined);
385
+ get initialIntentDisplayName(): string | undefined;
386
+ set initialIntentDisplayName(value: string | undefined);
387
+ /**
388
+ * Serialize message to binary data
389
+ * @param instance message instance
390
+ */
391
+ serializeBinary(): any;
392
+ /**
393
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
394
+ */
395
+ toObject(): S2sStreamRequest.AsObject;
396
+ /**
397
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
398
+ */
399
+ toJSON(): S2sStreamRequest.AsObject;
400
+ /**
401
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
402
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
403
+ * 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
404
+ */
405
+ toProtobufJSON(options?: ToProtobufJSONOptions): S2sStreamRequest.AsProtobufJSON;
406
+ }
407
+ export declare module S2sStreamRequest {
408
+ /**
409
+ * Standard JavaScript object representation for S2sStreamRequest
410
+ */
411
+ interface AsObject {
412
+ pipelineId?: string;
413
+ sessionId?: string;
414
+ audio?: Uint8Array;
415
+ endOfStream?: boolean;
416
+ initialIntentDisplayName?: string;
417
+ }
418
+ /**
419
+ * Protobuf JSON representation for S2sStreamRequest
420
+ */
421
+ interface AsProtobufJSON {
422
+ pipelineId?: string;
423
+ sessionId?: string;
424
+ audio?: string;
425
+ endOfStream?: boolean;
426
+ initialIntentDisplayName?: string;
427
+ }
428
+ }
429
+ /**
430
+ * Message implementation for ondewo.csi.S2sStreamResponse
431
+ */
432
+ export declare class S2sStreamResponse implements GrpcMessage {
433
+ static id: string;
434
+ /**
435
+ * Deserialize binary data to message
436
+ * @param instance message instance
437
+ */
438
+ static deserializeBinary(bytes: ByteSource): S2sStreamResponse;
439
+ /**
440
+ * Check all the properties and set default protobuf values if necessary
441
+ * @param _instance message instance
442
+ */
443
+ static refineValues(_instance: S2sStreamResponse): void;
444
+ /**
445
+ * Deserializes / reads binary message into message instance using provided binary reader
446
+ * @param _instance message instance
447
+ * @param _reader binary reader instance
448
+ */
449
+ static deserializeBinaryFromReader(_instance: S2sStreamResponse, _reader: BinaryReader): void;
450
+ /**
451
+ * Serializes a message to binary format using provided binary reader
452
+ * @param _instance message instance
453
+ * @param _writer binary writer instance
454
+ */
455
+ static serializeBinaryToWriter(_instance: S2sStreamResponse, _writer: BinaryWriter): void;
456
+ private _detectIntentResponse?;
457
+ private _synthetizeResponse?;
458
+ private _sipTrigger?;
459
+ private _response;
460
+ /**
461
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
462
+ * @param _value initial values object or instance of S2sStreamResponse to deeply clone from
463
+ */
464
+ constructor(_value?: RecursivePartial<S2sStreamResponse.AsObject>);
465
+ get detectIntentResponse(): ondewoNlu011.DetectIntentResponse | undefined;
466
+ set detectIntentResponse(value: ondewoNlu011.DetectIntentResponse | undefined);
467
+ get synthetizeResponse(): ondewoT2s012.SynthesizeResponse | undefined;
468
+ set synthetizeResponse(value: ondewoT2s012.SynthesizeResponse | undefined);
469
+ get sipTrigger(): SipTrigger | undefined;
470
+ set sipTrigger(value: SipTrigger | undefined);
471
+ get response(): S2sStreamResponse.ResponseCase;
472
+ /**
473
+ * Serialize message to binary data
474
+ * @param instance message instance
475
+ */
476
+ serializeBinary(): any;
477
+ /**
478
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
479
+ */
480
+ toObject(): S2sStreamResponse.AsObject;
481
+ /**
482
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
483
+ */
484
+ toJSON(): S2sStreamResponse.AsObject;
485
+ /**
486
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
487
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
488
+ * 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
489
+ */
490
+ toProtobufJSON(options?: ToProtobufJSONOptions): S2sStreamResponse.AsProtobufJSON;
491
+ }
492
+ export declare module S2sStreamResponse {
493
+ /**
494
+ * Standard JavaScript object representation for S2sStreamResponse
495
+ */
496
+ interface AsObject {
497
+ detectIntentResponse?: ondewoNlu011.DetectIntentResponse.AsObject;
498
+ synthetizeResponse?: ondewoT2s012.SynthesizeResponse.AsObject;
499
+ sipTrigger?: SipTrigger.AsObject;
500
+ }
501
+ /**
502
+ * Protobuf JSON representation for S2sStreamResponse
503
+ */
504
+ interface AsProtobufJSON {
505
+ detectIntentResponse?: ondewoNlu011.DetectIntentResponse.AsProtobufJSON | null;
506
+ synthetizeResponse?: ondewoT2s012.SynthesizeResponse.AsProtobufJSON | null;
507
+ sipTrigger?: SipTrigger.AsProtobufJSON | null;
508
+ }
509
+ enum ResponseCase {
510
+ none = 0,
511
+ detectIntentResponse = 1,
512
+ synthetizeResponse = 2,
513
+ sipTrigger = 3
514
+ }
515
+ }
516
+ /**
517
+ * Message implementation for ondewo.csi.SipTrigger
518
+ */
519
+ export declare class SipTrigger implements GrpcMessage {
520
+ static id: string;
521
+ /**
522
+ * Deserialize binary data to message
523
+ * @param instance message instance
524
+ */
525
+ static deserializeBinary(bytes: ByteSource): SipTrigger;
526
+ /**
527
+ * Check all the properties and set default protobuf values if necessary
528
+ * @param _instance message instance
529
+ */
530
+ static refineValues(_instance: SipTrigger): void;
531
+ /**
532
+ * Deserializes / reads binary message into message instance using provided binary reader
533
+ * @param _instance message instance
534
+ * @param _reader binary reader instance
535
+ */
536
+ static deserializeBinaryFromReader(_instance: SipTrigger, _reader: BinaryReader): void;
537
+ /**
538
+ * Serializes a message to binary format using provided binary reader
539
+ * @param _instance message instance
540
+ * @param _writer binary writer instance
541
+ */
542
+ static serializeBinaryToWriter(_instance: SipTrigger, _writer: BinaryWriter): void;
543
+ private _type?;
544
+ private _content?;
545
+ /**
546
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
547
+ * @param _value initial values object or instance of SipTrigger to deeply clone from
548
+ */
549
+ constructor(_value?: RecursivePartial<SipTrigger.AsObject>);
550
+ get type(): SipTrigger.SipTriggerType | undefined;
551
+ set type(value: SipTrigger.SipTriggerType | undefined);
552
+ get content(): googleProtobuf003.Struct | undefined;
553
+ set content(value: googleProtobuf003.Struct | undefined);
554
+ /**
555
+ * Serialize message to binary data
556
+ * @param instance message instance
557
+ */
558
+ serializeBinary(): any;
559
+ /**
560
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
561
+ */
562
+ toObject(): SipTrigger.AsObject;
563
+ /**
564
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
565
+ */
566
+ toJSON(): SipTrigger.AsObject;
567
+ /**
568
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
569
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
570
+ * 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
571
+ */
572
+ toProtobufJSON(options?: ToProtobufJSONOptions): SipTrigger.AsProtobufJSON;
573
+ }
574
+ export declare module SipTrigger {
575
+ /**
576
+ * Standard JavaScript object representation for SipTrigger
577
+ */
578
+ interface AsObject {
579
+ type?: SipTrigger.SipTriggerType;
580
+ content?: googleProtobuf003.Struct.AsObject;
581
+ }
582
+ /**
583
+ * Protobuf JSON representation for SipTrigger
584
+ */
585
+ interface AsProtobufJSON {
586
+ type?: string;
587
+ content?: googleProtobuf003.Struct.AsProtobufJSON | null;
588
+ }
589
+ enum SipTriggerType {
590
+ UNSPECIFIED = 0,
591
+ HANGUP = 1,
592
+ HUMAN_HANDOVER = 2,
593
+ SEND_NOW = 3,
594
+ PAUSE = 4
595
+ }
596
+ }
597
+ /**
598
+ * Message implementation for ondewo.csi.CheckUpstreamHealthResponse
599
+ */
600
+ export declare class CheckUpstreamHealthResponse implements GrpcMessage {
601
+ static id: string;
602
+ /**
603
+ * Deserialize binary data to message
604
+ * @param instance message instance
605
+ */
606
+ static deserializeBinary(bytes: ByteSource): CheckUpstreamHealthResponse;
607
+ /**
608
+ * Check all the properties and set default protobuf values if necessary
609
+ * @param _instance message instance
610
+ */
611
+ static refineValues(_instance: CheckUpstreamHealthResponse): void;
612
+ /**
613
+ * Deserializes / reads binary message into message instance using provided binary reader
614
+ * @param _instance message instance
615
+ * @param _reader binary reader instance
616
+ */
617
+ static deserializeBinaryFromReader(_instance: CheckUpstreamHealthResponse, _reader: BinaryReader): void;
618
+ /**
619
+ * Serializes a message to binary format using provided binary reader
620
+ * @param _instance message instance
621
+ * @param _writer binary writer instance
622
+ */
623
+ static serializeBinaryToWriter(_instance: CheckUpstreamHealthResponse, _writer: BinaryWriter): void;
624
+ private _s2tStatus?;
625
+ private _nluStatus?;
626
+ private _t2sStatus?;
627
+ /**
628
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
629
+ * @param _value initial values object or instance of CheckUpstreamHealthResponse to deeply clone from
630
+ */
631
+ constructor(_value?: RecursivePartial<CheckUpstreamHealthResponse.AsObject>);
632
+ get s2tStatus(): googleRpc004.Status | undefined;
633
+ set s2tStatus(value: googleRpc004.Status | undefined);
634
+ get nluStatus(): googleRpc004.Status | undefined;
635
+ set nluStatus(value: googleRpc004.Status | undefined);
636
+ get t2sStatus(): googleRpc004.Status | undefined;
637
+ set t2sStatus(value: googleRpc004.Status | undefined);
638
+ /**
639
+ * Serialize message to binary data
640
+ * @param instance message instance
641
+ */
642
+ serializeBinary(): any;
643
+ /**
644
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
645
+ */
646
+ toObject(): CheckUpstreamHealthResponse.AsObject;
647
+ /**
648
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
649
+ */
650
+ toJSON(): CheckUpstreamHealthResponse.AsObject;
651
+ /**
652
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
653
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
654
+ * 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
655
+ */
656
+ toProtobufJSON(options?: ToProtobufJSONOptions): CheckUpstreamHealthResponse.AsProtobufJSON;
657
+ }
658
+ export declare module CheckUpstreamHealthResponse {
659
+ /**
660
+ * Standard JavaScript object representation for CheckUpstreamHealthResponse
661
+ */
662
+ interface AsObject {
663
+ s2tStatus?: googleRpc004.Status.AsObject;
664
+ nluStatus?: googleRpc004.Status.AsObject;
665
+ t2sStatus?: googleRpc004.Status.AsObject;
666
+ }
667
+ /**
668
+ * Protobuf JSON representation for CheckUpstreamHealthResponse
669
+ */
670
+ interface AsProtobufJSON {
671
+ s2tStatus?: googleRpc004.Status.AsProtobufJSON | null;
672
+ nluStatus?: googleRpc004.Status.AsProtobufJSON | null;
673
+ t2sStatus?: googleRpc004.Status.AsProtobufJSON | null;
674
+ }
675
+ }
676
+ /**
677
+ * Message implementation for ondewo.csi.ControlStreamRequest
678
+ */
679
+ export declare class ControlStreamRequest implements GrpcMessage {
680
+ static id: string;
681
+ /**
682
+ * Deserialize binary data to message
683
+ * @param instance message instance
684
+ */
685
+ static deserializeBinary(bytes: ByteSource): ControlStreamRequest;
686
+ /**
687
+ * Check all the properties and set default protobuf values if necessary
688
+ * @param _instance message instance
689
+ */
690
+ static refineValues(_instance: ControlStreamRequest): void;
691
+ /**
692
+ * Deserializes / reads binary message into message instance using provided binary reader
693
+ * @param _instance message instance
694
+ * @param _reader binary reader instance
695
+ */
696
+ static deserializeBinaryFromReader(_instance: ControlStreamRequest, _reader: BinaryReader): void;
697
+ /**
698
+ * Serializes a message to binary format using provided binary reader
699
+ * @param _instance message instance
700
+ * @param _writer binary writer instance
701
+ */
702
+ static serializeBinaryToWriter(_instance: ControlStreamRequest, _writer: BinaryWriter): void;
703
+ /**
704
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
705
+ * @param _value initial values object or instance of ControlStreamRequest to deeply clone from
706
+ */
707
+ constructor(_value?: RecursivePartial<ControlStreamRequest.AsObject>);
708
+ /**
709
+ * Serialize message to binary data
710
+ * @param instance message instance
711
+ */
712
+ serializeBinary(): any;
713
+ /**
714
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
715
+ */
716
+ toObject(): ControlStreamRequest.AsObject;
717
+ /**
718
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
719
+ */
720
+ toJSON(): ControlStreamRequest.AsObject;
721
+ /**
722
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
723
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
724
+ * 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
725
+ */
726
+ toProtobufJSON(options?: ToProtobufJSONOptions): ControlStreamRequest.AsProtobufJSON;
727
+ }
728
+ export declare module ControlStreamRequest {
729
+ /**
730
+ * Standard JavaScript object representation for ControlStreamRequest
731
+ */
732
+ interface AsObject {
733
+ }
734
+ /**
735
+ * Protobuf JSON representation for ControlStreamRequest
736
+ */
737
+ interface AsProtobufJSON {
738
+ }
739
+ }
740
+ /**
741
+ * Message implementation for ondewo.csi.ControlStreamResponse
742
+ */
743
+ export declare class ControlStreamResponse implements GrpcMessage {
744
+ static id: string;
745
+ /**
746
+ * Deserialize binary data to message
747
+ * @param instance message instance
748
+ */
749
+ static deserializeBinary(bytes: ByteSource): ControlStreamResponse;
750
+ /**
751
+ * Check all the properties and set default protobuf values if necessary
752
+ * @param _instance message instance
753
+ */
754
+ static refineValues(_instance: ControlStreamResponse): void;
755
+ /**
756
+ * Deserializes / reads binary message into message instance using provided binary reader
757
+ * @param _instance message instance
758
+ * @param _reader binary reader instance
759
+ */
760
+ static deserializeBinaryFromReader(_instance: ControlStreamResponse, _reader: BinaryReader): void;
761
+ /**
762
+ * Serializes a message to binary format using provided binary reader
763
+ * @param _instance message instance
764
+ * @param _writer binary writer instance
765
+ */
766
+ static serializeBinaryToWriter(_instance: ControlStreamResponse, _writer: BinaryWriter): void;
767
+ private _controlStatus?;
768
+ /**
769
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
770
+ * @param _value initial values object or instance of ControlStreamResponse to deeply clone from
771
+ */
772
+ constructor(_value?: RecursivePartial<ControlStreamResponse.AsObject>);
773
+ get controlStatus(): ControlStatus | undefined;
774
+ set controlStatus(value: ControlStatus | undefined);
775
+ /**
776
+ * Serialize message to binary data
777
+ * @param instance message instance
778
+ */
779
+ serializeBinary(): any;
780
+ /**
781
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
782
+ */
783
+ toObject(): ControlStreamResponse.AsObject;
784
+ /**
785
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
786
+ */
787
+ toJSON(): ControlStreamResponse.AsObject;
788
+ /**
789
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
790
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
791
+ * 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
792
+ */
793
+ toProtobufJSON(options?: ToProtobufJSONOptions): ControlStreamResponse.AsProtobufJSON;
794
+ }
795
+ export declare module ControlStreamResponse {
796
+ /**
797
+ * Standard JavaScript object representation for ControlStreamResponse
798
+ */
799
+ interface AsObject {
800
+ controlStatus?: ControlStatus;
801
+ }
802
+ /**
803
+ * Protobuf JSON representation for ControlStreamResponse
804
+ */
805
+ interface AsProtobufJSON {
806
+ controlStatus?: string;
807
+ }
808
+ }
809
+ /**
810
+ * Message implementation for ondewo.csi.SetControlStatusRequest
811
+ */
812
+ export declare class SetControlStatusRequest implements GrpcMessage {
813
+ static id: string;
814
+ /**
815
+ * Deserialize binary data to message
816
+ * @param instance message instance
817
+ */
818
+ static deserializeBinary(bytes: ByteSource): SetControlStatusRequest;
819
+ /**
820
+ * Check all the properties and set default protobuf values if necessary
821
+ * @param _instance message instance
822
+ */
823
+ static refineValues(_instance: SetControlStatusRequest): void;
824
+ /**
825
+ * Deserializes / reads binary message into message instance using provided binary reader
826
+ * @param _instance message instance
827
+ * @param _reader binary reader instance
828
+ */
829
+ static deserializeBinaryFromReader(_instance: SetControlStatusRequest, _reader: BinaryReader): void;
830
+ /**
831
+ * Serializes a message to binary format using provided binary reader
832
+ * @param _instance message instance
833
+ * @param _writer binary writer instance
834
+ */
835
+ static serializeBinaryToWriter(_instance: SetControlStatusRequest, _writer: BinaryWriter): void;
836
+ private _controlStatus?;
837
+ /**
838
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
839
+ * @param _value initial values object or instance of SetControlStatusRequest to deeply clone from
840
+ */
841
+ constructor(_value?: RecursivePartial<SetControlStatusRequest.AsObject>);
842
+ get controlStatus(): ControlStatus | undefined;
843
+ set controlStatus(value: ControlStatus | undefined);
844
+ /**
845
+ * Serialize message to binary data
846
+ * @param instance message instance
847
+ */
848
+ serializeBinary(): any;
849
+ /**
850
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
851
+ */
852
+ toObject(): SetControlStatusRequest.AsObject;
853
+ /**
854
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
855
+ */
856
+ toJSON(): SetControlStatusRequest.AsObject;
857
+ /**
858
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
859
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
860
+ * 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
861
+ */
862
+ toProtobufJSON(options?: ToProtobufJSONOptions): SetControlStatusRequest.AsProtobufJSON;
863
+ }
864
+ export declare module SetControlStatusRequest {
865
+ /**
866
+ * Standard JavaScript object representation for SetControlStatusRequest
867
+ */
868
+ interface AsObject {
869
+ controlStatus?: ControlStatus;
870
+ }
871
+ /**
872
+ * Protobuf JSON representation for SetControlStatusRequest
873
+ */
874
+ interface AsProtobufJSON {
875
+ controlStatus?: string;
876
+ }
877
+ }
878
+ /**
879
+ * Message implementation for ondewo.csi.SetControlStatusResponse
880
+ */
881
+ export declare class SetControlStatusResponse implements GrpcMessage {
882
+ static id: string;
883
+ /**
884
+ * Deserialize binary data to message
885
+ * @param instance message instance
886
+ */
887
+ static deserializeBinary(bytes: ByteSource): SetControlStatusResponse;
888
+ /**
889
+ * Check all the properties and set default protobuf values if necessary
890
+ * @param _instance message instance
891
+ */
892
+ static refineValues(_instance: SetControlStatusResponse): void;
893
+ /**
894
+ * Deserializes / reads binary message into message instance using provided binary reader
895
+ * @param _instance message instance
896
+ * @param _reader binary reader instance
897
+ */
898
+ static deserializeBinaryFromReader(_instance: SetControlStatusResponse, _reader: BinaryReader): void;
899
+ /**
900
+ * Serializes a message to binary format using provided binary reader
901
+ * @param _instance message instance
902
+ * @param _writer binary writer instance
903
+ */
904
+ static serializeBinaryToWriter(_instance: SetControlStatusResponse, _writer: BinaryWriter): void;
905
+ private _oldControlStatus?;
906
+ private _newControlStatus?;
907
+ /**
908
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
909
+ * @param _value initial values object or instance of SetControlStatusResponse to deeply clone from
910
+ */
911
+ constructor(_value?: RecursivePartial<SetControlStatusResponse.AsObject>);
912
+ get oldControlStatus(): ControlStatus | undefined;
913
+ set oldControlStatus(value: ControlStatus | undefined);
914
+ get newControlStatus(): ControlStatus | undefined;
915
+ set newControlStatus(value: ControlStatus | undefined);
916
+ /**
917
+ * Serialize message to binary data
918
+ * @param instance message instance
919
+ */
920
+ serializeBinary(): any;
921
+ /**
922
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
923
+ */
924
+ toObject(): SetControlStatusResponse.AsObject;
925
+ /**
926
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
927
+ */
928
+ toJSON(): SetControlStatusResponse.AsObject;
929
+ /**
930
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
931
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
932
+ * 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
933
+ */
934
+ toProtobufJSON(options?: ToProtobufJSONOptions): SetControlStatusResponse.AsProtobufJSON;
935
+ }
936
+ export declare module SetControlStatusResponse {
937
+ /**
938
+ * Standard JavaScript object representation for SetControlStatusResponse
939
+ */
940
+ interface AsObject {
941
+ oldControlStatus?: ControlStatus;
942
+ newControlStatus?: ControlStatus;
943
+ }
944
+ /**
945
+ * Protobuf JSON representation for SetControlStatusResponse
946
+ */
947
+ interface AsProtobufJSON {
948
+ oldControlStatus?: string;
949
+ newControlStatus?: string;
950
+ }
951
+ }
952
+ /**
953
+ * Message implementation for ondewo.csi.CondtionValueUnion
954
+ */
955
+ export declare class CondtionValueUnion implements GrpcMessage {
956
+ static id: string;
957
+ /**
958
+ * Deserialize binary data to message
959
+ * @param instance message instance
960
+ */
961
+ static deserializeBinary(bytes: ByteSource): CondtionValueUnion;
962
+ /**
963
+ * Check all the properties and set default protobuf values if necessary
964
+ * @param _instance message instance
965
+ */
966
+ static refineValues(_instance: CondtionValueUnion): void;
967
+ /**
968
+ * Deserializes / reads binary message into message instance using provided binary reader
969
+ * @param _instance message instance
970
+ * @param _reader binary reader instance
971
+ */
972
+ static deserializeBinaryFromReader(_instance: CondtionValueUnion, _reader: BinaryReader): void;
973
+ /**
974
+ * Serializes a message to binary format using provided binary reader
975
+ * @param _instance message instance
976
+ * @param _writer binary writer instance
977
+ */
978
+ static serializeBinaryToWriter(_instance: CondtionValueUnion, _writer: BinaryWriter): void;
979
+ private _intValue?;
980
+ private _floatValue?;
981
+ private _datetimeValue?;
982
+ private _unionOneof;
983
+ /**
984
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
985
+ * @param _value initial values object or instance of CondtionValueUnion to deeply clone from
986
+ */
987
+ constructor(_value?: RecursivePartial<CondtionValueUnion.AsObject>);
988
+ get intValue(): string | undefined;
989
+ set intValue(value: string | undefined);
990
+ get floatValue(): number | undefined;
991
+ set floatValue(value: number | undefined);
992
+ get datetimeValue(): googleProtobuf010.Timestamp | undefined;
993
+ set datetimeValue(value: googleProtobuf010.Timestamp | undefined);
994
+ get unionOneof(): CondtionValueUnion.UnionOneofCase;
995
+ /**
996
+ * Serialize message to binary data
997
+ * @param instance message instance
998
+ */
999
+ serializeBinary(): any;
1000
+ /**
1001
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
1002
+ */
1003
+ toObject(): CondtionValueUnion.AsObject;
1004
+ /**
1005
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
1006
+ */
1007
+ toJSON(): CondtionValueUnion.AsObject;
1008
+ /**
1009
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
1010
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
1011
+ * 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
1012
+ */
1013
+ toProtobufJSON(options?: ToProtobufJSONOptions): CondtionValueUnion.AsProtobufJSON;
1014
+ }
1015
+ export declare module CondtionValueUnion {
1016
+ /**
1017
+ * Standard JavaScript object representation for CondtionValueUnion
1018
+ */
1019
+ interface AsObject {
1020
+ intValue?: string;
1021
+ floatValue?: number;
1022
+ datetimeValue?: googleProtobuf010.Timestamp.AsObject;
1023
+ }
1024
+ /**
1025
+ * Protobuf JSON representation for CondtionValueUnion
1026
+ */
1027
+ interface AsProtobufJSON {
1028
+ intValue?: string | null;
1029
+ floatValue?: number | null;
1030
+ datetimeValue?: googleProtobuf010.Timestamp.AsProtobufJSON | null;
1031
+ }
1032
+ enum UnionOneofCase {
1033
+ none = 0,
1034
+ intValue = 1,
1035
+ floatValue = 2,
1036
+ datetimeValue = 3
1037
+ }
1038
+ }
1039
+ /**
1040
+ * Message implementation for ondewo.csi.Condition
1041
+ */
1042
+ export declare class Condition implements GrpcMessage {
1043
+ static id: string;
1044
+ /**
1045
+ * Deserialize binary data to message
1046
+ * @param instance message instance
1047
+ */
1048
+ static deserializeBinary(bytes: ByteSource): Condition;
1049
+ /**
1050
+ * Check all the properties and set default protobuf values if necessary
1051
+ * @param _instance message instance
1052
+ */
1053
+ static refineValues(_instance: Condition): void;
1054
+ /**
1055
+ * Deserializes / reads binary message into message instance using provided binary reader
1056
+ * @param _instance message instance
1057
+ * @param _reader binary reader instance
1058
+ */
1059
+ static deserializeBinaryFromReader(_instance: Condition, _reader: BinaryReader): void;
1060
+ /**
1061
+ * Serializes a message to binary format using provided binary reader
1062
+ * @param _instance message instance
1063
+ * @param _writer binary writer instance
1064
+ */
1065
+ static serializeBinaryToWriter(_instance: Condition, _writer: BinaryWriter): void;
1066
+ private _type?;
1067
+ private _value?;
1068
+ /**
1069
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
1070
+ * @param _value initial values object or instance of Condition to deeply clone from
1071
+ */
1072
+ constructor(_value?: RecursivePartial<Condition.AsObject>);
1073
+ get type(): ConditionType | undefined;
1074
+ set type(value: ConditionType | undefined);
1075
+ get value(): string | undefined;
1076
+ set value(value: string | undefined);
1077
+ /**
1078
+ * Serialize message to binary data
1079
+ * @param instance message instance
1080
+ */
1081
+ serializeBinary(): any;
1082
+ /**
1083
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
1084
+ */
1085
+ toObject(): Condition.AsObject;
1086
+ /**
1087
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
1088
+ */
1089
+ toJSON(): Condition.AsObject;
1090
+ /**
1091
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
1092
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
1093
+ * 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
1094
+ */
1095
+ toProtobufJSON(options?: ToProtobufJSONOptions): Condition.AsProtobufJSON;
1096
+ }
1097
+ export declare module Condition {
1098
+ /**
1099
+ * Standard JavaScript object representation for Condition
1100
+ */
1101
+ interface AsObject {
1102
+ type?: ConditionType;
1103
+ value?: string;
1104
+ }
1105
+ /**
1106
+ * Protobuf JSON representation for Condition
1107
+ */
1108
+ interface AsProtobufJSON {
1109
+ type?: string;
1110
+ value?: string;
1111
+ }
1112
+ }
1113
+ /**
1114
+ * Message implementation for ondewo.csi.ControlMessageServiceParameters
1115
+ */
1116
+ export declare class ControlMessageServiceParameters implements GrpcMessage {
1117
+ static id: string;
1118
+ /**
1119
+ * Deserialize binary data to message
1120
+ * @param instance message instance
1121
+ */
1122
+ static deserializeBinary(bytes: ByteSource): ControlMessageServiceParameters;
1123
+ /**
1124
+ * Check all the properties and set default protobuf values if necessary
1125
+ * @param _instance message instance
1126
+ */
1127
+ static refineValues(_instance: ControlMessageServiceParameters): void;
1128
+ /**
1129
+ * Deserializes / reads binary message into message instance using provided binary reader
1130
+ * @param _instance message instance
1131
+ * @param _reader binary reader instance
1132
+ */
1133
+ static deserializeBinaryFromReader(_instance: ControlMessageServiceParameters, _reader: BinaryReader): void;
1134
+ /**
1135
+ * Serializes a message to binary format using provided binary reader
1136
+ * @param _instance message instance
1137
+ * @param _writer binary writer instance
1138
+ */
1139
+ static serializeBinaryToWriter(_instance: ControlMessageServiceParameters, _writer: BinaryWriter): void;
1140
+ private _t2sConfig?;
1141
+ private _s2tConfig?;
1142
+ private _transferId?;
1143
+ private _wavFiles?;
1144
+ private _text?;
1145
+ private _context?;
1146
+ private _sessionId?;
1147
+ private _contextName?;
1148
+ private _conditionStart?;
1149
+ private _conditionEnd?;
1150
+ private _config;
1151
+ /**
1152
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
1153
+ * @param _value initial values object or instance of ControlMessageServiceParameters to deeply clone from
1154
+ */
1155
+ constructor(_value?: RecursivePartial<ControlMessageServiceParameters.AsObject>);
1156
+ get t2sConfig(): ondewoT2s012.RequestConfig | undefined;
1157
+ set t2sConfig(value: ondewoT2s012.RequestConfig | undefined);
1158
+ get s2tConfig(): ondewoS2t013.TranscribeRequestConfig | undefined;
1159
+ set s2tConfig(value: ondewoS2t013.TranscribeRequestConfig | undefined);
1160
+ get transferId(): string | undefined;
1161
+ set transferId(value: string | undefined);
1162
+ get wavFiles(): Uint8Array[] | undefined;
1163
+ set wavFiles(value: Uint8Array[] | undefined);
1164
+ get text(): string | undefined;
1165
+ set text(value: string | undefined);
1166
+ get context(): ondewoNlu006.Context | undefined;
1167
+ set context(value: ondewoNlu006.Context | undefined);
1168
+ get sessionId(): string | undefined;
1169
+ set sessionId(value: string | undefined);
1170
+ get contextName(): string | undefined;
1171
+ set contextName(value: string | undefined);
1172
+ get conditionStart(): Condition | undefined;
1173
+ set conditionStart(value: Condition | undefined);
1174
+ get conditionEnd(): Condition | undefined;
1175
+ set conditionEnd(value: Condition | undefined);
1176
+ get config(): ControlMessageServiceParameters.ConfigCase;
1177
+ /**
1178
+ * Serialize message to binary data
1179
+ * @param instance message instance
1180
+ */
1181
+ serializeBinary(): any;
1182
+ /**
1183
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
1184
+ */
1185
+ toObject(): ControlMessageServiceParameters.AsObject;
1186
+ /**
1187
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
1188
+ */
1189
+ toJSON(): ControlMessageServiceParameters.AsObject;
1190
+ /**
1191
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
1192
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
1193
+ * 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
1194
+ */
1195
+ toProtobufJSON(options?: ToProtobufJSONOptions): ControlMessageServiceParameters.AsProtobufJSON;
1196
+ }
1197
+ export declare module ControlMessageServiceParameters {
1198
+ /**
1199
+ * Standard JavaScript object representation for ControlMessageServiceParameters
1200
+ */
1201
+ interface AsObject {
1202
+ t2sConfig?: ondewoT2s012.RequestConfig.AsObject;
1203
+ s2tConfig?: ondewoS2t013.TranscribeRequestConfig.AsObject;
1204
+ transferId?: string;
1205
+ wavFiles?: Uint8Array[];
1206
+ text?: string;
1207
+ context?: ondewoNlu006.Context.AsObject;
1208
+ sessionId?: string;
1209
+ contextName?: string;
1210
+ conditionStart?: Condition.AsObject;
1211
+ conditionEnd?: Condition.AsObject;
1212
+ }
1213
+ /**
1214
+ * Protobuf JSON representation for ControlMessageServiceParameters
1215
+ */
1216
+ interface AsProtobufJSON {
1217
+ t2sConfig?: ondewoT2s012.RequestConfig.AsProtobufJSON | null;
1218
+ s2tConfig?: ondewoS2t013.TranscribeRequestConfig.AsProtobufJSON | null;
1219
+ transferId?: string;
1220
+ wavFiles?: string[];
1221
+ text?: string;
1222
+ context?: ondewoNlu006.Context.AsProtobufJSON | null;
1223
+ sessionId?: string;
1224
+ contextName?: string;
1225
+ conditionStart?: Condition.AsProtobufJSON | null;
1226
+ conditionEnd?: Condition.AsProtobufJSON | null;
1227
+ }
1228
+ enum ConfigCase {
1229
+ none = 0,
1230
+ t2sConfig = 1,
1231
+ s2tConfig = 2
1232
+ }
1233
+ }
1234
+ /**
1235
+ * Message implementation for ondewo.csi.ControlMessage
1236
+ */
1237
+ export declare class ControlMessage implements GrpcMessage {
1238
+ static id: string;
1239
+ /**
1240
+ * Deserialize binary data to message
1241
+ * @param instance message instance
1242
+ */
1243
+ static deserializeBinary(bytes: ByteSource): ControlMessage;
1244
+ /**
1245
+ * Check all the properties and set default protobuf values if necessary
1246
+ * @param _instance message instance
1247
+ */
1248
+ static refineValues(_instance: ControlMessage): void;
1249
+ /**
1250
+ * Deserializes / reads binary message into message instance using provided binary reader
1251
+ * @param _instance message instance
1252
+ * @param _reader binary reader instance
1253
+ */
1254
+ static deserializeBinaryFromReader(_instance: ControlMessage, _reader: BinaryReader): void;
1255
+ /**
1256
+ * Serializes a message to binary format using provided binary reader
1257
+ * @param _instance message instance
1258
+ * @param _writer binary writer instance
1259
+ */
1260
+ static serializeBinaryToWriter(_instance: ControlMessage, _writer: BinaryWriter): void;
1261
+ private _service?;
1262
+ private _method?;
1263
+ private _parameters?;
1264
+ /**
1265
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
1266
+ * @param _value initial values object or instance of ControlMessage to deeply clone from
1267
+ */
1268
+ constructor(_value?: RecursivePartial<ControlMessage.AsObject>);
1269
+ get service(): ControlMessageServiceName | undefined;
1270
+ set service(value: ControlMessageServiceName | undefined);
1271
+ get method(): ControlMessageServiceMethod | undefined;
1272
+ set method(value: ControlMessageServiceMethod | undefined);
1273
+ get parameters(): ControlMessageServiceParameters | undefined;
1274
+ set parameters(value: ControlMessageServiceParameters | undefined);
1275
+ /**
1276
+ * Serialize message to binary data
1277
+ * @param instance message instance
1278
+ */
1279
+ serializeBinary(): any;
1280
+ /**
1281
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
1282
+ */
1283
+ toObject(): ControlMessage.AsObject;
1284
+ /**
1285
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
1286
+ */
1287
+ toJSON(): ControlMessage.AsObject;
1288
+ /**
1289
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
1290
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
1291
+ * 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
1292
+ */
1293
+ toProtobufJSON(options?: ToProtobufJSONOptions): ControlMessage.AsProtobufJSON;
1294
+ }
1295
+ export declare module ControlMessage {
1296
+ /**
1297
+ * Standard JavaScript object representation for ControlMessage
1298
+ */
1299
+ interface AsObject {
1300
+ service?: ControlMessageServiceName;
1301
+ method?: ControlMessageServiceMethod;
1302
+ parameters?: ControlMessageServiceParameters.AsObject;
1303
+ }
1304
+ /**
1305
+ * Protobuf JSON representation for ControlMessage
1306
+ */
1307
+ interface AsProtobufJSON {
1308
+ service?: string;
1309
+ method?: string;
1310
+ parameters?: ControlMessageServiceParameters.AsProtobufJSON | null;
1311
+ }
1312
+ }