Package com.google.genai.types
Class GetCachedContentConfig
-
- All Implemented Interfaces:
public abstract class GetCachedContentConfig extends JsonSerializable
Optional parameters for caches.get method.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public abstract classGetCachedContentConfig.BuilderBuilder for GetCachedContentConfig.
-
Field Summary
Fields Modifier and Type Field Description public final static StringMAX_READ_LENGTH_PROPERTY
-
Constructor Summary
Constructors Constructor Description GetCachedContentConfig()
-
Method Summary
Modifier and Type Method Description abstract Optional<HttpOptions>httpOptions()Used to override HTTP request options. static GetCachedContentConfig.Builderbuilder()Instantiates a builder for GetCachedContentConfig. abstract GetCachedContentConfig.BuildertoBuilder()Creates a builder with the same values as this instance. static GetCachedContentConfigfromJson(String jsonString)Deserializes a JSON string to a GetCachedContentConfig 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
-
httpOptions
abstract Optional<HttpOptions> httpOptions()
Used to override HTTP request options.
-
builder
static GetCachedContentConfig.Builder builder()
Instantiates a builder for GetCachedContentConfig.
-
toBuilder
abstract GetCachedContentConfig.Builder toBuilder()
Creates a builder with the same values as this instance.
-
fromJson
static GetCachedContentConfig fromJson(String jsonString)
Deserializes a JSON string to a GetCachedContentConfig object.
-
-
-
-