com.clarifai.grpc.api.EmbeddingOrBuilder Maven / Gradle / Ivy
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: proto/clarifai/api/resources.proto
package com.clarifai.grpc.api;
public interface EmbeddingOrBuilder extends
// @@protoc_insertion_point(interface_extends:clarifai.api.Embedding)
com.google.protobuf.MessageOrBuilder {
/**
* repeated float vector = 1 [packed = true];
* @return A list containing the vector.
*/
java.util.List getVectorList();
/**
* repeated float vector = 1 [packed = true];
* @return The count of vector.
*/
int getVectorCount();
/**
* repeated float vector = 1 [packed = true];
* @param index The index of the element to return.
* @return The vector at the given index.
*/
float getVector(int index);
/**
* uint32 num_dimensions = 2;
* @return The numDimensions.
*/
int getNumDimensions();
}