public sealed class CheckGroundingResponse.Types.Claim : IMessage<CheckGroundingResponse.Types.Claim>, IEquatable<CheckGroundingResponse.Types.Claim>, IDeepCloneable<CheckGroundingResponse.Types.Claim>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1 API class CheckGroundingResponse.Types.Claim.
Text and citation info for a claim in the answer candidate.
public RepeatedField<int> CitationIndices { get; }
A list of indices (into 'cited_chunks') specifying the citations
associated with the claim. For instance [1,3,4] means that
cited_chunks[1], cited_chunks[3], cited_chunks[4] are the facts cited
supporting for the claim. A citation to a fact indicates that the claim
is supported by the fact.
Position indicating the end of the claim in the answer candidate,
exclusive, in bytes. Note that this is not measured in characters and,
therefore, must be rendered as such. For example, if the claim text
contains non-ASCII characters, the start and end positions vary when
measured in characters (programming-language-dependent) and when measured
in bytes (programming-language-independent).
Indicates that this claim required grounding check. When the system
decided this claim doesn't require attribution/grounding check, this
field will be set to false. In that case, no grounding check was done for
the claim and therefore
[citation_indices][google.cloud.discoveryengine.v1.CheckGroundingResponse.Claim.citation_indices]
should not be returned.
Confidence score for the claim in the answer candidate, in the range of
[0, 1]. This is set only when
CheckGroundingRequest.grounding_spec.enable_claim_level_score is true.
Position indicating the start of the claim in the answer candidate,
measured in bytes. Note that this is not measured in characters and,
therefore, must be rendered in the user interface keeping in mind that
some characters may take more than one byte. For example,
if the claim text contains non-ASCII characters, the start and end
positions vary when measured in characters
(programming-language-dependent) and when measured in bytes
(programming-language-independent).
[[["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 \u003ccode\u003eCheckGroundingResponse.Types.Claim\u003c/code\u003e class in the Discovery Engine v1 API represents a claim within an answer candidate, providing text and citation details.\u003c/p\u003e\n"],["\u003cp\u003eThis class includes properties like \u003ccode\u003eClaimText\u003c/code\u003e, \u003ccode\u003eCitationIndices\u003c/code\u003e, \u003ccode\u003eStartPos\u003c/code\u003e, and \u003ccode\u003eEndPos\u003c/code\u003e to describe the claim's content, associated citations, and position within the answer.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGroundingCheckRequired\u003c/code\u003e property indicates whether a claim has undergone an attribution check, influencing the availability of citation and score information.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eCheckGroundingResponse.Types.Claim\u003c/code\u003e class is 1.6.0, with multiple previous versions available, including beta releases.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCheckGroundingResponse.Types.Claim\u003c/code\u003e class implements multiple interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e to give the class a wide range of functionalities.\u003c/p\u003e\n"]]],[],null,["# Discovery Engine v1 API - Class CheckGroundingResponse.Types.Claim (1.9.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.9.0 (latest)](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.CheckGroundingResponse.Types.Claim)\n- [1.8.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.8.0/Google.Cloud.DiscoveryEngine.V1.CheckGroundingResponse.Types.Claim)\n- [1.7.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.7.0/Google.Cloud.DiscoveryEngine.V1.CheckGroundingResponse.Types.Claim)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.6.0/Google.Cloud.DiscoveryEngine.V1.CheckGroundingResponse.Types.Claim)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.5.0/Google.Cloud.DiscoveryEngine.V1.CheckGroundingResponse.Types.Claim)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.4.0/Google.Cloud.DiscoveryEngine.V1.CheckGroundingResponse.Types.Claim)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.3.0/Google.Cloud.DiscoveryEngine.V1.CheckGroundingResponse.Types.Claim)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.2.0/Google.Cloud.DiscoveryEngine.V1.CheckGroundingResponse.Types.Claim)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.1.0/Google.Cloud.DiscoveryEngine.V1.CheckGroundingResponse.Types.Claim)\n- [1.0.0-beta06](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.0.0-beta06/Google.Cloud.DiscoveryEngine.V1.CheckGroundingResponse.Types.Claim) \n\n public sealed class CheckGroundingResponse.Types.Claim : IMessage\u003cCheckGroundingResponse.Types.Claim\u003e, IEquatable\u003cCheckGroundingResponse.Types.Claim\u003e, IDeepCloneable\u003cCheckGroundingResponse.Types.Claim\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Discovery Engine v1 API class CheckGroundingResponse.Types.Claim.\n\nText and citation info for a claim in the answer candidate. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e CheckGroundingResponse.Types.Claim \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[CheckGroundingResponse](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.CheckGroundingResponse)[Types](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.CheckGroundingResponse.Types)[Claim](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.CheckGroundingResponse.Types.Claim), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CheckGroundingResponse](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.CheckGroundingResponse)[Types](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.CheckGroundingResponse.Types)[Claim](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.CheckGroundingResponse.Types.Claim), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CheckGroundingResponse](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.CheckGroundingResponse)[Types](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.CheckGroundingResponse.Types)[Claim](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.CheckGroundingResponse.Types.Claim), [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.DiscoveryEngine.V1](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.DiscoveryEngine.V1.dll\n\nConstructors\n------------\n\n### Claim()\n\n public Claim()\n\n### Claim(Claim)\n\n public Claim(CheckGroundingResponse.Types.Claim other)\n\nProperties\n----------\n\n### CitationIndices\n\n public RepeatedField\u003cint\u003e CitationIndices { get; }\n\nA list of indices (into 'cited_chunks') specifying the citations\nassociated with the claim. For instance \\[1,3,4\\] means that\ncited_chunks\\[1\\], cited_chunks\\[3\\], cited_chunks\\[4\\] are the facts cited\nsupporting for the claim. A citation to a fact indicates that the claim\nis supported by the fact.\n\n### ClaimText\n\n public string ClaimText { get; set; }\n\nText for the claim in the answer candidate. Always provided regardless of\nwhether citations or anti-citations are found.\n\n### EndPos\n\n public int EndPos { get; set; }\n\nPosition indicating the end of the claim in the answer candidate,\nexclusive, in bytes. Note that this is not measured in characters and,\ntherefore, must be rendered as such. For example, if the claim text\ncontains non-ASCII characters, the start and end positions vary when\nmeasured in characters (programming-language-dependent) and when measured\nin bytes (programming-language-independent).\n\n### GroundingCheckRequired\n\n public bool GroundingCheckRequired { get; set; }\n\nIndicates that this claim required grounding check. When the system\ndecided this claim doesn't require attribution/grounding check, this\nfield will be set to false. In that case, no grounding check was done for\nthe claim and therefore\n\\[citation_indices\\]\\[google.cloud.discoveryengine.v1.CheckGroundingResponse.Claim.citation_indices\\]\nshould not be returned.\n\n### HasEndPos\n\n public bool HasEndPos { get; }\n\nGets whether the \"end_pos\" field is set\n\n### HasGroundingCheckRequired\n\n public bool HasGroundingCheckRequired { get; }\n\nGets whether the \"grounding_check_required\" field is set\n\n### HasScore\n\n public bool HasScore { get; }\n\nGets whether the \"score\" field is set\n\n### HasStartPos\n\n public bool HasStartPos { get; }\n\nGets whether the \"start_pos\" field is set\n\n### Score\n\n public double Score { get; set; }\n\nConfidence score for the claim in the answer candidate, in the range of\n\\[0, 1\\]. This is set only when\n`CheckGroundingRequest.grounding_spec.enable_claim_level_score` is true.\n\n### StartPos\n\n public int StartPos { get; set; }\n\nPosition indicating the start of the claim in the answer candidate,\nmeasured in bytes. Note that this is not measured in characters and,\ntherefore, must be rendered in the user interface keeping in mind that\nsome characters may take more than one byte. For example,\nif the claim text contains non-ASCII characters, the start and end\npositions vary when measured in characters\n(programming-language-dependent) and when measured in bytes\n(programming-language-independent)."]]