public static ExplainOptions FromProto(ExplainOptions proto)
Creates a new instance based on the Protobuf Google.Cloud.Firestore.V1.ExplainOptions representation.
Later modifications to the Protobuf representation will not affect the returned oject.
Parameter
Name
Description
proto
Google.Cloud.Firestore.V1.ExplainOptions
The underlying Protobuf representation. Must not be null.
A new instance wrapping a clone of the protobuf message.
ToProto()
public ExplainOptions ToProto()
Creates a Protobuf Google.Cloud.Firestore.V1.ExplainOptions representation of this
set of options. Modifications to the returned message will not be reflected in this object.
[[["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\u003eExplainOptions\u003c/code\u003e class for the Firestore API is 3.10.0, with documentation available for previous versions dating back to 2.3.1.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eExplainOptions\u003c/code\u003e is a class within the \u003ccode\u003eGoogle.Cloud.Firestore\u003c/code\u003e namespace used to configure how query explanations are generated, allowing for planning-only or planning-and-execution analysis.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAnalyze\u003c/code\u003e property, when set to true, enables both planning and execution of a query, providing full metrics, while false (default) only plans the query, providing planning stage metrics.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ePlanOnly\u003c/code\u003e is a static property that provides options for planning a query without execution, while \u003ccode\u003ePlanAndExecute\u003c/code\u003e provides options for both planning and executing a query.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eExplainOptions\u003c/code\u003e instances can be created from and converted to their Protobuf representation using the \u003ccode\u003eFromProto\u003c/code\u003e and \u003ccode\u003eToProto\u003c/code\u003e methods respectively, ensuring no data is lost in the conversion process.\u003c/p\u003e\n"]]],[],null,[]]