Package com.google.genai.types
Class GetDocumentParameters
-
- All Implemented Interfaces:
@InternalApi() public abstract class GetDocumentParameters extends JsonSerializable
Parameters for documents.get.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public abstract classGetDocumentParameters.BuilderBuilder for GetDocumentParameters.
-
Field Summary
Fields Modifier and Type Field Description public final static StringMAX_READ_LENGTH_PROPERTY
-
Constructor Summary
Constructors Constructor Description GetDocumentParameters()
-
Method Summary
Modifier and Type Method Description abstract Optional<String>name()The resource name of the Document. abstract Optional<GetDocumentConfig>config()Optional parameters for the request. static GetDocumentParameters.Builderbuilder()Instantiates a builder for GetDocumentParameters. abstract GetDocumentParameters.BuildertoBuilder()Creates a builder with the same values as this instance. static GetDocumentParametersfromJson(String jsonString)Deserializes a JSON string to a GetDocumentParameters 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
-
name
abstract Optional<String> name()
The resource name of the Document. Example: fileSearchStores/file-search-store-foo/documents/documents-bar
-
config
abstract Optional<GetDocumentConfig> config()
Optional parameters for the request.
-
builder
static GetDocumentParameters.Builder builder()
Instantiates a builder for GetDocumentParameters.
-
toBuilder
abstract GetDocumentParameters.Builder toBuilder()
Creates a builder with the same values as this instance.
-
fromJson
static GetDocumentParameters fromJson(String jsonString)
Deserializes a JSON string to a GetDocumentParameters object.
-
-
-
-