@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,3710 @@
|
|
|
1
|
+
import { GrpcMessage, RecursivePartial, ToProtobufJSONOptions } from '@ngx-grpc/common';
|
|
2
|
+
import { BinaryReader, BinaryWriter, ByteSource } from 'google-protobuf';
|
|
3
|
+
export declare enum CTCDecoding {
|
|
4
|
+
DEFAULT = 0,
|
|
5
|
+
GREEDY = 1,
|
|
6
|
+
BEAM_SEARCH_WITH_LM = 2
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Message implementation for ondewo.s2t.TranscribeRequestConfig
|
|
10
|
+
*/
|
|
11
|
+
export declare class TranscribeRequestConfig implements GrpcMessage {
|
|
12
|
+
static id: string;
|
|
13
|
+
/**
|
|
14
|
+
* Deserialize binary data to message
|
|
15
|
+
* @param instance message instance
|
|
16
|
+
*/
|
|
17
|
+
static deserializeBinary(bytes: ByteSource): TranscribeRequestConfig;
|
|
18
|
+
/**
|
|
19
|
+
* Check all the properties and set default protobuf values if necessary
|
|
20
|
+
* @param _instance message instance
|
|
21
|
+
*/
|
|
22
|
+
static refineValues(_instance: TranscribeRequestConfig): void;
|
|
23
|
+
/**
|
|
24
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
25
|
+
* @param _instance message instance
|
|
26
|
+
* @param _reader binary reader instance
|
|
27
|
+
*/
|
|
28
|
+
static deserializeBinaryFromReader(_instance: TranscribeRequestConfig, _reader: BinaryReader): void;
|
|
29
|
+
/**
|
|
30
|
+
* Serializes a message to binary format using provided binary reader
|
|
31
|
+
* @param _instance message instance
|
|
32
|
+
* @param _writer binary writer instance
|
|
33
|
+
*/
|
|
34
|
+
static serializeBinaryToWriter(_instance: TranscribeRequestConfig, _writer: BinaryWriter): void;
|
|
35
|
+
private _s2tPipelineId?;
|
|
36
|
+
private _ctcDecoding?;
|
|
37
|
+
private _languageModelName?;
|
|
38
|
+
private _postProcessing?;
|
|
39
|
+
private _utteranceDetection?;
|
|
40
|
+
private _pyannote?;
|
|
41
|
+
private _matchbox?;
|
|
42
|
+
private _returnOptions?;
|
|
43
|
+
private _oneofLanguageModelName;
|
|
44
|
+
private _oneofPostProcessing;
|
|
45
|
+
private _oneofUtteranceDetection;
|
|
46
|
+
private _voiceActivityDetection;
|
|
47
|
+
private _oneofReturnOptions;
|
|
48
|
+
/**
|
|
49
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
50
|
+
* @param _value initial values object or instance of TranscribeRequestConfig to deeply clone from
|
|
51
|
+
*/
|
|
52
|
+
constructor(_value?: RecursivePartial<TranscribeRequestConfig.AsObject>);
|
|
53
|
+
get s2tPipelineId(): string | undefined;
|
|
54
|
+
set s2tPipelineId(value: string | undefined);
|
|
55
|
+
get ctcDecoding(): CTCDecoding | undefined;
|
|
56
|
+
set ctcDecoding(value: CTCDecoding | undefined);
|
|
57
|
+
get languageModelName(): string | undefined;
|
|
58
|
+
set languageModelName(value: string | undefined);
|
|
59
|
+
get postProcessing(): PostProcessingOptions | undefined;
|
|
60
|
+
set postProcessing(value: PostProcessingOptions | undefined);
|
|
61
|
+
get utteranceDetection(): UtteranceDetectionOptions | undefined;
|
|
62
|
+
set utteranceDetection(value: UtteranceDetectionOptions | undefined);
|
|
63
|
+
get pyannote(): Pyannote | undefined;
|
|
64
|
+
set pyannote(value: Pyannote | undefined);
|
|
65
|
+
get matchbox(): Matchbox | undefined;
|
|
66
|
+
set matchbox(value: Matchbox | undefined);
|
|
67
|
+
get returnOptions(): TranscriptionReturnOptions | undefined;
|
|
68
|
+
set returnOptions(value: TranscriptionReturnOptions | undefined);
|
|
69
|
+
get oneofLanguageModelName(): TranscribeRequestConfig.OneofLanguageModelNameCase;
|
|
70
|
+
get oneofPostProcessing(): TranscribeRequestConfig.OneofPostProcessingCase;
|
|
71
|
+
get oneofUtteranceDetection(): TranscribeRequestConfig.OneofUtteranceDetectionCase;
|
|
72
|
+
get voiceActivityDetection(): TranscribeRequestConfig.VoiceActivityDetectionCase;
|
|
73
|
+
get oneofReturnOptions(): TranscribeRequestConfig.OneofReturnOptionsCase;
|
|
74
|
+
/**
|
|
75
|
+
* Serialize message to binary data
|
|
76
|
+
* @param instance message instance
|
|
77
|
+
*/
|
|
78
|
+
serializeBinary(): any;
|
|
79
|
+
/**
|
|
80
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
81
|
+
*/
|
|
82
|
+
toObject(): TranscribeRequestConfig.AsObject;
|
|
83
|
+
/**
|
|
84
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
85
|
+
*/
|
|
86
|
+
toJSON(): TranscribeRequestConfig.AsObject;
|
|
87
|
+
/**
|
|
88
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
89
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
90
|
+
* 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
|
|
91
|
+
*/
|
|
92
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): TranscribeRequestConfig.AsProtobufJSON;
|
|
93
|
+
}
|
|
94
|
+
export declare module TranscribeRequestConfig {
|
|
95
|
+
/**
|
|
96
|
+
* Standard JavaScript object representation for TranscribeRequestConfig
|
|
97
|
+
*/
|
|
98
|
+
interface AsObject {
|
|
99
|
+
s2tPipelineId?: string;
|
|
100
|
+
ctcDecoding?: CTCDecoding;
|
|
101
|
+
languageModelName?: string;
|
|
102
|
+
postProcessing?: PostProcessingOptions.AsObject;
|
|
103
|
+
utteranceDetection?: UtteranceDetectionOptions.AsObject;
|
|
104
|
+
pyannote?: Pyannote.AsObject;
|
|
105
|
+
matchbox?: Matchbox.AsObject;
|
|
106
|
+
returnOptions?: TranscriptionReturnOptions.AsObject;
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* Protobuf JSON representation for TranscribeRequestConfig
|
|
110
|
+
*/
|
|
111
|
+
interface AsProtobufJSON {
|
|
112
|
+
s2tPipelineId?: string;
|
|
113
|
+
ctcDecoding?: string;
|
|
114
|
+
languageModelName?: string | null;
|
|
115
|
+
postProcessing?: PostProcessingOptions.AsProtobufJSON | null;
|
|
116
|
+
utteranceDetection?: UtteranceDetectionOptions.AsProtobufJSON | null;
|
|
117
|
+
pyannote?: Pyannote.AsProtobufJSON | null;
|
|
118
|
+
matchbox?: Matchbox.AsProtobufJSON | null;
|
|
119
|
+
returnOptions?: TranscriptionReturnOptions.AsProtobufJSON | null;
|
|
120
|
+
}
|
|
121
|
+
enum OneofLanguageModelNameCase {
|
|
122
|
+
none = 0,
|
|
123
|
+
languageModelName = 1
|
|
124
|
+
}
|
|
125
|
+
enum OneofPostProcessingCase {
|
|
126
|
+
none = 0,
|
|
127
|
+
postProcessing = 1
|
|
128
|
+
}
|
|
129
|
+
enum OneofUtteranceDetectionCase {
|
|
130
|
+
none = 0,
|
|
131
|
+
utteranceDetection = 1
|
|
132
|
+
}
|
|
133
|
+
enum VoiceActivityDetectionCase {
|
|
134
|
+
none = 0,
|
|
135
|
+
pyannote = 1,
|
|
136
|
+
matchbox = 2
|
|
137
|
+
}
|
|
138
|
+
enum OneofReturnOptionsCase {
|
|
139
|
+
none = 0,
|
|
140
|
+
returnOptions = 1
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* Message implementation for ondewo.s2t.TranscriptionReturnOptions
|
|
145
|
+
*/
|
|
146
|
+
export declare class TranscriptionReturnOptions implements GrpcMessage {
|
|
147
|
+
static id: string;
|
|
148
|
+
/**
|
|
149
|
+
* Deserialize binary data to message
|
|
150
|
+
* @param instance message instance
|
|
151
|
+
*/
|
|
152
|
+
static deserializeBinary(bytes: ByteSource): TranscriptionReturnOptions;
|
|
153
|
+
/**
|
|
154
|
+
* Check all the properties and set default protobuf values if necessary
|
|
155
|
+
* @param _instance message instance
|
|
156
|
+
*/
|
|
157
|
+
static refineValues(_instance: TranscriptionReturnOptions): void;
|
|
158
|
+
/**
|
|
159
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
160
|
+
* @param _instance message instance
|
|
161
|
+
* @param _reader binary reader instance
|
|
162
|
+
*/
|
|
163
|
+
static deserializeBinaryFromReader(_instance: TranscriptionReturnOptions, _reader: BinaryReader): void;
|
|
164
|
+
/**
|
|
165
|
+
* Serializes a message to binary format using provided binary reader
|
|
166
|
+
* @param _instance message instance
|
|
167
|
+
* @param _writer binary writer instance
|
|
168
|
+
*/
|
|
169
|
+
static serializeBinaryToWriter(_instance: TranscriptionReturnOptions, _writer: BinaryWriter): void;
|
|
170
|
+
private _returnStartOfSpeech?;
|
|
171
|
+
private _returnAudio?;
|
|
172
|
+
private _returnAlternativeTranscriptions?;
|
|
173
|
+
private _returnConfidenceScore?;
|
|
174
|
+
private _returnWordTiming?;
|
|
175
|
+
/**
|
|
176
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
177
|
+
* @param _value initial values object or instance of TranscriptionReturnOptions to deeply clone from
|
|
178
|
+
*/
|
|
179
|
+
constructor(_value?: RecursivePartial<TranscriptionReturnOptions.AsObject>);
|
|
180
|
+
get returnStartOfSpeech(): boolean | undefined;
|
|
181
|
+
set returnStartOfSpeech(value: boolean | undefined);
|
|
182
|
+
get returnAudio(): boolean | undefined;
|
|
183
|
+
set returnAudio(value: boolean | undefined);
|
|
184
|
+
get returnAlternativeTranscriptions(): boolean | undefined;
|
|
185
|
+
set returnAlternativeTranscriptions(value: boolean | undefined);
|
|
186
|
+
get returnConfidenceScore(): boolean | undefined;
|
|
187
|
+
set returnConfidenceScore(value: boolean | undefined);
|
|
188
|
+
get returnWordTiming(): boolean | undefined;
|
|
189
|
+
set returnWordTiming(value: boolean | undefined);
|
|
190
|
+
/**
|
|
191
|
+
* Serialize message to binary data
|
|
192
|
+
* @param instance message instance
|
|
193
|
+
*/
|
|
194
|
+
serializeBinary(): any;
|
|
195
|
+
/**
|
|
196
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
197
|
+
*/
|
|
198
|
+
toObject(): TranscriptionReturnOptions.AsObject;
|
|
199
|
+
/**
|
|
200
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
201
|
+
*/
|
|
202
|
+
toJSON(): TranscriptionReturnOptions.AsObject;
|
|
203
|
+
/**
|
|
204
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
205
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
206
|
+
* 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
|
|
207
|
+
*/
|
|
208
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): TranscriptionReturnOptions.AsProtobufJSON;
|
|
209
|
+
}
|
|
210
|
+
export declare module TranscriptionReturnOptions {
|
|
211
|
+
/**
|
|
212
|
+
* Standard JavaScript object representation for TranscriptionReturnOptions
|
|
213
|
+
*/
|
|
214
|
+
interface AsObject {
|
|
215
|
+
returnStartOfSpeech?: boolean;
|
|
216
|
+
returnAudio?: boolean;
|
|
217
|
+
returnAlternativeTranscriptions?: boolean;
|
|
218
|
+
returnConfidenceScore?: boolean;
|
|
219
|
+
returnWordTiming?: boolean;
|
|
220
|
+
}
|
|
221
|
+
/**
|
|
222
|
+
* Protobuf JSON representation for TranscriptionReturnOptions
|
|
223
|
+
*/
|
|
224
|
+
interface AsProtobufJSON {
|
|
225
|
+
returnStartOfSpeech?: boolean;
|
|
226
|
+
returnAudio?: boolean;
|
|
227
|
+
returnAlternativeTranscriptions?: boolean;
|
|
228
|
+
returnConfidenceScore?: boolean;
|
|
229
|
+
returnWordTiming?: boolean;
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
/**
|
|
233
|
+
* Message implementation for ondewo.s2t.UtteranceDetectionOptions
|
|
234
|
+
*/
|
|
235
|
+
export declare class UtteranceDetectionOptions implements GrpcMessage {
|
|
236
|
+
static id: string;
|
|
237
|
+
/**
|
|
238
|
+
* Deserialize binary data to message
|
|
239
|
+
* @param instance message instance
|
|
240
|
+
*/
|
|
241
|
+
static deserializeBinary(bytes: ByteSource): UtteranceDetectionOptions;
|
|
242
|
+
/**
|
|
243
|
+
* Check all the properties and set default protobuf values if necessary
|
|
244
|
+
* @param _instance message instance
|
|
245
|
+
*/
|
|
246
|
+
static refineValues(_instance: UtteranceDetectionOptions): void;
|
|
247
|
+
/**
|
|
248
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
249
|
+
* @param _instance message instance
|
|
250
|
+
* @param _reader binary reader instance
|
|
251
|
+
*/
|
|
252
|
+
static deserializeBinaryFromReader(_instance: UtteranceDetectionOptions, _reader: BinaryReader): void;
|
|
253
|
+
/**
|
|
254
|
+
* Serializes a message to binary format using provided binary reader
|
|
255
|
+
* @param _instance message instance
|
|
256
|
+
* @param _writer binary writer instance
|
|
257
|
+
*/
|
|
258
|
+
static serializeBinaryToWriter(_instance: UtteranceDetectionOptions, _writer: BinaryWriter): void;
|
|
259
|
+
private _transcribeNotFinal?;
|
|
260
|
+
private _startOfUtteranceThreshold?;
|
|
261
|
+
private _endOfUtteranceThreshold?;
|
|
262
|
+
private _nextChunkTimeout?;
|
|
263
|
+
private _oneofTranscribeNotFinal;
|
|
264
|
+
/**
|
|
265
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
266
|
+
* @param _value initial values object or instance of UtteranceDetectionOptions to deeply clone from
|
|
267
|
+
*/
|
|
268
|
+
constructor(_value?: RecursivePartial<UtteranceDetectionOptions.AsObject>);
|
|
269
|
+
get transcribeNotFinal(): boolean | undefined;
|
|
270
|
+
set transcribeNotFinal(value: boolean | undefined);
|
|
271
|
+
get startOfUtteranceThreshold(): number | undefined;
|
|
272
|
+
set startOfUtteranceThreshold(value: number | undefined);
|
|
273
|
+
get endOfUtteranceThreshold(): number | undefined;
|
|
274
|
+
set endOfUtteranceThreshold(value: number | undefined);
|
|
275
|
+
get nextChunkTimeout(): number | undefined;
|
|
276
|
+
set nextChunkTimeout(value: number | undefined);
|
|
277
|
+
get oneofTranscribeNotFinal(): UtteranceDetectionOptions.OneofTranscribeNotFinalCase;
|
|
278
|
+
/**
|
|
279
|
+
* Serialize message to binary data
|
|
280
|
+
* @param instance message instance
|
|
281
|
+
*/
|
|
282
|
+
serializeBinary(): any;
|
|
283
|
+
/**
|
|
284
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
285
|
+
*/
|
|
286
|
+
toObject(): UtteranceDetectionOptions.AsObject;
|
|
287
|
+
/**
|
|
288
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
289
|
+
*/
|
|
290
|
+
toJSON(): UtteranceDetectionOptions.AsObject;
|
|
291
|
+
/**
|
|
292
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
293
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
294
|
+
* 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
|
|
295
|
+
*/
|
|
296
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): UtteranceDetectionOptions.AsProtobufJSON;
|
|
297
|
+
}
|
|
298
|
+
export declare module UtteranceDetectionOptions {
|
|
299
|
+
/**
|
|
300
|
+
* Standard JavaScript object representation for UtteranceDetectionOptions
|
|
301
|
+
*/
|
|
302
|
+
interface AsObject {
|
|
303
|
+
transcribeNotFinal?: boolean;
|
|
304
|
+
startOfUtteranceThreshold?: number;
|
|
305
|
+
endOfUtteranceThreshold?: number;
|
|
306
|
+
nextChunkTimeout?: number;
|
|
307
|
+
}
|
|
308
|
+
/**
|
|
309
|
+
* Protobuf JSON representation for UtteranceDetectionOptions
|
|
310
|
+
*/
|
|
311
|
+
interface AsProtobufJSON {
|
|
312
|
+
transcribeNotFinal?: boolean;
|
|
313
|
+
startOfUtteranceThreshold?: number;
|
|
314
|
+
endOfUtteranceThreshold?: number;
|
|
315
|
+
nextChunkTimeout?: number;
|
|
316
|
+
}
|
|
317
|
+
enum OneofTranscribeNotFinalCase {
|
|
318
|
+
none = 0,
|
|
319
|
+
transcribeNotFinal = 1
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
/**
|
|
323
|
+
* Message implementation for ondewo.s2t.PostProcessingOptions
|
|
324
|
+
*/
|
|
325
|
+
export declare class PostProcessingOptions implements GrpcMessage {
|
|
326
|
+
static id: string;
|
|
327
|
+
/**
|
|
328
|
+
* Deserialize binary data to message
|
|
329
|
+
* @param instance message instance
|
|
330
|
+
*/
|
|
331
|
+
static deserializeBinary(bytes: ByteSource): PostProcessingOptions;
|
|
332
|
+
/**
|
|
333
|
+
* Check all the properties and set default protobuf values if necessary
|
|
334
|
+
* @param _instance message instance
|
|
335
|
+
*/
|
|
336
|
+
static refineValues(_instance: PostProcessingOptions): void;
|
|
337
|
+
/**
|
|
338
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
339
|
+
* @param _instance message instance
|
|
340
|
+
* @param _reader binary reader instance
|
|
341
|
+
*/
|
|
342
|
+
static deserializeBinaryFromReader(_instance: PostProcessingOptions, _reader: BinaryReader): void;
|
|
343
|
+
/**
|
|
344
|
+
* Serializes a message to binary format using provided binary reader
|
|
345
|
+
* @param _instance message instance
|
|
346
|
+
* @param _writer binary writer instance
|
|
347
|
+
*/
|
|
348
|
+
static serializeBinaryToWriter(_instance: PostProcessingOptions, _writer: BinaryWriter): void;
|
|
349
|
+
private _spellingCorrection?;
|
|
350
|
+
private _normalize?;
|
|
351
|
+
private _config?;
|
|
352
|
+
/**
|
|
353
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
354
|
+
* @param _value initial values object or instance of PostProcessingOptions to deeply clone from
|
|
355
|
+
*/
|
|
356
|
+
constructor(_value?: RecursivePartial<PostProcessingOptions.AsObject>);
|
|
357
|
+
get spellingCorrection(): boolean | undefined;
|
|
358
|
+
set spellingCorrection(value: boolean | undefined);
|
|
359
|
+
get normalize(): boolean | undefined;
|
|
360
|
+
set normalize(value: boolean | undefined);
|
|
361
|
+
get config(): PostProcessing | undefined;
|
|
362
|
+
set config(value: PostProcessing | undefined);
|
|
363
|
+
/**
|
|
364
|
+
* Serialize message to binary data
|
|
365
|
+
* @param instance message instance
|
|
366
|
+
*/
|
|
367
|
+
serializeBinary(): any;
|
|
368
|
+
/**
|
|
369
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
370
|
+
*/
|
|
371
|
+
toObject(): PostProcessingOptions.AsObject;
|
|
372
|
+
/**
|
|
373
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
374
|
+
*/
|
|
375
|
+
toJSON(): PostProcessingOptions.AsObject;
|
|
376
|
+
/**
|
|
377
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
378
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
379
|
+
* 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
|
|
380
|
+
*/
|
|
381
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): PostProcessingOptions.AsProtobufJSON;
|
|
382
|
+
}
|
|
383
|
+
export declare module PostProcessingOptions {
|
|
384
|
+
/**
|
|
385
|
+
* Standard JavaScript object representation for PostProcessingOptions
|
|
386
|
+
*/
|
|
387
|
+
interface AsObject {
|
|
388
|
+
spellingCorrection?: boolean;
|
|
389
|
+
normalize?: boolean;
|
|
390
|
+
config?: PostProcessing.AsObject;
|
|
391
|
+
}
|
|
392
|
+
/**
|
|
393
|
+
* Protobuf JSON representation for PostProcessingOptions
|
|
394
|
+
*/
|
|
395
|
+
interface AsProtobufJSON {
|
|
396
|
+
spellingCorrection?: boolean;
|
|
397
|
+
normalize?: boolean;
|
|
398
|
+
config?: PostProcessing.AsProtobufJSON | null;
|
|
399
|
+
}
|
|
400
|
+
}
|
|
401
|
+
/**
|
|
402
|
+
* Message implementation for ondewo.s2t.TranscribeStreamRequest
|
|
403
|
+
*/
|
|
404
|
+
export declare class TranscribeStreamRequest implements GrpcMessage {
|
|
405
|
+
static id: string;
|
|
406
|
+
/**
|
|
407
|
+
* Deserialize binary data to message
|
|
408
|
+
* @param instance message instance
|
|
409
|
+
*/
|
|
410
|
+
static deserializeBinary(bytes: ByteSource): TranscribeStreamRequest;
|
|
411
|
+
/**
|
|
412
|
+
* Check all the properties and set default protobuf values if necessary
|
|
413
|
+
* @param _instance message instance
|
|
414
|
+
*/
|
|
415
|
+
static refineValues(_instance: TranscribeStreamRequest): void;
|
|
416
|
+
/**
|
|
417
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
418
|
+
* @param _instance message instance
|
|
419
|
+
* @param _reader binary reader instance
|
|
420
|
+
*/
|
|
421
|
+
static deserializeBinaryFromReader(_instance: TranscribeStreamRequest, _reader: BinaryReader): void;
|
|
422
|
+
/**
|
|
423
|
+
* Serializes a message to binary format using provided binary reader
|
|
424
|
+
* @param _instance message instance
|
|
425
|
+
* @param _writer binary writer instance
|
|
426
|
+
*/
|
|
427
|
+
static serializeBinaryToWriter(_instance: TranscribeStreamRequest, _writer: BinaryWriter): void;
|
|
428
|
+
private _audioChunk?;
|
|
429
|
+
private _endOfStream?;
|
|
430
|
+
private _config?;
|
|
431
|
+
private _muteAudio?;
|
|
432
|
+
/**
|
|
433
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
434
|
+
* @param _value initial values object or instance of TranscribeStreamRequest to deeply clone from
|
|
435
|
+
*/
|
|
436
|
+
constructor(_value?: RecursivePartial<TranscribeStreamRequest.AsObject>);
|
|
437
|
+
get audioChunk(): Uint8Array | undefined;
|
|
438
|
+
set audioChunk(value: Uint8Array | undefined);
|
|
439
|
+
get endOfStream(): boolean | undefined;
|
|
440
|
+
set endOfStream(value: boolean | undefined);
|
|
441
|
+
get config(): TranscribeRequestConfig | undefined;
|
|
442
|
+
set config(value: TranscribeRequestConfig | undefined);
|
|
443
|
+
get muteAudio(): boolean | undefined;
|
|
444
|
+
set muteAudio(value: boolean | undefined);
|
|
445
|
+
/**
|
|
446
|
+
* Serialize message to binary data
|
|
447
|
+
* @param instance message instance
|
|
448
|
+
*/
|
|
449
|
+
serializeBinary(): any;
|
|
450
|
+
/**
|
|
451
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
452
|
+
*/
|
|
453
|
+
toObject(): TranscribeStreamRequest.AsObject;
|
|
454
|
+
/**
|
|
455
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
456
|
+
*/
|
|
457
|
+
toJSON(): TranscribeStreamRequest.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): TranscribeStreamRequest.AsProtobufJSON;
|
|
464
|
+
}
|
|
465
|
+
export declare module TranscribeStreamRequest {
|
|
466
|
+
/**
|
|
467
|
+
* Standard JavaScript object representation for TranscribeStreamRequest
|
|
468
|
+
*/
|
|
469
|
+
interface AsObject {
|
|
470
|
+
audioChunk?: Uint8Array;
|
|
471
|
+
endOfStream?: boolean;
|
|
472
|
+
config?: TranscribeRequestConfig.AsObject;
|
|
473
|
+
muteAudio?: boolean;
|
|
474
|
+
}
|
|
475
|
+
/**
|
|
476
|
+
* Protobuf JSON representation for TranscribeStreamRequest
|
|
477
|
+
*/
|
|
478
|
+
interface AsProtobufJSON {
|
|
479
|
+
audioChunk?: string;
|
|
480
|
+
endOfStream?: boolean;
|
|
481
|
+
config?: TranscribeRequestConfig.AsProtobufJSON | null;
|
|
482
|
+
muteAudio?: boolean;
|
|
483
|
+
}
|
|
484
|
+
}
|
|
485
|
+
/**
|
|
486
|
+
* Message implementation for ondewo.s2t.Transcription
|
|
487
|
+
*/
|
|
488
|
+
export declare class Transcription implements GrpcMessage {
|
|
489
|
+
static id: string;
|
|
490
|
+
/**
|
|
491
|
+
* Deserialize binary data to message
|
|
492
|
+
* @param instance message instance
|
|
493
|
+
*/
|
|
494
|
+
static deserializeBinary(bytes: ByteSource): Transcription;
|
|
495
|
+
/**
|
|
496
|
+
* Check all the properties and set default protobuf values if necessary
|
|
497
|
+
* @param _instance message instance
|
|
498
|
+
*/
|
|
499
|
+
static refineValues(_instance: Transcription): void;
|
|
500
|
+
/**
|
|
501
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
502
|
+
* @param _instance message instance
|
|
503
|
+
* @param _reader binary reader instance
|
|
504
|
+
*/
|
|
505
|
+
static deserializeBinaryFromReader(_instance: Transcription, _reader: BinaryReader): void;
|
|
506
|
+
/**
|
|
507
|
+
* Serializes a message to binary format using provided binary reader
|
|
508
|
+
* @param _instance message instance
|
|
509
|
+
* @param _writer binary writer instance
|
|
510
|
+
*/
|
|
511
|
+
static serializeBinaryToWriter(_instance: Transcription, _writer: BinaryWriter): void;
|
|
512
|
+
private _transcription?;
|
|
513
|
+
private _confidenceScore?;
|
|
514
|
+
/**
|
|
515
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
516
|
+
* @param _value initial values object or instance of Transcription to deeply clone from
|
|
517
|
+
*/
|
|
518
|
+
constructor(_value?: RecursivePartial<Transcription.AsObject>);
|
|
519
|
+
get transcription(): string | undefined;
|
|
520
|
+
set transcription(value: string | undefined);
|
|
521
|
+
get confidenceScore(): number | undefined;
|
|
522
|
+
set confidenceScore(value: number | undefined);
|
|
523
|
+
/**
|
|
524
|
+
* Serialize message to binary data
|
|
525
|
+
* @param instance message instance
|
|
526
|
+
*/
|
|
527
|
+
serializeBinary(): any;
|
|
528
|
+
/**
|
|
529
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
530
|
+
*/
|
|
531
|
+
toObject(): Transcription.AsObject;
|
|
532
|
+
/**
|
|
533
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
534
|
+
*/
|
|
535
|
+
toJSON(): Transcription.AsObject;
|
|
536
|
+
/**
|
|
537
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
538
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
539
|
+
* 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
|
|
540
|
+
*/
|
|
541
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): Transcription.AsProtobufJSON;
|
|
542
|
+
}
|
|
543
|
+
export declare module Transcription {
|
|
544
|
+
/**
|
|
545
|
+
* Standard JavaScript object representation for Transcription
|
|
546
|
+
*/
|
|
547
|
+
interface AsObject {
|
|
548
|
+
transcription?: string;
|
|
549
|
+
confidenceScore?: number;
|
|
550
|
+
}
|
|
551
|
+
/**
|
|
552
|
+
* Protobuf JSON representation for Transcription
|
|
553
|
+
*/
|
|
554
|
+
interface AsProtobufJSON {
|
|
555
|
+
transcription?: string;
|
|
556
|
+
confidenceScore?: number;
|
|
557
|
+
}
|
|
558
|
+
}
|
|
559
|
+
/**
|
|
560
|
+
* Message implementation for ondewo.s2t.TranscribeStreamResponse
|
|
561
|
+
*/
|
|
562
|
+
export declare class TranscribeStreamResponse implements GrpcMessage {
|
|
563
|
+
static id: string;
|
|
564
|
+
/**
|
|
565
|
+
* Deserialize binary data to message
|
|
566
|
+
* @param instance message instance
|
|
567
|
+
*/
|
|
568
|
+
static deserializeBinary(bytes: ByteSource): TranscribeStreamResponse;
|
|
569
|
+
/**
|
|
570
|
+
* Check all the properties and set default protobuf values if necessary
|
|
571
|
+
* @param _instance message instance
|
|
572
|
+
*/
|
|
573
|
+
static refineValues(_instance: TranscribeStreamResponse): void;
|
|
574
|
+
/**
|
|
575
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
576
|
+
* @param _instance message instance
|
|
577
|
+
* @param _reader binary reader instance
|
|
578
|
+
*/
|
|
579
|
+
static deserializeBinaryFromReader(_instance: TranscribeStreamResponse, _reader: BinaryReader): void;
|
|
580
|
+
/**
|
|
581
|
+
* Serializes a message to binary format using provided binary reader
|
|
582
|
+
* @param _instance message instance
|
|
583
|
+
* @param _writer binary writer instance
|
|
584
|
+
*/
|
|
585
|
+
static serializeBinaryToWriter(_instance: TranscribeStreamResponse, _writer: BinaryWriter): void;
|
|
586
|
+
private _transcriptions?;
|
|
587
|
+
private _time?;
|
|
588
|
+
private _final?;
|
|
589
|
+
private _returnAudio?;
|
|
590
|
+
private _audio?;
|
|
591
|
+
private _utteranceStart?;
|
|
592
|
+
private _audioUuid?;
|
|
593
|
+
private _config?;
|
|
594
|
+
private _oneofConfig;
|
|
595
|
+
/**
|
|
596
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
597
|
+
* @param _value initial values object or instance of TranscribeStreamResponse to deeply clone from
|
|
598
|
+
*/
|
|
599
|
+
constructor(_value?: RecursivePartial<TranscribeStreamResponse.AsObject>);
|
|
600
|
+
get transcriptions(): Transcription[] | undefined;
|
|
601
|
+
set transcriptions(value: Transcription[] | undefined);
|
|
602
|
+
get time(): number | undefined;
|
|
603
|
+
set time(value: number | undefined);
|
|
604
|
+
get final(): boolean | undefined;
|
|
605
|
+
set final(value: boolean | undefined);
|
|
606
|
+
get returnAudio(): boolean | undefined;
|
|
607
|
+
set returnAudio(value: boolean | undefined);
|
|
608
|
+
get audio(): Uint8Array | undefined;
|
|
609
|
+
set audio(value: Uint8Array | undefined);
|
|
610
|
+
get utteranceStart(): boolean | undefined;
|
|
611
|
+
set utteranceStart(value: boolean | undefined);
|
|
612
|
+
get audioUuid(): string | undefined;
|
|
613
|
+
set audioUuid(value: string | undefined);
|
|
614
|
+
get config(): TranscribeRequestConfig | undefined;
|
|
615
|
+
set config(value: TranscribeRequestConfig | undefined);
|
|
616
|
+
get oneofConfig(): TranscribeStreamResponse.OneofConfigCase;
|
|
617
|
+
/**
|
|
618
|
+
* Serialize message to binary data
|
|
619
|
+
* @param instance message instance
|
|
620
|
+
*/
|
|
621
|
+
serializeBinary(): any;
|
|
622
|
+
/**
|
|
623
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
624
|
+
*/
|
|
625
|
+
toObject(): TranscribeStreamResponse.AsObject;
|
|
626
|
+
/**
|
|
627
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
628
|
+
*/
|
|
629
|
+
toJSON(): TranscribeStreamResponse.AsObject;
|
|
630
|
+
/**
|
|
631
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
632
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
633
|
+
* 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
|
|
634
|
+
*/
|
|
635
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): TranscribeStreamResponse.AsProtobufJSON;
|
|
636
|
+
}
|
|
637
|
+
export declare module TranscribeStreamResponse {
|
|
638
|
+
/**
|
|
639
|
+
* Standard JavaScript object representation for TranscribeStreamResponse
|
|
640
|
+
*/
|
|
641
|
+
interface AsObject {
|
|
642
|
+
transcriptions?: Transcription.AsObject[];
|
|
643
|
+
time?: number;
|
|
644
|
+
final?: boolean;
|
|
645
|
+
returnAudio?: boolean;
|
|
646
|
+
audio?: Uint8Array;
|
|
647
|
+
utteranceStart?: boolean;
|
|
648
|
+
audioUuid?: string;
|
|
649
|
+
config?: TranscribeRequestConfig.AsObject;
|
|
650
|
+
}
|
|
651
|
+
/**
|
|
652
|
+
* Protobuf JSON representation for TranscribeStreamResponse
|
|
653
|
+
*/
|
|
654
|
+
interface AsProtobufJSON {
|
|
655
|
+
transcriptions?: Transcription.AsProtobufJSON[] | null;
|
|
656
|
+
time?: number;
|
|
657
|
+
final?: boolean;
|
|
658
|
+
returnAudio?: boolean;
|
|
659
|
+
audio?: string;
|
|
660
|
+
utteranceStart?: boolean;
|
|
661
|
+
audioUuid?: string;
|
|
662
|
+
config?: TranscribeRequestConfig.AsProtobufJSON | null;
|
|
663
|
+
}
|
|
664
|
+
enum OneofConfigCase {
|
|
665
|
+
none = 0,
|
|
666
|
+
config = 1
|
|
667
|
+
}
|
|
668
|
+
}
|
|
669
|
+
/**
|
|
670
|
+
* Message implementation for ondewo.s2t.TranscribeFileRequest
|
|
671
|
+
*/
|
|
672
|
+
export declare class TranscribeFileRequest implements GrpcMessage {
|
|
673
|
+
static id: string;
|
|
674
|
+
/**
|
|
675
|
+
* Deserialize binary data to message
|
|
676
|
+
* @param instance message instance
|
|
677
|
+
*/
|
|
678
|
+
static deserializeBinary(bytes: ByteSource): TranscribeFileRequest;
|
|
679
|
+
/**
|
|
680
|
+
* Check all the properties and set default protobuf values if necessary
|
|
681
|
+
* @param _instance message instance
|
|
682
|
+
*/
|
|
683
|
+
static refineValues(_instance: TranscribeFileRequest): void;
|
|
684
|
+
/**
|
|
685
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
686
|
+
* @param _instance message instance
|
|
687
|
+
* @param _reader binary reader instance
|
|
688
|
+
*/
|
|
689
|
+
static deserializeBinaryFromReader(_instance: TranscribeFileRequest, _reader: BinaryReader): void;
|
|
690
|
+
/**
|
|
691
|
+
* Serializes a message to binary format using provided binary reader
|
|
692
|
+
* @param _instance message instance
|
|
693
|
+
* @param _writer binary writer instance
|
|
694
|
+
*/
|
|
695
|
+
static serializeBinaryToWriter(_instance: TranscribeFileRequest, _writer: BinaryWriter): void;
|
|
696
|
+
private _audioFile?;
|
|
697
|
+
private _config?;
|
|
698
|
+
/**
|
|
699
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
700
|
+
* @param _value initial values object or instance of TranscribeFileRequest to deeply clone from
|
|
701
|
+
*/
|
|
702
|
+
constructor(_value?: RecursivePartial<TranscribeFileRequest.AsObject>);
|
|
703
|
+
get audioFile(): Uint8Array | undefined;
|
|
704
|
+
set audioFile(value: Uint8Array | undefined);
|
|
705
|
+
get config(): TranscribeRequestConfig | undefined;
|
|
706
|
+
set config(value: TranscribeRequestConfig | undefined);
|
|
707
|
+
/**
|
|
708
|
+
* Serialize message to binary data
|
|
709
|
+
* @param instance message instance
|
|
710
|
+
*/
|
|
711
|
+
serializeBinary(): any;
|
|
712
|
+
/**
|
|
713
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
714
|
+
*/
|
|
715
|
+
toObject(): TranscribeFileRequest.AsObject;
|
|
716
|
+
/**
|
|
717
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
718
|
+
*/
|
|
719
|
+
toJSON(): TranscribeFileRequest.AsObject;
|
|
720
|
+
/**
|
|
721
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
722
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
723
|
+
* 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
|
|
724
|
+
*/
|
|
725
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): TranscribeFileRequest.AsProtobufJSON;
|
|
726
|
+
}
|
|
727
|
+
export declare module TranscribeFileRequest {
|
|
728
|
+
/**
|
|
729
|
+
* Standard JavaScript object representation for TranscribeFileRequest
|
|
730
|
+
*/
|
|
731
|
+
interface AsObject {
|
|
732
|
+
audioFile?: Uint8Array;
|
|
733
|
+
config?: TranscribeRequestConfig.AsObject;
|
|
734
|
+
}
|
|
735
|
+
/**
|
|
736
|
+
* Protobuf JSON representation for TranscribeFileRequest
|
|
737
|
+
*/
|
|
738
|
+
interface AsProtobufJSON {
|
|
739
|
+
audioFile?: string;
|
|
740
|
+
config?: TranscribeRequestConfig.AsProtobufJSON | null;
|
|
741
|
+
}
|
|
742
|
+
}
|
|
743
|
+
/**
|
|
744
|
+
* Message implementation for ondewo.s2t.TranscribeFileResponse
|
|
745
|
+
*/
|
|
746
|
+
export declare class TranscribeFileResponse implements GrpcMessage {
|
|
747
|
+
static id: string;
|
|
748
|
+
/**
|
|
749
|
+
* Deserialize binary data to message
|
|
750
|
+
* @param instance message instance
|
|
751
|
+
*/
|
|
752
|
+
static deserializeBinary(bytes: ByteSource): TranscribeFileResponse;
|
|
753
|
+
/**
|
|
754
|
+
* Check all the properties and set default protobuf values if necessary
|
|
755
|
+
* @param _instance message instance
|
|
756
|
+
*/
|
|
757
|
+
static refineValues(_instance: TranscribeFileResponse): void;
|
|
758
|
+
/**
|
|
759
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
760
|
+
* @param _instance message instance
|
|
761
|
+
* @param _reader binary reader instance
|
|
762
|
+
*/
|
|
763
|
+
static deserializeBinaryFromReader(_instance: TranscribeFileResponse, _reader: BinaryReader): void;
|
|
764
|
+
/**
|
|
765
|
+
* Serializes a message to binary format using provided binary reader
|
|
766
|
+
* @param _instance message instance
|
|
767
|
+
* @param _writer binary writer instance
|
|
768
|
+
*/
|
|
769
|
+
static serializeBinaryToWriter(_instance: TranscribeFileResponse, _writer: BinaryWriter): void;
|
|
770
|
+
private _transcriptions?;
|
|
771
|
+
private _time?;
|
|
772
|
+
private _wordTiming?;
|
|
773
|
+
private _audioUuid?;
|
|
774
|
+
/**
|
|
775
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
776
|
+
* @param _value initial values object or instance of TranscribeFileResponse to deeply clone from
|
|
777
|
+
*/
|
|
778
|
+
constructor(_value?: RecursivePartial<TranscribeFileResponse.AsObject>);
|
|
779
|
+
get transcriptions(): Transcription[] | undefined;
|
|
780
|
+
set transcriptions(value: Transcription[] | undefined);
|
|
781
|
+
get time(): number | undefined;
|
|
782
|
+
set time(value: number | undefined);
|
|
783
|
+
get wordTiming(): WordTiming[] | undefined;
|
|
784
|
+
set wordTiming(value: WordTiming[] | undefined);
|
|
785
|
+
get audioUuid(): string | undefined;
|
|
786
|
+
set audioUuid(value: string | undefined);
|
|
787
|
+
/**
|
|
788
|
+
* Serialize message to binary data
|
|
789
|
+
* @param instance message instance
|
|
790
|
+
*/
|
|
791
|
+
serializeBinary(): any;
|
|
792
|
+
/**
|
|
793
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
794
|
+
*/
|
|
795
|
+
toObject(): TranscribeFileResponse.AsObject;
|
|
796
|
+
/**
|
|
797
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
798
|
+
*/
|
|
799
|
+
toJSON(): TranscribeFileResponse.AsObject;
|
|
800
|
+
/**
|
|
801
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
802
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
803
|
+
* 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
|
|
804
|
+
*/
|
|
805
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): TranscribeFileResponse.AsProtobufJSON;
|
|
806
|
+
}
|
|
807
|
+
export declare module TranscribeFileResponse {
|
|
808
|
+
/**
|
|
809
|
+
* Standard JavaScript object representation for TranscribeFileResponse
|
|
810
|
+
*/
|
|
811
|
+
interface AsObject {
|
|
812
|
+
transcriptions?: Transcription.AsObject[];
|
|
813
|
+
time?: number;
|
|
814
|
+
wordTiming?: WordTiming.AsObject[];
|
|
815
|
+
audioUuid?: string;
|
|
816
|
+
}
|
|
817
|
+
/**
|
|
818
|
+
* Protobuf JSON representation for TranscribeFileResponse
|
|
819
|
+
*/
|
|
820
|
+
interface AsProtobufJSON {
|
|
821
|
+
transcriptions?: Transcription.AsProtobufJSON[] | null;
|
|
822
|
+
time?: number;
|
|
823
|
+
wordTiming?: WordTiming.AsProtobufJSON[] | null;
|
|
824
|
+
audioUuid?: string;
|
|
825
|
+
}
|
|
826
|
+
}
|
|
827
|
+
/**
|
|
828
|
+
* Message implementation for ondewo.s2t.WordTiming
|
|
829
|
+
*/
|
|
830
|
+
export declare class WordTiming implements GrpcMessage {
|
|
831
|
+
static id: string;
|
|
832
|
+
/**
|
|
833
|
+
* Deserialize binary data to message
|
|
834
|
+
* @param instance message instance
|
|
835
|
+
*/
|
|
836
|
+
static deserializeBinary(bytes: ByteSource): WordTiming;
|
|
837
|
+
/**
|
|
838
|
+
* Check all the properties and set default protobuf values if necessary
|
|
839
|
+
* @param _instance message instance
|
|
840
|
+
*/
|
|
841
|
+
static refineValues(_instance: WordTiming): void;
|
|
842
|
+
/**
|
|
843
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
844
|
+
* @param _instance message instance
|
|
845
|
+
* @param _reader binary reader instance
|
|
846
|
+
*/
|
|
847
|
+
static deserializeBinaryFromReader(_instance: WordTiming, _reader: BinaryReader): void;
|
|
848
|
+
/**
|
|
849
|
+
* Serializes a message to binary format using provided binary reader
|
|
850
|
+
* @param _instance message instance
|
|
851
|
+
* @param _writer binary writer instance
|
|
852
|
+
*/
|
|
853
|
+
static serializeBinaryToWriter(_instance: WordTiming, _writer: BinaryWriter): void;
|
|
854
|
+
private _word?;
|
|
855
|
+
private _begin?;
|
|
856
|
+
private _end?;
|
|
857
|
+
/**
|
|
858
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
859
|
+
* @param _value initial values object or instance of WordTiming to deeply clone from
|
|
860
|
+
*/
|
|
861
|
+
constructor(_value?: RecursivePartial<WordTiming.AsObject>);
|
|
862
|
+
get word(): string | undefined;
|
|
863
|
+
set word(value: string | undefined);
|
|
864
|
+
get begin(): number | undefined;
|
|
865
|
+
set begin(value: number | undefined);
|
|
866
|
+
get end(): number | undefined;
|
|
867
|
+
set end(value: number | undefined);
|
|
868
|
+
/**
|
|
869
|
+
* Serialize message to binary data
|
|
870
|
+
* @param instance message instance
|
|
871
|
+
*/
|
|
872
|
+
serializeBinary(): any;
|
|
873
|
+
/**
|
|
874
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
875
|
+
*/
|
|
876
|
+
toObject(): WordTiming.AsObject;
|
|
877
|
+
/**
|
|
878
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
879
|
+
*/
|
|
880
|
+
toJSON(): WordTiming.AsObject;
|
|
881
|
+
/**
|
|
882
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
883
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
884
|
+
* 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
|
|
885
|
+
*/
|
|
886
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): WordTiming.AsProtobufJSON;
|
|
887
|
+
}
|
|
888
|
+
export declare module WordTiming {
|
|
889
|
+
/**
|
|
890
|
+
* Standard JavaScript object representation for WordTiming
|
|
891
|
+
*/
|
|
892
|
+
interface AsObject {
|
|
893
|
+
word?: string;
|
|
894
|
+
begin?: number;
|
|
895
|
+
end?: number;
|
|
896
|
+
}
|
|
897
|
+
/**
|
|
898
|
+
* Protobuf JSON representation for WordTiming
|
|
899
|
+
*/
|
|
900
|
+
interface AsProtobufJSON {
|
|
901
|
+
word?: string;
|
|
902
|
+
begin?: number;
|
|
903
|
+
end?: number;
|
|
904
|
+
}
|
|
905
|
+
}
|
|
906
|
+
/**
|
|
907
|
+
* Message implementation for ondewo.s2t.S2tPipelineId
|
|
908
|
+
*/
|
|
909
|
+
export declare class S2tPipelineId implements GrpcMessage {
|
|
910
|
+
static id: string;
|
|
911
|
+
/**
|
|
912
|
+
* Deserialize binary data to message
|
|
913
|
+
* @param instance message instance
|
|
914
|
+
*/
|
|
915
|
+
static deserializeBinary(bytes: ByteSource): S2tPipelineId;
|
|
916
|
+
/**
|
|
917
|
+
* Check all the properties and set default protobuf values if necessary
|
|
918
|
+
* @param _instance message instance
|
|
919
|
+
*/
|
|
920
|
+
static refineValues(_instance: S2tPipelineId): void;
|
|
921
|
+
/**
|
|
922
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
923
|
+
* @param _instance message instance
|
|
924
|
+
* @param _reader binary reader instance
|
|
925
|
+
*/
|
|
926
|
+
static deserializeBinaryFromReader(_instance: S2tPipelineId, _reader: BinaryReader): void;
|
|
927
|
+
/**
|
|
928
|
+
* Serializes a message to binary format using provided binary reader
|
|
929
|
+
* @param _instance message instance
|
|
930
|
+
* @param _writer binary writer instance
|
|
931
|
+
*/
|
|
932
|
+
static serializeBinaryToWriter(_instance: S2tPipelineId, _writer: BinaryWriter): void;
|
|
933
|
+
private _id?;
|
|
934
|
+
/**
|
|
935
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
936
|
+
* @param _value initial values object or instance of S2tPipelineId to deeply clone from
|
|
937
|
+
*/
|
|
938
|
+
constructor(_value?: RecursivePartial<S2tPipelineId.AsObject>);
|
|
939
|
+
get id(): string | undefined;
|
|
940
|
+
set id(value: string | undefined);
|
|
941
|
+
/**
|
|
942
|
+
* Serialize message to binary data
|
|
943
|
+
* @param instance message instance
|
|
944
|
+
*/
|
|
945
|
+
serializeBinary(): any;
|
|
946
|
+
/**
|
|
947
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
948
|
+
*/
|
|
949
|
+
toObject(): S2tPipelineId.AsObject;
|
|
950
|
+
/**
|
|
951
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
952
|
+
*/
|
|
953
|
+
toJSON(): S2tPipelineId.AsObject;
|
|
954
|
+
/**
|
|
955
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
956
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
957
|
+
* 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
|
|
958
|
+
*/
|
|
959
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): S2tPipelineId.AsProtobufJSON;
|
|
960
|
+
}
|
|
961
|
+
export declare module S2tPipelineId {
|
|
962
|
+
/**
|
|
963
|
+
* Standard JavaScript object representation for S2tPipelineId
|
|
964
|
+
*/
|
|
965
|
+
interface AsObject {
|
|
966
|
+
id?: string;
|
|
967
|
+
}
|
|
968
|
+
/**
|
|
969
|
+
* Protobuf JSON representation for S2tPipelineId
|
|
970
|
+
*/
|
|
971
|
+
interface AsProtobufJSON {
|
|
972
|
+
id?: string;
|
|
973
|
+
}
|
|
974
|
+
}
|
|
975
|
+
/**
|
|
976
|
+
* Message implementation for ondewo.s2t.ListS2tPipelinesRequest
|
|
977
|
+
*/
|
|
978
|
+
export declare class ListS2tPipelinesRequest implements GrpcMessage {
|
|
979
|
+
static id: string;
|
|
980
|
+
/**
|
|
981
|
+
* Deserialize binary data to message
|
|
982
|
+
* @param instance message instance
|
|
983
|
+
*/
|
|
984
|
+
static deserializeBinary(bytes: ByteSource): ListS2tPipelinesRequest;
|
|
985
|
+
/**
|
|
986
|
+
* Check all the properties and set default protobuf values if necessary
|
|
987
|
+
* @param _instance message instance
|
|
988
|
+
*/
|
|
989
|
+
static refineValues(_instance: ListS2tPipelinesRequest): void;
|
|
990
|
+
/**
|
|
991
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
992
|
+
* @param _instance message instance
|
|
993
|
+
* @param _reader binary reader instance
|
|
994
|
+
*/
|
|
995
|
+
static deserializeBinaryFromReader(_instance: ListS2tPipelinesRequest, _reader: BinaryReader): void;
|
|
996
|
+
/**
|
|
997
|
+
* Serializes a message to binary format using provided binary reader
|
|
998
|
+
* @param _instance message instance
|
|
999
|
+
* @param _writer binary writer instance
|
|
1000
|
+
*/
|
|
1001
|
+
static serializeBinaryToWriter(_instance: ListS2tPipelinesRequest, _writer: BinaryWriter): void;
|
|
1002
|
+
private _languages?;
|
|
1003
|
+
private _pipelineOwners?;
|
|
1004
|
+
private _domains?;
|
|
1005
|
+
private _registeredOnly?;
|
|
1006
|
+
/**
|
|
1007
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
1008
|
+
* @param _value initial values object or instance of ListS2tPipelinesRequest to deeply clone from
|
|
1009
|
+
*/
|
|
1010
|
+
constructor(_value?: RecursivePartial<ListS2tPipelinesRequest.AsObject>);
|
|
1011
|
+
get languages(): string[] | undefined;
|
|
1012
|
+
set languages(value: string[] | undefined);
|
|
1013
|
+
get pipelineOwners(): string[] | undefined;
|
|
1014
|
+
set pipelineOwners(value: string[] | undefined);
|
|
1015
|
+
get domains(): string[] | undefined;
|
|
1016
|
+
set domains(value: string[] | undefined);
|
|
1017
|
+
get registeredOnly(): boolean | undefined;
|
|
1018
|
+
set registeredOnly(value: boolean | undefined);
|
|
1019
|
+
/**
|
|
1020
|
+
* Serialize message to binary data
|
|
1021
|
+
* @param instance message instance
|
|
1022
|
+
*/
|
|
1023
|
+
serializeBinary(): any;
|
|
1024
|
+
/**
|
|
1025
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
1026
|
+
*/
|
|
1027
|
+
toObject(): ListS2tPipelinesRequest.AsObject;
|
|
1028
|
+
/**
|
|
1029
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
1030
|
+
*/
|
|
1031
|
+
toJSON(): ListS2tPipelinesRequest.AsObject;
|
|
1032
|
+
/**
|
|
1033
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
1034
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
1035
|
+
* 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
|
|
1036
|
+
*/
|
|
1037
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): ListS2tPipelinesRequest.AsProtobufJSON;
|
|
1038
|
+
}
|
|
1039
|
+
export declare module ListS2tPipelinesRequest {
|
|
1040
|
+
/**
|
|
1041
|
+
* Standard JavaScript object representation for ListS2tPipelinesRequest
|
|
1042
|
+
*/
|
|
1043
|
+
interface AsObject {
|
|
1044
|
+
languages?: string[];
|
|
1045
|
+
pipelineOwners?: string[];
|
|
1046
|
+
domains?: string[];
|
|
1047
|
+
registeredOnly?: boolean;
|
|
1048
|
+
}
|
|
1049
|
+
/**
|
|
1050
|
+
* Protobuf JSON representation for ListS2tPipelinesRequest
|
|
1051
|
+
*/
|
|
1052
|
+
interface AsProtobufJSON {
|
|
1053
|
+
languages?: string[];
|
|
1054
|
+
pipelineOwners?: string[];
|
|
1055
|
+
domains?: string[];
|
|
1056
|
+
registeredOnly?: boolean;
|
|
1057
|
+
}
|
|
1058
|
+
}
|
|
1059
|
+
/**
|
|
1060
|
+
* Message implementation for ondewo.s2t.ListS2tPipelinesResponse
|
|
1061
|
+
*/
|
|
1062
|
+
export declare class ListS2tPipelinesResponse implements GrpcMessage {
|
|
1063
|
+
static id: string;
|
|
1064
|
+
/**
|
|
1065
|
+
* Deserialize binary data to message
|
|
1066
|
+
* @param instance message instance
|
|
1067
|
+
*/
|
|
1068
|
+
static deserializeBinary(bytes: ByteSource): ListS2tPipelinesResponse;
|
|
1069
|
+
/**
|
|
1070
|
+
* Check all the properties and set default protobuf values if necessary
|
|
1071
|
+
* @param _instance message instance
|
|
1072
|
+
*/
|
|
1073
|
+
static refineValues(_instance: ListS2tPipelinesResponse): void;
|
|
1074
|
+
/**
|
|
1075
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
1076
|
+
* @param _instance message instance
|
|
1077
|
+
* @param _reader binary reader instance
|
|
1078
|
+
*/
|
|
1079
|
+
static deserializeBinaryFromReader(_instance: ListS2tPipelinesResponse, _reader: BinaryReader): void;
|
|
1080
|
+
/**
|
|
1081
|
+
* Serializes a message to binary format using provided binary reader
|
|
1082
|
+
* @param _instance message instance
|
|
1083
|
+
* @param _writer binary writer instance
|
|
1084
|
+
*/
|
|
1085
|
+
static serializeBinaryToWriter(_instance: ListS2tPipelinesResponse, _writer: BinaryWriter): void;
|
|
1086
|
+
private _pipelineConfigs?;
|
|
1087
|
+
/**
|
|
1088
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
1089
|
+
* @param _value initial values object or instance of ListS2tPipelinesResponse to deeply clone from
|
|
1090
|
+
*/
|
|
1091
|
+
constructor(_value?: RecursivePartial<ListS2tPipelinesResponse.AsObject>);
|
|
1092
|
+
get pipelineConfigs(): Speech2TextConfig[] | undefined;
|
|
1093
|
+
set pipelineConfigs(value: Speech2TextConfig[] | undefined);
|
|
1094
|
+
/**
|
|
1095
|
+
* Serialize message to binary data
|
|
1096
|
+
* @param instance message instance
|
|
1097
|
+
*/
|
|
1098
|
+
serializeBinary(): any;
|
|
1099
|
+
/**
|
|
1100
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
1101
|
+
*/
|
|
1102
|
+
toObject(): ListS2tPipelinesResponse.AsObject;
|
|
1103
|
+
/**
|
|
1104
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
1105
|
+
*/
|
|
1106
|
+
toJSON(): ListS2tPipelinesResponse.AsObject;
|
|
1107
|
+
/**
|
|
1108
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
1109
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
1110
|
+
* 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
|
|
1111
|
+
*/
|
|
1112
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): ListS2tPipelinesResponse.AsProtobufJSON;
|
|
1113
|
+
}
|
|
1114
|
+
export declare module ListS2tPipelinesResponse {
|
|
1115
|
+
/**
|
|
1116
|
+
* Standard JavaScript object representation for ListS2tPipelinesResponse
|
|
1117
|
+
*/
|
|
1118
|
+
interface AsObject {
|
|
1119
|
+
pipelineConfigs?: Speech2TextConfig.AsObject[];
|
|
1120
|
+
}
|
|
1121
|
+
/**
|
|
1122
|
+
* Protobuf JSON representation for ListS2tPipelinesResponse
|
|
1123
|
+
*/
|
|
1124
|
+
interface AsProtobufJSON {
|
|
1125
|
+
pipelineConfigs?: Speech2TextConfig.AsProtobufJSON[] | null;
|
|
1126
|
+
}
|
|
1127
|
+
}
|
|
1128
|
+
/**
|
|
1129
|
+
* Message implementation for ondewo.s2t.ListS2tLanguagesRequest
|
|
1130
|
+
*/
|
|
1131
|
+
export declare class ListS2tLanguagesRequest implements GrpcMessage {
|
|
1132
|
+
static id: string;
|
|
1133
|
+
/**
|
|
1134
|
+
* Deserialize binary data to message
|
|
1135
|
+
* @param instance message instance
|
|
1136
|
+
*/
|
|
1137
|
+
static deserializeBinary(bytes: ByteSource): ListS2tLanguagesRequest;
|
|
1138
|
+
/**
|
|
1139
|
+
* Check all the properties and set default protobuf values if necessary
|
|
1140
|
+
* @param _instance message instance
|
|
1141
|
+
*/
|
|
1142
|
+
static refineValues(_instance: ListS2tLanguagesRequest): void;
|
|
1143
|
+
/**
|
|
1144
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
1145
|
+
* @param _instance message instance
|
|
1146
|
+
* @param _reader binary reader instance
|
|
1147
|
+
*/
|
|
1148
|
+
static deserializeBinaryFromReader(_instance: ListS2tLanguagesRequest, _reader: BinaryReader): void;
|
|
1149
|
+
/**
|
|
1150
|
+
* Serializes a message to binary format using provided binary reader
|
|
1151
|
+
* @param _instance message instance
|
|
1152
|
+
* @param _writer binary writer instance
|
|
1153
|
+
*/
|
|
1154
|
+
static serializeBinaryToWriter(_instance: ListS2tLanguagesRequest, _writer: BinaryWriter): void;
|
|
1155
|
+
private _domains?;
|
|
1156
|
+
private _pipelineOwners?;
|
|
1157
|
+
/**
|
|
1158
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
1159
|
+
* @param _value initial values object or instance of ListS2tLanguagesRequest to deeply clone from
|
|
1160
|
+
*/
|
|
1161
|
+
constructor(_value?: RecursivePartial<ListS2tLanguagesRequest.AsObject>);
|
|
1162
|
+
get domains(): string[] | undefined;
|
|
1163
|
+
set domains(value: string[] | undefined);
|
|
1164
|
+
get pipelineOwners(): string[] | undefined;
|
|
1165
|
+
set pipelineOwners(value: string[] | undefined);
|
|
1166
|
+
/**
|
|
1167
|
+
* Serialize message to binary data
|
|
1168
|
+
* @param instance message instance
|
|
1169
|
+
*/
|
|
1170
|
+
serializeBinary(): any;
|
|
1171
|
+
/**
|
|
1172
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
1173
|
+
*/
|
|
1174
|
+
toObject(): ListS2tLanguagesRequest.AsObject;
|
|
1175
|
+
/**
|
|
1176
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
1177
|
+
*/
|
|
1178
|
+
toJSON(): ListS2tLanguagesRequest.AsObject;
|
|
1179
|
+
/**
|
|
1180
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
1181
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
1182
|
+
* 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
|
|
1183
|
+
*/
|
|
1184
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): ListS2tLanguagesRequest.AsProtobufJSON;
|
|
1185
|
+
}
|
|
1186
|
+
export declare module ListS2tLanguagesRequest {
|
|
1187
|
+
/**
|
|
1188
|
+
* Standard JavaScript object representation for ListS2tLanguagesRequest
|
|
1189
|
+
*/
|
|
1190
|
+
interface AsObject {
|
|
1191
|
+
domains?: string[];
|
|
1192
|
+
pipelineOwners?: string[];
|
|
1193
|
+
}
|
|
1194
|
+
/**
|
|
1195
|
+
* Protobuf JSON representation for ListS2tLanguagesRequest
|
|
1196
|
+
*/
|
|
1197
|
+
interface AsProtobufJSON {
|
|
1198
|
+
domains?: string[];
|
|
1199
|
+
pipelineOwners?: string[];
|
|
1200
|
+
}
|
|
1201
|
+
}
|
|
1202
|
+
/**
|
|
1203
|
+
* Message implementation for ondewo.s2t.ListS2tLanguagesResponse
|
|
1204
|
+
*/
|
|
1205
|
+
export declare class ListS2tLanguagesResponse implements GrpcMessage {
|
|
1206
|
+
static id: string;
|
|
1207
|
+
/**
|
|
1208
|
+
* Deserialize binary data to message
|
|
1209
|
+
* @param instance message instance
|
|
1210
|
+
*/
|
|
1211
|
+
static deserializeBinary(bytes: ByteSource): ListS2tLanguagesResponse;
|
|
1212
|
+
/**
|
|
1213
|
+
* Check all the properties and set default protobuf values if necessary
|
|
1214
|
+
* @param _instance message instance
|
|
1215
|
+
*/
|
|
1216
|
+
static refineValues(_instance: ListS2tLanguagesResponse): void;
|
|
1217
|
+
/**
|
|
1218
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
1219
|
+
* @param _instance message instance
|
|
1220
|
+
* @param _reader binary reader instance
|
|
1221
|
+
*/
|
|
1222
|
+
static deserializeBinaryFromReader(_instance: ListS2tLanguagesResponse, _reader: BinaryReader): void;
|
|
1223
|
+
/**
|
|
1224
|
+
* Serializes a message to binary format using provided binary reader
|
|
1225
|
+
* @param _instance message instance
|
|
1226
|
+
* @param _writer binary writer instance
|
|
1227
|
+
*/
|
|
1228
|
+
static serializeBinaryToWriter(_instance: ListS2tLanguagesResponse, _writer: BinaryWriter): void;
|
|
1229
|
+
private _languages?;
|
|
1230
|
+
/**
|
|
1231
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
1232
|
+
* @param _value initial values object or instance of ListS2tLanguagesResponse to deeply clone from
|
|
1233
|
+
*/
|
|
1234
|
+
constructor(_value?: RecursivePartial<ListS2tLanguagesResponse.AsObject>);
|
|
1235
|
+
get languages(): string[] | undefined;
|
|
1236
|
+
set languages(value: string[] | undefined);
|
|
1237
|
+
/**
|
|
1238
|
+
* Serialize message to binary data
|
|
1239
|
+
* @param instance message instance
|
|
1240
|
+
*/
|
|
1241
|
+
serializeBinary(): any;
|
|
1242
|
+
/**
|
|
1243
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
1244
|
+
*/
|
|
1245
|
+
toObject(): ListS2tLanguagesResponse.AsObject;
|
|
1246
|
+
/**
|
|
1247
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
1248
|
+
*/
|
|
1249
|
+
toJSON(): ListS2tLanguagesResponse.AsObject;
|
|
1250
|
+
/**
|
|
1251
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
1252
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
1253
|
+
* 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
|
|
1254
|
+
*/
|
|
1255
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): ListS2tLanguagesResponse.AsProtobufJSON;
|
|
1256
|
+
}
|
|
1257
|
+
export declare module ListS2tLanguagesResponse {
|
|
1258
|
+
/**
|
|
1259
|
+
* Standard JavaScript object representation for ListS2tLanguagesResponse
|
|
1260
|
+
*/
|
|
1261
|
+
interface AsObject {
|
|
1262
|
+
languages?: string[];
|
|
1263
|
+
}
|
|
1264
|
+
/**
|
|
1265
|
+
* Protobuf JSON representation for ListS2tLanguagesResponse
|
|
1266
|
+
*/
|
|
1267
|
+
interface AsProtobufJSON {
|
|
1268
|
+
languages?: string[];
|
|
1269
|
+
}
|
|
1270
|
+
}
|
|
1271
|
+
/**
|
|
1272
|
+
* Message implementation for ondewo.s2t.ListS2tDomainsRequest
|
|
1273
|
+
*/
|
|
1274
|
+
export declare class ListS2tDomainsRequest implements GrpcMessage {
|
|
1275
|
+
static id: string;
|
|
1276
|
+
/**
|
|
1277
|
+
* Deserialize binary data to message
|
|
1278
|
+
* @param instance message instance
|
|
1279
|
+
*/
|
|
1280
|
+
static deserializeBinary(bytes: ByteSource): ListS2tDomainsRequest;
|
|
1281
|
+
/**
|
|
1282
|
+
* Check all the properties and set default protobuf values if necessary
|
|
1283
|
+
* @param _instance message instance
|
|
1284
|
+
*/
|
|
1285
|
+
static refineValues(_instance: ListS2tDomainsRequest): void;
|
|
1286
|
+
/**
|
|
1287
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
1288
|
+
* @param _instance message instance
|
|
1289
|
+
* @param _reader binary reader instance
|
|
1290
|
+
*/
|
|
1291
|
+
static deserializeBinaryFromReader(_instance: ListS2tDomainsRequest, _reader: BinaryReader): void;
|
|
1292
|
+
/**
|
|
1293
|
+
* Serializes a message to binary format using provided binary reader
|
|
1294
|
+
* @param _instance message instance
|
|
1295
|
+
* @param _writer binary writer instance
|
|
1296
|
+
*/
|
|
1297
|
+
static serializeBinaryToWriter(_instance: ListS2tDomainsRequest, _writer: BinaryWriter): void;
|
|
1298
|
+
private _languages?;
|
|
1299
|
+
private _pipelineOwners?;
|
|
1300
|
+
/**
|
|
1301
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
1302
|
+
* @param _value initial values object or instance of ListS2tDomainsRequest to deeply clone from
|
|
1303
|
+
*/
|
|
1304
|
+
constructor(_value?: RecursivePartial<ListS2tDomainsRequest.AsObject>);
|
|
1305
|
+
get languages(): string[] | undefined;
|
|
1306
|
+
set languages(value: string[] | undefined);
|
|
1307
|
+
get pipelineOwners(): string[] | undefined;
|
|
1308
|
+
set pipelineOwners(value: string[] | undefined);
|
|
1309
|
+
/**
|
|
1310
|
+
* Serialize message to binary data
|
|
1311
|
+
* @param instance message instance
|
|
1312
|
+
*/
|
|
1313
|
+
serializeBinary(): any;
|
|
1314
|
+
/**
|
|
1315
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
1316
|
+
*/
|
|
1317
|
+
toObject(): ListS2tDomainsRequest.AsObject;
|
|
1318
|
+
/**
|
|
1319
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
1320
|
+
*/
|
|
1321
|
+
toJSON(): ListS2tDomainsRequest.AsObject;
|
|
1322
|
+
/**
|
|
1323
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
1324
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
1325
|
+
* 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
|
|
1326
|
+
*/
|
|
1327
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): ListS2tDomainsRequest.AsProtobufJSON;
|
|
1328
|
+
}
|
|
1329
|
+
export declare module ListS2tDomainsRequest {
|
|
1330
|
+
/**
|
|
1331
|
+
* Standard JavaScript object representation for ListS2tDomainsRequest
|
|
1332
|
+
*/
|
|
1333
|
+
interface AsObject {
|
|
1334
|
+
languages?: string[];
|
|
1335
|
+
pipelineOwners?: string[];
|
|
1336
|
+
}
|
|
1337
|
+
/**
|
|
1338
|
+
* Protobuf JSON representation for ListS2tDomainsRequest
|
|
1339
|
+
*/
|
|
1340
|
+
interface AsProtobufJSON {
|
|
1341
|
+
languages?: string[];
|
|
1342
|
+
pipelineOwners?: string[];
|
|
1343
|
+
}
|
|
1344
|
+
}
|
|
1345
|
+
/**
|
|
1346
|
+
* Message implementation for ondewo.s2t.ListS2tDomainsResponse
|
|
1347
|
+
*/
|
|
1348
|
+
export declare class ListS2tDomainsResponse implements GrpcMessage {
|
|
1349
|
+
static id: string;
|
|
1350
|
+
/**
|
|
1351
|
+
* Deserialize binary data to message
|
|
1352
|
+
* @param instance message instance
|
|
1353
|
+
*/
|
|
1354
|
+
static deserializeBinary(bytes: ByteSource): ListS2tDomainsResponse;
|
|
1355
|
+
/**
|
|
1356
|
+
* Check all the properties and set default protobuf values if necessary
|
|
1357
|
+
* @param _instance message instance
|
|
1358
|
+
*/
|
|
1359
|
+
static refineValues(_instance: ListS2tDomainsResponse): void;
|
|
1360
|
+
/**
|
|
1361
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
1362
|
+
* @param _instance message instance
|
|
1363
|
+
* @param _reader binary reader instance
|
|
1364
|
+
*/
|
|
1365
|
+
static deserializeBinaryFromReader(_instance: ListS2tDomainsResponse, _reader: BinaryReader): void;
|
|
1366
|
+
/**
|
|
1367
|
+
* Serializes a message to binary format using provided binary reader
|
|
1368
|
+
* @param _instance message instance
|
|
1369
|
+
* @param _writer binary writer instance
|
|
1370
|
+
*/
|
|
1371
|
+
static serializeBinaryToWriter(_instance: ListS2tDomainsResponse, _writer: BinaryWriter): void;
|
|
1372
|
+
private _domains?;
|
|
1373
|
+
/**
|
|
1374
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
1375
|
+
* @param _value initial values object or instance of ListS2tDomainsResponse to deeply clone from
|
|
1376
|
+
*/
|
|
1377
|
+
constructor(_value?: RecursivePartial<ListS2tDomainsResponse.AsObject>);
|
|
1378
|
+
get domains(): string[] | undefined;
|
|
1379
|
+
set domains(value: string[] | undefined);
|
|
1380
|
+
/**
|
|
1381
|
+
* Serialize message to binary data
|
|
1382
|
+
* @param instance message instance
|
|
1383
|
+
*/
|
|
1384
|
+
serializeBinary(): any;
|
|
1385
|
+
/**
|
|
1386
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
1387
|
+
*/
|
|
1388
|
+
toObject(): ListS2tDomainsResponse.AsObject;
|
|
1389
|
+
/**
|
|
1390
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
1391
|
+
*/
|
|
1392
|
+
toJSON(): ListS2tDomainsResponse.AsObject;
|
|
1393
|
+
/**
|
|
1394
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
1395
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
1396
|
+
* 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
|
|
1397
|
+
*/
|
|
1398
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): ListS2tDomainsResponse.AsProtobufJSON;
|
|
1399
|
+
}
|
|
1400
|
+
export declare module ListS2tDomainsResponse {
|
|
1401
|
+
/**
|
|
1402
|
+
* Standard JavaScript object representation for ListS2tDomainsResponse
|
|
1403
|
+
*/
|
|
1404
|
+
interface AsObject {
|
|
1405
|
+
domains?: string[];
|
|
1406
|
+
}
|
|
1407
|
+
/**
|
|
1408
|
+
* Protobuf JSON representation for ListS2tDomainsResponse
|
|
1409
|
+
*/
|
|
1410
|
+
interface AsProtobufJSON {
|
|
1411
|
+
domains?: string[];
|
|
1412
|
+
}
|
|
1413
|
+
}
|
|
1414
|
+
/**
|
|
1415
|
+
* Message implementation for ondewo.s2t.S2TGetServiceInfoResponse
|
|
1416
|
+
*/
|
|
1417
|
+
export declare class S2TGetServiceInfoResponse implements GrpcMessage {
|
|
1418
|
+
static id: string;
|
|
1419
|
+
/**
|
|
1420
|
+
* Deserialize binary data to message
|
|
1421
|
+
* @param instance message instance
|
|
1422
|
+
*/
|
|
1423
|
+
static deserializeBinary(bytes: ByteSource): S2TGetServiceInfoResponse;
|
|
1424
|
+
/**
|
|
1425
|
+
* Check all the properties and set default protobuf values if necessary
|
|
1426
|
+
* @param _instance message instance
|
|
1427
|
+
*/
|
|
1428
|
+
static refineValues(_instance: S2TGetServiceInfoResponse): void;
|
|
1429
|
+
/**
|
|
1430
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
1431
|
+
* @param _instance message instance
|
|
1432
|
+
* @param _reader binary reader instance
|
|
1433
|
+
*/
|
|
1434
|
+
static deserializeBinaryFromReader(_instance: S2TGetServiceInfoResponse, _reader: BinaryReader): void;
|
|
1435
|
+
/**
|
|
1436
|
+
* Serializes a message to binary format using provided binary reader
|
|
1437
|
+
* @param _instance message instance
|
|
1438
|
+
* @param _writer binary writer instance
|
|
1439
|
+
*/
|
|
1440
|
+
static serializeBinaryToWriter(_instance: S2TGetServiceInfoResponse, _writer: BinaryWriter): void;
|
|
1441
|
+
private _version?;
|
|
1442
|
+
/**
|
|
1443
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
1444
|
+
* @param _value initial values object or instance of S2TGetServiceInfoResponse to deeply clone from
|
|
1445
|
+
*/
|
|
1446
|
+
constructor(_value?: RecursivePartial<S2TGetServiceInfoResponse.AsObject>);
|
|
1447
|
+
get version(): string | undefined;
|
|
1448
|
+
set version(value: string | undefined);
|
|
1449
|
+
/**
|
|
1450
|
+
* Serialize message to binary data
|
|
1451
|
+
* @param instance message instance
|
|
1452
|
+
*/
|
|
1453
|
+
serializeBinary(): any;
|
|
1454
|
+
/**
|
|
1455
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
1456
|
+
*/
|
|
1457
|
+
toObject(): S2TGetServiceInfoResponse.AsObject;
|
|
1458
|
+
/**
|
|
1459
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
1460
|
+
*/
|
|
1461
|
+
toJSON(): S2TGetServiceInfoResponse.AsObject;
|
|
1462
|
+
/**
|
|
1463
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
1464
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
1465
|
+
* 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
|
|
1466
|
+
*/
|
|
1467
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): S2TGetServiceInfoResponse.AsProtobufJSON;
|
|
1468
|
+
}
|
|
1469
|
+
export declare module S2TGetServiceInfoResponse {
|
|
1470
|
+
/**
|
|
1471
|
+
* Standard JavaScript object representation for S2TGetServiceInfoResponse
|
|
1472
|
+
*/
|
|
1473
|
+
interface AsObject {
|
|
1474
|
+
version?: string;
|
|
1475
|
+
}
|
|
1476
|
+
/**
|
|
1477
|
+
* Protobuf JSON representation for S2TGetServiceInfoResponse
|
|
1478
|
+
*/
|
|
1479
|
+
interface AsProtobufJSON {
|
|
1480
|
+
version?: string;
|
|
1481
|
+
}
|
|
1482
|
+
}
|
|
1483
|
+
/**
|
|
1484
|
+
* Message implementation for ondewo.s2t.Speech2TextConfig
|
|
1485
|
+
*/
|
|
1486
|
+
export declare class Speech2TextConfig implements GrpcMessage {
|
|
1487
|
+
static id: string;
|
|
1488
|
+
/**
|
|
1489
|
+
* Deserialize binary data to message
|
|
1490
|
+
* @param instance message instance
|
|
1491
|
+
*/
|
|
1492
|
+
static deserializeBinary(bytes: ByteSource): Speech2TextConfig;
|
|
1493
|
+
/**
|
|
1494
|
+
* Check all the properties and set default protobuf values if necessary
|
|
1495
|
+
* @param _instance message instance
|
|
1496
|
+
*/
|
|
1497
|
+
static refineValues(_instance: Speech2TextConfig): void;
|
|
1498
|
+
/**
|
|
1499
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
1500
|
+
* @param _instance message instance
|
|
1501
|
+
* @param _reader binary reader instance
|
|
1502
|
+
*/
|
|
1503
|
+
static deserializeBinaryFromReader(_instance: Speech2TextConfig, _reader: BinaryReader): void;
|
|
1504
|
+
/**
|
|
1505
|
+
* Serializes a message to binary format using provided binary reader
|
|
1506
|
+
* @param _instance message instance
|
|
1507
|
+
* @param _writer binary writer instance
|
|
1508
|
+
*/
|
|
1509
|
+
static serializeBinaryToWriter(_instance: Speech2TextConfig, _writer: BinaryWriter): void;
|
|
1510
|
+
private _id?;
|
|
1511
|
+
private _description?;
|
|
1512
|
+
private _active?;
|
|
1513
|
+
private _inference?;
|
|
1514
|
+
private _streamingServer?;
|
|
1515
|
+
private _voiceActivityDetection?;
|
|
1516
|
+
private _postProcessing?;
|
|
1517
|
+
private _logging?;
|
|
1518
|
+
/**
|
|
1519
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
1520
|
+
* @param _value initial values object or instance of Speech2TextConfig to deeply clone from
|
|
1521
|
+
*/
|
|
1522
|
+
constructor(_value?: RecursivePartial<Speech2TextConfig.AsObject>);
|
|
1523
|
+
get id(): string | undefined;
|
|
1524
|
+
set id(value: string | undefined);
|
|
1525
|
+
get description(): S2TDescription | undefined;
|
|
1526
|
+
set description(value: S2TDescription | undefined);
|
|
1527
|
+
get active(): boolean | undefined;
|
|
1528
|
+
set active(value: boolean | undefined);
|
|
1529
|
+
get inference(): S2TInference | undefined;
|
|
1530
|
+
set inference(value: S2TInference | undefined);
|
|
1531
|
+
get streamingServer(): StreamingServer | undefined;
|
|
1532
|
+
set streamingServer(value: StreamingServer | undefined);
|
|
1533
|
+
get voiceActivityDetection(): VoiceActivityDetection | undefined;
|
|
1534
|
+
set voiceActivityDetection(value: VoiceActivityDetection | undefined);
|
|
1535
|
+
get postProcessing(): PostProcessing | undefined;
|
|
1536
|
+
set postProcessing(value: PostProcessing | undefined);
|
|
1537
|
+
get logging(): Logging | undefined;
|
|
1538
|
+
set logging(value: Logging | undefined);
|
|
1539
|
+
/**
|
|
1540
|
+
* Serialize message to binary data
|
|
1541
|
+
* @param instance message instance
|
|
1542
|
+
*/
|
|
1543
|
+
serializeBinary(): any;
|
|
1544
|
+
/**
|
|
1545
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
1546
|
+
*/
|
|
1547
|
+
toObject(): Speech2TextConfig.AsObject;
|
|
1548
|
+
/**
|
|
1549
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
1550
|
+
*/
|
|
1551
|
+
toJSON(): Speech2TextConfig.AsObject;
|
|
1552
|
+
/**
|
|
1553
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
1554
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
1555
|
+
* 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
|
|
1556
|
+
*/
|
|
1557
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): Speech2TextConfig.AsProtobufJSON;
|
|
1558
|
+
}
|
|
1559
|
+
export declare module Speech2TextConfig {
|
|
1560
|
+
/**
|
|
1561
|
+
* Standard JavaScript object representation for Speech2TextConfig
|
|
1562
|
+
*/
|
|
1563
|
+
interface AsObject {
|
|
1564
|
+
id?: string;
|
|
1565
|
+
description?: S2TDescription.AsObject;
|
|
1566
|
+
active?: boolean;
|
|
1567
|
+
inference?: S2TInference.AsObject;
|
|
1568
|
+
streamingServer?: StreamingServer.AsObject;
|
|
1569
|
+
voiceActivityDetection?: VoiceActivityDetection.AsObject;
|
|
1570
|
+
postProcessing?: PostProcessing.AsObject;
|
|
1571
|
+
logging?: Logging.AsObject;
|
|
1572
|
+
}
|
|
1573
|
+
/**
|
|
1574
|
+
* Protobuf JSON representation for Speech2TextConfig
|
|
1575
|
+
*/
|
|
1576
|
+
interface AsProtobufJSON {
|
|
1577
|
+
id?: string;
|
|
1578
|
+
description?: S2TDescription.AsProtobufJSON | null;
|
|
1579
|
+
active?: boolean;
|
|
1580
|
+
inference?: S2TInference.AsProtobufJSON | null;
|
|
1581
|
+
streamingServer?: StreamingServer.AsProtobufJSON | null;
|
|
1582
|
+
voiceActivityDetection?: VoiceActivityDetection.AsProtobufJSON | null;
|
|
1583
|
+
postProcessing?: PostProcessing.AsProtobufJSON | null;
|
|
1584
|
+
logging?: Logging.AsProtobufJSON | null;
|
|
1585
|
+
}
|
|
1586
|
+
}
|
|
1587
|
+
/**
|
|
1588
|
+
* Message implementation for ondewo.s2t.S2TDescription
|
|
1589
|
+
*/
|
|
1590
|
+
export declare class S2TDescription implements GrpcMessage {
|
|
1591
|
+
static id: string;
|
|
1592
|
+
/**
|
|
1593
|
+
* Deserialize binary data to message
|
|
1594
|
+
* @param instance message instance
|
|
1595
|
+
*/
|
|
1596
|
+
static deserializeBinary(bytes: ByteSource): S2TDescription;
|
|
1597
|
+
/**
|
|
1598
|
+
* Check all the properties and set default protobuf values if necessary
|
|
1599
|
+
* @param _instance message instance
|
|
1600
|
+
*/
|
|
1601
|
+
static refineValues(_instance: S2TDescription): void;
|
|
1602
|
+
/**
|
|
1603
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
1604
|
+
* @param _instance message instance
|
|
1605
|
+
* @param _reader binary reader instance
|
|
1606
|
+
*/
|
|
1607
|
+
static deserializeBinaryFromReader(_instance: S2TDescription, _reader: BinaryReader): void;
|
|
1608
|
+
/**
|
|
1609
|
+
* Serializes a message to binary format using provided binary reader
|
|
1610
|
+
* @param _instance message instance
|
|
1611
|
+
* @param _writer binary writer instance
|
|
1612
|
+
*/
|
|
1613
|
+
static serializeBinaryToWriter(_instance: S2TDescription, _writer: BinaryWriter): void;
|
|
1614
|
+
private _language?;
|
|
1615
|
+
private _pipelineOwner?;
|
|
1616
|
+
private _domain?;
|
|
1617
|
+
private _comments?;
|
|
1618
|
+
/**
|
|
1619
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
1620
|
+
* @param _value initial values object or instance of S2TDescription to deeply clone from
|
|
1621
|
+
*/
|
|
1622
|
+
constructor(_value?: RecursivePartial<S2TDescription.AsObject>);
|
|
1623
|
+
get language(): string | undefined;
|
|
1624
|
+
set language(value: string | undefined);
|
|
1625
|
+
get pipelineOwner(): string | undefined;
|
|
1626
|
+
set pipelineOwner(value: string | undefined);
|
|
1627
|
+
get domain(): string | undefined;
|
|
1628
|
+
set domain(value: string | undefined);
|
|
1629
|
+
get comments(): string | undefined;
|
|
1630
|
+
set comments(value: string | undefined);
|
|
1631
|
+
/**
|
|
1632
|
+
* Serialize message to binary data
|
|
1633
|
+
* @param instance message instance
|
|
1634
|
+
*/
|
|
1635
|
+
serializeBinary(): any;
|
|
1636
|
+
/**
|
|
1637
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
1638
|
+
*/
|
|
1639
|
+
toObject(): S2TDescription.AsObject;
|
|
1640
|
+
/**
|
|
1641
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
1642
|
+
*/
|
|
1643
|
+
toJSON(): S2TDescription.AsObject;
|
|
1644
|
+
/**
|
|
1645
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
1646
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
1647
|
+
* 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
|
|
1648
|
+
*/
|
|
1649
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): S2TDescription.AsProtobufJSON;
|
|
1650
|
+
}
|
|
1651
|
+
export declare module S2TDescription {
|
|
1652
|
+
/**
|
|
1653
|
+
* Standard JavaScript object representation for S2TDescription
|
|
1654
|
+
*/
|
|
1655
|
+
interface AsObject {
|
|
1656
|
+
language?: string;
|
|
1657
|
+
pipelineOwner?: string;
|
|
1658
|
+
domain?: string;
|
|
1659
|
+
comments?: string;
|
|
1660
|
+
}
|
|
1661
|
+
/**
|
|
1662
|
+
* Protobuf JSON representation for S2TDescription
|
|
1663
|
+
*/
|
|
1664
|
+
interface AsProtobufJSON {
|
|
1665
|
+
language?: string;
|
|
1666
|
+
pipelineOwner?: string;
|
|
1667
|
+
domain?: string;
|
|
1668
|
+
comments?: string;
|
|
1669
|
+
}
|
|
1670
|
+
}
|
|
1671
|
+
/**
|
|
1672
|
+
* Message implementation for ondewo.s2t.S2TInference
|
|
1673
|
+
*/
|
|
1674
|
+
export declare class S2TInference implements GrpcMessage {
|
|
1675
|
+
static id: string;
|
|
1676
|
+
/**
|
|
1677
|
+
* Deserialize binary data to message
|
|
1678
|
+
* @param instance message instance
|
|
1679
|
+
*/
|
|
1680
|
+
static deserializeBinary(bytes: ByteSource): S2TInference;
|
|
1681
|
+
/**
|
|
1682
|
+
* Check all the properties and set default protobuf values if necessary
|
|
1683
|
+
* @param _instance message instance
|
|
1684
|
+
*/
|
|
1685
|
+
static refineValues(_instance: S2TInference): void;
|
|
1686
|
+
/**
|
|
1687
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
1688
|
+
* @param _instance message instance
|
|
1689
|
+
* @param _reader binary reader instance
|
|
1690
|
+
*/
|
|
1691
|
+
static deserializeBinaryFromReader(_instance: S2TInference, _reader: BinaryReader): void;
|
|
1692
|
+
/**
|
|
1693
|
+
* Serializes a message to binary format using provided binary reader
|
|
1694
|
+
* @param _instance message instance
|
|
1695
|
+
* @param _writer binary writer instance
|
|
1696
|
+
*/
|
|
1697
|
+
static serializeBinaryToWriter(_instance: S2TInference, _writer: BinaryWriter): void;
|
|
1698
|
+
private _ctcAcousticModels?;
|
|
1699
|
+
private _languageModels?;
|
|
1700
|
+
/**
|
|
1701
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
1702
|
+
* @param _value initial values object or instance of S2TInference to deeply clone from
|
|
1703
|
+
*/
|
|
1704
|
+
constructor(_value?: RecursivePartial<S2TInference.AsObject>);
|
|
1705
|
+
get ctcAcousticModels(): CtcAcousticModels | undefined;
|
|
1706
|
+
set ctcAcousticModels(value: CtcAcousticModels | undefined);
|
|
1707
|
+
get languageModels(): LanguageModels | undefined;
|
|
1708
|
+
set languageModels(value: LanguageModels | undefined);
|
|
1709
|
+
/**
|
|
1710
|
+
* Serialize message to binary data
|
|
1711
|
+
* @param instance message instance
|
|
1712
|
+
*/
|
|
1713
|
+
serializeBinary(): any;
|
|
1714
|
+
/**
|
|
1715
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
1716
|
+
*/
|
|
1717
|
+
toObject(): S2TInference.AsObject;
|
|
1718
|
+
/**
|
|
1719
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
1720
|
+
*/
|
|
1721
|
+
toJSON(): S2TInference.AsObject;
|
|
1722
|
+
/**
|
|
1723
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
1724
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
1725
|
+
* 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
|
|
1726
|
+
*/
|
|
1727
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): S2TInference.AsProtobufJSON;
|
|
1728
|
+
}
|
|
1729
|
+
export declare module S2TInference {
|
|
1730
|
+
/**
|
|
1731
|
+
* Standard JavaScript object representation for S2TInference
|
|
1732
|
+
*/
|
|
1733
|
+
interface AsObject {
|
|
1734
|
+
ctcAcousticModels?: CtcAcousticModels.AsObject;
|
|
1735
|
+
languageModels?: LanguageModels.AsObject;
|
|
1736
|
+
}
|
|
1737
|
+
/**
|
|
1738
|
+
* Protobuf JSON representation for S2TInference
|
|
1739
|
+
*/
|
|
1740
|
+
interface AsProtobufJSON {
|
|
1741
|
+
ctcAcousticModels?: CtcAcousticModels.AsProtobufJSON | null;
|
|
1742
|
+
languageModels?: LanguageModels.AsProtobufJSON | null;
|
|
1743
|
+
}
|
|
1744
|
+
}
|
|
1745
|
+
/**
|
|
1746
|
+
* Message implementation for ondewo.s2t.CtcAcousticModels
|
|
1747
|
+
*/
|
|
1748
|
+
export declare class CtcAcousticModels implements GrpcMessage {
|
|
1749
|
+
static id: string;
|
|
1750
|
+
/**
|
|
1751
|
+
* Deserialize binary data to message
|
|
1752
|
+
* @param instance message instance
|
|
1753
|
+
*/
|
|
1754
|
+
static deserializeBinary(bytes: ByteSource): CtcAcousticModels;
|
|
1755
|
+
/**
|
|
1756
|
+
* Check all the properties and set default protobuf values if necessary
|
|
1757
|
+
* @param _instance message instance
|
|
1758
|
+
*/
|
|
1759
|
+
static refineValues(_instance: CtcAcousticModels): void;
|
|
1760
|
+
/**
|
|
1761
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
1762
|
+
* @param _instance message instance
|
|
1763
|
+
* @param _reader binary reader instance
|
|
1764
|
+
*/
|
|
1765
|
+
static deserializeBinaryFromReader(_instance: CtcAcousticModels, _reader: BinaryReader): void;
|
|
1766
|
+
/**
|
|
1767
|
+
* Serializes a message to binary format using provided binary reader
|
|
1768
|
+
* @param _instance message instance
|
|
1769
|
+
* @param _writer binary writer instance
|
|
1770
|
+
*/
|
|
1771
|
+
static serializeBinaryToWriter(_instance: CtcAcousticModels, _writer: BinaryWriter): void;
|
|
1772
|
+
private _type?;
|
|
1773
|
+
private _quartznet?;
|
|
1774
|
+
private _quartznetTriton?;
|
|
1775
|
+
private _wav2vec?;
|
|
1776
|
+
private _wav2vecTriton?;
|
|
1777
|
+
/**
|
|
1778
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
1779
|
+
* @param _value initial values object or instance of CtcAcousticModels to deeply clone from
|
|
1780
|
+
*/
|
|
1781
|
+
constructor(_value?: RecursivePartial<CtcAcousticModels.AsObject>);
|
|
1782
|
+
get type(): string | undefined;
|
|
1783
|
+
set type(value: string | undefined);
|
|
1784
|
+
get quartznet(): Quartznet | undefined;
|
|
1785
|
+
set quartznet(value: Quartznet | undefined);
|
|
1786
|
+
get quartznetTriton(): QuartznetTriton | undefined;
|
|
1787
|
+
set quartznetTriton(value: QuartznetTriton | undefined);
|
|
1788
|
+
get wav2vec(): Wav2Vec | undefined;
|
|
1789
|
+
set wav2vec(value: Wav2Vec | undefined);
|
|
1790
|
+
get wav2vecTriton(): Wav2VecTriton | undefined;
|
|
1791
|
+
set wav2vecTriton(value: Wav2VecTriton | undefined);
|
|
1792
|
+
/**
|
|
1793
|
+
* Serialize message to binary data
|
|
1794
|
+
* @param instance message instance
|
|
1795
|
+
*/
|
|
1796
|
+
serializeBinary(): any;
|
|
1797
|
+
/**
|
|
1798
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
1799
|
+
*/
|
|
1800
|
+
toObject(): CtcAcousticModels.AsObject;
|
|
1801
|
+
/**
|
|
1802
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
1803
|
+
*/
|
|
1804
|
+
toJSON(): CtcAcousticModels.AsObject;
|
|
1805
|
+
/**
|
|
1806
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
1807
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
1808
|
+
* 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
|
|
1809
|
+
*/
|
|
1810
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): CtcAcousticModels.AsProtobufJSON;
|
|
1811
|
+
}
|
|
1812
|
+
export declare module CtcAcousticModels {
|
|
1813
|
+
/**
|
|
1814
|
+
* Standard JavaScript object representation for CtcAcousticModels
|
|
1815
|
+
*/
|
|
1816
|
+
interface AsObject {
|
|
1817
|
+
type?: string;
|
|
1818
|
+
quartznet?: Quartznet.AsObject;
|
|
1819
|
+
quartznetTriton?: QuartznetTriton.AsObject;
|
|
1820
|
+
wav2vec?: Wav2Vec.AsObject;
|
|
1821
|
+
wav2vecTriton?: Wav2VecTriton.AsObject;
|
|
1822
|
+
}
|
|
1823
|
+
/**
|
|
1824
|
+
* Protobuf JSON representation for CtcAcousticModels
|
|
1825
|
+
*/
|
|
1826
|
+
interface AsProtobufJSON {
|
|
1827
|
+
type?: string;
|
|
1828
|
+
quartznet?: Quartznet.AsProtobufJSON | null;
|
|
1829
|
+
quartznetTriton?: QuartznetTriton.AsProtobufJSON | null;
|
|
1830
|
+
wav2vec?: Wav2Vec.AsProtobufJSON | null;
|
|
1831
|
+
wav2vecTriton?: Wav2VecTriton.AsProtobufJSON | null;
|
|
1832
|
+
}
|
|
1833
|
+
}
|
|
1834
|
+
/**
|
|
1835
|
+
* Message implementation for ondewo.s2t.Wav2Vec
|
|
1836
|
+
*/
|
|
1837
|
+
export declare class Wav2Vec implements GrpcMessage {
|
|
1838
|
+
static id: string;
|
|
1839
|
+
/**
|
|
1840
|
+
* Deserialize binary data to message
|
|
1841
|
+
* @param instance message instance
|
|
1842
|
+
*/
|
|
1843
|
+
static deserializeBinary(bytes: ByteSource): Wav2Vec;
|
|
1844
|
+
/**
|
|
1845
|
+
* Check all the properties and set default protobuf values if necessary
|
|
1846
|
+
* @param _instance message instance
|
|
1847
|
+
*/
|
|
1848
|
+
static refineValues(_instance: Wav2Vec): void;
|
|
1849
|
+
/**
|
|
1850
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
1851
|
+
* @param _instance message instance
|
|
1852
|
+
* @param _reader binary reader instance
|
|
1853
|
+
*/
|
|
1854
|
+
static deserializeBinaryFromReader(_instance: Wav2Vec, _reader: BinaryReader): void;
|
|
1855
|
+
/**
|
|
1856
|
+
* Serializes a message to binary format using provided binary reader
|
|
1857
|
+
* @param _instance message instance
|
|
1858
|
+
* @param _writer binary writer instance
|
|
1859
|
+
*/
|
|
1860
|
+
static serializeBinaryToWriter(_instance: Wav2Vec, _writer: BinaryWriter): void;
|
|
1861
|
+
private _modelPath?;
|
|
1862
|
+
private _useGpu?;
|
|
1863
|
+
/**
|
|
1864
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
1865
|
+
* @param _value initial values object or instance of Wav2Vec to deeply clone from
|
|
1866
|
+
*/
|
|
1867
|
+
constructor(_value?: RecursivePartial<Wav2Vec.AsObject>);
|
|
1868
|
+
get modelPath(): string | undefined;
|
|
1869
|
+
set modelPath(value: string | undefined);
|
|
1870
|
+
get useGpu(): boolean | undefined;
|
|
1871
|
+
set useGpu(value: boolean | undefined);
|
|
1872
|
+
/**
|
|
1873
|
+
* Serialize message to binary data
|
|
1874
|
+
* @param instance message instance
|
|
1875
|
+
*/
|
|
1876
|
+
serializeBinary(): any;
|
|
1877
|
+
/**
|
|
1878
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
1879
|
+
*/
|
|
1880
|
+
toObject(): Wav2Vec.AsObject;
|
|
1881
|
+
/**
|
|
1882
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
1883
|
+
*/
|
|
1884
|
+
toJSON(): Wav2Vec.AsObject;
|
|
1885
|
+
/**
|
|
1886
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
1887
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
1888
|
+
* 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
|
|
1889
|
+
*/
|
|
1890
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): Wav2Vec.AsProtobufJSON;
|
|
1891
|
+
}
|
|
1892
|
+
export declare module Wav2Vec {
|
|
1893
|
+
/**
|
|
1894
|
+
* Standard JavaScript object representation for Wav2Vec
|
|
1895
|
+
*/
|
|
1896
|
+
interface AsObject {
|
|
1897
|
+
modelPath?: string;
|
|
1898
|
+
useGpu?: boolean;
|
|
1899
|
+
}
|
|
1900
|
+
/**
|
|
1901
|
+
* Protobuf JSON representation for Wav2Vec
|
|
1902
|
+
*/
|
|
1903
|
+
interface AsProtobufJSON {
|
|
1904
|
+
modelPath?: string;
|
|
1905
|
+
useGpu?: boolean;
|
|
1906
|
+
}
|
|
1907
|
+
}
|
|
1908
|
+
/**
|
|
1909
|
+
* Message implementation for ondewo.s2t.Wav2VecTriton
|
|
1910
|
+
*/
|
|
1911
|
+
export declare class Wav2VecTriton implements GrpcMessage {
|
|
1912
|
+
static id: string;
|
|
1913
|
+
/**
|
|
1914
|
+
* Deserialize binary data to message
|
|
1915
|
+
* @param instance message instance
|
|
1916
|
+
*/
|
|
1917
|
+
static deserializeBinary(bytes: ByteSource): Wav2VecTriton;
|
|
1918
|
+
/**
|
|
1919
|
+
* Check all the properties and set default protobuf values if necessary
|
|
1920
|
+
* @param _instance message instance
|
|
1921
|
+
*/
|
|
1922
|
+
static refineValues(_instance: Wav2VecTriton): void;
|
|
1923
|
+
/**
|
|
1924
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
1925
|
+
* @param _instance message instance
|
|
1926
|
+
* @param _reader binary reader instance
|
|
1927
|
+
*/
|
|
1928
|
+
static deserializeBinaryFromReader(_instance: Wav2VecTriton, _reader: BinaryReader): void;
|
|
1929
|
+
/**
|
|
1930
|
+
* Serializes a message to binary format using provided binary reader
|
|
1931
|
+
* @param _instance message instance
|
|
1932
|
+
* @param _writer binary writer instance
|
|
1933
|
+
*/
|
|
1934
|
+
static serializeBinaryToWriter(_instance: Wav2VecTriton, _writer: BinaryWriter): void;
|
|
1935
|
+
private _processorPath?;
|
|
1936
|
+
private _tritonModelName?;
|
|
1937
|
+
private _tritonModelVersion?;
|
|
1938
|
+
private _checkStatusTimeout?;
|
|
1939
|
+
/**
|
|
1940
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
1941
|
+
* @param _value initial values object or instance of Wav2VecTriton to deeply clone from
|
|
1942
|
+
*/
|
|
1943
|
+
constructor(_value?: RecursivePartial<Wav2VecTriton.AsObject>);
|
|
1944
|
+
get processorPath(): string | undefined;
|
|
1945
|
+
set processorPath(value: string | undefined);
|
|
1946
|
+
get tritonModelName(): string | undefined;
|
|
1947
|
+
set tritonModelName(value: string | undefined);
|
|
1948
|
+
get tritonModelVersion(): string | undefined;
|
|
1949
|
+
set tritonModelVersion(value: string | undefined);
|
|
1950
|
+
get checkStatusTimeout(): string | undefined;
|
|
1951
|
+
set checkStatusTimeout(value: string | undefined);
|
|
1952
|
+
/**
|
|
1953
|
+
* Serialize message to binary data
|
|
1954
|
+
* @param instance message instance
|
|
1955
|
+
*/
|
|
1956
|
+
serializeBinary(): any;
|
|
1957
|
+
/**
|
|
1958
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
1959
|
+
*/
|
|
1960
|
+
toObject(): Wav2VecTriton.AsObject;
|
|
1961
|
+
/**
|
|
1962
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
1963
|
+
*/
|
|
1964
|
+
toJSON(): Wav2VecTriton.AsObject;
|
|
1965
|
+
/**
|
|
1966
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
1967
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
1968
|
+
* 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
|
|
1969
|
+
*/
|
|
1970
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): Wav2VecTriton.AsProtobufJSON;
|
|
1971
|
+
}
|
|
1972
|
+
export declare module Wav2VecTriton {
|
|
1973
|
+
/**
|
|
1974
|
+
* Standard JavaScript object representation for Wav2VecTriton
|
|
1975
|
+
*/
|
|
1976
|
+
interface AsObject {
|
|
1977
|
+
processorPath?: string;
|
|
1978
|
+
tritonModelName?: string;
|
|
1979
|
+
tritonModelVersion?: string;
|
|
1980
|
+
checkStatusTimeout?: string;
|
|
1981
|
+
}
|
|
1982
|
+
/**
|
|
1983
|
+
* Protobuf JSON representation for Wav2VecTriton
|
|
1984
|
+
*/
|
|
1985
|
+
interface AsProtobufJSON {
|
|
1986
|
+
processorPath?: string;
|
|
1987
|
+
tritonModelName?: string;
|
|
1988
|
+
tritonModelVersion?: string;
|
|
1989
|
+
checkStatusTimeout?: string;
|
|
1990
|
+
}
|
|
1991
|
+
}
|
|
1992
|
+
/**
|
|
1993
|
+
* Message implementation for ondewo.s2t.Quartznet
|
|
1994
|
+
*/
|
|
1995
|
+
export declare class Quartznet implements GrpcMessage {
|
|
1996
|
+
static id: string;
|
|
1997
|
+
/**
|
|
1998
|
+
* Deserialize binary data to message
|
|
1999
|
+
* @param instance message instance
|
|
2000
|
+
*/
|
|
2001
|
+
static deserializeBinary(bytes: ByteSource): Quartznet;
|
|
2002
|
+
/**
|
|
2003
|
+
* Check all the properties and set default protobuf values if necessary
|
|
2004
|
+
* @param _instance message instance
|
|
2005
|
+
*/
|
|
2006
|
+
static refineValues(_instance: Quartznet): void;
|
|
2007
|
+
/**
|
|
2008
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
2009
|
+
* @param _instance message instance
|
|
2010
|
+
* @param _reader binary reader instance
|
|
2011
|
+
*/
|
|
2012
|
+
static deserializeBinaryFromReader(_instance: Quartznet, _reader: BinaryReader): void;
|
|
2013
|
+
/**
|
|
2014
|
+
* Serializes a message to binary format using provided binary reader
|
|
2015
|
+
* @param _instance message instance
|
|
2016
|
+
* @param _writer binary writer instance
|
|
2017
|
+
*/
|
|
2018
|
+
static serializeBinaryToWriter(_instance: Quartznet, _writer: BinaryWriter): void;
|
|
2019
|
+
private _configPath?;
|
|
2020
|
+
private _loadType?;
|
|
2021
|
+
private _ptFiles?;
|
|
2022
|
+
private _ckptFile?;
|
|
2023
|
+
private _useGpu?;
|
|
2024
|
+
/**
|
|
2025
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
2026
|
+
* @param _value initial values object or instance of Quartznet to deeply clone from
|
|
2027
|
+
*/
|
|
2028
|
+
constructor(_value?: RecursivePartial<Quartznet.AsObject>);
|
|
2029
|
+
get configPath(): string | undefined;
|
|
2030
|
+
set configPath(value: string | undefined);
|
|
2031
|
+
get loadType(): string | undefined;
|
|
2032
|
+
set loadType(value: string | undefined);
|
|
2033
|
+
get ptFiles(): PtFiles | undefined;
|
|
2034
|
+
set ptFiles(value: PtFiles | undefined);
|
|
2035
|
+
get ckptFile(): CkptFile | undefined;
|
|
2036
|
+
set ckptFile(value: CkptFile | undefined);
|
|
2037
|
+
get useGpu(): boolean | undefined;
|
|
2038
|
+
set useGpu(value: boolean | undefined);
|
|
2039
|
+
/**
|
|
2040
|
+
* Serialize message to binary data
|
|
2041
|
+
* @param instance message instance
|
|
2042
|
+
*/
|
|
2043
|
+
serializeBinary(): any;
|
|
2044
|
+
/**
|
|
2045
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
2046
|
+
*/
|
|
2047
|
+
toObject(): Quartznet.AsObject;
|
|
2048
|
+
/**
|
|
2049
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
2050
|
+
*/
|
|
2051
|
+
toJSON(): Quartznet.AsObject;
|
|
2052
|
+
/**
|
|
2053
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
2054
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
2055
|
+
* 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
|
|
2056
|
+
*/
|
|
2057
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): Quartznet.AsProtobufJSON;
|
|
2058
|
+
}
|
|
2059
|
+
export declare module Quartznet {
|
|
2060
|
+
/**
|
|
2061
|
+
* Standard JavaScript object representation for Quartznet
|
|
2062
|
+
*/
|
|
2063
|
+
interface AsObject {
|
|
2064
|
+
configPath?: string;
|
|
2065
|
+
loadType?: string;
|
|
2066
|
+
ptFiles?: PtFiles.AsObject;
|
|
2067
|
+
ckptFile?: CkptFile.AsObject;
|
|
2068
|
+
useGpu?: boolean;
|
|
2069
|
+
}
|
|
2070
|
+
/**
|
|
2071
|
+
* Protobuf JSON representation for Quartznet
|
|
2072
|
+
*/
|
|
2073
|
+
interface AsProtobufJSON {
|
|
2074
|
+
configPath?: string;
|
|
2075
|
+
loadType?: string;
|
|
2076
|
+
ptFiles?: PtFiles.AsProtobufJSON | null;
|
|
2077
|
+
ckptFile?: CkptFile.AsProtobufJSON | null;
|
|
2078
|
+
useGpu?: boolean;
|
|
2079
|
+
}
|
|
2080
|
+
}
|
|
2081
|
+
/**
|
|
2082
|
+
* Message implementation for ondewo.s2t.PtFiles
|
|
2083
|
+
*/
|
|
2084
|
+
export declare class PtFiles implements GrpcMessage {
|
|
2085
|
+
static id: string;
|
|
2086
|
+
/**
|
|
2087
|
+
* Deserialize binary data to message
|
|
2088
|
+
* @param instance message instance
|
|
2089
|
+
*/
|
|
2090
|
+
static deserializeBinary(bytes: ByteSource): PtFiles;
|
|
2091
|
+
/**
|
|
2092
|
+
* Check all the properties and set default protobuf values if necessary
|
|
2093
|
+
* @param _instance message instance
|
|
2094
|
+
*/
|
|
2095
|
+
static refineValues(_instance: PtFiles): void;
|
|
2096
|
+
/**
|
|
2097
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
2098
|
+
* @param _instance message instance
|
|
2099
|
+
* @param _reader binary reader instance
|
|
2100
|
+
*/
|
|
2101
|
+
static deserializeBinaryFromReader(_instance: PtFiles, _reader: BinaryReader): void;
|
|
2102
|
+
/**
|
|
2103
|
+
* Serializes a message to binary format using provided binary reader
|
|
2104
|
+
* @param _instance message instance
|
|
2105
|
+
* @param _writer binary writer instance
|
|
2106
|
+
*/
|
|
2107
|
+
static serializeBinaryToWriter(_instance: PtFiles, _writer: BinaryWriter): void;
|
|
2108
|
+
private _path?;
|
|
2109
|
+
private _step?;
|
|
2110
|
+
/**
|
|
2111
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
2112
|
+
* @param _value initial values object or instance of PtFiles to deeply clone from
|
|
2113
|
+
*/
|
|
2114
|
+
constructor(_value?: RecursivePartial<PtFiles.AsObject>);
|
|
2115
|
+
get path(): string | undefined;
|
|
2116
|
+
set path(value: string | undefined);
|
|
2117
|
+
get step(): string | undefined;
|
|
2118
|
+
set step(value: string | undefined);
|
|
2119
|
+
/**
|
|
2120
|
+
* Serialize message to binary data
|
|
2121
|
+
* @param instance message instance
|
|
2122
|
+
*/
|
|
2123
|
+
serializeBinary(): any;
|
|
2124
|
+
/**
|
|
2125
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
2126
|
+
*/
|
|
2127
|
+
toObject(): PtFiles.AsObject;
|
|
2128
|
+
/**
|
|
2129
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
2130
|
+
*/
|
|
2131
|
+
toJSON(): PtFiles.AsObject;
|
|
2132
|
+
/**
|
|
2133
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
2134
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
2135
|
+
* 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
|
|
2136
|
+
*/
|
|
2137
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): PtFiles.AsProtobufJSON;
|
|
2138
|
+
}
|
|
2139
|
+
export declare module PtFiles {
|
|
2140
|
+
/**
|
|
2141
|
+
* Standard JavaScript object representation for PtFiles
|
|
2142
|
+
*/
|
|
2143
|
+
interface AsObject {
|
|
2144
|
+
path?: string;
|
|
2145
|
+
step?: string;
|
|
2146
|
+
}
|
|
2147
|
+
/**
|
|
2148
|
+
* Protobuf JSON representation for PtFiles
|
|
2149
|
+
*/
|
|
2150
|
+
interface AsProtobufJSON {
|
|
2151
|
+
path?: string;
|
|
2152
|
+
step?: string;
|
|
2153
|
+
}
|
|
2154
|
+
}
|
|
2155
|
+
/**
|
|
2156
|
+
* Message implementation for ondewo.s2t.CkptFile
|
|
2157
|
+
*/
|
|
2158
|
+
export declare class CkptFile implements GrpcMessage {
|
|
2159
|
+
static id: string;
|
|
2160
|
+
/**
|
|
2161
|
+
* Deserialize binary data to message
|
|
2162
|
+
* @param instance message instance
|
|
2163
|
+
*/
|
|
2164
|
+
static deserializeBinary(bytes: ByteSource): CkptFile;
|
|
2165
|
+
/**
|
|
2166
|
+
* Check all the properties and set default protobuf values if necessary
|
|
2167
|
+
* @param _instance message instance
|
|
2168
|
+
*/
|
|
2169
|
+
static refineValues(_instance: CkptFile): void;
|
|
2170
|
+
/**
|
|
2171
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
2172
|
+
* @param _instance message instance
|
|
2173
|
+
* @param _reader binary reader instance
|
|
2174
|
+
*/
|
|
2175
|
+
static deserializeBinaryFromReader(_instance: CkptFile, _reader: BinaryReader): void;
|
|
2176
|
+
/**
|
|
2177
|
+
* Serializes a message to binary format using provided binary reader
|
|
2178
|
+
* @param _instance message instance
|
|
2179
|
+
* @param _writer binary writer instance
|
|
2180
|
+
*/
|
|
2181
|
+
static serializeBinaryToWriter(_instance: CkptFile, _writer: BinaryWriter): void;
|
|
2182
|
+
private _path?;
|
|
2183
|
+
/**
|
|
2184
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
2185
|
+
* @param _value initial values object or instance of CkptFile to deeply clone from
|
|
2186
|
+
*/
|
|
2187
|
+
constructor(_value?: RecursivePartial<CkptFile.AsObject>);
|
|
2188
|
+
get path(): string | undefined;
|
|
2189
|
+
set path(value: string | undefined);
|
|
2190
|
+
/**
|
|
2191
|
+
* Serialize message to binary data
|
|
2192
|
+
* @param instance message instance
|
|
2193
|
+
*/
|
|
2194
|
+
serializeBinary(): any;
|
|
2195
|
+
/**
|
|
2196
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
2197
|
+
*/
|
|
2198
|
+
toObject(): CkptFile.AsObject;
|
|
2199
|
+
/**
|
|
2200
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
2201
|
+
*/
|
|
2202
|
+
toJSON(): CkptFile.AsObject;
|
|
2203
|
+
/**
|
|
2204
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
2205
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
2206
|
+
* 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
|
|
2207
|
+
*/
|
|
2208
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): CkptFile.AsProtobufJSON;
|
|
2209
|
+
}
|
|
2210
|
+
export declare module CkptFile {
|
|
2211
|
+
/**
|
|
2212
|
+
* Standard JavaScript object representation for CkptFile
|
|
2213
|
+
*/
|
|
2214
|
+
interface AsObject {
|
|
2215
|
+
path?: string;
|
|
2216
|
+
}
|
|
2217
|
+
/**
|
|
2218
|
+
* Protobuf JSON representation for CkptFile
|
|
2219
|
+
*/
|
|
2220
|
+
interface AsProtobufJSON {
|
|
2221
|
+
path?: string;
|
|
2222
|
+
}
|
|
2223
|
+
}
|
|
2224
|
+
/**
|
|
2225
|
+
* Message implementation for ondewo.s2t.QuartznetTriton
|
|
2226
|
+
*/
|
|
2227
|
+
export declare class QuartznetTriton implements GrpcMessage {
|
|
2228
|
+
static id: string;
|
|
2229
|
+
/**
|
|
2230
|
+
* Deserialize binary data to message
|
|
2231
|
+
* @param instance message instance
|
|
2232
|
+
*/
|
|
2233
|
+
static deserializeBinary(bytes: ByteSource): QuartznetTriton;
|
|
2234
|
+
/**
|
|
2235
|
+
* Check all the properties and set default protobuf values if necessary
|
|
2236
|
+
* @param _instance message instance
|
|
2237
|
+
*/
|
|
2238
|
+
static refineValues(_instance: QuartznetTriton): void;
|
|
2239
|
+
/**
|
|
2240
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
2241
|
+
* @param _instance message instance
|
|
2242
|
+
* @param _reader binary reader instance
|
|
2243
|
+
*/
|
|
2244
|
+
static deserializeBinaryFromReader(_instance: QuartznetTriton, _reader: BinaryReader): void;
|
|
2245
|
+
/**
|
|
2246
|
+
* Serializes a message to binary format using provided binary reader
|
|
2247
|
+
* @param _instance message instance
|
|
2248
|
+
* @param _writer binary writer instance
|
|
2249
|
+
*/
|
|
2250
|
+
static serializeBinaryToWriter(_instance: QuartznetTriton, _writer: BinaryWriter): void;
|
|
2251
|
+
private _configPath?;
|
|
2252
|
+
private _tritonUrl?;
|
|
2253
|
+
private _tritonModel?;
|
|
2254
|
+
/**
|
|
2255
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
2256
|
+
* @param _value initial values object or instance of QuartznetTriton to deeply clone from
|
|
2257
|
+
*/
|
|
2258
|
+
constructor(_value?: RecursivePartial<QuartznetTriton.AsObject>);
|
|
2259
|
+
get configPath(): string | undefined;
|
|
2260
|
+
set configPath(value: string | undefined);
|
|
2261
|
+
get tritonUrl(): string | undefined;
|
|
2262
|
+
set tritonUrl(value: string | undefined);
|
|
2263
|
+
get tritonModel(): string | undefined;
|
|
2264
|
+
set tritonModel(value: string | undefined);
|
|
2265
|
+
/**
|
|
2266
|
+
* Serialize message to binary data
|
|
2267
|
+
* @param instance message instance
|
|
2268
|
+
*/
|
|
2269
|
+
serializeBinary(): any;
|
|
2270
|
+
/**
|
|
2271
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
2272
|
+
*/
|
|
2273
|
+
toObject(): QuartznetTriton.AsObject;
|
|
2274
|
+
/**
|
|
2275
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
2276
|
+
*/
|
|
2277
|
+
toJSON(): QuartznetTriton.AsObject;
|
|
2278
|
+
/**
|
|
2279
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
2280
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
2281
|
+
* 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
|
|
2282
|
+
*/
|
|
2283
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): QuartznetTriton.AsProtobufJSON;
|
|
2284
|
+
}
|
|
2285
|
+
export declare module QuartznetTriton {
|
|
2286
|
+
/**
|
|
2287
|
+
* Standard JavaScript object representation for QuartznetTriton
|
|
2288
|
+
*/
|
|
2289
|
+
interface AsObject {
|
|
2290
|
+
configPath?: string;
|
|
2291
|
+
tritonUrl?: string;
|
|
2292
|
+
tritonModel?: string;
|
|
2293
|
+
}
|
|
2294
|
+
/**
|
|
2295
|
+
* Protobuf JSON representation for QuartznetTriton
|
|
2296
|
+
*/
|
|
2297
|
+
interface AsProtobufJSON {
|
|
2298
|
+
configPath?: string;
|
|
2299
|
+
tritonUrl?: string;
|
|
2300
|
+
tritonModel?: string;
|
|
2301
|
+
}
|
|
2302
|
+
}
|
|
2303
|
+
/**
|
|
2304
|
+
* Message implementation for ondewo.s2t.LanguageModels
|
|
2305
|
+
*/
|
|
2306
|
+
export declare class LanguageModels implements GrpcMessage {
|
|
2307
|
+
static id: string;
|
|
2308
|
+
/**
|
|
2309
|
+
* Deserialize binary data to message
|
|
2310
|
+
* @param instance message instance
|
|
2311
|
+
*/
|
|
2312
|
+
static deserializeBinary(bytes: ByteSource): LanguageModels;
|
|
2313
|
+
/**
|
|
2314
|
+
* Check all the properties and set default protobuf values if necessary
|
|
2315
|
+
* @param _instance message instance
|
|
2316
|
+
*/
|
|
2317
|
+
static refineValues(_instance: LanguageModels): void;
|
|
2318
|
+
/**
|
|
2319
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
2320
|
+
* @param _instance message instance
|
|
2321
|
+
* @param _reader binary reader instance
|
|
2322
|
+
*/
|
|
2323
|
+
static deserializeBinaryFromReader(_instance: LanguageModels, _reader: BinaryReader): void;
|
|
2324
|
+
/**
|
|
2325
|
+
* Serializes a message to binary format using provided binary reader
|
|
2326
|
+
* @param _instance message instance
|
|
2327
|
+
* @param _writer binary writer instance
|
|
2328
|
+
*/
|
|
2329
|
+
static serializeBinaryToWriter(_instance: LanguageModels, _writer: BinaryWriter): void;
|
|
2330
|
+
private _path?;
|
|
2331
|
+
private _beamSize?;
|
|
2332
|
+
private _defaultLm?;
|
|
2333
|
+
private _beamSearchScorerAlpha?;
|
|
2334
|
+
private _beamSearchScorerBeta?;
|
|
2335
|
+
/**
|
|
2336
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
2337
|
+
* @param _value initial values object or instance of LanguageModels to deeply clone from
|
|
2338
|
+
*/
|
|
2339
|
+
constructor(_value?: RecursivePartial<LanguageModels.AsObject>);
|
|
2340
|
+
get path(): string | undefined;
|
|
2341
|
+
set path(value: string | undefined);
|
|
2342
|
+
get beamSize(): string | undefined;
|
|
2343
|
+
set beamSize(value: string | undefined);
|
|
2344
|
+
get defaultLm(): string | undefined;
|
|
2345
|
+
set defaultLm(value: string | undefined);
|
|
2346
|
+
get beamSearchScorerAlpha(): number | undefined;
|
|
2347
|
+
set beamSearchScorerAlpha(value: number | undefined);
|
|
2348
|
+
get beamSearchScorerBeta(): number | undefined;
|
|
2349
|
+
set beamSearchScorerBeta(value: number | undefined);
|
|
2350
|
+
/**
|
|
2351
|
+
* Serialize message to binary data
|
|
2352
|
+
* @param instance message instance
|
|
2353
|
+
*/
|
|
2354
|
+
serializeBinary(): any;
|
|
2355
|
+
/**
|
|
2356
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
2357
|
+
*/
|
|
2358
|
+
toObject(): LanguageModels.AsObject;
|
|
2359
|
+
/**
|
|
2360
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
2361
|
+
*/
|
|
2362
|
+
toJSON(): LanguageModels.AsObject;
|
|
2363
|
+
/**
|
|
2364
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
2365
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
2366
|
+
* 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
|
|
2367
|
+
*/
|
|
2368
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): LanguageModels.AsProtobufJSON;
|
|
2369
|
+
}
|
|
2370
|
+
export declare module LanguageModels {
|
|
2371
|
+
/**
|
|
2372
|
+
* Standard JavaScript object representation for LanguageModels
|
|
2373
|
+
*/
|
|
2374
|
+
interface AsObject {
|
|
2375
|
+
path?: string;
|
|
2376
|
+
beamSize?: string;
|
|
2377
|
+
defaultLm?: string;
|
|
2378
|
+
beamSearchScorerAlpha?: number;
|
|
2379
|
+
beamSearchScorerBeta?: number;
|
|
2380
|
+
}
|
|
2381
|
+
/**
|
|
2382
|
+
* Protobuf JSON representation for LanguageModels
|
|
2383
|
+
*/
|
|
2384
|
+
interface AsProtobufJSON {
|
|
2385
|
+
path?: string;
|
|
2386
|
+
beamSize?: string;
|
|
2387
|
+
defaultLm?: string;
|
|
2388
|
+
beamSearchScorerAlpha?: number;
|
|
2389
|
+
beamSearchScorerBeta?: number;
|
|
2390
|
+
}
|
|
2391
|
+
}
|
|
2392
|
+
/**
|
|
2393
|
+
* Message implementation for ondewo.s2t.StreamingServer
|
|
2394
|
+
*/
|
|
2395
|
+
export declare class StreamingServer implements GrpcMessage {
|
|
2396
|
+
static id: string;
|
|
2397
|
+
/**
|
|
2398
|
+
* Deserialize binary data to message
|
|
2399
|
+
* @param instance message instance
|
|
2400
|
+
*/
|
|
2401
|
+
static deserializeBinary(bytes: ByteSource): StreamingServer;
|
|
2402
|
+
/**
|
|
2403
|
+
* Check all the properties and set default protobuf values if necessary
|
|
2404
|
+
* @param _instance message instance
|
|
2405
|
+
*/
|
|
2406
|
+
static refineValues(_instance: StreamingServer): void;
|
|
2407
|
+
/**
|
|
2408
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
2409
|
+
* @param _instance message instance
|
|
2410
|
+
* @param _reader binary reader instance
|
|
2411
|
+
*/
|
|
2412
|
+
static deserializeBinaryFromReader(_instance: StreamingServer, _reader: BinaryReader): void;
|
|
2413
|
+
/**
|
|
2414
|
+
* Serializes a message to binary format using provided binary reader
|
|
2415
|
+
* @param _instance message instance
|
|
2416
|
+
* @param _writer binary writer instance
|
|
2417
|
+
*/
|
|
2418
|
+
static serializeBinaryToWriter(_instance: StreamingServer, _writer: BinaryWriter): void;
|
|
2419
|
+
private _host?;
|
|
2420
|
+
private _port?;
|
|
2421
|
+
private _outputStyle?;
|
|
2422
|
+
private _streamingSpeechRecognition?;
|
|
2423
|
+
/**
|
|
2424
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
2425
|
+
* @param _value initial values object or instance of StreamingServer to deeply clone from
|
|
2426
|
+
*/
|
|
2427
|
+
constructor(_value?: RecursivePartial<StreamingServer.AsObject>);
|
|
2428
|
+
get host(): string | undefined;
|
|
2429
|
+
set host(value: string | undefined);
|
|
2430
|
+
get port(): string | undefined;
|
|
2431
|
+
set port(value: string | undefined);
|
|
2432
|
+
get outputStyle(): string | undefined;
|
|
2433
|
+
set outputStyle(value: string | undefined);
|
|
2434
|
+
get streamingSpeechRecognition(): StreamingSpeechRecognition | undefined;
|
|
2435
|
+
set streamingSpeechRecognition(value: StreamingSpeechRecognition | undefined);
|
|
2436
|
+
/**
|
|
2437
|
+
* Serialize message to binary data
|
|
2438
|
+
* @param instance message instance
|
|
2439
|
+
*/
|
|
2440
|
+
serializeBinary(): any;
|
|
2441
|
+
/**
|
|
2442
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
2443
|
+
*/
|
|
2444
|
+
toObject(): StreamingServer.AsObject;
|
|
2445
|
+
/**
|
|
2446
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
2447
|
+
*/
|
|
2448
|
+
toJSON(): StreamingServer.AsObject;
|
|
2449
|
+
/**
|
|
2450
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
2451
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
2452
|
+
* 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
|
|
2453
|
+
*/
|
|
2454
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): StreamingServer.AsProtobufJSON;
|
|
2455
|
+
}
|
|
2456
|
+
export declare module StreamingServer {
|
|
2457
|
+
/**
|
|
2458
|
+
* Standard JavaScript object representation for StreamingServer
|
|
2459
|
+
*/
|
|
2460
|
+
interface AsObject {
|
|
2461
|
+
host?: string;
|
|
2462
|
+
port?: string;
|
|
2463
|
+
outputStyle?: string;
|
|
2464
|
+
streamingSpeechRecognition?: StreamingSpeechRecognition.AsObject;
|
|
2465
|
+
}
|
|
2466
|
+
/**
|
|
2467
|
+
* Protobuf JSON representation for StreamingServer
|
|
2468
|
+
*/
|
|
2469
|
+
interface AsProtobufJSON {
|
|
2470
|
+
host?: string;
|
|
2471
|
+
port?: string;
|
|
2472
|
+
outputStyle?: string;
|
|
2473
|
+
streamingSpeechRecognition?: StreamingSpeechRecognition.AsProtobufJSON | null;
|
|
2474
|
+
}
|
|
2475
|
+
}
|
|
2476
|
+
/**
|
|
2477
|
+
* Message implementation for ondewo.s2t.StreamingSpeechRecognition
|
|
2478
|
+
*/
|
|
2479
|
+
export declare class StreamingSpeechRecognition implements GrpcMessage {
|
|
2480
|
+
static id: string;
|
|
2481
|
+
/**
|
|
2482
|
+
* Deserialize binary data to message
|
|
2483
|
+
* @param instance message instance
|
|
2484
|
+
*/
|
|
2485
|
+
static deserializeBinary(bytes: ByteSource): StreamingSpeechRecognition;
|
|
2486
|
+
/**
|
|
2487
|
+
* Check all the properties and set default protobuf values if necessary
|
|
2488
|
+
* @param _instance message instance
|
|
2489
|
+
*/
|
|
2490
|
+
static refineValues(_instance: StreamingSpeechRecognition): void;
|
|
2491
|
+
/**
|
|
2492
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
2493
|
+
* @param _instance message instance
|
|
2494
|
+
* @param _reader binary reader instance
|
|
2495
|
+
*/
|
|
2496
|
+
static deserializeBinaryFromReader(_instance: StreamingSpeechRecognition, _reader: BinaryReader): void;
|
|
2497
|
+
/**
|
|
2498
|
+
* Serializes a message to binary format using provided binary reader
|
|
2499
|
+
* @param _instance message instance
|
|
2500
|
+
* @param _writer binary writer instance
|
|
2501
|
+
*/
|
|
2502
|
+
static serializeBinaryToWriter(_instance: StreamingSpeechRecognition, _writer: BinaryWriter): void;
|
|
2503
|
+
private _transcribeNotFinal?;
|
|
2504
|
+
private _ctcDecodingMethod?;
|
|
2505
|
+
private _samplingRate?;
|
|
2506
|
+
private _minAudioChunkSize?;
|
|
2507
|
+
private _startOfUtteranceThreshold?;
|
|
2508
|
+
private _endOfUtteranceThreshold?;
|
|
2509
|
+
private _nextChunkTimeout?;
|
|
2510
|
+
/**
|
|
2511
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
2512
|
+
* @param _value initial values object or instance of StreamingSpeechRecognition to deeply clone from
|
|
2513
|
+
*/
|
|
2514
|
+
constructor(_value?: RecursivePartial<StreamingSpeechRecognition.AsObject>);
|
|
2515
|
+
get transcribeNotFinal(): boolean | undefined;
|
|
2516
|
+
set transcribeNotFinal(value: boolean | undefined);
|
|
2517
|
+
get ctcDecodingMethod(): string | undefined;
|
|
2518
|
+
set ctcDecodingMethod(value: string | undefined);
|
|
2519
|
+
get samplingRate(): string | undefined;
|
|
2520
|
+
set samplingRate(value: string | undefined);
|
|
2521
|
+
get minAudioChunkSize(): string | undefined;
|
|
2522
|
+
set minAudioChunkSize(value: string | undefined);
|
|
2523
|
+
get startOfUtteranceThreshold(): number | undefined;
|
|
2524
|
+
set startOfUtteranceThreshold(value: number | undefined);
|
|
2525
|
+
get endOfUtteranceThreshold(): number | undefined;
|
|
2526
|
+
set endOfUtteranceThreshold(value: number | undefined);
|
|
2527
|
+
get nextChunkTimeout(): number | undefined;
|
|
2528
|
+
set nextChunkTimeout(value: number | undefined);
|
|
2529
|
+
/**
|
|
2530
|
+
* Serialize message to binary data
|
|
2531
|
+
* @param instance message instance
|
|
2532
|
+
*/
|
|
2533
|
+
serializeBinary(): any;
|
|
2534
|
+
/**
|
|
2535
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
2536
|
+
*/
|
|
2537
|
+
toObject(): StreamingSpeechRecognition.AsObject;
|
|
2538
|
+
/**
|
|
2539
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
2540
|
+
*/
|
|
2541
|
+
toJSON(): StreamingSpeechRecognition.AsObject;
|
|
2542
|
+
/**
|
|
2543
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
2544
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
2545
|
+
* 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
|
|
2546
|
+
*/
|
|
2547
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): StreamingSpeechRecognition.AsProtobufJSON;
|
|
2548
|
+
}
|
|
2549
|
+
export declare module StreamingSpeechRecognition {
|
|
2550
|
+
/**
|
|
2551
|
+
* Standard JavaScript object representation for StreamingSpeechRecognition
|
|
2552
|
+
*/
|
|
2553
|
+
interface AsObject {
|
|
2554
|
+
transcribeNotFinal?: boolean;
|
|
2555
|
+
ctcDecodingMethod?: string;
|
|
2556
|
+
samplingRate?: string;
|
|
2557
|
+
minAudioChunkSize?: string;
|
|
2558
|
+
startOfUtteranceThreshold?: number;
|
|
2559
|
+
endOfUtteranceThreshold?: number;
|
|
2560
|
+
nextChunkTimeout?: number;
|
|
2561
|
+
}
|
|
2562
|
+
/**
|
|
2563
|
+
* Protobuf JSON representation for StreamingSpeechRecognition
|
|
2564
|
+
*/
|
|
2565
|
+
interface AsProtobufJSON {
|
|
2566
|
+
transcribeNotFinal?: boolean;
|
|
2567
|
+
ctcDecodingMethod?: string;
|
|
2568
|
+
samplingRate?: string;
|
|
2569
|
+
minAudioChunkSize?: string;
|
|
2570
|
+
startOfUtteranceThreshold?: number;
|
|
2571
|
+
endOfUtteranceThreshold?: number;
|
|
2572
|
+
nextChunkTimeout?: number;
|
|
2573
|
+
}
|
|
2574
|
+
}
|
|
2575
|
+
/**
|
|
2576
|
+
* Message implementation for ondewo.s2t.VoiceActivityDetection
|
|
2577
|
+
*/
|
|
2578
|
+
export declare class VoiceActivityDetection implements GrpcMessage {
|
|
2579
|
+
static id: string;
|
|
2580
|
+
/**
|
|
2581
|
+
* Deserialize binary data to message
|
|
2582
|
+
* @param instance message instance
|
|
2583
|
+
*/
|
|
2584
|
+
static deserializeBinary(bytes: ByteSource): VoiceActivityDetection;
|
|
2585
|
+
/**
|
|
2586
|
+
* Check all the properties and set default protobuf values if necessary
|
|
2587
|
+
* @param _instance message instance
|
|
2588
|
+
*/
|
|
2589
|
+
static refineValues(_instance: VoiceActivityDetection): void;
|
|
2590
|
+
/**
|
|
2591
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
2592
|
+
* @param _instance message instance
|
|
2593
|
+
* @param _reader binary reader instance
|
|
2594
|
+
*/
|
|
2595
|
+
static deserializeBinaryFromReader(_instance: VoiceActivityDetection, _reader: BinaryReader): void;
|
|
2596
|
+
/**
|
|
2597
|
+
* Serializes a message to binary format using provided binary reader
|
|
2598
|
+
* @param _instance message instance
|
|
2599
|
+
* @param _writer binary writer instance
|
|
2600
|
+
*/
|
|
2601
|
+
static serializeBinaryToWriter(_instance: VoiceActivityDetection, _writer: BinaryWriter): void;
|
|
2602
|
+
private _active?;
|
|
2603
|
+
private _samplingRate?;
|
|
2604
|
+
private _pyannote?;
|
|
2605
|
+
private _matchbox?;
|
|
2606
|
+
/**
|
|
2607
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
2608
|
+
* @param _value initial values object or instance of VoiceActivityDetection to deeply clone from
|
|
2609
|
+
*/
|
|
2610
|
+
constructor(_value?: RecursivePartial<VoiceActivityDetection.AsObject>);
|
|
2611
|
+
get active(): string | undefined;
|
|
2612
|
+
set active(value: string | undefined);
|
|
2613
|
+
get samplingRate(): string | undefined;
|
|
2614
|
+
set samplingRate(value: string | undefined);
|
|
2615
|
+
get pyannote(): Pyannote | undefined;
|
|
2616
|
+
set pyannote(value: Pyannote | undefined);
|
|
2617
|
+
get matchbox(): Matchbox | undefined;
|
|
2618
|
+
set matchbox(value: Matchbox | undefined);
|
|
2619
|
+
/**
|
|
2620
|
+
* Serialize message to binary data
|
|
2621
|
+
* @param instance message instance
|
|
2622
|
+
*/
|
|
2623
|
+
serializeBinary(): any;
|
|
2624
|
+
/**
|
|
2625
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
2626
|
+
*/
|
|
2627
|
+
toObject(): VoiceActivityDetection.AsObject;
|
|
2628
|
+
/**
|
|
2629
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
2630
|
+
*/
|
|
2631
|
+
toJSON(): VoiceActivityDetection.AsObject;
|
|
2632
|
+
/**
|
|
2633
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
2634
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
2635
|
+
* 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
|
|
2636
|
+
*/
|
|
2637
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): VoiceActivityDetection.AsProtobufJSON;
|
|
2638
|
+
}
|
|
2639
|
+
export declare module VoiceActivityDetection {
|
|
2640
|
+
/**
|
|
2641
|
+
* Standard JavaScript object representation for VoiceActivityDetection
|
|
2642
|
+
*/
|
|
2643
|
+
interface AsObject {
|
|
2644
|
+
active?: string;
|
|
2645
|
+
samplingRate?: string;
|
|
2646
|
+
pyannote?: Pyannote.AsObject;
|
|
2647
|
+
matchbox?: Matchbox.AsObject;
|
|
2648
|
+
}
|
|
2649
|
+
/**
|
|
2650
|
+
* Protobuf JSON representation for VoiceActivityDetection
|
|
2651
|
+
*/
|
|
2652
|
+
interface AsProtobufJSON {
|
|
2653
|
+
active?: string;
|
|
2654
|
+
samplingRate?: string;
|
|
2655
|
+
pyannote?: Pyannote.AsProtobufJSON | null;
|
|
2656
|
+
matchbox?: Matchbox.AsProtobufJSON | null;
|
|
2657
|
+
}
|
|
2658
|
+
}
|
|
2659
|
+
/**
|
|
2660
|
+
* Message implementation for ondewo.s2t.Pyannote
|
|
2661
|
+
*/
|
|
2662
|
+
export declare class Pyannote implements GrpcMessage {
|
|
2663
|
+
static id: string;
|
|
2664
|
+
/**
|
|
2665
|
+
* Deserialize binary data to message
|
|
2666
|
+
* @param instance message instance
|
|
2667
|
+
*/
|
|
2668
|
+
static deserializeBinary(bytes: ByteSource): Pyannote;
|
|
2669
|
+
/**
|
|
2670
|
+
* Check all the properties and set default protobuf values if necessary
|
|
2671
|
+
* @param _instance message instance
|
|
2672
|
+
*/
|
|
2673
|
+
static refineValues(_instance: Pyannote): void;
|
|
2674
|
+
/**
|
|
2675
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
2676
|
+
* @param _instance message instance
|
|
2677
|
+
* @param _reader binary reader instance
|
|
2678
|
+
*/
|
|
2679
|
+
static deserializeBinaryFromReader(_instance: Pyannote, _reader: BinaryReader): void;
|
|
2680
|
+
/**
|
|
2681
|
+
* Serializes a message to binary format using provided binary reader
|
|
2682
|
+
* @param _instance message instance
|
|
2683
|
+
* @param _writer binary writer instance
|
|
2684
|
+
*/
|
|
2685
|
+
static serializeBinaryToWriter(_instance: Pyannote, _writer: BinaryWriter): void;
|
|
2686
|
+
private _modelPath?;
|
|
2687
|
+
private _minAudioSize?;
|
|
2688
|
+
private _offset?;
|
|
2689
|
+
private _onset?;
|
|
2690
|
+
private _logScale?;
|
|
2691
|
+
private _minDurationOff?;
|
|
2692
|
+
private _minDurationOn?;
|
|
2693
|
+
private _oneofLogScale;
|
|
2694
|
+
/**
|
|
2695
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
2696
|
+
* @param _value initial values object or instance of Pyannote to deeply clone from
|
|
2697
|
+
*/
|
|
2698
|
+
constructor(_value?: RecursivePartial<Pyannote.AsObject>);
|
|
2699
|
+
get modelPath(): string | undefined;
|
|
2700
|
+
set modelPath(value: string | undefined);
|
|
2701
|
+
get minAudioSize(): string | undefined;
|
|
2702
|
+
set minAudioSize(value: string | undefined);
|
|
2703
|
+
get offset(): number | undefined;
|
|
2704
|
+
set offset(value: number | undefined);
|
|
2705
|
+
get onset(): number | undefined;
|
|
2706
|
+
set onset(value: number | undefined);
|
|
2707
|
+
get logScale(): boolean | undefined;
|
|
2708
|
+
set logScale(value: boolean | undefined);
|
|
2709
|
+
get minDurationOff(): number | undefined;
|
|
2710
|
+
set minDurationOff(value: number | undefined);
|
|
2711
|
+
get minDurationOn(): number | undefined;
|
|
2712
|
+
set minDurationOn(value: number | undefined);
|
|
2713
|
+
get oneofLogScale(): Pyannote.OneofLogScaleCase;
|
|
2714
|
+
/**
|
|
2715
|
+
* Serialize message to binary data
|
|
2716
|
+
* @param instance message instance
|
|
2717
|
+
*/
|
|
2718
|
+
serializeBinary(): any;
|
|
2719
|
+
/**
|
|
2720
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
2721
|
+
*/
|
|
2722
|
+
toObject(): Pyannote.AsObject;
|
|
2723
|
+
/**
|
|
2724
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
2725
|
+
*/
|
|
2726
|
+
toJSON(): Pyannote.AsObject;
|
|
2727
|
+
/**
|
|
2728
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
2729
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
2730
|
+
* 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
|
|
2731
|
+
*/
|
|
2732
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): Pyannote.AsProtobufJSON;
|
|
2733
|
+
}
|
|
2734
|
+
export declare module Pyannote {
|
|
2735
|
+
/**
|
|
2736
|
+
* Standard JavaScript object representation for Pyannote
|
|
2737
|
+
*/
|
|
2738
|
+
interface AsObject {
|
|
2739
|
+
modelPath?: string;
|
|
2740
|
+
minAudioSize?: string;
|
|
2741
|
+
offset?: number;
|
|
2742
|
+
onset?: number;
|
|
2743
|
+
logScale?: boolean;
|
|
2744
|
+
minDurationOff?: number;
|
|
2745
|
+
minDurationOn?: number;
|
|
2746
|
+
}
|
|
2747
|
+
/**
|
|
2748
|
+
* Protobuf JSON representation for Pyannote
|
|
2749
|
+
*/
|
|
2750
|
+
interface AsProtobufJSON {
|
|
2751
|
+
modelPath?: string;
|
|
2752
|
+
minAudioSize?: string;
|
|
2753
|
+
offset?: number;
|
|
2754
|
+
onset?: number;
|
|
2755
|
+
logScale?: boolean;
|
|
2756
|
+
minDurationOff?: number;
|
|
2757
|
+
minDurationOn?: number;
|
|
2758
|
+
}
|
|
2759
|
+
enum OneofLogScaleCase {
|
|
2760
|
+
none = 0,
|
|
2761
|
+
logScale = 1
|
|
2762
|
+
}
|
|
2763
|
+
}
|
|
2764
|
+
/**
|
|
2765
|
+
* Message implementation for ondewo.s2t.Matchbox
|
|
2766
|
+
*/
|
|
2767
|
+
export declare class Matchbox implements GrpcMessage {
|
|
2768
|
+
static id: string;
|
|
2769
|
+
/**
|
|
2770
|
+
* Deserialize binary data to message
|
|
2771
|
+
* @param instance message instance
|
|
2772
|
+
*/
|
|
2773
|
+
static deserializeBinary(bytes: ByteSource): Matchbox;
|
|
2774
|
+
/**
|
|
2775
|
+
* Check all the properties and set default protobuf values if necessary
|
|
2776
|
+
* @param _instance message instance
|
|
2777
|
+
*/
|
|
2778
|
+
static refineValues(_instance: Matchbox): void;
|
|
2779
|
+
/**
|
|
2780
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
2781
|
+
* @param _instance message instance
|
|
2782
|
+
* @param _reader binary reader instance
|
|
2783
|
+
*/
|
|
2784
|
+
static deserializeBinaryFromReader(_instance: Matchbox, _reader: BinaryReader): void;
|
|
2785
|
+
/**
|
|
2786
|
+
* Serializes a message to binary format using provided binary reader
|
|
2787
|
+
* @param _instance message instance
|
|
2788
|
+
* @param _writer binary writer instance
|
|
2789
|
+
*/
|
|
2790
|
+
static serializeBinaryToWriter(_instance: Matchbox, _writer: BinaryWriter): void;
|
|
2791
|
+
private _modelConfig?;
|
|
2792
|
+
private _encoderPath?;
|
|
2793
|
+
private _decoderPath?;
|
|
2794
|
+
/**
|
|
2795
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
2796
|
+
* @param _value initial values object or instance of Matchbox to deeply clone from
|
|
2797
|
+
*/
|
|
2798
|
+
constructor(_value?: RecursivePartial<Matchbox.AsObject>);
|
|
2799
|
+
get modelConfig(): string | undefined;
|
|
2800
|
+
set modelConfig(value: string | undefined);
|
|
2801
|
+
get encoderPath(): string | undefined;
|
|
2802
|
+
set encoderPath(value: string | undefined);
|
|
2803
|
+
get decoderPath(): string | undefined;
|
|
2804
|
+
set decoderPath(value: string | undefined);
|
|
2805
|
+
/**
|
|
2806
|
+
* Serialize message to binary data
|
|
2807
|
+
* @param instance message instance
|
|
2808
|
+
*/
|
|
2809
|
+
serializeBinary(): any;
|
|
2810
|
+
/**
|
|
2811
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
2812
|
+
*/
|
|
2813
|
+
toObject(): Matchbox.AsObject;
|
|
2814
|
+
/**
|
|
2815
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
2816
|
+
*/
|
|
2817
|
+
toJSON(): Matchbox.AsObject;
|
|
2818
|
+
/**
|
|
2819
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
2820
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
2821
|
+
* 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
|
|
2822
|
+
*/
|
|
2823
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): Matchbox.AsProtobufJSON;
|
|
2824
|
+
}
|
|
2825
|
+
export declare module Matchbox {
|
|
2826
|
+
/**
|
|
2827
|
+
* Standard JavaScript object representation for Matchbox
|
|
2828
|
+
*/
|
|
2829
|
+
interface AsObject {
|
|
2830
|
+
modelConfig?: string;
|
|
2831
|
+
encoderPath?: string;
|
|
2832
|
+
decoderPath?: string;
|
|
2833
|
+
}
|
|
2834
|
+
/**
|
|
2835
|
+
* Protobuf JSON representation for Matchbox
|
|
2836
|
+
*/
|
|
2837
|
+
interface AsProtobufJSON {
|
|
2838
|
+
modelConfig?: string;
|
|
2839
|
+
encoderPath?: string;
|
|
2840
|
+
decoderPath?: string;
|
|
2841
|
+
}
|
|
2842
|
+
}
|
|
2843
|
+
/**
|
|
2844
|
+
* Message implementation for ondewo.s2t.PostProcessing
|
|
2845
|
+
*/
|
|
2846
|
+
export declare class PostProcessing implements GrpcMessage {
|
|
2847
|
+
static id: string;
|
|
2848
|
+
/**
|
|
2849
|
+
* Deserialize binary data to message
|
|
2850
|
+
* @param instance message instance
|
|
2851
|
+
*/
|
|
2852
|
+
static deserializeBinary(bytes: ByteSource): PostProcessing;
|
|
2853
|
+
/**
|
|
2854
|
+
* Check all the properties and set default protobuf values if necessary
|
|
2855
|
+
* @param _instance message instance
|
|
2856
|
+
*/
|
|
2857
|
+
static refineValues(_instance: PostProcessing): void;
|
|
2858
|
+
/**
|
|
2859
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
2860
|
+
* @param _instance message instance
|
|
2861
|
+
* @param _reader binary reader instance
|
|
2862
|
+
*/
|
|
2863
|
+
static deserializeBinaryFromReader(_instance: PostProcessing, _reader: BinaryReader): void;
|
|
2864
|
+
/**
|
|
2865
|
+
* Serializes a message to binary format using provided binary reader
|
|
2866
|
+
* @param _instance message instance
|
|
2867
|
+
* @param _writer binary writer instance
|
|
2868
|
+
*/
|
|
2869
|
+
static serializeBinaryToWriter(_instance: PostProcessing, _writer: BinaryWriter): void;
|
|
2870
|
+
private _pipeline?;
|
|
2871
|
+
private _postProcessors?;
|
|
2872
|
+
/**
|
|
2873
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
2874
|
+
* @param _value initial values object or instance of PostProcessing to deeply clone from
|
|
2875
|
+
*/
|
|
2876
|
+
constructor(_value?: RecursivePartial<PostProcessing.AsObject>);
|
|
2877
|
+
get pipeline(): string[] | undefined;
|
|
2878
|
+
set pipeline(value: string[] | undefined);
|
|
2879
|
+
get postProcessors(): PostProcessors | undefined;
|
|
2880
|
+
set postProcessors(value: PostProcessors | undefined);
|
|
2881
|
+
/**
|
|
2882
|
+
* Serialize message to binary data
|
|
2883
|
+
* @param instance message instance
|
|
2884
|
+
*/
|
|
2885
|
+
serializeBinary(): any;
|
|
2886
|
+
/**
|
|
2887
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
2888
|
+
*/
|
|
2889
|
+
toObject(): PostProcessing.AsObject;
|
|
2890
|
+
/**
|
|
2891
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
2892
|
+
*/
|
|
2893
|
+
toJSON(): PostProcessing.AsObject;
|
|
2894
|
+
/**
|
|
2895
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
2896
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
2897
|
+
* 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
|
|
2898
|
+
*/
|
|
2899
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): PostProcessing.AsProtobufJSON;
|
|
2900
|
+
}
|
|
2901
|
+
export declare module PostProcessing {
|
|
2902
|
+
/**
|
|
2903
|
+
* Standard JavaScript object representation for PostProcessing
|
|
2904
|
+
*/
|
|
2905
|
+
interface AsObject {
|
|
2906
|
+
pipeline?: string[];
|
|
2907
|
+
postProcessors?: PostProcessors.AsObject;
|
|
2908
|
+
}
|
|
2909
|
+
/**
|
|
2910
|
+
* Protobuf JSON representation for PostProcessing
|
|
2911
|
+
*/
|
|
2912
|
+
interface AsProtobufJSON {
|
|
2913
|
+
pipeline?: string[];
|
|
2914
|
+
postProcessors?: PostProcessors.AsProtobufJSON | null;
|
|
2915
|
+
}
|
|
2916
|
+
}
|
|
2917
|
+
/**
|
|
2918
|
+
* Message implementation for ondewo.s2t.PostProcessors
|
|
2919
|
+
*/
|
|
2920
|
+
export declare class PostProcessors implements GrpcMessage {
|
|
2921
|
+
static id: string;
|
|
2922
|
+
/**
|
|
2923
|
+
* Deserialize binary data to message
|
|
2924
|
+
* @param instance message instance
|
|
2925
|
+
*/
|
|
2926
|
+
static deserializeBinary(bytes: ByteSource): PostProcessors;
|
|
2927
|
+
/**
|
|
2928
|
+
* Check all the properties and set default protobuf values if necessary
|
|
2929
|
+
* @param _instance message instance
|
|
2930
|
+
*/
|
|
2931
|
+
static refineValues(_instance: PostProcessors): void;
|
|
2932
|
+
/**
|
|
2933
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
2934
|
+
* @param _instance message instance
|
|
2935
|
+
* @param _reader binary reader instance
|
|
2936
|
+
*/
|
|
2937
|
+
static deserializeBinaryFromReader(_instance: PostProcessors, _reader: BinaryReader): void;
|
|
2938
|
+
/**
|
|
2939
|
+
* Serializes a message to binary format using provided binary reader
|
|
2940
|
+
* @param _instance message instance
|
|
2941
|
+
* @param _writer binary writer instance
|
|
2942
|
+
*/
|
|
2943
|
+
static serializeBinaryToWriter(_instance: PostProcessors, _writer: BinaryWriter): void;
|
|
2944
|
+
private _symSpell?;
|
|
2945
|
+
private _normalization?;
|
|
2946
|
+
/**
|
|
2947
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
2948
|
+
* @param _value initial values object or instance of PostProcessors to deeply clone from
|
|
2949
|
+
*/
|
|
2950
|
+
constructor(_value?: RecursivePartial<PostProcessors.AsObject>);
|
|
2951
|
+
get symSpell(): SymSpell | undefined;
|
|
2952
|
+
set symSpell(value: SymSpell | undefined);
|
|
2953
|
+
get normalization(): S2TNormalization | undefined;
|
|
2954
|
+
set normalization(value: S2TNormalization | undefined);
|
|
2955
|
+
/**
|
|
2956
|
+
* Serialize message to binary data
|
|
2957
|
+
* @param instance message instance
|
|
2958
|
+
*/
|
|
2959
|
+
serializeBinary(): any;
|
|
2960
|
+
/**
|
|
2961
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
2962
|
+
*/
|
|
2963
|
+
toObject(): PostProcessors.AsObject;
|
|
2964
|
+
/**
|
|
2965
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
2966
|
+
*/
|
|
2967
|
+
toJSON(): PostProcessors.AsObject;
|
|
2968
|
+
/**
|
|
2969
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
2970
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
2971
|
+
* 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
|
|
2972
|
+
*/
|
|
2973
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): PostProcessors.AsProtobufJSON;
|
|
2974
|
+
}
|
|
2975
|
+
export declare module PostProcessors {
|
|
2976
|
+
/**
|
|
2977
|
+
* Standard JavaScript object representation for PostProcessors
|
|
2978
|
+
*/
|
|
2979
|
+
interface AsObject {
|
|
2980
|
+
symSpell?: SymSpell.AsObject;
|
|
2981
|
+
normalization?: S2TNormalization.AsObject;
|
|
2982
|
+
}
|
|
2983
|
+
/**
|
|
2984
|
+
* Protobuf JSON representation for PostProcessors
|
|
2985
|
+
*/
|
|
2986
|
+
interface AsProtobufJSON {
|
|
2987
|
+
symSpell?: SymSpell.AsProtobufJSON | null;
|
|
2988
|
+
normalization?: S2TNormalization.AsProtobufJSON | null;
|
|
2989
|
+
}
|
|
2990
|
+
}
|
|
2991
|
+
/**
|
|
2992
|
+
* Message implementation for ondewo.s2t.SymSpell
|
|
2993
|
+
*/
|
|
2994
|
+
export declare class SymSpell implements GrpcMessage {
|
|
2995
|
+
static id: string;
|
|
2996
|
+
/**
|
|
2997
|
+
* Deserialize binary data to message
|
|
2998
|
+
* @param instance message instance
|
|
2999
|
+
*/
|
|
3000
|
+
static deserializeBinary(bytes: ByteSource): SymSpell;
|
|
3001
|
+
/**
|
|
3002
|
+
* Check all the properties and set default protobuf values if necessary
|
|
3003
|
+
* @param _instance message instance
|
|
3004
|
+
*/
|
|
3005
|
+
static refineValues(_instance: SymSpell): void;
|
|
3006
|
+
/**
|
|
3007
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
3008
|
+
* @param _instance message instance
|
|
3009
|
+
* @param _reader binary reader instance
|
|
3010
|
+
*/
|
|
3011
|
+
static deserializeBinaryFromReader(_instance: SymSpell, _reader: BinaryReader): void;
|
|
3012
|
+
/**
|
|
3013
|
+
* Serializes a message to binary format using provided binary reader
|
|
3014
|
+
* @param _instance message instance
|
|
3015
|
+
* @param _writer binary writer instance
|
|
3016
|
+
*/
|
|
3017
|
+
static serializeBinaryToWriter(_instance: SymSpell, _writer: BinaryWriter): void;
|
|
3018
|
+
private _dictPath?;
|
|
3019
|
+
private _maxDictionaryEditDistance?;
|
|
3020
|
+
private _prefixLength?;
|
|
3021
|
+
/**
|
|
3022
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
3023
|
+
* @param _value initial values object or instance of SymSpell to deeply clone from
|
|
3024
|
+
*/
|
|
3025
|
+
constructor(_value?: RecursivePartial<SymSpell.AsObject>);
|
|
3026
|
+
get dictPath(): string | undefined;
|
|
3027
|
+
set dictPath(value: string | undefined);
|
|
3028
|
+
get maxDictionaryEditDistance(): string | undefined;
|
|
3029
|
+
set maxDictionaryEditDistance(value: string | undefined);
|
|
3030
|
+
get prefixLength(): string | undefined;
|
|
3031
|
+
set prefixLength(value: string | undefined);
|
|
3032
|
+
/**
|
|
3033
|
+
* Serialize message to binary data
|
|
3034
|
+
* @param instance message instance
|
|
3035
|
+
*/
|
|
3036
|
+
serializeBinary(): any;
|
|
3037
|
+
/**
|
|
3038
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
3039
|
+
*/
|
|
3040
|
+
toObject(): SymSpell.AsObject;
|
|
3041
|
+
/**
|
|
3042
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
3043
|
+
*/
|
|
3044
|
+
toJSON(): SymSpell.AsObject;
|
|
3045
|
+
/**
|
|
3046
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
3047
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
3048
|
+
* 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
|
|
3049
|
+
*/
|
|
3050
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): SymSpell.AsProtobufJSON;
|
|
3051
|
+
}
|
|
3052
|
+
export declare module SymSpell {
|
|
3053
|
+
/**
|
|
3054
|
+
* Standard JavaScript object representation for SymSpell
|
|
3055
|
+
*/
|
|
3056
|
+
interface AsObject {
|
|
3057
|
+
dictPath?: string;
|
|
3058
|
+
maxDictionaryEditDistance?: string;
|
|
3059
|
+
prefixLength?: string;
|
|
3060
|
+
}
|
|
3061
|
+
/**
|
|
3062
|
+
* Protobuf JSON representation for SymSpell
|
|
3063
|
+
*/
|
|
3064
|
+
interface AsProtobufJSON {
|
|
3065
|
+
dictPath?: string;
|
|
3066
|
+
maxDictionaryEditDistance?: string;
|
|
3067
|
+
prefixLength?: string;
|
|
3068
|
+
}
|
|
3069
|
+
}
|
|
3070
|
+
/**
|
|
3071
|
+
* Message implementation for ondewo.s2t.S2TNormalization
|
|
3072
|
+
*/
|
|
3073
|
+
export declare class S2TNormalization implements GrpcMessage {
|
|
3074
|
+
static id: string;
|
|
3075
|
+
/**
|
|
3076
|
+
* Deserialize binary data to message
|
|
3077
|
+
* @param instance message instance
|
|
3078
|
+
*/
|
|
3079
|
+
static deserializeBinary(bytes: ByteSource): S2TNormalization;
|
|
3080
|
+
/**
|
|
3081
|
+
* Check all the properties and set default protobuf values if necessary
|
|
3082
|
+
* @param _instance message instance
|
|
3083
|
+
*/
|
|
3084
|
+
static refineValues(_instance: S2TNormalization): void;
|
|
3085
|
+
/**
|
|
3086
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
3087
|
+
* @param _instance message instance
|
|
3088
|
+
* @param _reader binary reader instance
|
|
3089
|
+
*/
|
|
3090
|
+
static deserializeBinaryFromReader(_instance: S2TNormalization, _reader: BinaryReader): void;
|
|
3091
|
+
/**
|
|
3092
|
+
* Serializes a message to binary format using provided binary reader
|
|
3093
|
+
* @param _instance message instance
|
|
3094
|
+
* @param _writer binary writer instance
|
|
3095
|
+
*/
|
|
3096
|
+
static serializeBinaryToWriter(_instance: S2TNormalization, _writer: BinaryWriter): void;
|
|
3097
|
+
private _language?;
|
|
3098
|
+
/**
|
|
3099
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
3100
|
+
* @param _value initial values object or instance of S2TNormalization to deeply clone from
|
|
3101
|
+
*/
|
|
3102
|
+
constructor(_value?: RecursivePartial<S2TNormalization.AsObject>);
|
|
3103
|
+
get language(): string | undefined;
|
|
3104
|
+
set language(value: string | undefined);
|
|
3105
|
+
/**
|
|
3106
|
+
* Serialize message to binary data
|
|
3107
|
+
* @param instance message instance
|
|
3108
|
+
*/
|
|
3109
|
+
serializeBinary(): any;
|
|
3110
|
+
/**
|
|
3111
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
3112
|
+
*/
|
|
3113
|
+
toObject(): S2TNormalization.AsObject;
|
|
3114
|
+
/**
|
|
3115
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
3116
|
+
*/
|
|
3117
|
+
toJSON(): S2TNormalization.AsObject;
|
|
3118
|
+
/**
|
|
3119
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
3120
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
3121
|
+
* 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
|
|
3122
|
+
*/
|
|
3123
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): S2TNormalization.AsProtobufJSON;
|
|
3124
|
+
}
|
|
3125
|
+
export declare module S2TNormalization {
|
|
3126
|
+
/**
|
|
3127
|
+
* Standard JavaScript object representation for S2TNormalization
|
|
3128
|
+
*/
|
|
3129
|
+
interface AsObject {
|
|
3130
|
+
language?: string;
|
|
3131
|
+
}
|
|
3132
|
+
/**
|
|
3133
|
+
* Protobuf JSON representation for S2TNormalization
|
|
3134
|
+
*/
|
|
3135
|
+
interface AsProtobufJSON {
|
|
3136
|
+
language?: string;
|
|
3137
|
+
}
|
|
3138
|
+
}
|
|
3139
|
+
/**
|
|
3140
|
+
* Message implementation for ondewo.s2t.Logging
|
|
3141
|
+
*/
|
|
3142
|
+
export declare class Logging implements GrpcMessage {
|
|
3143
|
+
static id: string;
|
|
3144
|
+
/**
|
|
3145
|
+
* Deserialize binary data to message
|
|
3146
|
+
* @param instance message instance
|
|
3147
|
+
*/
|
|
3148
|
+
static deserializeBinary(bytes: ByteSource): Logging;
|
|
3149
|
+
/**
|
|
3150
|
+
* Check all the properties and set default protobuf values if necessary
|
|
3151
|
+
* @param _instance message instance
|
|
3152
|
+
*/
|
|
3153
|
+
static refineValues(_instance: Logging): void;
|
|
3154
|
+
/**
|
|
3155
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
3156
|
+
* @param _instance message instance
|
|
3157
|
+
* @param _reader binary reader instance
|
|
3158
|
+
*/
|
|
3159
|
+
static deserializeBinaryFromReader(_instance: Logging, _reader: BinaryReader): void;
|
|
3160
|
+
/**
|
|
3161
|
+
* Serializes a message to binary format using provided binary reader
|
|
3162
|
+
* @param _instance message instance
|
|
3163
|
+
* @param _writer binary writer instance
|
|
3164
|
+
*/
|
|
3165
|
+
static serializeBinaryToWriter(_instance: Logging, _writer: BinaryWriter): void;
|
|
3166
|
+
private _type?;
|
|
3167
|
+
private _path?;
|
|
3168
|
+
/**
|
|
3169
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
3170
|
+
* @param _value initial values object or instance of Logging to deeply clone from
|
|
3171
|
+
*/
|
|
3172
|
+
constructor(_value?: RecursivePartial<Logging.AsObject>);
|
|
3173
|
+
get type(): string | undefined;
|
|
3174
|
+
set type(value: string | undefined);
|
|
3175
|
+
get path(): string | undefined;
|
|
3176
|
+
set path(value: string | undefined);
|
|
3177
|
+
/**
|
|
3178
|
+
* Serialize message to binary data
|
|
3179
|
+
* @param instance message instance
|
|
3180
|
+
*/
|
|
3181
|
+
serializeBinary(): any;
|
|
3182
|
+
/**
|
|
3183
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
3184
|
+
*/
|
|
3185
|
+
toObject(): Logging.AsObject;
|
|
3186
|
+
/**
|
|
3187
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
3188
|
+
*/
|
|
3189
|
+
toJSON(): Logging.AsObject;
|
|
3190
|
+
/**
|
|
3191
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
3192
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
3193
|
+
* 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
|
|
3194
|
+
*/
|
|
3195
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): Logging.AsProtobufJSON;
|
|
3196
|
+
}
|
|
3197
|
+
export declare module Logging {
|
|
3198
|
+
/**
|
|
3199
|
+
* Standard JavaScript object representation for Logging
|
|
3200
|
+
*/
|
|
3201
|
+
interface AsObject {
|
|
3202
|
+
type?: string;
|
|
3203
|
+
path?: string;
|
|
3204
|
+
}
|
|
3205
|
+
/**
|
|
3206
|
+
* Protobuf JSON representation for Logging
|
|
3207
|
+
*/
|
|
3208
|
+
interface AsProtobufJSON {
|
|
3209
|
+
type?: string;
|
|
3210
|
+
path?: string;
|
|
3211
|
+
}
|
|
3212
|
+
}
|
|
3213
|
+
/**
|
|
3214
|
+
* Message implementation for ondewo.s2t.ListS2tLanguageModelsRequest
|
|
3215
|
+
*/
|
|
3216
|
+
export declare class ListS2tLanguageModelsRequest implements GrpcMessage {
|
|
3217
|
+
static id: string;
|
|
3218
|
+
/**
|
|
3219
|
+
* Deserialize binary data to message
|
|
3220
|
+
* @param instance message instance
|
|
3221
|
+
*/
|
|
3222
|
+
static deserializeBinary(bytes: ByteSource): ListS2tLanguageModelsRequest;
|
|
3223
|
+
/**
|
|
3224
|
+
* Check all the properties and set default protobuf values if necessary
|
|
3225
|
+
* @param _instance message instance
|
|
3226
|
+
*/
|
|
3227
|
+
static refineValues(_instance: ListS2tLanguageModelsRequest): void;
|
|
3228
|
+
/**
|
|
3229
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
3230
|
+
* @param _instance message instance
|
|
3231
|
+
* @param _reader binary reader instance
|
|
3232
|
+
*/
|
|
3233
|
+
static deserializeBinaryFromReader(_instance: ListS2tLanguageModelsRequest, _reader: BinaryReader): void;
|
|
3234
|
+
/**
|
|
3235
|
+
* Serializes a message to binary format using provided binary reader
|
|
3236
|
+
* @param _instance message instance
|
|
3237
|
+
* @param _writer binary writer instance
|
|
3238
|
+
*/
|
|
3239
|
+
static serializeBinaryToWriter(_instance: ListS2tLanguageModelsRequest, _writer: BinaryWriter): void;
|
|
3240
|
+
private _ids?;
|
|
3241
|
+
/**
|
|
3242
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
3243
|
+
* @param _value initial values object or instance of ListS2tLanguageModelsRequest to deeply clone from
|
|
3244
|
+
*/
|
|
3245
|
+
constructor(_value?: RecursivePartial<ListS2tLanguageModelsRequest.AsObject>);
|
|
3246
|
+
get ids(): string[] | undefined;
|
|
3247
|
+
set ids(value: string[] | undefined);
|
|
3248
|
+
/**
|
|
3249
|
+
* Serialize message to binary data
|
|
3250
|
+
* @param instance message instance
|
|
3251
|
+
*/
|
|
3252
|
+
serializeBinary(): any;
|
|
3253
|
+
/**
|
|
3254
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
3255
|
+
*/
|
|
3256
|
+
toObject(): ListS2tLanguageModelsRequest.AsObject;
|
|
3257
|
+
/**
|
|
3258
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
3259
|
+
*/
|
|
3260
|
+
toJSON(): ListS2tLanguageModelsRequest.AsObject;
|
|
3261
|
+
/**
|
|
3262
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
3263
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
3264
|
+
* 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
|
|
3265
|
+
*/
|
|
3266
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): ListS2tLanguageModelsRequest.AsProtobufJSON;
|
|
3267
|
+
}
|
|
3268
|
+
export declare module ListS2tLanguageModelsRequest {
|
|
3269
|
+
/**
|
|
3270
|
+
* Standard JavaScript object representation for ListS2tLanguageModelsRequest
|
|
3271
|
+
*/
|
|
3272
|
+
interface AsObject {
|
|
3273
|
+
ids?: string[];
|
|
3274
|
+
}
|
|
3275
|
+
/**
|
|
3276
|
+
* Protobuf JSON representation for ListS2tLanguageModelsRequest
|
|
3277
|
+
*/
|
|
3278
|
+
interface AsProtobufJSON {
|
|
3279
|
+
ids?: string[];
|
|
3280
|
+
}
|
|
3281
|
+
}
|
|
3282
|
+
/**
|
|
3283
|
+
* Message implementation for ondewo.s2t.LanguageModelPipelineId
|
|
3284
|
+
*/
|
|
3285
|
+
export declare class LanguageModelPipelineId implements GrpcMessage {
|
|
3286
|
+
static id: string;
|
|
3287
|
+
/**
|
|
3288
|
+
* Deserialize binary data to message
|
|
3289
|
+
* @param instance message instance
|
|
3290
|
+
*/
|
|
3291
|
+
static deserializeBinary(bytes: ByteSource): LanguageModelPipelineId;
|
|
3292
|
+
/**
|
|
3293
|
+
* Check all the properties and set default protobuf values if necessary
|
|
3294
|
+
* @param _instance message instance
|
|
3295
|
+
*/
|
|
3296
|
+
static refineValues(_instance: LanguageModelPipelineId): void;
|
|
3297
|
+
/**
|
|
3298
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
3299
|
+
* @param _instance message instance
|
|
3300
|
+
* @param _reader binary reader instance
|
|
3301
|
+
*/
|
|
3302
|
+
static deserializeBinaryFromReader(_instance: LanguageModelPipelineId, _reader: BinaryReader): void;
|
|
3303
|
+
/**
|
|
3304
|
+
* Serializes a message to binary format using provided binary reader
|
|
3305
|
+
* @param _instance message instance
|
|
3306
|
+
* @param _writer binary writer instance
|
|
3307
|
+
*/
|
|
3308
|
+
static serializeBinaryToWriter(_instance: LanguageModelPipelineId, _writer: BinaryWriter): void;
|
|
3309
|
+
private _pipelineId?;
|
|
3310
|
+
private _modelNames?;
|
|
3311
|
+
/**
|
|
3312
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
3313
|
+
* @param _value initial values object or instance of LanguageModelPipelineId to deeply clone from
|
|
3314
|
+
*/
|
|
3315
|
+
constructor(_value?: RecursivePartial<LanguageModelPipelineId.AsObject>);
|
|
3316
|
+
get pipelineId(): string | undefined;
|
|
3317
|
+
set pipelineId(value: string | undefined);
|
|
3318
|
+
get modelNames(): string[] | undefined;
|
|
3319
|
+
set modelNames(value: string[] | undefined);
|
|
3320
|
+
/**
|
|
3321
|
+
* Serialize message to binary data
|
|
3322
|
+
* @param instance message instance
|
|
3323
|
+
*/
|
|
3324
|
+
serializeBinary(): any;
|
|
3325
|
+
/**
|
|
3326
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
3327
|
+
*/
|
|
3328
|
+
toObject(): LanguageModelPipelineId.AsObject;
|
|
3329
|
+
/**
|
|
3330
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
3331
|
+
*/
|
|
3332
|
+
toJSON(): LanguageModelPipelineId.AsObject;
|
|
3333
|
+
/**
|
|
3334
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
3335
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
3336
|
+
* 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
|
|
3337
|
+
*/
|
|
3338
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): LanguageModelPipelineId.AsProtobufJSON;
|
|
3339
|
+
}
|
|
3340
|
+
export declare module LanguageModelPipelineId {
|
|
3341
|
+
/**
|
|
3342
|
+
* Standard JavaScript object representation for LanguageModelPipelineId
|
|
3343
|
+
*/
|
|
3344
|
+
interface AsObject {
|
|
3345
|
+
pipelineId?: string;
|
|
3346
|
+
modelNames?: string[];
|
|
3347
|
+
}
|
|
3348
|
+
/**
|
|
3349
|
+
* Protobuf JSON representation for LanguageModelPipelineId
|
|
3350
|
+
*/
|
|
3351
|
+
interface AsProtobufJSON {
|
|
3352
|
+
pipelineId?: string;
|
|
3353
|
+
modelNames?: string[];
|
|
3354
|
+
}
|
|
3355
|
+
}
|
|
3356
|
+
/**
|
|
3357
|
+
* Message implementation for ondewo.s2t.ListS2tLanguageModelsResponse
|
|
3358
|
+
*/
|
|
3359
|
+
export declare class ListS2tLanguageModelsResponse implements GrpcMessage {
|
|
3360
|
+
static id: string;
|
|
3361
|
+
/**
|
|
3362
|
+
* Deserialize binary data to message
|
|
3363
|
+
* @param instance message instance
|
|
3364
|
+
*/
|
|
3365
|
+
static deserializeBinary(bytes: ByteSource): ListS2tLanguageModelsResponse;
|
|
3366
|
+
/**
|
|
3367
|
+
* Check all the properties and set default protobuf values if necessary
|
|
3368
|
+
* @param _instance message instance
|
|
3369
|
+
*/
|
|
3370
|
+
static refineValues(_instance: ListS2tLanguageModelsResponse): void;
|
|
3371
|
+
/**
|
|
3372
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
3373
|
+
* @param _instance message instance
|
|
3374
|
+
* @param _reader binary reader instance
|
|
3375
|
+
*/
|
|
3376
|
+
static deserializeBinaryFromReader(_instance: ListS2tLanguageModelsResponse, _reader: BinaryReader): void;
|
|
3377
|
+
/**
|
|
3378
|
+
* Serializes a message to binary format using provided binary reader
|
|
3379
|
+
* @param _instance message instance
|
|
3380
|
+
* @param _writer binary writer instance
|
|
3381
|
+
*/
|
|
3382
|
+
static serializeBinaryToWriter(_instance: ListS2tLanguageModelsResponse, _writer: BinaryWriter): void;
|
|
3383
|
+
private _lmPipelineIds?;
|
|
3384
|
+
/**
|
|
3385
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
3386
|
+
* @param _value initial values object or instance of ListS2tLanguageModelsResponse to deeply clone from
|
|
3387
|
+
*/
|
|
3388
|
+
constructor(_value?: RecursivePartial<ListS2tLanguageModelsResponse.AsObject>);
|
|
3389
|
+
get lmPipelineIds(): LanguageModelPipelineId[] | undefined;
|
|
3390
|
+
set lmPipelineIds(value: LanguageModelPipelineId[] | undefined);
|
|
3391
|
+
/**
|
|
3392
|
+
* Serialize message to binary data
|
|
3393
|
+
* @param instance message instance
|
|
3394
|
+
*/
|
|
3395
|
+
serializeBinary(): any;
|
|
3396
|
+
/**
|
|
3397
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
3398
|
+
*/
|
|
3399
|
+
toObject(): ListS2tLanguageModelsResponse.AsObject;
|
|
3400
|
+
/**
|
|
3401
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
3402
|
+
*/
|
|
3403
|
+
toJSON(): ListS2tLanguageModelsResponse.AsObject;
|
|
3404
|
+
/**
|
|
3405
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
3406
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
3407
|
+
* 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
|
|
3408
|
+
*/
|
|
3409
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): ListS2tLanguageModelsResponse.AsProtobufJSON;
|
|
3410
|
+
}
|
|
3411
|
+
export declare module ListS2tLanguageModelsResponse {
|
|
3412
|
+
/**
|
|
3413
|
+
* Standard JavaScript object representation for ListS2tLanguageModelsResponse
|
|
3414
|
+
*/
|
|
3415
|
+
interface AsObject {
|
|
3416
|
+
lmPipelineIds?: LanguageModelPipelineId.AsObject[];
|
|
3417
|
+
}
|
|
3418
|
+
/**
|
|
3419
|
+
* Protobuf JSON representation for ListS2tLanguageModelsResponse
|
|
3420
|
+
*/
|
|
3421
|
+
interface AsProtobufJSON {
|
|
3422
|
+
lmPipelineIds?: LanguageModelPipelineId.AsProtobufJSON[] | null;
|
|
3423
|
+
}
|
|
3424
|
+
}
|
|
3425
|
+
/**
|
|
3426
|
+
* Message implementation for ondewo.s2t.CreateUserLanguageModelRequest
|
|
3427
|
+
*/
|
|
3428
|
+
export declare class CreateUserLanguageModelRequest implements GrpcMessage {
|
|
3429
|
+
static id: string;
|
|
3430
|
+
/**
|
|
3431
|
+
* Deserialize binary data to message
|
|
3432
|
+
* @param instance message instance
|
|
3433
|
+
*/
|
|
3434
|
+
static deserializeBinary(bytes: ByteSource): CreateUserLanguageModelRequest;
|
|
3435
|
+
/**
|
|
3436
|
+
* Check all the properties and set default protobuf values if necessary
|
|
3437
|
+
* @param _instance message instance
|
|
3438
|
+
*/
|
|
3439
|
+
static refineValues(_instance: CreateUserLanguageModelRequest): void;
|
|
3440
|
+
/**
|
|
3441
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
3442
|
+
* @param _instance message instance
|
|
3443
|
+
* @param _reader binary reader instance
|
|
3444
|
+
*/
|
|
3445
|
+
static deserializeBinaryFromReader(_instance: CreateUserLanguageModelRequest, _reader: BinaryReader): void;
|
|
3446
|
+
/**
|
|
3447
|
+
* Serializes a message to binary format using provided binary reader
|
|
3448
|
+
* @param _instance message instance
|
|
3449
|
+
* @param _writer binary writer instance
|
|
3450
|
+
*/
|
|
3451
|
+
static serializeBinaryToWriter(_instance: CreateUserLanguageModelRequest, _writer: BinaryWriter): void;
|
|
3452
|
+
private _languageModelName?;
|
|
3453
|
+
/**
|
|
3454
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
3455
|
+
* @param _value initial values object or instance of CreateUserLanguageModelRequest to deeply clone from
|
|
3456
|
+
*/
|
|
3457
|
+
constructor(_value?: RecursivePartial<CreateUserLanguageModelRequest.AsObject>);
|
|
3458
|
+
get languageModelName(): string | undefined;
|
|
3459
|
+
set languageModelName(value: string | undefined);
|
|
3460
|
+
/**
|
|
3461
|
+
* Serialize message to binary data
|
|
3462
|
+
* @param instance message instance
|
|
3463
|
+
*/
|
|
3464
|
+
serializeBinary(): any;
|
|
3465
|
+
/**
|
|
3466
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
3467
|
+
*/
|
|
3468
|
+
toObject(): CreateUserLanguageModelRequest.AsObject;
|
|
3469
|
+
/**
|
|
3470
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
3471
|
+
*/
|
|
3472
|
+
toJSON(): CreateUserLanguageModelRequest.AsObject;
|
|
3473
|
+
/**
|
|
3474
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
3475
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
3476
|
+
* 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
|
|
3477
|
+
*/
|
|
3478
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): CreateUserLanguageModelRequest.AsProtobufJSON;
|
|
3479
|
+
}
|
|
3480
|
+
export declare module CreateUserLanguageModelRequest {
|
|
3481
|
+
/**
|
|
3482
|
+
* Standard JavaScript object representation for CreateUserLanguageModelRequest
|
|
3483
|
+
*/
|
|
3484
|
+
interface AsObject {
|
|
3485
|
+
languageModelName?: string;
|
|
3486
|
+
}
|
|
3487
|
+
/**
|
|
3488
|
+
* Protobuf JSON representation for CreateUserLanguageModelRequest
|
|
3489
|
+
*/
|
|
3490
|
+
interface AsProtobufJSON {
|
|
3491
|
+
languageModelName?: string;
|
|
3492
|
+
}
|
|
3493
|
+
}
|
|
3494
|
+
/**
|
|
3495
|
+
* Message implementation for ondewo.s2t.DeleteUserLanguageModelRequest
|
|
3496
|
+
*/
|
|
3497
|
+
export declare class DeleteUserLanguageModelRequest implements GrpcMessage {
|
|
3498
|
+
static id: string;
|
|
3499
|
+
/**
|
|
3500
|
+
* Deserialize binary data to message
|
|
3501
|
+
* @param instance message instance
|
|
3502
|
+
*/
|
|
3503
|
+
static deserializeBinary(bytes: ByteSource): DeleteUserLanguageModelRequest;
|
|
3504
|
+
/**
|
|
3505
|
+
* Check all the properties and set default protobuf values if necessary
|
|
3506
|
+
* @param _instance message instance
|
|
3507
|
+
*/
|
|
3508
|
+
static refineValues(_instance: DeleteUserLanguageModelRequest): void;
|
|
3509
|
+
/**
|
|
3510
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
3511
|
+
* @param _instance message instance
|
|
3512
|
+
* @param _reader binary reader instance
|
|
3513
|
+
*/
|
|
3514
|
+
static deserializeBinaryFromReader(_instance: DeleteUserLanguageModelRequest, _reader: BinaryReader): void;
|
|
3515
|
+
/**
|
|
3516
|
+
* Serializes a message to binary format using provided binary reader
|
|
3517
|
+
* @param _instance message instance
|
|
3518
|
+
* @param _writer binary writer instance
|
|
3519
|
+
*/
|
|
3520
|
+
static serializeBinaryToWriter(_instance: DeleteUserLanguageModelRequest, _writer: BinaryWriter): void;
|
|
3521
|
+
private _languageModelName?;
|
|
3522
|
+
/**
|
|
3523
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
3524
|
+
* @param _value initial values object or instance of DeleteUserLanguageModelRequest to deeply clone from
|
|
3525
|
+
*/
|
|
3526
|
+
constructor(_value?: RecursivePartial<DeleteUserLanguageModelRequest.AsObject>);
|
|
3527
|
+
get languageModelName(): string | undefined;
|
|
3528
|
+
set languageModelName(value: string | undefined);
|
|
3529
|
+
/**
|
|
3530
|
+
* Serialize message to binary data
|
|
3531
|
+
* @param instance message instance
|
|
3532
|
+
*/
|
|
3533
|
+
serializeBinary(): any;
|
|
3534
|
+
/**
|
|
3535
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
3536
|
+
*/
|
|
3537
|
+
toObject(): DeleteUserLanguageModelRequest.AsObject;
|
|
3538
|
+
/**
|
|
3539
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
3540
|
+
*/
|
|
3541
|
+
toJSON(): DeleteUserLanguageModelRequest.AsObject;
|
|
3542
|
+
/**
|
|
3543
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
3544
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
3545
|
+
* 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
|
|
3546
|
+
*/
|
|
3547
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): DeleteUserLanguageModelRequest.AsProtobufJSON;
|
|
3548
|
+
}
|
|
3549
|
+
export declare module DeleteUserLanguageModelRequest {
|
|
3550
|
+
/**
|
|
3551
|
+
* Standard JavaScript object representation for DeleteUserLanguageModelRequest
|
|
3552
|
+
*/
|
|
3553
|
+
interface AsObject {
|
|
3554
|
+
languageModelName?: string;
|
|
3555
|
+
}
|
|
3556
|
+
/**
|
|
3557
|
+
* Protobuf JSON representation for DeleteUserLanguageModelRequest
|
|
3558
|
+
*/
|
|
3559
|
+
interface AsProtobufJSON {
|
|
3560
|
+
languageModelName?: string;
|
|
3561
|
+
}
|
|
3562
|
+
}
|
|
3563
|
+
/**
|
|
3564
|
+
* Message implementation for ondewo.s2t.AddDataToUserLanguageModelRequest
|
|
3565
|
+
*/
|
|
3566
|
+
export declare class AddDataToUserLanguageModelRequest implements GrpcMessage {
|
|
3567
|
+
static id: string;
|
|
3568
|
+
/**
|
|
3569
|
+
* Deserialize binary data to message
|
|
3570
|
+
* @param instance message instance
|
|
3571
|
+
*/
|
|
3572
|
+
static deserializeBinary(bytes: ByteSource): AddDataToUserLanguageModelRequest;
|
|
3573
|
+
/**
|
|
3574
|
+
* Check all the properties and set default protobuf values if necessary
|
|
3575
|
+
* @param _instance message instance
|
|
3576
|
+
*/
|
|
3577
|
+
static refineValues(_instance: AddDataToUserLanguageModelRequest): void;
|
|
3578
|
+
/**
|
|
3579
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
3580
|
+
* @param _instance message instance
|
|
3581
|
+
* @param _reader binary reader instance
|
|
3582
|
+
*/
|
|
3583
|
+
static deserializeBinaryFromReader(_instance: AddDataToUserLanguageModelRequest, _reader: BinaryReader): void;
|
|
3584
|
+
/**
|
|
3585
|
+
* Serializes a message to binary format using provided binary reader
|
|
3586
|
+
* @param _instance message instance
|
|
3587
|
+
* @param _writer binary writer instance
|
|
3588
|
+
*/
|
|
3589
|
+
static serializeBinaryToWriter(_instance: AddDataToUserLanguageModelRequest, _writer: BinaryWriter): void;
|
|
3590
|
+
private _languageModelName?;
|
|
3591
|
+
private _zippedData?;
|
|
3592
|
+
/**
|
|
3593
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
3594
|
+
* @param _value initial values object or instance of AddDataToUserLanguageModelRequest to deeply clone from
|
|
3595
|
+
*/
|
|
3596
|
+
constructor(_value?: RecursivePartial<AddDataToUserLanguageModelRequest.AsObject>);
|
|
3597
|
+
get languageModelName(): string | undefined;
|
|
3598
|
+
set languageModelName(value: string | undefined);
|
|
3599
|
+
get zippedData(): Uint8Array | undefined;
|
|
3600
|
+
set zippedData(value: Uint8Array | undefined);
|
|
3601
|
+
/**
|
|
3602
|
+
* Serialize message to binary data
|
|
3603
|
+
* @param instance message instance
|
|
3604
|
+
*/
|
|
3605
|
+
serializeBinary(): any;
|
|
3606
|
+
/**
|
|
3607
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
3608
|
+
*/
|
|
3609
|
+
toObject(): AddDataToUserLanguageModelRequest.AsObject;
|
|
3610
|
+
/**
|
|
3611
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
3612
|
+
*/
|
|
3613
|
+
toJSON(): AddDataToUserLanguageModelRequest.AsObject;
|
|
3614
|
+
/**
|
|
3615
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
3616
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
3617
|
+
* 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
|
|
3618
|
+
*/
|
|
3619
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): AddDataToUserLanguageModelRequest.AsProtobufJSON;
|
|
3620
|
+
}
|
|
3621
|
+
export declare module AddDataToUserLanguageModelRequest {
|
|
3622
|
+
/**
|
|
3623
|
+
* Standard JavaScript object representation for AddDataToUserLanguageModelRequest
|
|
3624
|
+
*/
|
|
3625
|
+
interface AsObject {
|
|
3626
|
+
languageModelName?: string;
|
|
3627
|
+
zippedData?: Uint8Array;
|
|
3628
|
+
}
|
|
3629
|
+
/**
|
|
3630
|
+
* Protobuf JSON representation for AddDataToUserLanguageModelRequest
|
|
3631
|
+
*/
|
|
3632
|
+
interface AsProtobufJSON {
|
|
3633
|
+
languageModelName?: string;
|
|
3634
|
+
zippedData?: string;
|
|
3635
|
+
}
|
|
3636
|
+
}
|
|
3637
|
+
/**
|
|
3638
|
+
* Message implementation for ondewo.s2t.TrainUserLanguageModelRequest
|
|
3639
|
+
*/
|
|
3640
|
+
export declare class TrainUserLanguageModelRequest implements GrpcMessage {
|
|
3641
|
+
static id: string;
|
|
3642
|
+
/**
|
|
3643
|
+
* Deserialize binary data to message
|
|
3644
|
+
* @param instance message instance
|
|
3645
|
+
*/
|
|
3646
|
+
static deserializeBinary(bytes: ByteSource): TrainUserLanguageModelRequest;
|
|
3647
|
+
/**
|
|
3648
|
+
* Check all the properties and set default protobuf values if necessary
|
|
3649
|
+
* @param _instance message instance
|
|
3650
|
+
*/
|
|
3651
|
+
static refineValues(_instance: TrainUserLanguageModelRequest): void;
|
|
3652
|
+
/**
|
|
3653
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
3654
|
+
* @param _instance message instance
|
|
3655
|
+
* @param _reader binary reader instance
|
|
3656
|
+
*/
|
|
3657
|
+
static deserializeBinaryFromReader(_instance: TrainUserLanguageModelRequest, _reader: BinaryReader): void;
|
|
3658
|
+
/**
|
|
3659
|
+
* Serializes a message to binary format using provided binary reader
|
|
3660
|
+
* @param _instance message instance
|
|
3661
|
+
* @param _writer binary writer instance
|
|
3662
|
+
*/
|
|
3663
|
+
static serializeBinaryToWriter(_instance: TrainUserLanguageModelRequest, _writer: BinaryWriter): void;
|
|
3664
|
+
private _languageModelName?;
|
|
3665
|
+
private _order?;
|
|
3666
|
+
/**
|
|
3667
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
3668
|
+
* @param _value initial values object or instance of TrainUserLanguageModelRequest to deeply clone from
|
|
3669
|
+
*/
|
|
3670
|
+
constructor(_value?: RecursivePartial<TrainUserLanguageModelRequest.AsObject>);
|
|
3671
|
+
get languageModelName(): string | undefined;
|
|
3672
|
+
set languageModelName(value: string | undefined);
|
|
3673
|
+
get order(): string | undefined;
|
|
3674
|
+
set order(value: string | undefined);
|
|
3675
|
+
/**
|
|
3676
|
+
* Serialize message to binary data
|
|
3677
|
+
* @param instance message instance
|
|
3678
|
+
*/
|
|
3679
|
+
serializeBinary(): any;
|
|
3680
|
+
/**
|
|
3681
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
3682
|
+
*/
|
|
3683
|
+
toObject(): TrainUserLanguageModelRequest.AsObject;
|
|
3684
|
+
/**
|
|
3685
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
3686
|
+
*/
|
|
3687
|
+
toJSON(): TrainUserLanguageModelRequest.AsObject;
|
|
3688
|
+
/**
|
|
3689
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
3690
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
3691
|
+
* 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
|
|
3692
|
+
*/
|
|
3693
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): TrainUserLanguageModelRequest.AsProtobufJSON;
|
|
3694
|
+
}
|
|
3695
|
+
export declare module TrainUserLanguageModelRequest {
|
|
3696
|
+
/**
|
|
3697
|
+
* Standard JavaScript object representation for TrainUserLanguageModelRequest
|
|
3698
|
+
*/
|
|
3699
|
+
interface AsObject {
|
|
3700
|
+
languageModelName?: string;
|
|
3701
|
+
order?: string;
|
|
3702
|
+
}
|
|
3703
|
+
/**
|
|
3704
|
+
* Protobuf JSON representation for TrainUserLanguageModelRequest
|
|
3705
|
+
*/
|
|
3706
|
+
interface AsProtobufJSON {
|
|
3707
|
+
languageModelName?: string;
|
|
3708
|
+
order?: string;
|
|
3709
|
+
}
|
|
3710
|
+
}
|