Package com.google.genai.types
Class ExactMatchMetricValue
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.ExactMatchMetricValue
Exact match metric value for an instance. This data type is not supported in Gemini API.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder for ExactMatchMetricValue. -
Field Summary
Fields inherited from class com.google.genai.JsonSerializable
MAX_READ_LENGTH_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Instantiates a builder for ExactMatchMetricValue.static ExactMatchMetricValueDeserializes a JSON string to a ExactMatchMetricValue object.score()Output only.abstract ExactMatchMetricValue.BuilderCreates a builder with the same values as this instance.Methods inherited from class com.google.genai.JsonSerializable
fromJsonNode, fromJsonString, objectMapper, setMaxReadLength, stringToJsonNode, toJson, toJsonNode, toJsonString
-
Constructor Details
-
ExactMatchMetricValue
public ExactMatchMetricValue()
-
-
Method Details
-
score
Output only. Exact match score. -
builder
Instantiates a builder for ExactMatchMetricValue. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a ExactMatchMetricValue object.
-