
io.pinecone.UpsertResponse Maven / Gradle / Ivy
package io.pinecone;
import io.pinecone.proto.Core;
import java.util.List;
public class UpsertResponse extends PineconeResponse {
/**
* The list of vector ids upserted.
*/
private List ids;
private UpsertResponse(){}
static UpsertResponse from(Core.Request response) {
UpsertResponse ret = new UpsertResponse();
ret.ids = response.getIndex().getIdsList();
return ret;
}
public List getIds() {
return ids;
}
@Override
public String toString() {
return "UpsertResponse("
+ "ids=" + getIds()
+ ")";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy