public final class FetchResponse extends com.google.protobuf.GeneratedMessageV3 implements FetchResponseOrBuilder
The response for the `Fetch` operation.Protobuf type
FetchResponse| Modifier and Type | Class and Description |
|---|---|
static class |
FetchResponse.Builder
The response for the `Fetch` operation.
|
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| Modifier and Type | Field and Description |
|---|---|
static int |
NAMESPACE_FIELD_NUMBER |
static int |
VECTORS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsVectors(java.lang.String key)
The fetched vectors, in the form of a map between the fetched ids and the fetched vectors
|
boolean |
equals(java.lang.Object obj) |
static FetchResponse |
getDefaultInstance() |
FetchResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
java.lang.String |
getNamespace()
The namespace of the vectors.
|
com.google.protobuf.ByteString |
getNamespaceBytes()
The namespace of the vectors.
|
com.google.protobuf.Parser<FetchResponse> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
java.util.Map<java.lang.String,Vector> |
getVectors()
Deprecated.
|
int |
getVectorsCount()
The fetched vectors, in the form of a map between the fetched ids and the fetched vectors
|
java.util.Map<java.lang.String,Vector> |
getVectorsMap()
The fetched vectors, in the form of a map between the fetched ids and the fetched vectors
|
Vector |
getVectorsOrDefault(java.lang.String key,
Vector defaultValue)
The fetched vectors, in the form of a map between the fetched ids and the fetched vectors
|
Vector |
getVectorsOrThrow(java.lang.String key)
The fetched vectors, in the form of a map between the fetched ids and the fetched vectors
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static FetchResponse.Builder |
newBuilder() |
static FetchResponse.Builder |
newBuilder(FetchResponse prototype) |
FetchResponse.Builder |
newBuilderForType() |
protected FetchResponse.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected java.lang.Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static FetchResponse |
parseDelimitedFrom(java.io.InputStream input) |
static FetchResponse |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FetchResponse |
parseFrom(byte[] data) |
static FetchResponse |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FetchResponse |
parseFrom(java.nio.ByteBuffer data) |
static FetchResponse |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FetchResponse |
parseFrom(com.google.protobuf.ByteString data) |
static FetchResponse |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FetchResponse |
parseFrom(com.google.protobuf.CodedInputStream input) |
static FetchResponse |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FetchResponse |
parseFrom(java.io.InputStream input) |
static FetchResponse |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<FetchResponse> |
parser() |
FetchResponse.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, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int VECTORS_FIELD_NUMBER
public static final int NAMESPACE_FIELD_NUMBER
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public int getVectorsCount()
FetchResponseOrBuilderThe fetched vectors, in the form of a map between the fetched ids and the fetched vectors
map<string, .Vector> vectors = 1;getVectorsCount in interface FetchResponseOrBuilderpublic boolean containsVectors(java.lang.String key)
The fetched vectors, in the form of a map between the fetched ids and the fetched vectors
map<string, .Vector> vectors = 1;containsVectors in interface FetchResponseOrBuilder@Deprecated public java.util.Map<java.lang.String,Vector> getVectors()
getVectorsMap() instead.getVectors in interface FetchResponseOrBuilderpublic java.util.Map<java.lang.String,Vector> getVectorsMap()
The fetched vectors, in the form of a map between the fetched ids and the fetched vectors
map<string, .Vector> vectors = 1;getVectorsMap in interface FetchResponseOrBuilderpublic Vector getVectorsOrDefault(java.lang.String key, Vector defaultValue)
The fetched vectors, in the form of a map between the fetched ids and the fetched vectors
map<string, .Vector> vectors = 1;getVectorsOrDefault in interface FetchResponseOrBuilderpublic Vector getVectorsOrThrow(java.lang.String key)
The fetched vectors, in the form of a map between the fetched ids and the fetched vectors
map<string, .Vector> vectors = 1;getVectorsOrThrow in interface FetchResponseOrBuilderpublic java.lang.String getNamespace()
The namespace of the vectors.
string namespace = 2;getNamespace in interface FetchResponseOrBuilderpublic com.google.protobuf.ByteString getNamespaceBytes()
The namespace of the vectors.
string namespace = 2;getNamespaceBytes in interface FetchResponseOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static FetchResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FetchResponse parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FetchResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FetchResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FetchResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FetchResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FetchResponse parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static FetchResponse parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static FetchResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static FetchResponse parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static FetchResponse parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static FetchResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic FetchResponse.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static FetchResponse.Builder newBuilder()
public static FetchResponse.Builder newBuilder(FetchResponse prototype)
public FetchResponse.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected FetchResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static FetchResponse getDefaultInstance()
public static com.google.protobuf.Parser<FetchResponse> parser()
public com.google.protobuf.Parser<FetchResponse> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public FetchResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder