public sealed class NearestNeighbors : IMessage<NearestNeighbors>, IEquatable<NearestNeighbors>, IDeepCloneable<NearestNeighbors>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud AI Platform 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-04-09 UTC."],[[["The `NearestNeighbors` class in the Cloud AI Platform v1beta1 API provides functionality for determining nearest neighbors for a given query."],["This class implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, indicating its compatibility with various .NET and Google Protobuf functionalities."],["`NearestNeighbors` offers two constructors, a default one and another that accepts an existing `NearestNeighbors` object for creating a copy."],["The `Neighbors` property, a `RepeatedField`, contains a collection of all the nearest neighbors of a query, each being of the type `NearestNeighbors.Types.Neighbor`."],["The `NearestNeighbors` class inherits members from the base `object` class, such as `GetHashCode()`, `GetType()`, and `ToString()`."]]],[]]