public final class Doc extends com.google.protobuf.GeneratedMessageV3 implements DocOrBuilder
proxima.dashvector.proto.Doc| 限定符和类型 | 类和说明 |
|---|---|
static class |
Doc.Builder
Protobuf type
proxima.dashvector.proto.Doc |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| 限定符和类型 | 字段和说明 |
|---|---|
static int |
FIELDS_FIELD_NUMBER |
static int |
ID_FIELD_NUMBER |
static int |
SCORE_FIELD_NUMBER |
static int |
SPARSE_VECTOR_FIELD_NUMBER |
static int |
VECTOR_FIELD_NUMBER |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
containsFields(String key)
map<string, .proxima.dashvector.proto.FieldValue> fields = 3; |
boolean |
containsSparseVector(int key)
optional
map<uint32, float> sparse_vector = 5; |
boolean |
equals(Object obj) |
static Doc |
getDefaultInstance() |
Doc |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Map<String,FieldValue> |
getFields()
已过时。
|
int |
getFieldsCount()
map<string, .proxima.dashvector.proto.FieldValue> fields = 3; |
Map<String,FieldValue> |
getFieldsMap()
map<string, .proxima.dashvector.proto.FieldValue> fields = 3; |
FieldValue |
getFieldsOrDefault(String key,
FieldValue defaultValue)
map<string, .proxima.dashvector.proto.FieldValue> fields = 3; |
FieldValue |
getFieldsOrThrow(String key)
map<string, .proxima.dashvector.proto.FieldValue> fields = 3; |
String |
getId()
string id = 1; |
com.google.protobuf.ByteString |
getIdBytes()
string id = 1; |
com.google.protobuf.Parser<Doc> |
getParserForType() |
float |
getScore()
float score = 4; |
int |
getSerializedSize() |
Map<Integer,Float> |
getSparseVector()
已过时。
|
int |
getSparseVectorCount()
optional
map<uint32, float> sparse_vector = 5; |
Map<Integer,Float> |
getSparseVectorMap()
optional
map<uint32, float> sparse_vector = 5; |
float |
getSparseVectorOrDefault(int key,
float defaultValue)
optional
map<uint32, float> sparse_vector = 5; |
float |
getSparseVectorOrThrow(int key)
optional
map<uint32, float> sparse_vector = 5; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
Vector |
getVector()
.proxima.dashvector.proto.Vector vector = 2; |
VectorOrBuilder |
getVectorOrBuilder()
.proxima.dashvector.proto.Vector vector = 2; |
int |
hashCode() |
boolean |
hasVector()
.proxima.dashvector.proto.Vector vector = 2; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static Doc.Builder |
newBuilder() |
static Doc.Builder |
newBuilder(Doc prototype) |
Doc.Builder |
newBuilderForType() |
protected Doc.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Doc |
parseDelimitedFrom(InputStream input) |
static Doc |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Doc |
parseFrom(byte[] data) |
static Doc |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Doc |
parseFrom(ByteBuffer data) |
static Doc |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Doc |
parseFrom(com.google.protobuf.ByteString data) |
static Doc |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Doc |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Doc |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Doc |
parseFrom(InputStream input) |
static Doc |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Doc> |
parser() |
Doc.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTopublic static final int ID_FIELD_NUMBER
public static final int VECTOR_FIELD_NUMBER
public static final int FIELDS_FIELD_NUMBER
public static final int SCORE_FIELD_NUMBER
public static final int SPARSE_VECTOR_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance 在类中 com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields 在接口中 com.google.protobuf.MessageOrBuildergetUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField 在类中 com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessageV3public String getId()
string id = 1;getId 在接口中 DocOrBuilderpublic com.google.protobuf.ByteString getIdBytes()
string id = 1;getIdBytes 在接口中 DocOrBuilderpublic boolean hasVector()
.proxima.dashvector.proto.Vector vector = 2;hasVector 在接口中 DocOrBuilderpublic Vector getVector()
.proxima.dashvector.proto.Vector vector = 2;getVector 在接口中 DocOrBuilderpublic VectorOrBuilder getVectorOrBuilder()
.proxima.dashvector.proto.Vector vector = 2;getVectorOrBuilder 在接口中 DocOrBuilderpublic int getFieldsCount()
DocOrBuildermap<string, .proxima.dashvector.proto.FieldValue> fields = 3;getFieldsCount 在接口中 DocOrBuilderpublic boolean containsFields(String key)
map<string, .proxima.dashvector.proto.FieldValue> fields = 3;containsFields 在接口中 DocOrBuilder@Deprecated public Map<String,FieldValue> getFields()
getFieldsMap() instead.getFields 在接口中 DocOrBuilderpublic Map<String,FieldValue> getFieldsMap()
map<string, .proxima.dashvector.proto.FieldValue> fields = 3;getFieldsMap 在接口中 DocOrBuilderpublic FieldValue getFieldsOrDefault(String key, FieldValue defaultValue)
map<string, .proxima.dashvector.proto.FieldValue> fields = 3;getFieldsOrDefault 在接口中 DocOrBuilderpublic FieldValue getFieldsOrThrow(String key)
map<string, .proxima.dashvector.proto.FieldValue> fields = 3;getFieldsOrThrow 在接口中 DocOrBuilderpublic float getScore()
float score = 4;getScore 在接口中 DocOrBuilderpublic int getSparseVectorCount()
DocOrBuilderoptional
map<uint32, float> sparse_vector = 5;getSparseVectorCount 在接口中 DocOrBuilderpublic boolean containsSparseVector(int key)
optional
map<uint32, float> sparse_vector = 5;containsSparseVector 在接口中 DocOrBuilder@Deprecated public Map<Integer,Float> getSparseVector()
getSparseVectorMap() instead.getSparseVector 在接口中 DocOrBuilderpublic Map<Integer,Float> getSparseVectorMap()
optional
map<uint32, float> sparse_vector = 5;getSparseVectorMap 在接口中 DocOrBuilderpublic float getSparseVectorOrDefault(int key,
float defaultValue)
optional
map<uint32, float> sparse_vector = 5;getSparseVectorOrDefault 在接口中 DocOrBuilderpublic float getSparseVectorOrThrow(int key)
optional
map<uint32, float> sparse_vector = 5;getSparseVectorOrThrow 在接口中 DocOrBuilderpublic final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo 在接口中 com.google.protobuf.MessageLitewriteTo 在类中 com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize 在接口中 com.google.protobuf.MessageLitegetSerializedSize 在类中 com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals 在接口中 com.google.protobuf.Messageequals 在类中 com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode 在接口中 com.google.protobuf.MessagehashCode 在类中 com.google.protobuf.AbstractMessagepublic static Doc parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Doc parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Doc parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Doc parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Doc parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Doc parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Doc parseFrom(InputStream input) throws IOException
IOExceptionpublic static Doc parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Doc parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Doc parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Doc parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Doc parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Doc.Builder newBuilderForType()
newBuilderForType 在接口中 com.google.protobuf.MessagenewBuilderForType 在接口中 com.google.protobuf.MessageLitepublic static Doc.Builder newBuilder()
public static Doc.Builder newBuilder(Doc prototype)
public Doc.Builder toBuilder()
toBuilder 在接口中 com.google.protobuf.MessagetoBuilder 在接口中 com.google.protobuf.MessageLiteprotected Doc.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType 在类中 com.google.protobuf.GeneratedMessageV3public static Doc getDefaultInstance()
public static com.google.protobuf.Parser<Doc> parser()
public com.google.protobuf.Parser<Doc> getParserForType()
getParserForType 在接口中 com.google.protobuf.MessagegetParserForType 在接口中 com.google.protobuf.MessageLitegetParserForType 在类中 com.google.protobuf.GeneratedMessageV3public Doc getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderCopyright © 2023. All rights reserved.