com.aerospike.vector.client.proto.NeighborOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of avs-client-java Show documentation
Show all versions of avs-client-java Show documentation
This project includes the Java client for Aerospike Vector Search for high-performance data interactions.
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: types.proto
// Protobuf Java Version: 3.25.1
package com.aerospike.vector.client.proto;
public interface NeighborOrBuilder extends
// @@protoc_insertion_point(interface_extends:aerospike.vector.Neighbor)
com.google.protobuf.MessageOrBuilder {
/**
*
* The result record key.
*
*
* .aerospike.vector.Key key = 1;
* @return Whether the key field is set.
*/
boolean hasKey();
/**
*
* The result record key.
*
*
* .aerospike.vector.Key key = 1;
* @return The key.
*/
com.aerospike.vector.client.proto.Key getKey();
/**
*
* The result record key.
*
*
* .aerospike.vector.Key key = 1;
*/
com.aerospike.vector.client.proto.KeyOrBuilder getKeyOrBuilder();
/**
*
* The result record, will be missing if no record corresponding to the key is
* found.
*
*
* optional .aerospike.vector.Record record = 2;
* @return Whether the record field is set.
*/
boolean hasRecord();
/**
*
* The result record, will be missing if no record corresponding to the key is
* found.
*
*
* optional .aerospike.vector.Record record = 2;
* @return The record.
*/
com.aerospike.vector.client.proto.Record getRecord();
/**
*
* The result record, will be missing if no record corresponding to the key is
* found.
*
*
* optional .aerospike.vector.Record record = 2;
*/
com.aerospike.vector.client.proto.RecordOrBuilder getRecordOrBuilder();
/**
*
* The distance from the query vector.
*
*
* float distance = 3;
* @return The distance.
*/
float getDistance();
}