Package com.google.genai.types
Class ListCachedContentsParameters
-
- All Implemented Interfaces:
@InternalApi() public abstract class ListCachedContentsParameters extends JsonSerializable
Parameters for caches.list method.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public abstract classListCachedContentsParameters.BuilderBuilder for ListCachedContentsParameters.
-
Field Summary
Fields Modifier and Type Field Description public final static StringMAX_READ_LENGTH_PROPERTY
-
Constructor Summary
Constructors Constructor Description ListCachedContentsParameters()
-
Method Summary
Modifier and Type Method Description abstract Optional<ListCachedContentsConfig>config()Configuration that contains optional parameters. static ListCachedContentsParameters.Builderbuilder()Instantiates a builder for ListCachedContentsParameters. abstract ListCachedContentsParameters.BuildertoBuilder()Creates a builder with the same values as this instance. static ListCachedContentsParametersfromJson(String jsonString)Deserializes a JSON string to a ListCachedContentsParameters 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
-
config
abstract Optional<ListCachedContentsConfig> config()
Configuration that contains optional parameters.
-
builder
static ListCachedContentsParameters.Builder builder()
Instantiates a builder for ListCachedContentsParameters.
-
toBuilder
abstract ListCachedContentsParameters.Builder toBuilder()
Creates a builder with the same values as this instance.
-
fromJson
static ListCachedContentsParameters fromJson(String jsonString)
Deserializes a JSON string to a ListCachedContentsParameters object.
-
-
-
-