Class DocumentProcessing
java.lang.Object
com.google.genai.gaos.models.interactions.DocumentProcessing
DocumentProcessing
How the model processes this document for understanding.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionOptional<com.fasterxml.jackson.databind.JsonNode>asJson()Returns anOptionalcontaining the value as aJsonNode.booleaninthashCode()static DocumentProcessingof(DocumentMediaProcessing value) static DocumentProcessingof(DocumentProcessingEnum value) toString()
-
Method Details
-
of
-
of
-
documentMediaProcessing
Returns anOptionalcontaining the value if it is of typeDocumentMediaProcessing, otherwise returns an emptyOptional.- Returns:
- an
Optionalcontaining theDocumentMediaProcessingvalue, or empty if not of this type
-
documentProcessingEnum
Returns anOptionalcontaining the value if it is of typeDocumentProcessingEnum, otherwise returns an emptyOptional.- Returns:
- an
Optionalcontaining theDocumentProcessingEnumvalue, or empty if not of this type
-
asJson
Returns anOptionalcontaining the value as aJsonNode. This accessor returns the raw JSON when the value doesn't match any of the defined union types.- Returns:
- an
Optionalcontaining theJsonNodevalue, or empty if value matched a known type
-
equals
-
hashCode
public int hashCode() -
toString
-