public static enum Search.VectorMetricType extends Enum<Search.VectorMetricType> implements com.google.protobuf.ProtocolMessageEnum
| Enum Constant and Description |
|---|
VM_COSINE |
VM_DOT_PRODUCT |
VM_EUCLIDEAN |
| Modifier and Type | Field and Description |
|---|---|
static int |
VM_COSINE_VALUE |
static int |
VM_DOT_PRODUCT_VALUE |
static int |
VM_EUCLIDEAN_VALUE |
| Modifier and Type | Method and Description |
|---|---|
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<Search.VectorMetricType> |
internalGetValueMap() |
static Search.VectorMetricType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Search.VectorMetricType |
valueOf(int value) |
static Search.VectorMetricType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Search.VectorMetricType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Search.VectorMetricType VM_EUCLIDEAN
public static final Search.VectorMetricType VM_COSINE
public static final Search.VectorMetricType VM_DOT_PRODUCT
public static final int VM_EUCLIDEAN_VALUE
public static final int VM_COSINE_VALUE
public static final int VM_DOT_PRODUCT_VALUE
public static Search.VectorMetricType[] values()
for (Search.VectorMetricType c : Search.VectorMetricType.values()) System.out.println(c);
public static Search.VectorMetricType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnumpublic static Search.VectorMetricType valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Search.VectorMetricType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Search.VectorMetricType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024. All Rights Reserved.