com.clarifai.grpc.api.ClusterOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: proto/clarifai/api/resources.proto
package com.clarifai.grpc.api;
public interface ClusterOrBuilder extends
// @@protoc_insertion_point(interface_extends:clarifai.api.Cluster)
com.google.protobuf.MessageOrBuilder {
/**
* string id = 1;
* @return The id.
*/
java.lang.String getId();
/**
* string id = 1;
* @return The bytes for id.
*/
com.google.protobuf.ByteString
getIdBytes();
/**
*
* Number of annotations tied to the cluster in the app
*
*
* uint32 count = 2;
* @return The count.
*/
int getCount();
/**
*
* The score assigned to this cluster.
* For List Clusters endpoint, this represents percentage of inputs in the app assigned to this cluster.
*
*
* float score = 3;
* @return The score.
*/
float getScore();
/**
*
* Representative hits for cluster (for now we only return 1)
*
*
* repeated .clarifai.api.Hit hits = 4;
*/
java.util.List
getHitsList();
/**
*
* Representative hits for cluster (for now we only return 1)
*
*
* repeated .clarifai.api.Hit hits = 4;
*/
com.clarifai.grpc.api.Hit getHits(int index);
/**
*
* Representative hits for cluster (for now we only return 1)
*
*
* repeated .clarifai.api.Hit hits = 4;
*/
int getHitsCount();
/**
*
* Representative hits for cluster (for now we only return 1)
*
*
* repeated .clarifai.api.Hit hits = 4;
*/
java.util.List extends com.clarifai.grpc.api.HitOrBuilder>
getHitsOrBuilderList();
/**
*
* Representative hits for cluster (for now we only return 1)
*
*
* repeated .clarifai.api.Hit hits = 4;
*/
com.clarifai.grpc.api.HitOrBuilder getHitsOrBuilder(
int index);
/**
* repeated float projection = 5;
* @return A list containing the projection.
*/
java.util.List getProjectionList();
/**
* repeated float projection = 5;
* @return The count of projection.
*/
int getProjectionCount();
/**
* repeated float projection = 5;
* @param index The index of the element to return.
* @return The projection at the given index.
*/
float getProjection(int index);
}