public final class GoogleCloudDiscoveryengineV1alphaAnswerCitation
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 |
|---|
GoogleCloudDiscoveryengineV1alphaAnswerCitation() |
| Modifier and Type | Method and Description |
|---|---|
GoogleCloudDiscoveryengineV1alphaAnswerCitation |
clone() |
Long |
getEndIndex()
End of the attributed segment, exclusive.
|
List<GoogleCloudDiscoveryengineV1alphaAnswerCitationSource> |
getSources()
Citation sources for the attributed segment.
|
Long |
getStartIndex()
Index indicates the start of the segment, measured in bytes (UTF-8 unicode).
|
GoogleCloudDiscoveryengineV1alphaAnswerCitation |
set(String fieldName,
Object value) |
GoogleCloudDiscoveryengineV1alphaAnswerCitation |
setEndIndex(Long endIndex)
End of the attributed segment, exclusive.
|
GoogleCloudDiscoveryengineV1alphaAnswerCitation |
setSources(List<GoogleCloudDiscoveryengineV1alphaAnswerCitationSource> sources)
Citation sources for the attributed segment.
|
GoogleCloudDiscoveryengineV1alphaAnswerCitation |
setStartIndex(Long startIndex)
Index indicates the start of the segment, measured in bytes (UTF-8 unicode).
|
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 GoogleCloudDiscoveryengineV1alphaAnswerCitation()
public Long getEndIndex()
null for nonepublic GoogleCloudDiscoveryengineV1alphaAnswerCitation setEndIndex(Long endIndex)
endIndex - endIndex or null for nonepublic List<GoogleCloudDiscoveryengineV1alphaAnswerCitationSource> getSources()
null for nonepublic GoogleCloudDiscoveryengineV1alphaAnswerCitation setSources(List<GoogleCloudDiscoveryengineV1alphaAnswerCitationSource> sources)
sources - sources or null for nonepublic Long getStartIndex()
null for nonepublic GoogleCloudDiscoveryengineV1alphaAnswerCitation setStartIndex(Long startIndex)
startIndex - startIndex or null for nonepublic GoogleCloudDiscoveryengineV1alphaAnswerCitation set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic GoogleCloudDiscoveryengineV1alphaAnswerCitation clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2026 Google. All rights reserved.