Interface SearchNearestEntitiesResponseOrBuilder (3.31.0)

public interface SearchNearestEntitiesResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getNearestNeighbors()

public abstract NearestNeighbors getNearestNeighbors()

The nearest neighbors of the query entity.

.google.cloud.aiplatform.v1beta1.NearestNeighbors nearest_neighbors = 1;

Returns
TypeDescription
NearestNeighbors

The nearestNeighbors.

getNearestNeighborsOrBuilder()

public abstract NearestNeighborsOrBuilder getNearestNeighborsOrBuilder()

The nearest neighbors of the query entity.

.google.cloud.aiplatform.v1beta1.NearestNeighbors nearest_neighbors = 1;

Returns
TypeDescription
NearestNeighborsOrBuilder

hasNearestNeighbors()

public abstract boolean hasNearestNeighbors()

The nearest neighbors of the query entity.

.google.cloud.aiplatform.v1beta1.NearestNeighbors nearest_neighbors = 1;

Returns
TypeDescription
boolean

Whether the nearestNeighbors field is set.