Interface FindNeighborsResponseOrBuilder (3.55.0)

public interface FindNeighborsResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getNearestNeighbors(int index)

public abstract FindNeighborsResponse.NearestNeighbors getNearestNeighbors(int index)

The nearest neighbors of the query datapoints.

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

Parameter
Name Description
index int
Returns
Type Description
FindNeighborsResponse.NearestNeighbors

getNearestNeighborsCount()

public abstract int getNearestNeighborsCount()

The nearest neighbors of the query datapoints.

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

Returns
Type Description
int

getNearestNeighborsList()

public abstract List<FindNeighborsResponse.NearestNeighbors> getNearestNeighborsList()

The nearest neighbors of the query datapoints.

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

Returns
Type Description
List<NearestNeighbors>

getNearestNeighborsOrBuilder(int index)

public abstract FindNeighborsResponse.NearestNeighborsOrBuilder getNearestNeighborsOrBuilder(int index)

The nearest neighbors of the query datapoints.

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

Parameter
Name Description
index int
Returns
Type Description
FindNeighborsResponse.NearestNeighborsOrBuilder

getNearestNeighborsOrBuilderList()

public abstract List<? extends FindNeighborsResponse.NearestNeighborsOrBuilder> getNearestNeighborsOrBuilderList()

The nearest neighbors of the query datapoints.

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

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1.FindNeighborsResponse.NearestNeighborsOrBuilder>