Package com.google.genai.types
Class OutputInfo
-
- All Implemented Interfaces:
public abstract class OutputInfo extends JsonSerializable
Describes the info for output of EvaluationService. This data type is not supported in Gemini API.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public abstract classOutputInfo.BuilderBuilder for OutputInfo.
-
Field Summary
Fields Modifier and Type Field Description public final static StringMAX_READ_LENGTH_PROPERTY
-
Constructor Summary
Constructors Constructor Description OutputInfo()
-
Method Summary
Modifier and Type Method Description abstract Optional<String>gcsOutputDirectory()Output only. static OutputInfo.Builderbuilder()Instantiates a builder for OutputInfo. abstract OutputInfo.BuildertoBuilder()Creates a builder with the same values as this instance. static OutputInfofromJson(String jsonString)Deserializes a JSON string to a OutputInfo object. -
Methods inherited from class com.google.genai.JsonSerializable
fromJsonNode, fromJsonString, objectMapper, setMaxReadLength, stringToJsonNode, toJson, toJsonNode, toJsonString -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
gcsOutputDirectory
abstract Optional<String> gcsOutputDirectory()
Output only. The full path of the Cloud Storage directory created, into which the evaluation results and aggregation results are written.
-
builder
static OutputInfo.Builder builder()
Instantiates a builder for OutputInfo.
-
toBuilder
abstract OutputInfo.Builder toBuilder()
Creates a builder with the same values as this instance.
-
fromJson
static OutputInfo fromJson(String jsonString)
Deserializes a JSON string to a OutputInfo object.
-
-
-
-