Package com.google.genai.types
Class TunedModelInfo
-
- All Implemented Interfaces:
public abstract class TunedModelInfo extends JsonSerializable
A tuned machine learning model.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public abstract classTunedModelInfo.BuilderBuilder for TunedModelInfo.
-
Field Summary
Fields Modifier and Type Field Description public final static StringMAX_READ_LENGTH_PROPERTY
-
Constructor Summary
Constructors Constructor Description TunedModelInfo()
-
Method Summary
Modifier and Type Method Description abstract Optional<String>baseModel()ID of the base model that you want to tune. abstract Optional<Instant>createTime()Date and time when the base model was created. abstract Optional<Instant>updateTime()Date and time when the base model was last updated. static TunedModelInfo.Builderbuilder()Instantiates a builder for TunedModelInfo. abstract TunedModelInfo.BuildertoBuilder()Creates a builder with the same values as this instance. static TunedModelInfofromJson(String jsonString)Deserializes a JSON string to a TunedModelInfo 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
-
createTime
abstract Optional<Instant> createTime()
Date and time when the base model was created.
-
updateTime
abstract Optional<Instant> updateTime()
Date and time when the base model was last updated.
-
builder
static TunedModelInfo.Builder builder()
Instantiates a builder for TunedModelInfo.
-
toBuilder
abstract TunedModelInfo.Builder toBuilder()
Creates a builder with the same values as this instance.
-
fromJson
static TunedModelInfo fromJson(String jsonString)
Deserializes a JSON string to a TunedModelInfo object.
-
-
-
-