
com.aerospike.vector.client.NeighborOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: types.proto
// Protobuf Java Version: 3.25.1
package com.aerospike.vector.client;
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.Key getKey();
/**
*
* The result record key.
*
*
* .aerospike.vector.Key key = 1;
*/
com.aerospike.vector.client.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.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.RecordOrBuilder getRecordOrBuilder();
/**
*
* The distance from the query vector.
*
*
* float distance = 3;
* @return The distance.
*/
float getDistance();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy