Interface SearchResultOrBuilder (0.1.0)

public interface SearchResultOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDataObject()

public abstract DataObject getDataObject()

Output only. The matching data object.

.google.cloud.vectorsearch.v1beta.DataObject data_object = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DataObject

The dataObject.

getDataObjectOrBuilder()

public abstract DataObjectOrBuilder getDataObjectOrBuilder()

Output only. The matching data object.

.google.cloud.vectorsearch.v1beta.DataObject data_object = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DataObjectOrBuilder

getDistance()

public abstract double getDistance()

Output only. The similarity distance.

optional double distance = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
double

The distance.

hasDataObject()

public abstract boolean hasDataObject()

Output only. The matching data object.

.google.cloud.vectorsearch.v1beta.DataObject data_object = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the dataObject field is set.

hasDistance()

public abstract boolean hasDistance()

Output only. The similarity distance.

optional double distance = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the distance field is set.