com.clarifai.grpc.api.QueryOrBuilder 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 QueryOrBuilder extends
// @@protoc_insertion_point(interface_extends:clarifai.api.Query)
com.google.protobuf.MessageOrBuilder {
/**
*
* The query syntax is simply a list of And operatiosn that will be ANDed together to fetch
* results which are returned to the user as Hit messages.
* Deprecated: Only used by the deprecated PostSearches endpoint. Use filters
* and ranks instead with PostInputsSearches or PostAnnotationsSearches.
*
*
* repeated .clarifai.api.And ands = 1 [deprecated = true];
*/
@java.lang.Deprecated java.util.List
getAndsList();
/**
*
* The query syntax is simply a list of And operatiosn that will be ANDed together to fetch
* results which are returned to the user as Hit messages.
* Deprecated: Only used by the deprecated PostSearches endpoint. Use filters
* and ranks instead with PostInputsSearches or PostAnnotationsSearches.
*
*
* repeated .clarifai.api.And ands = 1 [deprecated = true];
*/
@java.lang.Deprecated com.clarifai.grpc.api.And getAnds(int index);
/**
*
* The query syntax is simply a list of And operatiosn that will be ANDed together to fetch
* results which are returned to the user as Hit messages.
* Deprecated: Only used by the deprecated PostSearches endpoint. Use filters
* and ranks instead with PostInputsSearches or PostAnnotationsSearches.
*
*
* repeated .clarifai.api.And ands = 1 [deprecated = true];
*/
@java.lang.Deprecated int getAndsCount();
/**
*
* The query syntax is simply a list of And operatiosn that will be ANDed together to fetch
* results which are returned to the user as Hit messages.
* Deprecated: Only used by the deprecated PostSearches endpoint. Use filters
* and ranks instead with PostInputsSearches or PostAnnotationsSearches.
*
*
* repeated .clarifai.api.And ands = 1 [deprecated = true];
*/
@java.lang.Deprecated java.util.List extends com.clarifai.grpc.api.AndOrBuilder>
getAndsOrBuilderList();
/**
*
* The query syntax is simply a list of And operatiosn that will be ANDed together to fetch
* results which are returned to the user as Hit messages.
* Deprecated: Only used by the deprecated PostSearches endpoint. Use filters
* and ranks instead with PostInputsSearches or PostAnnotationsSearches.
*
*
* repeated .clarifai.api.And ands = 1 [deprecated = true];
*/
@java.lang.Deprecated com.clarifai.grpc.api.AndOrBuilder getAndsOrBuilder(
int index);
/**
*
* This allows the query to override any default language the app was setup in when doing Concept
* based searches. This currently only affects public Models Output searches when those public
* Models have translations for their Concepts.
*
*
* string language = 2;
* @return The language.
*/
java.lang.String getLanguage();
/**
*
* This allows the query to override any default language the app was setup in when doing Concept
* based searches. This currently only affects public Models Output searches when those public
* Models have translations for their Concepts.
*
*
* string language = 2;
* @return The bytes for language.
*/
com.google.protobuf.ByteString
getLanguageBytes();
/**
*
* filters in this query
* e.q. only fetch annotations that have certain metadata
*
*
* repeated .clarifai.api.Filter filters = 3;
*/
java.util.List
getFiltersList();
/**
*
* filters in this query
* e.q. only fetch annotations that have certain metadata
*
*
* repeated .clarifai.api.Filter filters = 3;
*/
com.clarifai.grpc.api.Filter getFilters(int index);
/**
*
* filters in this query
* e.q. only fetch annotations that have certain metadata
*
*
* repeated .clarifai.api.Filter filters = 3;
*/
int getFiltersCount();
/**
*
* filters in this query
* e.q. only fetch annotations that have certain metadata
*
*
* repeated .clarifai.api.Filter filters = 3;
*/
java.util.List extends com.clarifai.grpc.api.FilterOrBuilder>
getFiltersOrBuilderList();
/**
*
* filters in this query
* e.q. only fetch annotations that have certain metadata
*
*
* repeated .clarifai.api.Filter filters = 3;
*/
com.clarifai.grpc.api.FilterOrBuilder getFiltersOrBuilder(
int index);
/**
*
* rankings in this query
* e.g. visual search by a url
*
*
* repeated .clarifai.api.Rank ranks = 4;
*/
java.util.List
getRanksList();
/**
*
* rankings in this query
* e.g. visual search by a url
*
*
* repeated .clarifai.api.Rank ranks = 4;
*/
com.clarifai.grpc.api.Rank getRanks(int index);
/**
*
* rankings in this query
* e.g. visual search by a url
*
*
* repeated .clarifai.api.Rank ranks = 4;
*/
int getRanksCount();
/**
*
* rankings in this query
* e.g. visual search by a url
*
*
* repeated .clarifai.api.Rank ranks = 4;
*/
java.util.List extends com.clarifai.grpc.api.RankOrBuilder>
getRanksOrBuilderList();
/**
*
* rankings in this query
* e.g. visual search by a url
*
*
* repeated .clarifai.api.Rank ranks = 4;
*/
com.clarifai.grpc.api.RankOrBuilder getRanksOrBuilder(
int index);
}