Interface SearchHint.IndexHintOrBuilder (0.9.0)

public static interface SearchHint.IndexHintOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDenseScannParams()

public abstract SearchHint.IndexHint.DenseScannParams getDenseScannParams()

Optional. Dense ScaNN parameters.

.google.cloud.vectorsearch.v1beta.SearchHint.IndexHint.DenseScannParams dense_scann_params = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SearchHint.IndexHint.DenseScannParams

The denseScannParams.

getDenseScannParamsOrBuilder()

public abstract SearchHint.IndexHint.DenseScannParamsOrBuilder getDenseScannParamsOrBuilder()

Optional. Dense ScaNN parameters.

.google.cloud.vectorsearch.v1beta.SearchHint.IndexHint.DenseScannParams dense_scann_params = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SearchHint.IndexHint.DenseScannParamsOrBuilder

getName()

public abstract String getName()

Required. The resource name of the index to use for the search. The index must be in the same project, location, and collection. Format: projects/{project}/locations/{location}/collections/{collection}/indexes/{index}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Required. The resource name of the index to use for the search. The index must be in the same project, location, and collection. Format: projects/{project}/locations/{location}/collections/{collection}/indexes/{index}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

getParamsCase()

public abstract SearchHint.IndexHint.ParamsCase getParamsCase()
Returns
Type Description
SearchHint.IndexHint.ParamsCase

hasDenseScannParams()

public abstract boolean hasDenseScannParams()

Optional. Dense ScaNN parameters.

.google.cloud.vectorsearch.v1beta.SearchHint.IndexHint.DenseScannParams dense_scann_params = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the denseScannParams field is set.