com.clarifai.grpc.api.MultiSearchResponseOrBuilder Maven / Gradle / Ivy
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: proto/clarifai/api/service.proto
package com.clarifai.grpc.api;
public interface MultiSearchResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:clarifai.api.MultiSearchResponse)
com.google.protobuf.MessageOrBuilder {
/**
*
* Status of whether the search was successful.
*
*
* .clarifai.api.status.Status status = 1;
* @return Whether the status field is set.
*/
boolean hasStatus();
/**
*
* Status of whether the search was successful.
*
*
* .clarifai.api.status.Status status = 1;
* @return The status.
*/
com.clarifai.grpc.api.status.Status getStatus();
/**
*
* Status of whether the search was successful.
*
*
* .clarifai.api.status.Status status = 1;
*/
com.clarifai.grpc.api.status.StatusOrBuilder getStatusOrBuilder();
/**
*
* A unique id which uniquely identifies a search
*
*
* string id = 2;
* @return The id.
*/
java.lang.String getId();
/**
*
* A unique id which uniquely identifies a search
*
*
* string id = 2;
* @return The bytes for id.
*/
com.google.protobuf.ByteString
getIdBytes();
/**
*
* The list of search result Hits.
*
*
* repeated .clarifai.api.Hit hits = 3 [(.clarifai.api.utils.cl_show_if_empty) = true];
*/
java.util.List
getHitsList();
/**
*
* The list of search result Hits.
*
*
* repeated .clarifai.api.Hit hits = 3 [(.clarifai.api.utils.cl_show_if_empty) = true];
*/
com.clarifai.grpc.api.Hit getHits(int index);
/**
*
* The list of search result Hits.
*
*
* repeated .clarifai.api.Hit hits = 3 [(.clarifai.api.utils.cl_show_if_empty) = true];
*/
int getHitsCount();
/**
*
* The list of search result Hits.
*
*
* repeated .clarifai.api.Hit hits = 3 [(.clarifai.api.utils.cl_show_if_empty) = true];
*/
java.util.List extends com.clarifai.grpc.api.HitOrBuilder>
getHitsOrBuilderList();
/**
*
* The list of search result Hits.
*
*
* repeated .clarifai.api.Hit hits = 3 [(.clarifai.api.utils.cl_show_if_empty) = true];
*/
com.clarifai.grpc.api.HitOrBuilder getHitsOrBuilder(
int index);
/**
*
* The original query provided in the request.
*
*
* .clarifai.api.Query query = 4;
* @return Whether the query field is set.
*/
boolean hasQuery();
/**
*
* The original query provided in the request.
*
*
* .clarifai.api.Query query = 4;
* @return The query.
*/
com.clarifai.grpc.api.Query getQuery();
/**
*
* The original query provided in the request.
*
*
* .clarifai.api.Query query = 4;
*/
com.clarifai.grpc.api.QueryOrBuilder getQueryOrBuilder();
/**
*
* The original Searches provided in the request.
*
*
* repeated .clarifai.api.Search searches = 5;
*/
java.util.List
getSearchesList();
/**
*
* The original Searches provided in the request.
*
*
* repeated .clarifai.api.Search searches = 5;
*/
com.clarifai.grpc.api.Search getSearches(int index);
/**
*
* The original Searches provided in the request.
*
*
* repeated .clarifai.api.Search searches = 5;
*/
int getSearchesCount();
/**
*
* The original Searches provided in the request.
*
*
* repeated .clarifai.api.Search searches = 5;
*/
java.util.List extends com.clarifai.grpc.api.SearchOrBuilder>
getSearchesOrBuilderList();
/**
*
* The original Searches provided in the request.
*
*
* repeated .clarifai.api.Search searches = 5;
*/
com.clarifai.grpc.api.SearchOrBuilder getSearchesOrBuilder(
int index);
/**
*
* The counts of hits for each search, in the same order as searches.
* Only returned if the request set only_count.
*
*
* repeated .clarifai.api.HitCount hit_counts = 6;
*/
java.util.List
getHitCountsList();
/**
*
* The counts of hits for each search, in the same order as searches.
* Only returned if the request set only_count.
*
*
* repeated .clarifai.api.HitCount hit_counts = 6;
*/
com.clarifai.grpc.api.HitCount getHitCounts(int index);
/**
*
* The counts of hits for each search, in the same order as searches.
* Only returned if the request set only_count.
*
*
* repeated .clarifai.api.HitCount hit_counts = 6;
*/
int getHitCountsCount();
/**
*
* The counts of hits for each search, in the same order as searches.
* Only returned if the request set only_count.
*
*
* repeated .clarifai.api.HitCount hit_counts = 6;
*/
java.util.List extends com.clarifai.grpc.api.HitCountOrBuilder>
getHitCountsOrBuilderList();
/**
*
* The counts of hits for each search, in the same order as searches.
* Only returned if the request set only_count.
*
*
* repeated .clarifai.api.HitCount hit_counts = 6;
*/
com.clarifai.grpc.api.HitCountOrBuilder getHitCountsOrBuilder(
int index);
}