UNPKG

@ondewo/csi-client-typescript

Version:

ONDEWO Conversation System Integration (CSI) Client library for Typescript

1,319 lines (1,303 loc) 421 kB
// source: ondewo/t2s/text-to-speech.proto /** * @fileoverview * @enhanceable * @suppress {missingRequire} reports error on implicit type usages. * @suppress {messageConventions} JS Compiler reports an error if a variable or * field starts with 'MSG_' and isn't a translatable message. * @public */ // GENERATED CODE -- DO NOT EDIT! /* eslint-disable */ // @ts-nocheck var jspb = require('google-protobuf'); var goog = jspb; var global = (typeof globalThis !== 'undefined' && globalThis) || (typeof window !== 'undefined' && window) || (typeof global !== 'undefined' && global) || (typeof self !== 'undefined' && self) || (function () { return this; }).call(null) || Function('return this')(); var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js'); goog.object.extend(proto, google_protobuf_empty_pb); var google_protobuf_struct_pb = require('google-protobuf/google/protobuf/struct_pb.js'); goog.object.extend(proto, google_protobuf_struct_pb); goog.exportSymbol('proto.ondewo.t2s.Apodization', null, global); goog.exportSymbol('proto.ondewo.t2s.AudioFormat', null, global); goog.exportSymbol('proto.ondewo.t2s.BatchSynthesizeRequest', null, global); goog.exportSymbol('proto.ondewo.t2s.BatchSynthesizeResponse', null, global); goog.exportSymbol('proto.ondewo.t2s.Caching', null, global); goog.exportSymbol('proto.ondewo.t2s.CompositeInference', null, global); goog.exportSymbol('proto.ondewo.t2s.CreateCustomPhonemizerRequest', null, global); goog.exportSymbol('proto.ondewo.t2s.CustomPhonemizerProto', null, global); goog.exportSymbol('proto.ondewo.t2s.GlowTTS', null, global); goog.exportSymbol('proto.ondewo.t2s.GlowTTSTriton', null, global); goog.exportSymbol('proto.ondewo.t2s.HiFiGan', null, global); goog.exportSymbol('proto.ondewo.t2s.HiFiGanTriton', null, global); goog.exportSymbol('proto.ondewo.t2s.ListCustomPhonemizerRequest', null, global); goog.exportSymbol('proto.ondewo.t2s.ListCustomPhonemizerResponse', null, global); goog.exportSymbol('proto.ondewo.t2s.ListT2sDomainsRequest', null, global); goog.exportSymbol('proto.ondewo.t2s.ListT2sDomainsResponse', null, global); goog.exportSymbol('proto.ondewo.t2s.ListT2sLanguagesRequest', null, global); goog.exportSymbol('proto.ondewo.t2s.ListT2sLanguagesResponse', null, global); goog.exportSymbol('proto.ondewo.t2s.ListT2sPipelinesRequest', null, global); goog.exportSymbol('proto.ondewo.t2s.ListT2sPipelinesResponse', null, global); goog.exportSymbol('proto.ondewo.t2s.Logmnse', null, global); goog.exportSymbol('proto.ondewo.t2s.Map', null, global); goog.exportSymbol('proto.ondewo.t2s.MbMelganTriton', null, global); goog.exportSymbol('proto.ondewo.t2s.Mel2Audio', null, global); goog.exportSymbol('proto.ondewo.t2s.NormalizeTextRequest', null, global); goog.exportSymbol('proto.ondewo.t2s.NormalizeTextResponse', null, global); goog.exportSymbol('proto.ondewo.t2s.Pcm', null, global); goog.exportSymbol('proto.ondewo.t2s.PhonemizerId', null, global); goog.exportSymbol('proto.ondewo.t2s.Postprocessing', null, global); goog.exportSymbol('proto.ondewo.t2s.RequestConfig', null, global); goog.exportSymbol('proto.ondewo.t2s.RequestConfig.OneofAudioformatCase', null, global); goog.exportSymbol('proto.ondewo.t2s.RequestConfig.OneofLengthScaleCase', null, global); goog.exportSymbol('proto.ondewo.t2s.RequestConfig.OneofNoiseScaleCase', null, global); goog.exportSymbol('proto.ondewo.t2s.RequestConfig.OneofNormalizerCase', null, global); goog.exportSymbol('proto.ondewo.t2s.RequestConfig.OneofPcmCase', null, global); goog.exportSymbol('proto.ondewo.t2s.RequestConfig.OneofSampleRateCase', null, global); goog.exportSymbol('proto.ondewo.t2s.RequestConfig.OneofUseCacheCase', null, global); goog.exportSymbol('proto.ondewo.t2s.SingleInference', null, global); goog.exportSymbol('proto.ondewo.t2s.SynthesizeRequest', null, global); goog.exportSymbol('proto.ondewo.t2s.SynthesizeResponse', null, global); goog.exportSymbol('proto.ondewo.t2s.T2SCustomLengthScales', null, global); goog.exportSymbol('proto.ondewo.t2s.T2SDescription', null, global); goog.exportSymbol('proto.ondewo.t2s.T2SGetServiceInfoResponse', null, global); goog.exportSymbol('proto.ondewo.t2s.T2SInference', null, global); goog.exportSymbol('proto.ondewo.t2s.T2SNormalization', null, global); goog.exportSymbol('proto.ondewo.t2s.T2sCloudProviderConfig', null, global); goog.exportSymbol('proto.ondewo.t2s.T2sCloudProviderConfigElevenLabs', null, global); goog.exportSymbol('proto.ondewo.t2s.T2sCloudProviderConfigGoogle', null, global); goog.exportSymbol('proto.ondewo.t2s.T2sCloudProviderConfigMicrosoft', null, global); goog.exportSymbol('proto.ondewo.t2s.T2sCloudServiceAmazon', null, global); goog.exportSymbol('proto.ondewo.t2s.T2sCloudServiceElevenLabs', null, global); goog.exportSymbol('proto.ondewo.t2s.T2sCloudServiceGoogle', null, global); goog.exportSymbol('proto.ondewo.t2s.T2sCloudServiceMicrosoft', null, global); goog.exportSymbol('proto.ondewo.t2s.T2sPipelineId', null, global); goog.exportSymbol('proto.ondewo.t2s.Text2Audio', null, global); goog.exportSymbol('proto.ondewo.t2s.Text2Mel', null, global); goog.exportSymbol('proto.ondewo.t2s.Text2SpeechConfig', null, global); goog.exportSymbol('proto.ondewo.t2s.UpdateCustomPhonemizerRequest', null, global); goog.exportSymbol('proto.ondewo.t2s.UpdateCustomPhonemizerRequest.UpdateMethod', null, global); goog.exportSymbol('proto.ondewo.t2s.Vits', null, global); goog.exportSymbol('proto.ondewo.t2s.VitsTriton', null, global); goog.exportSymbol('proto.ondewo.t2s.VoiceSettings', null, global); goog.exportSymbol('proto.ondewo.t2s.Wiener', null, global); /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ondewo.t2s.SynthesizeRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ondewo.t2s.SynthesizeRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ondewo.t2s.SynthesizeRequest.displayName = 'proto.ondewo.t2s.SynthesizeRequest'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ondewo.t2s.BatchSynthesizeRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.ondewo.t2s.BatchSynthesizeRequest.repeatedFields_, null); }; goog.inherits(proto.ondewo.t2s.BatchSynthesizeRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ondewo.t2s.BatchSynthesizeRequest.displayName = 'proto.ondewo.t2s.BatchSynthesizeRequest'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ondewo.t2s.BatchSynthesizeResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.ondewo.t2s.BatchSynthesizeResponse.repeatedFields_, null); }; goog.inherits(proto.ondewo.t2s.BatchSynthesizeResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ondewo.t2s.BatchSynthesizeResponse.displayName = 'proto.ondewo.t2s.BatchSynthesizeResponse'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ondewo.t2s.RequestConfig = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, proto.ondewo.t2s.RequestConfig.oneofGroups_); }; goog.inherits(proto.ondewo.t2s.RequestConfig, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ondewo.t2s.RequestConfig.displayName = 'proto.ondewo.t2s.RequestConfig'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ondewo.t2s.T2sCloudProviderConfig = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ondewo.t2s.T2sCloudProviderConfig, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ondewo.t2s.T2sCloudProviderConfig.displayName = 'proto.ondewo.t2s.T2sCloudProviderConfig'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ondewo.t2s.T2sCloudProviderConfigElevenLabs = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ondewo.t2s.T2sCloudProviderConfigElevenLabs, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ondewo.t2s.T2sCloudProviderConfigElevenLabs.displayName = 'proto.ondewo.t2s.T2sCloudProviderConfigElevenLabs'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ondewo.t2s.T2sCloudProviderConfigMicrosoft = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ondewo.t2s.T2sCloudProviderConfigMicrosoft, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ondewo.t2s.T2sCloudProviderConfigMicrosoft.displayName = 'proto.ondewo.t2s.T2sCloudProviderConfigMicrosoft'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ondewo.t2s.T2sCloudProviderConfigGoogle = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ondewo.t2s.T2sCloudProviderConfigGoogle, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ondewo.t2s.T2sCloudProviderConfigGoogle.displayName = 'proto.ondewo.t2s.T2sCloudProviderConfigGoogle'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ondewo.t2s.SynthesizeResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ondewo.t2s.SynthesizeResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ondewo.t2s.SynthesizeResponse.displayName = 'proto.ondewo.t2s.SynthesizeResponse'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ondewo.t2s.NormalizeTextRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ondewo.t2s.NormalizeTextRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ondewo.t2s.NormalizeTextRequest.displayName = 'proto.ondewo.t2s.NormalizeTextRequest'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ondewo.t2s.NormalizeTextResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ondewo.t2s.NormalizeTextResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ondewo.t2s.NormalizeTextResponse.displayName = 'proto.ondewo.t2s.NormalizeTextResponse'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ondewo.t2s.T2SGetServiceInfoResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ondewo.t2s.T2SGetServiceInfoResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ondewo.t2s.T2SGetServiceInfoResponse.displayName = 'proto.ondewo.t2s.T2SGetServiceInfoResponse'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ondewo.t2s.ListT2sPipelinesRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.ondewo.t2s.ListT2sPipelinesRequest.repeatedFields_, null); }; goog.inherits(proto.ondewo.t2s.ListT2sPipelinesRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ondewo.t2s.ListT2sPipelinesRequest.displayName = 'proto.ondewo.t2s.ListT2sPipelinesRequest'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ondewo.t2s.ListT2sPipelinesResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.ondewo.t2s.ListT2sPipelinesResponse.repeatedFields_, null); }; goog.inherits(proto.ondewo.t2s.ListT2sPipelinesResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ondewo.t2s.ListT2sPipelinesResponse.displayName = 'proto.ondewo.t2s.ListT2sPipelinesResponse'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ondewo.t2s.ListT2sLanguagesRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.ondewo.t2s.ListT2sLanguagesRequest.repeatedFields_, null); }; goog.inherits(proto.ondewo.t2s.ListT2sLanguagesRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ondewo.t2s.ListT2sLanguagesRequest.displayName = 'proto.ondewo.t2s.ListT2sLanguagesRequest'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ondewo.t2s.ListT2sLanguagesResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.ondewo.t2s.ListT2sLanguagesResponse.repeatedFields_, null); }; goog.inherits(proto.ondewo.t2s.ListT2sLanguagesResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ondewo.t2s.ListT2sLanguagesResponse.displayName = 'proto.ondewo.t2s.ListT2sLanguagesResponse'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ondewo.t2s.ListT2sDomainsRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.ondewo.t2s.ListT2sDomainsRequest.repeatedFields_, null); }; goog.inherits(proto.ondewo.t2s.ListT2sDomainsRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ondewo.t2s.ListT2sDomainsRequest.displayName = 'proto.ondewo.t2s.ListT2sDomainsRequest'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ondewo.t2s.ListT2sDomainsResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.ondewo.t2s.ListT2sDomainsResponse.repeatedFields_, null); }; goog.inherits(proto.ondewo.t2s.ListT2sDomainsResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ondewo.t2s.ListT2sDomainsResponse.displayName = 'proto.ondewo.t2s.ListT2sDomainsResponse'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ondewo.t2s.T2sPipelineId = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ondewo.t2s.T2sPipelineId, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ondewo.t2s.T2sPipelineId.displayName = 'proto.ondewo.t2s.T2sPipelineId'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ondewo.t2s.Text2SpeechConfig = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ondewo.t2s.Text2SpeechConfig, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ondewo.t2s.Text2SpeechConfig.displayName = 'proto.ondewo.t2s.Text2SpeechConfig'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ondewo.t2s.T2SDescription = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ondewo.t2s.T2SDescription, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ondewo.t2s.T2SDescription.displayName = 'proto.ondewo.t2s.T2SDescription'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ondewo.t2s.T2SInference = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ondewo.t2s.T2SInference, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ondewo.t2s.T2SInference.displayName = 'proto.ondewo.t2s.T2SInference'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ondewo.t2s.CompositeInference = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ondewo.t2s.CompositeInference, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ondewo.t2s.CompositeInference.displayName = 'proto.ondewo.t2s.CompositeInference'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ondewo.t2s.SingleInference = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ondewo.t2s.SingleInference, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ondewo.t2s.SingleInference.displayName = 'proto.ondewo.t2s.SingleInference'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ondewo.t2s.Text2Mel = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ondewo.t2s.Text2Mel, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ondewo.t2s.Text2Mel.displayName = 'proto.ondewo.t2s.Text2Mel'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ondewo.t2s.Text2Audio = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ondewo.t2s.Text2Audio, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ondewo.t2s.Text2Audio.displayName = 'proto.ondewo.t2s.Text2Audio'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ondewo.t2s.GlowTTS = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.ondewo.t2s.GlowTTS.repeatedFields_, null); }; goog.inherits(proto.ondewo.t2s.GlowTTS, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ondewo.t2s.GlowTTS.displayName = 'proto.ondewo.t2s.GlowTTS'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ondewo.t2s.GlowTTSTriton = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.ondewo.t2s.GlowTTSTriton.repeatedFields_, null); }; goog.inherits(proto.ondewo.t2s.GlowTTSTriton, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ondewo.t2s.GlowTTSTriton.displayName = 'proto.ondewo.t2s.GlowTTSTriton'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ondewo.t2s.Vits = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.ondewo.t2s.Vits.repeatedFields_, null); }; goog.inherits(proto.ondewo.t2s.Vits, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ondewo.t2s.Vits.displayName = 'proto.ondewo.t2s.Vits'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ondewo.t2s.VitsTriton = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.ondewo.t2s.VitsTriton.repeatedFields_, null); }; goog.inherits(proto.ondewo.t2s.VitsTriton, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ondewo.t2s.VitsTriton.displayName = 'proto.ondewo.t2s.VitsTriton'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ondewo.t2s.T2sCloudServiceElevenLabs = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ondewo.t2s.T2sCloudServiceElevenLabs, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ondewo.t2s.T2sCloudServiceElevenLabs.displayName = 'proto.ondewo.t2s.T2sCloudServiceElevenLabs'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ondewo.t2s.VoiceSettings = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ondewo.t2s.VoiceSettings, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ondewo.t2s.VoiceSettings.displayName = 'proto.ondewo.t2s.VoiceSettings'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ondewo.t2s.T2sCloudServiceAmazon = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ondewo.t2s.T2sCloudServiceAmazon, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ondewo.t2s.T2sCloudServiceAmazon.displayName = 'proto.ondewo.t2s.T2sCloudServiceAmazon'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ondewo.t2s.T2sCloudServiceGoogle = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ondewo.t2s.T2sCloudServiceGoogle, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ondewo.t2s.T2sCloudServiceGoogle.displayName = 'proto.ondewo.t2s.T2sCloudServiceGoogle'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ondewo.t2s.T2sCloudServiceMicrosoft = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ondewo.t2s.T2sCloudServiceMicrosoft, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ondewo.t2s.T2sCloudServiceMicrosoft.displayName = 'proto.ondewo.t2s.T2sCloudServiceMicrosoft'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ondewo.t2s.Mel2Audio = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ondewo.t2s.Mel2Audio, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ondewo.t2s.Mel2Audio.displayName = 'proto.ondewo.t2s.Mel2Audio'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ondewo.t2s.HiFiGan = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ondewo.t2s.HiFiGan, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ondewo.t2s.HiFiGan.displayName = 'proto.ondewo.t2s.HiFiGan'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ondewo.t2s.HiFiGanTriton = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ondewo.t2s.HiFiGanTriton, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ondewo.t2s.HiFiGanTriton.displayName = 'proto.ondewo.t2s.HiFiGanTriton'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ondewo.t2s.MbMelganTriton = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ondewo.t2s.MbMelganTriton, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ondewo.t2s.MbMelganTriton.displayName = 'proto.ondewo.t2s.MbMelganTriton'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ondewo.t2s.Caching = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ondewo.t2s.Caching, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ondewo.t2s.Caching.displayName = 'proto.ondewo.t2s.Caching'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ondewo.t2s.T2SNormalization = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.ondewo.t2s.T2SNormalization.repeatedFields_, null); }; goog.inherits(proto.ondewo.t2s.T2SNormalization, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ondewo.t2s.T2SNormalization.displayName = 'proto.ondewo.t2s.T2SNormalization'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ondewo.t2s.Postprocessing = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.ondewo.t2s.Postprocessing.repeatedFields_, null); }; goog.inherits(proto.ondewo.t2s.Postprocessing, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ondewo.t2s.Postprocessing.displayName = 'proto.ondewo.t2s.Postprocessing'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ondewo.t2s.Logmnse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ondewo.t2s.Logmnse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ondewo.t2s.Logmnse.displayName = 'proto.ondewo.t2s.Logmnse'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ondewo.t2s.Wiener = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ondewo.t2s.Wiener, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ondewo.t2s.Wiener.displayName = 'proto.ondewo.t2s.Wiener'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ondewo.t2s.Apodization = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ondewo.t2s.Apodization, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ondewo.t2s.Apodization.displayName = 'proto.ondewo.t2s.Apodization'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ondewo.t2s.T2SCustomLengthScales = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ondewo.t2s.T2SCustomLengthScales, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ondewo.t2s.T2SCustomLengthScales.displayName = 'proto.ondewo.t2s.T2SCustomLengthScales'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ondewo.t2s.PhonemizerId = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ondewo.t2s.PhonemizerId, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ondewo.t2s.PhonemizerId.displayName = 'proto.ondewo.t2s.PhonemizerId'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ondewo.t2s.CustomPhonemizerProto = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.ondewo.t2s.CustomPhonemizerProto.repeatedFields_, null); }; goog.inherits(proto.ondewo.t2s.CustomPhonemizerProto, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ondewo.t2s.CustomPhonemizerProto.displayName = 'proto.ondewo.t2s.CustomPhonemizerProto'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ondewo.t2s.Map = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.ondewo.t2s.Map, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ondewo.t2s.Map.displayName = 'proto.ondewo.t2s.Map'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ondewo.t2s.ListCustomPhonemizerResponse = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.ondewo.t2s.ListCustomPhonemizerResponse.repeatedFields_, null); }; goog.inherits(proto.ondewo.t2s.ListCustomPhonemizerResponse, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ondewo.t2s.ListCustomPhonemizerResponse.displayName = 'proto.ondewo.t2s.ListCustomPhonemizerResponse'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ondewo.t2s.ListCustomPhonemizerRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.ondewo.t2s.ListCustomPhonemizerRequest.repeatedFields_, null); }; goog.inherits(proto.ondewo.t2s.ListCustomPhonemizerRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ondewo.t2s.ListCustomPhonemizerRequest.displayName = 'proto.ondewo.t2s.ListCustomPhonemizerRequest'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ondewo.t2s.UpdateCustomPhonemizerRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.ondewo.t2s.UpdateCustomPhonemizerRequest.repeatedFields_, null); }; goog.inherits(proto.ondewo.t2s.UpdateCustomPhonemizerRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ondewo.t2s.UpdateCustomPhonemizerRequest.displayName = 'proto.ondewo.t2s.UpdateCustomPhonemizerRequest'; } /** * Generated by JsPbCodeGenerator. * @param {Array=} opt_data Optional initial data array, typically from a * server response, or constructed directly in Javascript. The array is used * in place and becomes part of the constructed object. It is not cloned. * If no data is provided, the constructed object will be empty, but still * valid. * @extends {jspb.Message} * @constructor */ proto.ondewo.t2s.CreateCustomPhonemizerRequest = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.ondewo.t2s.CreateCustomPhonemizerRequest.repeatedFields_, null); }; goog.inherits(proto.ondewo.t2s.CreateCustomPhonemizerRequest, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.ondewo.t2s.CreateCustomPhonemizerRequest.displayName = 'proto.ondewo.t2s.CreateCustomPhonemizerRequest'; } if (jspb.Message.GENERATE_TO_OBJECT) { /** * Creates an object representation of this proto. * Field names that are reserved in JavaScript and will be renamed to pb_name. * Optional fields that are not set will be set to undefined. * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default. * For the list of reserved names please see: * net/proto2/compiler/js/internal/generator.cc#kKeyword. * @param {boolean=} opt_includeInstance Deprecated. whether to include the * JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @return {!Object} */ proto.ondewo.t2s.SynthesizeRequest.prototype.toObject = function(opt_includeInstance) { return proto.ondewo.t2s.SynthesizeRequest.toObject(opt_includeInstance, this); }; /** * Static version of the {@see toObject} method. * @param {boolean|undefined} includeInstance Deprecated. Whether to include * the JSPB instance for transitional soy proto support: * http://goto/soy-param-migration * @param {!proto.ondewo.t2s.SynthesizeRequest} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ondewo.t2s.SynthesizeRequest.toObject = function(includeInstance, msg) { var f, obj = { text: jspb.Message.getFieldWithDefault(msg, 1, ""), config: (f = msg.getConfig()) && proto.ondewo.t2s.RequestConfig.toObject(includeInstance, f) }; if (includeInstance) { obj.$jspbMessageInstance = msg; } return obj; }; } /** * Deserializes binary data (in protobuf wire format). * @param {jspb.ByteSource} bytes The bytes to deserialize. * @return {!proto.ondewo.t2s.SynthesizeRequest} */ proto.ondewo.t2s.SynthesizeRequest.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.ondewo.t2s.SynthesizeRequest; return proto.ondewo.t2s.SynthesizeRequest.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.ondewo.t2s.SynthesizeRequest} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.ondewo.t2s.SynthesizeRequest} */ proto.ondewo.t2s.SynthesizeRequest.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {string} */ (reader.readString()); msg.setText(value); break; case 2: var value = new proto.ondewo.t2s.RequestConfig; reader.readMessage(value,proto.ondewo.t2s.RequestConfig.deserializeBinaryFromReader); msg.setConfig(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.ondewo.t2s.SynthesizeRequest.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.ondewo.t2s.SynthesizeRequest.serializeBinaryToWriter(this, writer); return writer.getResultBuffer(); }; /** * Serializes the given message to binary data (in protobuf wire * format), writing to the given BinaryWriter. * @param {!proto.ondewo.t2s.SynthesizeRequest} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.ondewo.t2s.SynthesizeRequest.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getText(); if (f.length > 0) { writer.writeString( 1, f ); } f = message.g