public sealed class PrebuiltVoiceConfig : IMessage<PrebuiltVoiceConfig>, IEquatable<PrebuiltVoiceConfig>, IDeepCloneable<PrebuiltVoiceConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Vertex AI v1beta1 API class PrebuiltVoiceConfig.
The configuration for the prebuilt speaker to use.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[[["\u003cp\u003eThe \u003ccode\u003ePrebuiltVoiceConfig\u003c/code\u003e class, found within the \u003ccode\u003eGoogle.Cloud.AIPlatform.V1Beta1\u003c/code\u003e namespace, provides configuration options for using prebuilt speakers in the Vertex AI v1beta1 API.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from the \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePrebuiltVoiceConfig\u003c/code\u003e class has two constructors: a default constructor and a copy constructor that takes another \u003ccode\u003ePrebuiltVoiceConfig\u003c/code\u003e instance as a parameter.\u003c/p\u003e\n"],["\u003cp\u003eIt exposes two properties: \u003ccode\u003eHasVoiceName\u003c/code\u003e, a boolean indicating if the voice name is set, and \u003ccode\u003eVoiceName\u003c/code\u003e, a string representing the name of the preset voice to use.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation covers the two available versions for this class, \u003ccode\u003e1.0.0-beta21\u003c/code\u003e and \u003ccode\u003e1.0.0-beta20\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Vertex AI v1beta1 API - Class PrebuiltVoiceConfig (1.0.0-beta47)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta47 (latest)](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PrebuiltVoiceConfig)\n- [1.0.0-beta46](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/1.0.0-beta46/Google.Cloud.AIPlatform.V1Beta1.PrebuiltVoiceConfig) \n\n public sealed class PrebuiltVoiceConfig : IMessage\u003cPrebuiltVoiceConfig\u003e, IEquatable\u003cPrebuiltVoiceConfig\u003e, IDeepCloneable\u003cPrebuiltVoiceConfig\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Vertex AI v1beta1 API class PrebuiltVoiceConfig.\n\nThe configuration for the prebuilt speaker to use. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e PrebuiltVoiceConfig \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[PrebuiltVoiceConfig](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PrebuiltVoiceConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[PrebuiltVoiceConfig](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PrebuiltVoiceConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[PrebuiltVoiceConfig](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.PrebuiltVoiceConfig), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.AIPlatform.V1Beta1](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1)\n\nAssembly\n--------\n\nGoogle.Cloud.AIPlatform.V1Beta1.dll\n\nConstructors\n------------\n\n### PrebuiltVoiceConfig()\n\n public PrebuiltVoiceConfig()\n\n### PrebuiltVoiceConfig(PrebuiltVoiceConfig)\n\n public PrebuiltVoiceConfig(PrebuiltVoiceConfig other)\n\nProperties\n----------\n\n### HasVoiceName\n\n public bool HasVoiceName { get; }\n\nGets whether the \"voice_name\" field is set\n\n### VoiceName\n\n public string VoiceName { get; set; }\n\nThe name of the preset voice to use."]]