Interface FindNeighborsResponse.NearestNeighborsOrBuilder (3.44.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
Type Description
String

The id.

getIdBytes()

public abstract ByteString getIdBytes()

The ID of the query datapoint.

string id = 1;

Returns
Type Description
ByteString

The bytes for id.

getNeighbors(int index)

public abstract FindNeighborsResponse.Neighbor getNeighbors(int index)

All its neighbors.

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

Parameter
Name Description
index int
Returns
Type Description
FindNeighborsResponse.Neighbor

getNeighborsCount()

public abstract int getNeighborsCount()

All its neighbors.

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

Returns
Type Description
int

getNeighborsList()

public abstract List<FindNeighborsResponse.Neighbor> getNeighborsList()

All its neighbors.

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

Returns
Type Description
List<Neighbor>

getNeighborsOrBuilder(int index)

public abstract FindNeighborsResponse.NeighborOrBuilder getNeighborsOrBuilder(int index)

All its neighbors.

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

Parameter
Name Description
index int
Returns
Type Description
FindNeighborsResponse.NeighborOrBuilder

getNeighborsOrBuilderList()

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

All its neighbors.

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

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