Package io.a2a.spec
Class FilePart
Represents a file segment within a message or artifact. The file content can be
provided either directly as bytes or as a URI.
-
Nested Class Summary
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionFilePart(FileContent file) FilePart(FileContent file, Map<String, Object> metadata) -
Method Summary
-
Field Details
-
FILE
- See Also:
-
-
Constructor Details
-
FilePart
-
FilePart
-
-
Method Details
-
getKind
- Specified by:
getKindin classPart<FileContent>
-
getFile
-
getMetadata
- Specified by:
getMetadatain classPart<FileContent>
-