Package com.google.genai.types
Class TunedModel
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.TunedModel
None
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TunedModel.Builder
builder()
Instantiates a builder for TunedModel.abstract Optional<List<TunedModelCheckpoint>>
The checkpoints associated with this TunedModel.endpoint()
Output only.static TunedModel
Deserializes a JSON string to a TunedModel object.model()
Output only.abstract TunedModel.Builder
Creates a builder with the same values as this instance.Methods inherited from class com.google.genai.JsonSerializable
stringToJsonNode, toJson
-
Constructor Details
-
TunedModel
public TunedModel()
-
-
Method Details
-
model
Output only. The resource name of the TunedModel. Format: `projects/{project}/locations/{location}/models/{model}@{version_id}` When tuning from a base model, the version_id will be 1. For continuous tuning, the version id will be incremented by 1 from the last version id in the parent model. E.g., `projects/{project}/locations/{location}/models/{model}@{last_version_id + 1}` -
endpoint
Output only. A resource name of an Endpoint. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}`. -
checkpoints
The checkpoints associated with this TunedModel. This field is only populated for tuning jobs that enable intermediate checkpoints. -
builder
Instantiates a builder for TunedModel. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a TunedModel object.
-