public static final class SearchHint.IndexHint.DenseScannParams extends GeneratedMessage implements SearchHint.IndexHint.DenseScannParamsOrBuilderParameters for dense ScaNN.
Protobuf type google.cloud.vectorsearch.v1.SearchHint.IndexHint.DenseScannParams
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > SearchHint.IndexHint.DenseScannParamsStatic Fields
TARGET_RECALL_FIELD_NUMBER
public static final int TARGET_RECALL_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 |
|
getParserForType()
public Parser<SearchHint.IndexHint.DenseScannParams> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<DenseScannParams> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
getTargetRecall()
public double getTargetRecall()Optional. The target recall for the search. Must be a double in the range [0, 1]. While the search aims to achieve this level of recall, it is not guaranteed.
optional double target_recall = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
double |
The targetRecall. |
hasTargetRecall()
public boolean hasTargetRecall()Optional. The target recall for the search. Must be a double in the range [0, 1]. While the search aims to achieve this level of recall, it is not guaranteed.
optional double target_recall = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the targetRecall field is set. |
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 |
|