Package com.google.genai.types
Class TunedModelCheckpoint
-
- All Implemented Interfaces:
public abstract class TunedModelCheckpoint extends JsonSerializable
TunedModelCheckpoint for the Tuned Model of a Tuning Job.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public abstract classTunedModelCheckpoint.BuilderBuilder for TunedModelCheckpoint.
-
Field Summary
Fields Modifier and Type Field Description public final static StringMAX_READ_LENGTH_PROPERTY
-
Constructor Summary
Constructors Constructor Description TunedModelCheckpoint()
-
Method Summary
Modifier and Type Method Description abstract Optional<String>checkpointId()The ID of the checkpoint. abstract Optional<Long>epoch()The epoch of the checkpoint. abstract Optional<Long>step()The step of the checkpoint. abstract Optional<String>endpoint()The Endpoint resource name that the checkpoint is deployed to. static TunedModelCheckpoint.Builderbuilder()Instantiates a builder for TunedModelCheckpoint. abstract TunedModelCheckpoint.BuildertoBuilder()Creates a builder with the same values as this instance. static TunedModelCheckpointfromJson(String jsonString)Deserializes a JSON string to a TunedModelCheckpoint 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
-
checkpointId
abstract Optional<String> checkpointId()
The ID of the checkpoint.
-
endpoint
abstract Optional<String> endpoint()
The Endpoint resource name that the checkpoint is deployed to. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}`.
-
builder
static TunedModelCheckpoint.Builder builder()
Instantiates a builder for TunedModelCheckpoint.
-
toBuilder
abstract TunedModelCheckpoint.Builder toBuilder()
Creates a builder with the same values as this instance.
-
fromJson
static TunedModelCheckpoint fromJson(String jsonString)
Deserializes a JSON string to a TunedModelCheckpoint object.
-
-
-
-