Package com.google.genai.types
Class ListTuningJobsResponse
-
- All Implemented Interfaces:
public abstract class ListTuningJobsResponse extends JsonSerializable
Response for the list tuning jobs method.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public abstract classListTuningJobsResponse.BuilderBuilder for ListTuningJobsResponse.
-
Field Summary
Fields Modifier and Type Field Description public final static StringMAX_READ_LENGTH_PROPERTY
-
Constructor Summary
Constructors Constructor Description ListTuningJobsResponse()
-
Method Summary
Modifier and Type Method Description abstract Optional<HttpResponse>sdkHttpResponse()Used to retain the full HTTP response. abstract Optional<String>nextPageToken()A token to retrieve the next page of results. abstract Optional<List<TuningJob>>tuningJobs()The tuning jobs that match the request. static ListTuningJobsResponse.Builderbuilder()Instantiates a builder for ListTuningJobsResponse. abstract ListTuningJobsResponse.BuildertoBuilder()Creates a builder with the same values as this instance. static ListTuningJobsResponsefromJson(String jsonString)Deserializes a JSON string to a ListTuningJobsResponse 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
-
sdkHttpResponse
abstract Optional<HttpResponse> sdkHttpResponse()
Used to retain the full HTTP response.
-
nextPageToken
abstract Optional<String> nextPageToken()
A token to retrieve the next page of results. Pass this token in a subsequent [GenAiTuningService.ListTuningJobs] call to retrieve the next page of results.
-
tuningJobs
abstract Optional<List<TuningJob>> tuningJobs()
The tuning jobs that match the request.
-
builder
static ListTuningJobsResponse.Builder builder()
Instantiates a builder for ListTuningJobsResponse.
-
toBuilder
abstract ListTuningJobsResponse.Builder toBuilder()
Creates a builder with the same values as this instance.
-
fromJson
static ListTuningJobsResponse fromJson(String jsonString)
Deserializes a JSON string to a ListTuningJobsResponse object.
-
-
-
-