public static interface FindNeighborsResponse.NeighborOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
IndexDatapoint |
getDatapoint()
The datapoint of the neighbor.
|
IndexDatapointOrBuilder |
getDatapointOrBuilder()
The datapoint of the neighbor.
|
double |
getDistance()
The distance between the neighbor and the query vector.
|
boolean |
hasDatapoint()
The datapoint of the neighbor.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasDatapoint()
The datapoint of the neighbor. Note that full datapoints are returned only when "return_full_datapoint" is set to true. Otherwise, only the "datapoint_id" and "crowding_tag" fields are populated.
.google.cloud.aiplatform.v1beta1.IndexDatapoint datapoint = 1;IndexDatapoint getDatapoint()
The datapoint of the neighbor. Note that full datapoints are returned only when "return_full_datapoint" is set to true. Otherwise, only the "datapoint_id" and "crowding_tag" fields are populated.
.google.cloud.aiplatform.v1beta1.IndexDatapoint datapoint = 1;IndexDatapointOrBuilder getDatapointOrBuilder()
The datapoint of the neighbor. Note that full datapoints are returned only when "return_full_datapoint" is set to true. Otherwise, only the "datapoint_id" and "crowding_tag" fields are populated.
.google.cloud.aiplatform.v1beta1.IndexDatapoint datapoint = 1;double getDistance()
The distance between the neighbor and the query vector.
double distance = 2;Copyright © 2024 Google LLC. All rights reserved.