public final class GoogleCloudDiscoveryengineV1CheckGroundingResponseClaim
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Discovery Engine API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
GoogleCloudDiscoveryengineV1CheckGroundingResponseClaim() |
| Modifier and Type | Method and Description |
|---|---|
GoogleCloudDiscoveryengineV1CheckGroundingResponseClaim |
clone() |
List<Integer> |
getCitationIndices()
A list of indices (into 'cited_chunks') specifying the citations associated with the claim.
|
String |
getClaimText()
Text for the claim in the answer candidate.
|
Integer |
getEndPos()
Position indicating the end of the claim in the answer candidate, exclusive, in bytes.
|
Boolean |
getGroundingCheckRequired()
Indicates that this claim required grounding check.
|
Double |
getScore()
Confidence score for the claim in the answer candidate, in the range of [0, 1].
|
Integer |
getStartPos()
Position indicating the start of the claim in the answer candidate, measured in bytes.
|
GoogleCloudDiscoveryengineV1CheckGroundingResponseClaim |
set(String fieldName,
Object value) |
GoogleCloudDiscoveryengineV1CheckGroundingResponseClaim |
setCitationIndices(List<Integer> citationIndices)
A list of indices (into 'cited_chunks') specifying the citations associated with the claim.
|
GoogleCloudDiscoveryengineV1CheckGroundingResponseClaim |
setClaimText(String claimText)
Text for the claim in the answer candidate.
|
GoogleCloudDiscoveryengineV1CheckGroundingResponseClaim |
setEndPos(Integer endPos)
Position indicating the end of the claim in the answer candidate, exclusive, in bytes.
|
GoogleCloudDiscoveryengineV1CheckGroundingResponseClaim |
setGroundingCheckRequired(Boolean groundingCheckRequired)
Indicates that this claim required grounding check.
|
GoogleCloudDiscoveryengineV1CheckGroundingResponseClaim |
setScore(Double score)
Confidence score for the claim in the answer candidate, in the range of [0, 1].
|
GoogleCloudDiscoveryengineV1CheckGroundingResponseClaim |
setStartPos(Integer startPos)
Position indicating the start of the claim in the answer candidate, measured in bytes.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic GoogleCloudDiscoveryengineV1CheckGroundingResponseClaim()
public List<Integer> getCitationIndices()
null for nonepublic GoogleCloudDiscoveryengineV1CheckGroundingResponseClaim setCitationIndices(List<Integer> citationIndices)
citationIndices - citationIndices or null for nonepublic String getClaimText()
null for nonepublic GoogleCloudDiscoveryengineV1CheckGroundingResponseClaim setClaimText(String claimText)
claimText - claimText or null for nonepublic Integer getEndPos()
null for nonepublic GoogleCloudDiscoveryengineV1CheckGroundingResponseClaim setEndPos(Integer endPos)
endPos - endPos or null for nonepublic Boolean getGroundingCheckRequired()
null for nonepublic GoogleCloudDiscoveryengineV1CheckGroundingResponseClaim setGroundingCheckRequired(Boolean groundingCheckRequired)
groundingCheckRequired - groundingCheckRequired or null for nonepublic Double getScore()
null for nonepublic GoogleCloudDiscoveryengineV1CheckGroundingResponseClaim setScore(Double score)
score - score or null for nonepublic Integer getStartPos()
null for nonepublic GoogleCloudDiscoveryengineV1CheckGroundingResponseClaim setStartPos(Integer startPos)
startPos - startPos or null for nonepublic GoogleCloudDiscoveryengineV1CheckGroundingResponseClaim set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic GoogleCloudDiscoveryengineV1CheckGroundingResponseClaim clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2026 Google. All rights reserved.