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