public sealed class MatchInfo : IMessage<SuggestionInfo.Types.MatchInfo>, IEquatable<SuggestionInfo.Types.MatchInfo>, IDeepCloneable<SuggestionInfo.Types.MatchInfo>, IBufferMessage, IMessage
MatchInfo describes which part of suggestion matched with data in user
typed query. This can be used to highlight matching parts in the UI. This
is different from the annotations provided in annotated_suggestion. The
annotated_suggestion provides information about the semantic meaning, while
this provides information about how it relates to the input.
[[["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\u003e\u003ccode\u003eMatchInfo\u003c/code\u003e is a class that identifies the matching parts of a suggestion within a user's typed query, which can be used for highlighting in the UI.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMatchInfo\u003c/code\u003e class, found in the \u003ccode\u003eGoogle.Cloud.DataQnA.V1Alpha\u003c/code\u003e namespace, 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.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMatchInfo\u003c/code\u003e class provides properties \u003ccode\u003eLength\u003c/code\u003e and \u003ccode\u003eStartCharIndex\u003c/code\u003e, to specify the count of unicode characters and the unicode character index, respectively, of the matching substring.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eMatchInfo\u003c/code\u003e has two constructors: a parameterless constructor, and a constructor accepting a \u003ccode\u003eSuggestionInfo.Types.MatchInfo\u003c/code\u003e parameter.\u003c/p\u003e\n"]]],[],null,[]]