public interface SearchResultOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
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. |