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