public static interface NearestNeighbors.NeighborOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
double |
getDistance()
The distance between the neighbor and the query vector.
|
String |
getEntityId()
The id of the similar entity.
|
com.google.protobuf.ByteString |
getEntityIdBytes()
The id of the similar entity.
|
FetchFeatureValuesResponse |
getEntityKeyValues()
The attributes of the neighbor, e.g.
|
FetchFeatureValuesResponseOrBuilder |
getEntityKeyValuesOrBuilder()
The attributes of the neighbor, e.g.
|
boolean |
hasEntityKeyValues()
The attributes of the neighbor, e.g.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getEntityId()
The id of the similar entity.
string entity_id = 1;com.google.protobuf.ByteString getEntityIdBytes()
The id of the similar entity.
string entity_id = 1;double getDistance()
The distance between the neighbor and the query vector.
double distance = 2;boolean hasEntityKeyValues()
The attributes of the neighbor, e.g. filters, crowding and metadata Note that full entities are returned only when "return_full_entity" is set to true. Otherwise, only the "entity_id" and "distance" fields are populated.
.google.cloud.aiplatform.v1beta1.FetchFeatureValuesResponse entity_key_values = 3;
FetchFeatureValuesResponse getEntityKeyValues()
The attributes of the neighbor, e.g. filters, crowding and metadata Note that full entities are returned only when "return_full_entity" is set to true. Otherwise, only the "entity_id" and "distance" fields are populated.
.google.cloud.aiplatform.v1beta1.FetchFeatureValuesResponse entity_key_values = 3;
FetchFeatureValuesResponseOrBuilder getEntityKeyValuesOrBuilder()
The attributes of the neighbor, e.g. filters, crowding and metadata Note that full entities are returned only when "return_full_entity" is set to true. Otherwise, only the "entity_id" and "distance" fields are populated.
.google.cloud.aiplatform.v1beta1.FetchFeatureValuesResponse entity_key_values = 3;
Copyright © 2024 Google LLC. All rights reserved.