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"]],[["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-03-21 UTC."],[[["The `NearestNeighbors` class in the Vertex AI v1beta1 API represents the nearest neighbors for a single query."],["It is part of the `Google.Cloud.AIPlatform.V1Beta1` namespace and is defined in the `Google.Cloud.AIPlatform.V1Beta1.dll` assembly."],["`NearestNeighbors` implements interfaces like `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, providing functionalities for message handling, equality checks, deep cloning, and buffer management."],["The class has two constructors: a default constructor and one that takes another `NearestNeighbors` object as a parameter."],["The `Neighbors` property of type `RepeatedField\u003cNearestNeighbors.Types.Neighbor\u003e` holds all of the neighbors for the query."]]],[]]