public sealed class NearestNeighbors : IMessage<NearestNeighbors>, IEquatable<NearestNeighbors>, IDeepCloneable<NearestNeighbors>, IBufferMessage, IMessage
Reference documentation and code samples for the Vertex AI v1beta1 API class NearestNeighbors.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-14 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eNearestNeighbors\u003c/code\u003e class in the Vertex AI v1beta1 API represents the nearest neighbors for a single query.\u003c/p\u003e\n"],["\u003cp\u003eIt is part of the \u003ccode\u003eGoogle.Cloud.AIPlatform.V1Beta1\u003c/code\u003e namespace and is defined in the \u003ccode\u003eGoogle.Cloud.AIPlatform.V1Beta1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eNearestNeighbors\u003c/code\u003e implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, providing functionalities for message handling, equality checks, deep cloning, and buffer management.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors: a default constructor and one that takes another \u003ccode\u003eNearestNeighbors\u003c/code\u003e object as a parameter.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNeighbors\u003c/code\u003e property of type \u003ccode\u003eRepeatedField<NearestNeighbors.Types.Neighbor>\u003c/code\u003e holds all of the neighbors for the query.\u003c/p\u003e\n"]]],[],null,[]]