Package com.google.genai.types
Class InternalRegisterFilesParameters
-
- All Implemented Interfaces:
@InternalApi() public abstract class InternalRegisterFilesParameters extends JsonSerializable
Parameters for the private _Register method.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public abstract classInternalRegisterFilesParameters.BuilderBuilder for InternalRegisterFilesParameters.
-
Field Summary
Fields Modifier and Type Field Description public final static StringMAX_READ_LENGTH_PROPERTY
-
Constructor Summary
Constructors Constructor Description InternalRegisterFilesParameters()
-
Method Summary
Modifier and Type Method Description abstract Optional<List<String>>uris()The Google Cloud Storage URIs to register. abstract Optional<RegisterFilesConfig>config()Used to override the default configuration. static InternalRegisterFilesParameters.Builderbuilder()Instantiates a builder for InternalRegisterFilesParameters. abstract InternalRegisterFilesParameters.BuildertoBuilder()Creates a builder with the same values as this instance. static InternalRegisterFilesParametersfromJson(String jsonString)Deserializes a JSON string to a InternalRegisterFilesParameters 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
-
uris
abstract Optional<List<String>> uris()
The Google Cloud Storage URIs to register. Example: `gs://bucket/object`.
-
config
abstract Optional<RegisterFilesConfig> config()
Used to override the default configuration.
-
builder
static InternalRegisterFilesParameters.Builder builder()
Instantiates a builder for InternalRegisterFilesParameters.
-
toBuilder
abstract InternalRegisterFilesParameters.Builder toBuilder()
Creates a builder with the same values as this instance.
-
fromJson
static InternalRegisterFilesParameters fromJson(String jsonString)
Deserializes a JSON string to a InternalRegisterFilesParameters object.
-
-
-
-