public final class GoogleCloudDiscoveryengineV1RankingRecord
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 |
|---|
GoogleCloudDiscoveryengineV1RankingRecord() |
| Modifier and Type | Method and Description |
|---|---|
GoogleCloudDiscoveryengineV1RankingRecord |
clone() |
String |
getContent()
The content of the record.
|
String |
getId()
The unique ID to represent the record.
|
Float |
getScore()
The score of this record based on the given query and selected model.
|
String |
getTitle()
The title of the record.
|
GoogleCloudDiscoveryengineV1RankingRecord |
set(String fieldName,
Object value) |
GoogleCloudDiscoveryengineV1RankingRecord |
setContent(String content)
The content of the record.
|
GoogleCloudDiscoveryengineV1RankingRecord |
setId(String id)
The unique ID to represent the record.
|
GoogleCloudDiscoveryengineV1RankingRecord |
setScore(Float score)
The score of this record based on the given query and selected model.
|
GoogleCloudDiscoveryengineV1RankingRecord |
setTitle(String title)
The title of the record.
|
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 GoogleCloudDiscoveryengineV1RankingRecord()
public String getContent()
null for nonepublic GoogleCloudDiscoveryengineV1RankingRecord setContent(String content)
content - content or null for nonepublic String getId()
null for nonepublic GoogleCloudDiscoveryengineV1RankingRecord setId(String id)
id - id or null for nonepublic Float getScore()
null for nonepublic GoogleCloudDiscoveryengineV1RankingRecord setScore(Float score)
score - score or null for nonepublic String getTitle()
null for nonepublic GoogleCloudDiscoveryengineV1RankingRecord setTitle(String title)
title - title or null for nonepublic GoogleCloudDiscoveryengineV1RankingRecord set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic GoogleCloudDiscoveryengineV1RankingRecord clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2026 Google. All rights reserved.