Interface FindNeighborsResponse.NearestNeighborsOrBuilder (3.42.0)

public static interface FindNeighborsResponse.NearestNeighborsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getId()

public abstract String getId()

The ID of the query datapoint.

string id = 1;

Returns
TypeDescription
String

The id.

getIdBytes()

public abstract ByteString getIdBytes()

The ID of the query datapoint.

string id = 1;

Returns
TypeDescription
ByteString

The bytes for id.

getNeighbors(int index)

public abstract FindNeighborsResponse.Neighbor getNeighbors(int index)

All its neighbors.

repeated .google.cloud.aiplatform.v1.FindNeighborsResponse.Neighbor neighbors = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
FindNeighborsResponse.Neighbor

getNeighborsCount()

public abstract int getNeighborsCount()

All its neighbors.

repeated .google.cloud.aiplatform.v1.FindNeighborsResponse.Neighbor neighbors = 2;

Returns
TypeDescription
int

getNeighborsList()

public abstract List<FindNeighborsResponse.Neighbor> getNeighborsList()

All its neighbors.

repeated .google.cloud.aiplatform.v1.FindNeighborsResponse.Neighbor neighbors = 2;

Returns
TypeDescription
List<Neighbor>

getNeighborsOrBuilder(int index)

public abstract FindNeighborsResponse.NeighborOrBuilder getNeighborsOrBuilder(int index)

All its neighbors.

repeated .google.cloud.aiplatform.v1.FindNeighborsResponse.Neighbor neighbors = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
FindNeighborsResponse.NeighborOrBuilder

getNeighborsOrBuilderList()

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

All its neighbors.

repeated .google.cloud.aiplatform.v1.FindNeighborsResponse.Neighbor neighbors = 2;

Returns
TypeDescription
List<? extends com.google.cloud.aiplatform.v1.FindNeighborsResponse.NeighborOrBuilder>