public sealed class PrepareQueryResponse : IMessage<PrepareQueryResponse>, IEquatable<PrepareQueryResponse>, IDeepCloneable<PrepareQueryResponse>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Bigtable v2 API class PrepareQueryResponse.
Response message for Bigtable.PrepareQueryResponse
The time at which the prepared query token becomes invalid.
A token may become invalid early due to changes in the data being read, but
it provides a guideline to refresh query plans asynchronously.
[[["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-12 UTC."],[[["\u003cp\u003eThis webpage provides documentation for the \u003ccode\u003ePrepareQueryResponse\u003c/code\u003e class within the Google Bigtable v2 API for .NET, with the latest version being 3.17.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ePrepareQueryResponse\u003c/code\u003e is a response message used in the Bigtable API to handle the outcome of a prepare query operation, and implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, and \u003ccode\u003eIDeepCloneable\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePrepareQueryResponse\u003c/code\u003e class contains three key properties: \u003ccode\u003eMetadata\u003c/code\u003e, \u003ccode\u003ePreparedQuery\u003c/code\u003e, and \u003ccode\u003eValidUntil\u003c/code\u003e, which store row structure information, a serialized query, and the expiration time of the prepared query, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation includes links to various versions of the \u003ccode\u003ePrepareQueryResponse\u003c/code\u003e class, ranging from version 2.2.0 up to the latest version, 3.17.0, allowing developers to access different release details.\u003c/p\u003e\n"],["\u003cp\u003eThe class supports the construction of objects either with default constructor or another \u003ccode\u003ePrepareQueryResponse\u003c/code\u003e instance.\u003c/p\u003e\n"]]],[],null,["# Google Bigtable v2 API - Class PrepareQueryResponse (3.23.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.23.0 (latest)](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.PrepareQueryResponse)\n- [3.22.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.22.0/Google.Cloud.Bigtable.V2.PrepareQueryResponse)\n- [3.21.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.21.0/Google.Cloud.Bigtable.V2.PrepareQueryResponse)\n- [3.20.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.20.0/Google.Cloud.Bigtable.V2.PrepareQueryResponse)\n- [3.19.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.19.0/Google.Cloud.Bigtable.V2.PrepareQueryResponse)\n- [3.18.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.18.0/Google.Cloud.Bigtable.V2.PrepareQueryResponse)\n- [3.17.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.17.0/Google.Cloud.Bigtable.V2.PrepareQueryResponse)\n- [3.16.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.16.0/Google.Cloud.Bigtable.V2.PrepareQueryResponse)\n- [3.15.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.15.0/Google.Cloud.Bigtable.V2.PrepareQueryResponse)\n- [3.14.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.14.0/Google.Cloud.Bigtable.V2.PrepareQueryResponse)\n- [3.13.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.13.0/Google.Cloud.Bigtable.V2.PrepareQueryResponse)\n- [3.12.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.12.0/Google.Cloud.Bigtable.V2.PrepareQueryResponse)\n- [3.11.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.11.0/Google.Cloud.Bigtable.V2.PrepareQueryResponse)\n- [3.10.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.10.0/Google.Cloud.Bigtable.V2.PrepareQueryResponse)\n- [3.9.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.9.0/Google.Cloud.Bigtable.V2.PrepareQueryResponse)\n- [3.8.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.8.0/Google.Cloud.Bigtable.V2.PrepareQueryResponse)\n- [3.7.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.7.0/Google.Cloud.Bigtable.V2.PrepareQueryResponse)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.6.0/Google.Cloud.Bigtable.V2.PrepareQueryResponse)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.5.0/Google.Cloud.Bigtable.V2.PrepareQueryResponse)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.4.0/Google.Cloud.Bigtable.V2.PrepareQueryResponse)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.3.0/Google.Cloud.Bigtable.V2.PrepareQueryResponse)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.2.0/Google.Cloud.Bigtable.V2.PrepareQueryResponse)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.1.0/Google.Cloud.Bigtable.V2.PrepareQueryResponse)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.0.0/Google.Cloud.Bigtable.V2.PrepareQueryResponse)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/2.6.0/Google.Cloud.Bigtable.V2.PrepareQueryResponse)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/2.5.0/Google.Cloud.Bigtable.V2.PrepareQueryResponse)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/2.4.0/Google.Cloud.Bigtable.V2.PrepareQueryResponse)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/2.3.0/Google.Cloud.Bigtable.V2.PrepareQueryResponse)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/2.2.0/Google.Cloud.Bigtable.V2.PrepareQueryResponse) \n\n public sealed class PrepareQueryResponse : IMessage\u003cPrepareQueryResponse\u003e, IEquatable\u003cPrepareQueryResponse\u003e, IDeepCloneable\u003cPrepareQueryResponse\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Bigtable v2 API class PrepareQueryResponse.\n\nResponse message for Bigtable.PrepareQueryResponse \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e PrepareQueryResponse \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[PrepareQueryResponse](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.PrepareQueryResponse), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[PrepareQueryResponse](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.PrepareQueryResponse), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[PrepareQueryResponse](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.PrepareQueryResponse), [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.Bigtable.V2](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2)\n\nAssembly\n--------\n\nGoogle.Cloud.Bigtable.V2.dll\n\nConstructors\n------------\n\n### PrepareQueryResponse()\n\n public PrepareQueryResponse()\n\n### PrepareQueryResponse(PrepareQueryResponse)\n\n public PrepareQueryResponse(PrepareQueryResponse other)\n\nProperties\n----------\n\n### Metadata\n\n public ResultSetMetadata Metadata { get; set; }\n\nStructure of rows in the response stream of `ExecuteQueryResponse` for the\nreturned `prepared_query`.\n\n### PreparedQuery\n\n public ByteString PreparedQuery { get; set; }\n\nA serialized prepared query. Clients should treat this as an opaque\nblob of bytes to send in `ExecuteQueryRequest`.\n\n### ValidUntil\n\n public Timestamp ValidUntil { get; set; }\n\nThe time at which the prepared query token becomes invalid.\nA token may become invalid early due to changes in the data being read, but\nit provides a guideline to refresh query plans asynchronously."]]