io.pinecone.proto.VectorOrBuilder 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 VectorOrBuilder extends
// @@protoc_insertion_point(interface_extends:Vector)
com.google.protobuf.MessageOrBuilder {
/**
*
* This is the vector's unique id.
*
*
* string id = 1 [(.google.api.field_behavior) = REQUIRED];
* @return The id.
*/
java.lang.String getId();
/**
*
* This is the vector's unique id.
*
*
* string id = 1 [(.google.api.field_behavior) = REQUIRED];
* @return The bytes for id.
*/
com.google.protobuf.ByteString
getIdBytes();
/**
*
* This is the vector data included in the request.
*
*
* repeated float values = 2 [(.google.api.field_behavior) = REQUIRED];
* @return A list containing the values.
*/
java.util.List getValuesList();
/**
*
* This is the vector data included in the request.
*
*
* repeated float values = 2 [(.google.api.field_behavior) = REQUIRED];
* @return The count of values.
*/
int getValuesCount();
/**
*
* This is the vector data included in the request.
*
*
* repeated float values = 2 [(.google.api.field_behavior) = REQUIRED];
* @param index The index of the element to return.
* @return The values at the given index.
*/
float getValues(int index);
/**
* .SparseValues sparse_values = 4;
* @return Whether the sparseValues field is set.
*/
boolean hasSparseValues();
/**
* .SparseValues sparse_values = 4;
* @return The sparseValues.
*/
io.pinecone.proto.SparseValues getSparseValues();
/**
* .SparseValues sparse_values = 4;
*/
io.pinecone.proto.SparseValuesOrBuilder getSparseValuesOrBuilder();
/**
*
* This is the metadata included in the request.
*
*
* .google.protobuf.Struct metadata = 3;
* @return Whether the metadata field is set.
*/
boolean hasMetadata();
/**
*
* This is the metadata included in the request.
*
*
* .google.protobuf.Struct metadata = 3;
* @return The metadata.
*/
com.google.protobuf.Struct getMetadata();
/**
*
* This is the metadata included in the request.
*
*
* .google.protobuf.Struct metadata = 3;
*/
com.google.protobuf.StructOrBuilder getMetadataOrBuilder();
}