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.
Configurazione preimpostata semplificata, che imposta automaticamente i valori di configurazione in base alla modalità e al compromesso tra velocità e precisione delle query.
public abstract PresetsOrBuilder getPresetsOrBuilder()
Configurazione preimpostata semplificata, che imposta automaticamente i valori di configurazione in base alla modalità e al compromesso tra velocità e precisione delle query.
Indica se è impostato il campo NearbySearchConfig più vicino.
hasPresets()
public abstract boolean hasPresets()
Configurazione preimpostata semplificata, che imposta automaticamente i valori di configurazione in base alla modalità e al compromesso tra velocità e precisione delle query.
[[["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-17 UTC."],[],[],null,["# Interface ExamplesOrBuilder (1.32.0)\n\n public interface ExamplesOrBuilder extends MessageOrBuilder\n\nImplements\n----------\n\n[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)\n\nMethods\n-------\n\n### getConfigCase()\n\n public abstract Examples.ConfigCase getConfigCase()\n\n### getExampleGcsSource()\n\n public abstract Examples.ExampleGcsSource getExampleGcsSource()\n\nThe Cloud Storage input instances.\n\n`.google.cloud.vertexai.v1.Examples.ExampleGcsSource example_gcs_source = 5;`\n\n### getExampleGcsSourceOrBuilder()\n\n public abstract Examples.ExampleGcsSourceOrBuilder getExampleGcsSourceOrBuilder()\n\nThe Cloud Storage input instances.\n\n`.google.cloud.vertexai.v1.Examples.ExampleGcsSource example_gcs_source = 5;`\n\n### getNearestNeighborSearchConfig()\n\n public abstract Value getNearestNeighborSearchConfig()\n\nThe full configuration for the generated index, the semantics are the\nsame as metadata and should\nmatch\n[NearestNeighborSearchConfig](https://cloud.google.com/vertex-ai/docs/explainable-ai/configuring-explanations-example-based#nearest-neighbor-search-config).\n\n`.google.protobuf.Value nearest_neighbor_search_config = 2;`\n\n### getNearestNeighborSearchConfigOrBuilder()\n\n public abstract ValueOrBuilder getNearestNeighborSearchConfigOrBuilder()\n\nThe full configuration for the generated index, the semantics are the\nsame as metadata and should\nmatch\n[NearestNeighborSearchConfig](https://cloud.google.com/vertex-ai/docs/explainable-ai/configuring-explanations-example-based#nearest-neighbor-search-config).\n\n`.google.protobuf.Value nearest_neighbor_search_config = 2;`\n\n### getNeighborCount()\n\n public abstract int getNeighborCount()\n\nThe number of neighbors to return when querying for examples.\n\n`int32 neighbor_count = 3;`\n\n### getPresets()\n\n public abstract Presets getPresets()\n\nSimplified preset configuration, which automatically sets configuration\nvalues based on the desired query speed-precision trade-off and modality.\n\n`.google.cloud.vertexai.v1.Presets presets = 4;`\n\n### getPresetsOrBuilder()\n\n public abstract PresetsOrBuilder getPresetsOrBuilder()\n\nSimplified preset configuration, which automatically sets configuration\nvalues based on the desired query speed-precision trade-off and modality.\n\n`.google.cloud.vertexai.v1.Presets presets = 4;`\n\n### getSourceCase()\n\n public abstract Examples.SourceCase getSourceCase()\n\n### hasExampleGcsSource()\n\n public abstract boolean hasExampleGcsSource()\n\nThe Cloud Storage input instances.\n\n`.google.cloud.vertexai.v1.Examples.ExampleGcsSource example_gcs_source = 5;`\n\n### hasNearestNeighborSearchConfig()\n\n public abstract boolean hasNearestNeighborSearchConfig()\n\nThe full configuration for the generated index, the semantics are the\nsame as metadata and should\nmatch\n[NearestNeighborSearchConfig](https://cloud.google.com/vertex-ai/docs/explainable-ai/configuring-explanations-example-based#nearest-neighbor-search-config).\n\n`.google.protobuf.Value nearest_neighbor_search_config = 2;`\n\n### hasPresets()\n\n public abstract boolean hasPresets()\n\nSimplified preset configuration, which automatically sets configuration\nvalues based on the desired query speed-precision trade-off and modality.\n\n`.google.cloud.vertexai.v1.Presets presets = 4;`"]]