io.pinecone.proto.FetchResponseOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pinecone-client Show documentation
Show all versions of pinecone-client Show documentation
The Pinecone.io Java Client
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: vector_service.proto
// Protobuf Java Version: 3.25.3
package io.pinecone.proto;
public interface FetchResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:FetchResponse)
com.google.protobuf.MessageOrBuilder {
/**
*
* The fetched vectors, in the form of a map between the fetched ids and the fetched vectors
*
*
* map<string, .Vector> vectors = 1;
*/
int getVectorsCount();
/**
*
* The fetched vectors, in the form of a map between the fetched ids and the fetched vectors
*
*
* map<string, .Vector> vectors = 1;
*/
boolean containsVectors(
java.lang.String key);
/**
* Use {@link #getVectorsMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getVectors();
/**
*
* The fetched vectors, in the form of a map between the fetched ids and the fetched vectors
*
*
* map<string, .Vector> vectors = 1;
*/
java.util.Map
getVectorsMap();
/**
*
* The fetched vectors, in the form of a map between the fetched ids and the fetched vectors
*
*
* map<string, .Vector> vectors = 1;
*/
/* nullable */
io.pinecone.proto.Vector getVectorsOrDefault(
java.lang.String key,
/* nullable */
io.pinecone.proto.Vector defaultValue);
/**
*
* The fetched vectors, in the form of a map between the fetched ids and the fetched vectors
*
*
* map<string, .Vector> vectors = 1;
*/
io.pinecone.proto.Vector getVectorsOrThrow(
java.lang.String key);
/**
*
* The namespace of the vectors.
*
*
* string namespace = 2;
* @return The namespace.
*/
java.lang.String getNamespace();
/**
*
* The namespace of the vectors.
*
*
* string namespace = 2;
* @return The bytes for namespace.
*/
com.google.protobuf.ByteString
getNamespaceBytes();
/**
*
* The usage for this operation.
*
*
* optional .Usage usage = 3;
* @return Whether the usage field is set.
*/
boolean hasUsage();
/**
*
* The usage for this operation.
*
*
* optional .Usage usage = 3;
* @return The usage.
*/
io.pinecone.proto.Usage getUsage();
/**
*
* The usage for this operation.
*
*
* optional .Usage usage = 3;
*/
io.pinecone.proto.UsageOrBuilder getUsageOrBuilder();
}