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.
[[["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 ExplainResponseOrBuilder (1.32.0)\n\n public interface ExplainResponseOrBuilder 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### getDeployedModelId()\n\n public abstract String getDeployedModelId()\n\nID of the Endpoint's DeployedModel that served this explanation.\n\n`string deployed_model_id = 2;`\n\n### getDeployedModelIdBytes()\n\n public abstract ByteString getDeployedModelIdBytes()\n\nID of the Endpoint's DeployedModel that served this explanation.\n\n`string deployed_model_id = 2;`\n\n### getExplanations(int index)\n\n public abstract Explanation getExplanations(int index)\n\nThe explanations of the Model's\nPredictResponse.predictions.\n\nIt has the same number of elements as\ninstances to be\nexplained.\n\n`repeated .google.cloud.vertexai.v1.Explanation explanations = 1;`\n\n### getExplanationsCount()\n\n public abstract int getExplanationsCount()\n\nThe explanations of the Model's\nPredictResponse.predictions.\n\nIt has the same number of elements as\ninstances to be\nexplained.\n\n`repeated .google.cloud.vertexai.v1.Explanation explanations = 1;`\n\n### getExplanationsList()\n\n public abstract List\u003cExplanation\u003e getExplanationsList()\n\nThe explanations of the Model's\nPredictResponse.predictions.\n\nIt has the same number of elements as\ninstances to be\nexplained.\n\n`repeated .google.cloud.vertexai.v1.Explanation explanations = 1;`\n\n### getExplanationsOrBuilder(int index)\n\n public abstract ExplanationOrBuilder getExplanationsOrBuilder(int index)\n\nThe explanations of the Model's\nPredictResponse.predictions.\n\nIt has the same number of elements as\ninstances to be\nexplained.\n\n`repeated .google.cloud.vertexai.v1.Explanation explanations = 1;`\n\n### getExplanationsOrBuilderList()\n\n public abstract List\u003c? extends ExplanationOrBuilder\u003e getExplanationsOrBuilderList()\n\nThe explanations of the Model's\nPredictResponse.predictions.\n\nIt has the same number of elements as\ninstances to be\nexplained.\n\n`repeated .google.cloud.vertexai.v1.Explanation explanations = 1;`\n\n### getPredictions(int index)\n\n public abstract Value getPredictions(int index)\n\nThe predictions that are the output of the predictions call.\nSame as\nPredictResponse.predictions.\n\n`repeated .google.protobuf.Value predictions = 3;`\n\n### getPredictionsCount()\n\n public abstract int getPredictionsCount()\n\nThe predictions that are the output of the predictions call.\nSame as\nPredictResponse.predictions.\n\n`repeated .google.protobuf.Value predictions = 3;`\n\n### getPredictionsList()\n\n public abstract List\u003cValue\u003e getPredictionsList()\n\nThe predictions that are the output of the predictions call.\nSame as\nPredictResponse.predictions.\n\n`repeated .google.protobuf.Value predictions = 3;`\n\n### getPredictionsOrBuilder(int index)\n\n public abstract ValueOrBuilder getPredictionsOrBuilder(int index)\n\nThe predictions that are the output of the predictions call.\nSame as\nPredictResponse.predictions.\n\n`repeated .google.protobuf.Value predictions = 3;`\n\n### getPredictionsOrBuilderList()\n\n public abstract List\u003c? extends ValueOrBuilder\u003e getPredictionsOrBuilderList()\n\nThe predictions that are the output of the predictions call.\nSame as\nPredictResponse.predictions.\n\n`repeated .google.protobuf.Value predictions = 3;`"]]