Package com.google.genai.types
Class RegisterFilesConfig
-
- All Implemented Interfaces:
public abstract class RegisterFilesConfig extends JsonSerializable
Used to override the default configuration.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public abstract classRegisterFilesConfig.BuilderBuilder for RegisterFilesConfig.
-
Field Summary
Fields Modifier and Type Field Description public final static StringMAX_READ_LENGTH_PROPERTY
-
Constructor Summary
Constructors Constructor Description RegisterFilesConfig()
-
Method Summary
Modifier and Type Method Description abstract Optional<HttpOptions>httpOptions()Used to override HTTP request options. abstract Optional<Boolean>shouldReturnHttpResponse()If true, the raw HTTP response will be returned in the 'sdk_http_response' field. static RegisterFilesConfig.Builderbuilder()Instantiates a builder for RegisterFilesConfig. abstract RegisterFilesConfig.BuildertoBuilder()Creates a builder with the same values as this instance. static RegisterFilesConfigfromJson(String jsonString)Deserializes a JSON string to a RegisterFilesConfig 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.
-
shouldReturnHttpResponse
abstract Optional<Boolean> shouldReturnHttpResponse()
If true, the raw HTTP response will be returned in the 'sdk_http_response' field.
-
builder
static RegisterFilesConfig.Builder builder()
Instantiates a builder for RegisterFilesConfig.
-
toBuilder
abstract RegisterFilesConfig.Builder toBuilder()
Creates a builder with the same values as this instance.
-
fromJson
static RegisterFilesConfig fromJson(String jsonString)
Deserializes a JSON string to a RegisterFilesConfig object.
-
-
-
-