public sealed class AdaptiveMtTranslateRequest.Types.ReferenceSentencePair : IMessage<AdaptiveMtTranslateRequest.Types.ReferenceSentencePair>, IEquatable<AdaptiveMtTranslateRequest.Types.ReferenceSentencePair>, IDeepCloneable<AdaptiveMtTranslateRequest.Types.ReferenceSentencePair>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Translation v3 API class AdaptiveMtTranslateRequest.Types.ReferenceSentencePair.
A pair of sentences used as reference in source and target languages.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[[["\u003cp\u003eThe latest version available for the \u003ccode\u003eAdaptiveMtTranslateRequest.Types.ReferenceSentencePair\u003c/code\u003e class in the Google Cloud Translation v3 API is 3.9.0.\u003c/p\u003e\n"],["\u003cp\u003eThis class represents a pair of sentences in source and target languages, used as a reference for translation purposes.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eReferenceSentencePair\u003c/code\u003e 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, demonstrating its role in message handling and data structure.\u003c/p\u003e\n"],["\u003cp\u003eThe class has properties for \u003ccode\u003eSourceSentence\u003c/code\u003e and \u003ccode\u003eTargetSentence\u003c/code\u003e, both of which are strings, representing the source and target sentences of the pair respectively.\u003c/p\u003e\n"],["\u003cp\u003eMultiple versions are available, from versions 2.2.0 to 3.9.0, each with their own documentation page.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Translation v3 API - Class AdaptiveMtTranslateRequest.Types.ReferenceSentencePair (3.9.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.9.0 (latest)](/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.AdaptiveMtTranslateRequest.Types.ReferenceSentencePair)\n- [3.8.0](/dotnet/docs/reference/Google.Cloud.Translate.V3/3.8.0/Google.Cloud.Translate.V3.AdaptiveMtTranslateRequest.Types.ReferenceSentencePair)\n- [3.7.0](/dotnet/docs/reference/Google.Cloud.Translate.V3/3.7.0/Google.Cloud.Translate.V3.AdaptiveMtTranslateRequest.Types.ReferenceSentencePair)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.Translate.V3/3.6.0/Google.Cloud.Translate.V3.AdaptiveMtTranslateRequest.Types.ReferenceSentencePair)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Translate.V3/3.5.0/Google.Cloud.Translate.V3.AdaptiveMtTranslateRequest.Types.ReferenceSentencePair)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Translate.V3/3.4.0/Google.Cloud.Translate.V3.AdaptiveMtTranslateRequest.Types.ReferenceSentencePair)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Translate.V3/3.3.0/Google.Cloud.Translate.V3.AdaptiveMtTranslateRequest.Types.ReferenceSentencePair)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Translate.V3/3.2.0/Google.Cloud.Translate.V3.AdaptiveMtTranslateRequest.Types.ReferenceSentencePair)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Translate.V3/3.1.0/Google.Cloud.Translate.V3.AdaptiveMtTranslateRequest.Types.ReferenceSentencePair)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Translate.V3/3.0.0/Google.Cloud.Translate.V3.AdaptiveMtTranslateRequest.Types.ReferenceSentencePair)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Translate.V3/2.4.0/Google.Cloud.Translate.V3.AdaptiveMtTranslateRequest.Types.ReferenceSentencePair)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Translate.V3/2.3.0/Google.Cloud.Translate.V3.AdaptiveMtTranslateRequest.Types.ReferenceSentencePair)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Translate.V3/2.2.0/Google.Cloud.Translate.V3.AdaptiveMtTranslateRequest.Types.ReferenceSentencePair) \n\n public sealed class AdaptiveMtTranslateRequest.Types.ReferenceSentencePair : IMessage\u003cAdaptiveMtTranslateRequest.Types.ReferenceSentencePair\u003e, IEquatable\u003cAdaptiveMtTranslateRequest.Types.ReferenceSentencePair\u003e, IDeepCloneable\u003cAdaptiveMtTranslateRequest.Types.ReferenceSentencePair\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Translation v3 API class AdaptiveMtTranslateRequest.Types.ReferenceSentencePair.\n\nA pair of sentences used as reference in source and target languages. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e AdaptiveMtTranslateRequest.Types.ReferenceSentencePair \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[AdaptiveMtTranslateRequest](/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.AdaptiveMtTranslateRequest)[Types](/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.AdaptiveMtTranslateRequest.Types)[ReferenceSentencePair](/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.AdaptiveMtTranslateRequest.Types.ReferenceSentencePair), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[AdaptiveMtTranslateRequest](/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.AdaptiveMtTranslateRequest)[Types](/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.AdaptiveMtTranslateRequest.Types)[ReferenceSentencePair](/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.AdaptiveMtTranslateRequest.Types.ReferenceSentencePair), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[AdaptiveMtTranslateRequest](/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.AdaptiveMtTranslateRequest)[Types](/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.AdaptiveMtTranslateRequest.Types)[ReferenceSentencePair](/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.AdaptiveMtTranslateRequest.Types.ReferenceSentencePair), [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.Translate.V3](/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3)\n\nAssembly\n--------\n\nGoogle.Cloud.Translate.V3.dll\n\nConstructors\n------------\n\n### ReferenceSentencePair()\n\n public ReferenceSentencePair()\n\n### ReferenceSentencePair(ReferenceSentencePair)\n\n public ReferenceSentencePair(AdaptiveMtTranslateRequest.Types.ReferenceSentencePair other)\n\nProperties\n----------\n\n### SourceSentence\n\n public string SourceSentence { get; set; }\n\nSource sentence in the sentence pair.\n\n### TargetSentence\n\n public string TargetSentence { get; set; }\n\nTarget sentence in the sentence pair."]]