Interface NearestNeighborsOrBuilder (3.55.0)

public interface NearestNeighborsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getNeighbors(int index)

public abstract NearestNeighbors.Neighbor getNeighbors(int index)

All its neighbors.

repeated .google.cloud.aiplatform.v1beta1.NearestNeighbors.Neighbor neighbors = 1;

Parameter
Name Description
index int
Returns
Type Description
NearestNeighbors.Neighbor

getNeighborsCount()

public abstract int getNeighborsCount()

All its neighbors.

repeated .google.cloud.aiplatform.v1beta1.NearestNeighbors.Neighbor neighbors = 1;

Returns
Type Description
int

getNeighborsList()

public abstract List<NearestNeighbors.Neighbor> getNeighborsList()

All its neighbors.

repeated .google.cloud.aiplatform.v1beta1.NearestNeighbors.Neighbor neighbors = 1;

Returns
Type Description
List<Neighbor>

getNeighborsOrBuilder(int index)

public abstract NearestNeighbors.NeighborOrBuilder getNeighborsOrBuilder(int index)

All its neighbors.

repeated .google.cloud.aiplatform.v1beta1.NearestNeighbors.Neighbor neighbors = 1;

Parameter
Name Description
index int
Returns
Type Description
NearestNeighbors.NeighborOrBuilder

getNeighborsOrBuilderList()

public abstract List<? extends NearestNeighbors.NeighborOrBuilder> getNeighborsOrBuilderList()

All its neighbors.

repeated .google.cloud.aiplatform.v1beta1.NearestNeighbors.Neighbor neighbors = 1;

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1beta1.NearestNeighbors.NeighborOrBuilder>