public static final class SearchHint.IndexHint.DenseScannParams extends GeneratedMessage implements SearchHint.IndexHint.DenseScannParamsOrBuilderParameters for dense ScaNN.
Protobuf type google.cloud.vectorsearch.v1beta.SearchHint.IndexHint.DenseScannParams
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > SearchHint.IndexHint.DenseScannParamsStatic Fields
INITIAL_CANDIDATE_COUNT_FIELD_NUMBER
public static final int INITIAL_CANDIDATE_COUNT_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
SEARCH_LEAVES_PCT_FIELD_NUMBER
public static final int SEARCH_LEAVES_PCT_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static SearchHint.IndexHint.DenseScannParams getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
SearchHint.IndexHint.DenseScannParams |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static SearchHint.IndexHint.DenseScannParams.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
SearchHint.IndexHint.DenseScannParams.Builder |
|
newBuilder(SearchHint.IndexHint.DenseScannParams prototype)
public static SearchHint.IndexHint.DenseScannParams.Builder newBuilder(SearchHint.IndexHint.DenseScannParams prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
SearchHint.IndexHint.DenseScannParams |
| Returns | |
|---|---|
| Type | Description |
SearchHint.IndexHint.DenseScannParams.Builder |
|
parseDelimitedFrom(InputStream input)
public static SearchHint.IndexHint.DenseScannParams parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
SearchHint.IndexHint.DenseScannParams |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static SearchHint.IndexHint.DenseScannParams parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SearchHint.IndexHint.DenseScannParams |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static SearchHint.IndexHint.DenseScannParams parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
SearchHint.IndexHint.DenseScannParams |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SearchHint.IndexHint.DenseScannParams parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SearchHint.IndexHint.DenseScannParams |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static SearchHint.IndexHint.DenseScannParams parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
SearchHint.IndexHint.DenseScannParams |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SearchHint.IndexHint.DenseScannParams parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SearchHint.IndexHint.DenseScannParams |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static SearchHint.IndexHint.DenseScannParams parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
SearchHint.IndexHint.DenseScannParams |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SearchHint.IndexHint.DenseScannParams parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SearchHint.IndexHint.DenseScannParams |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static SearchHint.IndexHint.DenseScannParams parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
SearchHint.IndexHint.DenseScannParams |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static SearchHint.IndexHint.DenseScannParams parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SearchHint.IndexHint.DenseScannParams |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static SearchHint.IndexHint.DenseScannParams parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
SearchHint.IndexHint.DenseScannParams |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SearchHint.IndexHint.DenseScannParams parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SearchHint.IndexHint.DenseScannParams |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<SearchHint.IndexHint.DenseScannParams> parser()| Returns | |
|---|---|
| Type | Description |
Parser<DenseScannParams> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public SearchHint.IndexHint.DenseScannParams getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SearchHint.IndexHint.DenseScannParams |
|
getInitialCandidateCount()
public int getInitialCandidateCount()Optional. The number of initial candidates. Must be a positive integer (> 0).
int32 initial_candidate_count = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The initialCandidateCount. |
getParserForType()
public Parser<SearchHint.IndexHint.DenseScannParams> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<DenseScannParams> |
|
getSearchLeavesPct()
public int getSearchLeavesPct()Optional. Dense ANN param overrides to control recall and latency. The percentage of leaves to search, in the range [0, 100].
int32 search_leaves_pct = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The searchLeavesPct. |
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public SearchHint.IndexHint.DenseScannParams.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
SearchHint.IndexHint.DenseScannParams.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected SearchHint.IndexHint.DenseScannParams.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
SearchHint.IndexHint.DenseScannParams.Builder |
|
toBuilder()
public SearchHint.IndexHint.DenseScannParams.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
SearchHint.IndexHint.DenseScannParams.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|