Package com.google.cloud.aiplatform.v1
Interface FindNeighborsResponse.NearestNeighborsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
FindNeighborsResponse.NearestNeighbors,FindNeighborsResponse.NearestNeighbors.Builder
- Enclosing class:
- FindNeighborsResponse
public static interface FindNeighborsResponse.NearestNeighborsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetId()The ID of the query datapoint.com.google.protobuf.ByteStringThe ID of the query datapoint.getNeighbors(int index) All its neighbors.intAll its neighbors.All its neighbors.getNeighborsOrBuilder(int index) All its neighbors.List<? extends FindNeighborsResponse.NeighborOrBuilder>All its neighbors.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getId
String getId()The ID of the query datapoint.
string id = 1;- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()The ID of the query datapoint.
string id = 1;- Returns:
- The bytes for id.
-
getNeighborsList
List<FindNeighborsResponse.Neighbor> getNeighborsList()All its neighbors.
repeated .google.cloud.aiplatform.v1.FindNeighborsResponse.Neighbor neighbors = 2; -
getNeighbors
All its neighbors.
repeated .google.cloud.aiplatform.v1.FindNeighborsResponse.Neighbor neighbors = 2; -
getNeighborsCount
int getNeighborsCount()All its neighbors.
repeated .google.cloud.aiplatform.v1.FindNeighborsResponse.Neighbor neighbors = 2; -
getNeighborsOrBuilderList
List<? extends FindNeighborsResponse.NeighborOrBuilder> getNeighborsOrBuilderList()All its neighbors.
repeated .google.cloud.aiplatform.v1.FindNeighborsResponse.Neighbor neighbors = 2; -
getNeighborsOrBuilder
All its neighbors.
repeated .google.cloud.aiplatform.v1.FindNeighborsResponse.Neighbor neighbors = 2;
-