public interface SearchHintOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getIndexTypeCase()
public abstract SearchHint.IndexTypeCase getIndexTypeCase()| Returns | |
|---|---|
| Type | Description |
SearchHint.IndexTypeCase |
|
getUseIndex()
public abstract SearchHint.IndexHint getUseIndex()Specifies that the search should use a particular index.
.google.cloud.vectorsearch.v1beta.SearchHint.IndexHint use_index = 1;
| Returns | |
|---|---|
| Type | Description |
SearchHint.IndexHint |
The useIndex. |
getUseIndexOrBuilder()
public abstract SearchHint.IndexHintOrBuilder getUseIndexOrBuilder()Specifies that the search should use a particular index.
.google.cloud.vectorsearch.v1beta.SearchHint.IndexHint use_index = 1;
| Returns | |
|---|---|
| Type | Description |
SearchHint.IndexHintOrBuilder |
|
getUseKnn()
public abstract boolean getUseKnn()If set to true, the search will use the system's default K-Nearest Neighbor (KNN) index engine.
bool use_knn = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
The useKnn. |
hasUseIndex()
public abstract boolean hasUseIndex()Specifies that the search should use a particular index.
.google.cloud.vectorsearch.v1beta.SearchHint.IndexHint use_index = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the useIndex field is set. |
hasUseKnn()
public abstract boolean hasUseKnn()If set to true, the search will use the system's default K-Nearest Neighbor (KNN) index engine.
bool use_knn = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the useKnn field is set. |