A partire dal 29 aprile 2025, i modelli Gemini 1.5 Pro e Gemini 1.5 Flash non sono disponibili nei progetti che non li hanno mai utilizzati, inclusi i nuovi progetti. Per maggiori dettagli, vedi Versioni e ciclo di vita dei modelli.
i valori attualmente accettati sono "image/png", "image/jpeg", "video/mp4",
"video/mpeg", "video/quicktime", "video/x-msvideo", "video/x-ms-wmv", "video/x-flv"
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Difficile da capire","hardToUnderstand","thumb-down"],["Informazioni o codice di esempio errati","incorrectInformationOrSampleCode","thumb-down"],["Mancano le informazioni o gli esempi di cui ho bisogno","missingTheInformationSamplesINeed","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2024-05-15 UTC."],[],[],null,["# Class PartMaker (1.32.0)\n\n public class PartMaker\n\n**Deprecated.** *This class and its package are deprecated. See the [migration guide](https://cloud.google.com/vertex-ai/generative-ai/docs/deprecations/genai-vertexai-sdk#java) for more details.*\n\nHelper class to create [com.google.cloud.vertexai.api.Part](/vertex-ai/generative-ai/docs/reference/java/latest/com.google.cloud.vertexai.api.Part) \n\nInheritance\n-----------\n\n[Object](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html) \\\u003e PartMaker \n\nInherited Members\n-----------------\n\n[Object.clone()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--) \n[Object.equals(Object)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-) \n[Object.finalize()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--) \n[Object.getClass()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--) \n[Object.hashCode()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--) \n[Object.notify()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--) \n[Object.notifyAll()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--) \n[Object.toString()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--) \n[Object.wait()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--) \n[Object.wait(long)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-) \n[Object.wait(long,int)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-)\n\nStatic Methods\n--------------\n\n### fromFunctionResponse(String name, Struct response) (deprecated)\n\n public static Part fromFunctionResponse(String name, Struct response)\n\nMakes a [com.google.cloud.vertexai.api.Part](/vertex-ai/generative-ai/docs/reference/java/latest/com.google.cloud.vertexai.api.Part) from the output of [com.google.cloud.vertexai.api.FunctionCall](/vertex-ai/generative-ai/docs/reference/java/latest/com.google.cloud.vertexai.api.FunctionCall).\n\n### fromFunctionResponse(String name, Map\\\u003cString,Object\\\u003e response) (deprecated)\n\n public static Part fromFunctionResponse(String name, Map\u003cString,Object\u003e response)\n\nMakes a [com.google.cloud.vertexai.api.Part](/vertex-ai/generative-ai/docs/reference/java/latest/com.google.cloud.vertexai.api.Part) from the result output of [com.google.cloud.vertexai.api.FunctionCall](/vertex-ai/generative-ai/docs/reference/java/latest/com.google.cloud.vertexai.api.FunctionCall).\n\n### fromMimeTypeAndData(String mimeType, Object partData) (deprecated)\n\n public static Part fromMimeTypeAndData(String mimeType, Object partData)\n\nMakes a [com.google.cloud.vertexai.api.Part](/vertex-ai/generative-ai/docs/reference/java/latest/com.google.cloud.vertexai.api.Part) from mimeType and data (or link to the\ndata)."]]