public final class GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpec
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 |
|---|
GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpec() |
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 GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpec()
public String getAnswerLanguageCode()
null for nonepublic GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpec setAnswerLanguageCode(String answerLanguageCode)
answerLanguageCode - answerLanguageCode or null for nonepublic Boolean getIgnoreAdversarialQuery()
null for nonepublic GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpec setIgnoreAdversarialQuery(Boolean ignoreAdversarialQuery)
ignoreAdversarialQuery - ignoreAdversarialQuery or null for nonepublic Boolean getIgnoreJailBreakingQuery()
null for nonepublic GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpec setIgnoreJailBreakingQuery(Boolean ignoreJailBreakingQuery)
ignoreJailBreakingQuery - ignoreJailBreakingQuery or null for nonepublic Boolean getIgnoreLowRelevantContent()
null for nonepublic GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpec setIgnoreLowRelevantContent(Boolean ignoreLowRelevantContent)
ignoreLowRelevantContent - ignoreLowRelevantContent or null for nonepublic Boolean getIgnoreNonAnswerSeekingQuery()
null for nonepublic GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpec setIgnoreNonAnswerSeekingQuery(Boolean ignoreNonAnswerSeekingQuery)
ignoreNonAnswerSeekingQuery - ignoreNonAnswerSeekingQuery or null for nonepublic Boolean getIncludeCitations()
null for nonepublic GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpec setIncludeCitations(Boolean includeCitations)
includeCitations - includeCitations or null for nonepublic GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpecModelSpec getModelSpec()
null for nonepublic GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpec setModelSpec(GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpecModelSpec modelSpec)
modelSpec - modelSpec or null for nonepublic GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpecPromptSpec getPromptSpec()
null for nonepublic GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpec setPromptSpec(GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpecPromptSpec promptSpec)
promptSpec - promptSpec or null for nonepublic GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpec set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpec clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2026 Google. All rights reserved.