Interface NearestNeighborsOrBuilder (3.40.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
NameDescription
indexint
Returns
TypeDescription
NearestNeighbors.Neighbor

getNeighborsCount()

public abstract int getNeighborsCount()

All its neighbors.

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

Returns
TypeDescription
int

getNeighborsList()

public abstract List<NearestNeighbors.Neighbor> getNeighborsList()

All its neighbors.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
NearestNeighbors.NeighborOrBuilder

getNeighborsOrBuilderList()

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

All its neighbors.

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

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