public sealed class SrtOutputFileFormatConfig : IMessage<SrtOutputFileFormatConfig>, IEquatable<SrtOutputFileFormatConfig>, IDeepCloneable<SrtOutputFileFormatConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Speech-to-Text v2 API class SrtOutputFileFormatConfig.
Output configurations SubRip
Text
formatted subtitle file.
[[["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-07 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eSrtOutputFileFormatConfig\u003c/code\u003e class is 1.4.0, which is part of the Google Cloud Speech-to-Text v2 API.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSrtOutputFileFormatConfig\u003c/code\u003e is a class designed for configuring output files in SubRip Text (SRT) format, commonly used for subtitles.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from the \u003ccode\u003eobject\u003c/code\u003e class and implements \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e interfaces.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors available for the \u003ccode\u003eSrtOutputFileFormatConfig\u003c/code\u003e class, one default and another that takes an existing \u003ccode\u003eSrtOutputFileFormatConfig\u003c/code\u003e object as a parameter.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSrtOutputFileFormatConfig\u003c/code\u003e class is found within the \u003ccode\u003eGoogle.Cloud.Speech.V2\u003c/code\u003e namespace and is contained in the \u003ccode\u003eGoogle.Cloud.Speech.V2.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,["# Cloud Speech-to-Text v2 API - Class SrtOutputFileFormatConfig (1.5.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.5.0 (latest)](/dotnet/docs/reference/Google.Cloud.Speech.V2/latest/Google.Cloud.Speech.V2.SrtOutputFileFormatConfig)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.Speech.V2/1.4.0/Google.Cloud.Speech.V2.SrtOutputFileFormatConfig)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.Speech.V2/1.3.0/Google.Cloud.Speech.V2.SrtOutputFileFormatConfig)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Speech.V2/1.2.0/Google.Cloud.Speech.V2.SrtOutputFileFormatConfig)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Speech.V2/1.1.0/Google.Cloud.Speech.V2.SrtOutputFileFormatConfig)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Speech.V2/1.0.0/Google.Cloud.Speech.V2.SrtOutputFileFormatConfig) \n\n public sealed class SrtOutputFileFormatConfig : IMessage\u003cSrtOutputFileFormatConfig\u003e, IEquatable\u003cSrtOutputFileFormatConfig\u003e, IDeepCloneable\u003cSrtOutputFileFormatConfig\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Cloud Speech-to-Text v2 API class SrtOutputFileFormatConfig.\n\nOutput configurations [SubRip\nText](https://www.matroska.org/technical/subtitles.html#srt-subtitles)\nformatted subtitle file. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e SrtOutputFileFormatConfig \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[SrtOutputFileFormatConfig](/dotnet/docs/reference/Google.Cloud.Speech.V2/latest/Google.Cloud.Speech.V2.SrtOutputFileFormatConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[SrtOutputFileFormatConfig](/dotnet/docs/reference/Google.Cloud.Speech.V2/latest/Google.Cloud.Speech.V2.SrtOutputFileFormatConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[SrtOutputFileFormatConfig](/dotnet/docs/reference/Google.Cloud.Speech.V2/latest/Google.Cloud.Speech.V2.SrtOutputFileFormatConfig), [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.Speech.V2](/dotnet/docs/reference/Google.Cloud.Speech.V2/latest/Google.Cloud.Speech.V2)\n\nAssembly\n--------\n\nGoogle.Cloud.Speech.V2.dll\n\nConstructors\n------------\n\n### SrtOutputFileFormatConfig()\n\n public SrtOutputFileFormatConfig()\n\n### SrtOutputFileFormatConfig(SrtOutputFileFormatConfig)\n\n public SrtOutputFileFormatConfig(SrtOutputFileFormatConfig other)"]]