public final class GenAiFunctionStats
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 BigQuery 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 |
|---|
GenAiFunctionStats() |
| Modifier and Type | Method and Description |
|---|---|
GenAiFunctionStats |
clone() |
GenAiFunctionCostOptimizationStats |
getCostOptimizationStats()
Cost optimization stats if applied on the rows processed by the function.
|
GenAiFunctionErrorStats |
getErrorStats()
Error stats for the function.
|
String |
getFunctionName()
Name of the function.
|
Long |
getNumProcessedRows()
Number of rows processed by this GenAi function.
|
String |
getPrompt()
User input prompt of the function (truncated to 20 chars).
|
GenAiFunctionStats |
set(String fieldName,
Object value) |
GenAiFunctionStats |
setCostOptimizationStats(GenAiFunctionCostOptimizationStats costOptimizationStats)
Cost optimization stats if applied on the rows processed by the function.
|
GenAiFunctionStats |
setErrorStats(GenAiFunctionErrorStats errorStats)
Error stats for the function.
|
GenAiFunctionStats |
setFunctionName(String functionName)
Name of the function.
|
GenAiFunctionStats |
setNumProcessedRows(Long numProcessedRows)
Number of rows processed by this GenAi function.
|
GenAiFunctionStats |
setPrompt(String prompt)
User input prompt of the function (truncated to 20 chars).
|
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 GenAiFunctionCostOptimizationStats getCostOptimizationStats()
null for nonepublic GenAiFunctionStats setCostOptimizationStats(GenAiFunctionCostOptimizationStats costOptimizationStats)
costOptimizationStats - costOptimizationStats or null for nonepublic GenAiFunctionErrorStats getErrorStats()
null for nonepublic GenAiFunctionStats setErrorStats(GenAiFunctionErrorStats errorStats)
errorStats - errorStats or null for nonepublic String getFunctionName()
null for nonepublic GenAiFunctionStats setFunctionName(String functionName)
functionName - functionName or null for nonepublic Long getNumProcessedRows()
null for nonepublic GenAiFunctionStats setNumProcessedRows(Long numProcessedRows)
numProcessedRows - numProcessedRows or null for nonepublic String getPrompt()
null for nonepublic GenAiFunctionStats setPrompt(String prompt)
prompt - prompt or null for nonepublic GenAiFunctionStats set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic GenAiFunctionStats clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2026 Google. All rights reserved.