Class ListFilesResponse

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public abstract class ListFilesResponse.Builder

      Builder for ListFilesResponse.

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Optional<HttpResponse> sdkHttpResponse() Used to retain the full HTTP response.
      abstract Optional<String> nextPageToken() A token that can be sent as a `page_token` into a subsequent `ListFiles` call.
      abstract Optional<List<File>> files() The list of `File`s.
      static ListFilesResponse.Builder builder() Instantiates a builder for ListFilesResponse.
      abstract ListFilesResponse.Builder toBuilder() Creates a builder with the same values as this instance.
      static ListFilesResponse fromJson(String jsonString) Deserializes a JSON string to a ListFilesResponse 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