Interface FindNeighborsResponseOrBuilder (3.36.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.v1beta1.FindNeighborsResponse.NearestNeighbors nearest_neighbors = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
FindNeighborsResponse.NearestNeighbors

getNearestNeighborsCount()

public abstract int getNearestNeighborsCount()

The nearest neighbors of the query datapoints.

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

Returns
TypeDescription
int

getNearestNeighborsList()

public abstract List<FindNeighborsResponse.NearestNeighbors> getNearestNeighborsList()

The nearest neighbors of the query datapoints.

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

Returns
TypeDescription
List<NearestNeighbors>

getNearestNeighborsOrBuilder(int index)

public abstract FindNeighborsResponse.NearestNeighborsOrBuilder getNearestNeighborsOrBuilder(int index)

The nearest neighbors of the query datapoints.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
FindNeighborsResponse.NearestNeighborsOrBuilder

getNearestNeighborsOrBuilderList()

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

The nearest neighbors of the query datapoints.

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

Returns
TypeDescription
List<? extends com.google.cloud.aiplatform.v1beta1.FindNeighborsResponse.NearestNeighborsOrBuilder>