Starting April 29, 2025, Gemini 1.5 Pro and Gemini 1.5 Flash models are not available in projects that have no prior usage of these models, including new projects. For details, see Model versions and lifecycle.
Required. Overrides the input
metadata of the
features. The key is the name of the feature to be overridden. The keys
specified here must exist in the input metadata to be overridden. If a
feature is not specified here, the corresponding feature's input metadata
is not overridden.
Required. Overrides the input
metadata of the
features. The key is the name of the feature to be overridden. The keys
specified here must exist in the input metadata to be overridden. If a
feature is not specified here, the corresponding feature's input metadata
is not overridden.
Required. Overrides the input
metadata of the
features. The key is the name of the feature to be overridden. The keys
specified here must exist in the input metadata to be overridden. If a
feature is not specified here, the corresponding feature's input metadata
is not overridden.
Required. Overrides the input
metadata of the
features. The key is the name of the feature to be overridden. The keys
specified here must exist in the input metadata to be overridden. If a
feature is not specified here, the corresponding feature's input metadata
is not overridden.
Required. Overrides the input
metadata of the
features. The key is the name of the feature to be overridden. The keys
specified here must exist in the input metadata to be overridden. If a
feature is not specified here, the corresponding feature's input metadata
is not overridden.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-03 UTC."],[],[],null,["# Interface ExplanationMetadataOverrideOrBuilder (1.32.0)\n\n public interface ExplanationMetadataOverrideOrBuilder 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### containsInputs(String key)\n\n public abstract boolean containsInputs(String key)\n\nRequired. Overrides the input metadata of the\nfeatures. The key is the name of the feature to be overridden. The keys\nspecified here must exist in the input metadata to be overridden. If a\nfeature is not specified here, the corresponding feature's input metadata\nis not overridden.\n\n`\nmap\u003cstring, .google.cloud.vertexai.v1.ExplanationMetadataOverride.InputMetadataOverride\u003e inputs = 1 [(.google.api.field_behavior) = REQUIRED];\n`\n\n### getInputs() (deprecated)\n\n public abstract Map\u003cString,ExplanationMetadataOverride.InputMetadataOverride\u003e getInputs()\n\nUse [#getInputsMap()](/vertex-ai/generative-ai/docs/reference/java/latest/com.google.cloud.vertexai.api.ExplanationMetadataOverrideOrBuilder#com_google_cloud_vertexai_api_ExplanationMetadataOverrideOrBuilder_getInputsMap__) instead.\n\n### getInputsCount()\n\n public abstract int getInputsCount()\n\nRequired. Overrides the input metadata of the\nfeatures. The key is the name of the feature to be overridden. The keys\nspecified here must exist in the input metadata to be overridden. If a\nfeature is not specified here, the corresponding feature's input metadata\nis not overridden.\n\n`\nmap\u003cstring, .google.cloud.vertexai.v1.ExplanationMetadataOverride.InputMetadataOverride\u003e inputs = 1 [(.google.api.field_behavior) = REQUIRED];\n`\n\n### getInputsMap()\n\n public abstract Map\u003cString,ExplanationMetadataOverride.InputMetadataOverride\u003e getInputsMap()\n\nRequired. Overrides the input metadata of the\nfeatures. The key is the name of the feature to be overridden. The keys\nspecified here must exist in the input metadata to be overridden. If a\nfeature is not specified here, the corresponding feature's input metadata\nis not overridden.\n\n`\nmap\u003cstring, .google.cloud.vertexai.v1.ExplanationMetadataOverride.InputMetadataOverride\u003e inputs = 1 [(.google.api.field_behavior) = REQUIRED];\n`\n\n### getInputsOrDefault(String key, ExplanationMetadataOverride.InputMetadataOverride defaultValue)\n\n public abstract ExplanationMetadataOverride.InputMetadataOverride getInputsOrDefault(String key, ExplanationMetadataOverride.InputMetadataOverride defaultValue)\n\nRequired. Overrides the input metadata of the\nfeatures. The key is the name of the feature to be overridden. The keys\nspecified here must exist in the input metadata to be overridden. If a\nfeature is not specified here, the corresponding feature's input metadata\nis not overridden.\n\n`\nmap\u003cstring, .google.cloud.vertexai.v1.ExplanationMetadataOverride.InputMetadataOverride\u003e inputs = 1 [(.google.api.field_behavior) = REQUIRED];\n`\n\n### getInputsOrThrow(String key)\n\n public abstract ExplanationMetadataOverride.InputMetadataOverride getInputsOrThrow(String key)\n\nRequired. Overrides the input metadata of the\nfeatures. The key is the name of the feature to be overridden. The keys\nspecified here must exist in the input metadata to be overridden. If a\nfeature is not specified here, the corresponding feature's input metadata\nis not overridden.\n\n`\nmap\u003cstring, .google.cloud.vertexai.v1.ExplanationMetadataOverride.InputMetadataOverride\u003e inputs = 1 [(.google.api.field_behavior) = REQUIRED];\n`"]]