Interface SearchNearestEntitiesResponseOrBuilder (3.47.0)

public interface SearchNearestEntitiesResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getNearestNeighbors()

public abstract NearestNeighbors getNearestNeighbors()

The nearest neighbors of the query entity.

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

Returns
Type Description
NearestNeighbors

The nearestNeighbors.

getNearestNeighborsOrBuilder()

public abstract NearestNeighborsOrBuilder getNearestNeighborsOrBuilder()

The nearest neighbors of the query entity.

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

Returns
Type Description
NearestNeighborsOrBuilder

hasNearestNeighbors()

public abstract boolean hasNearestNeighbors()

The nearest neighbors of the query entity.

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

Returns
Type Description
boolean

Whether the nearestNeighbors field is set.