com.clarifai.grpc.api.ConceptQueryOrBuilder 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 ConceptQueryOrBuilder extends
// @@protoc_insertion_point(interface_extends:clarifai.api.ConceptQuery)
com.google.protobuf.MessageOrBuilder {
/**
*
* The name of the concept to search.
*
*
* string name = 1;
* @return The name.
*/
java.lang.String getName();
/**
*
* The name of the concept to search.
*
*
* string name = 1;
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
*
* The language of the concept name in a search. Defaults to English.
*
*
* string language = 2;
* @return The language.
*/
java.lang.String getLanguage();
/**
*
* The language of the concept name in a search. Defaults to English.
*
*
* string language = 2;
* @return The bytes for language.
*/
com.google.protobuf.ByteString
getLanguageBytes();
/**
*
* Deprecated: Use workflow.id instead.
*
*
* string workflow_id = 3 [deprecated = true];
* @deprecated clarifai.api.ConceptQuery.workflow_id is deprecated.
* See proto/clarifai/api/resources.proto;l=495
* @return The workflowId.
*/
@java.lang.Deprecated java.lang.String getWorkflowId();
/**
*
* Deprecated: Use workflow.id instead.
*
*
* string workflow_id = 3 [deprecated = true];
* @deprecated clarifai.api.ConceptQuery.workflow_id is deprecated.
* See proto/clarifai/api/resources.proto;l=495
* @return The bytes for workflowId.
*/
@java.lang.Deprecated com.google.protobuf.ByteString
getWorkflowIdBytes();
/**
*
* The concepts must belong to models with specified use cases.
* Multiple values are joined using an OR condition.
*
*
* repeated .clarifai.api.WorkflowModelUseCase use_cases = 4;
* @return A list containing the useCases.
*/
java.util.List getUseCasesList();
/**
*
* The concepts must belong to models with specified use cases.
* Multiple values are joined using an OR condition.
*
*
* repeated .clarifai.api.WorkflowModelUseCase use_cases = 4;
* @return The count of useCases.
*/
int getUseCasesCount();
/**
*
* The concepts must belong to models with specified use cases.
* Multiple values are joined using an OR condition.
*
*
* repeated .clarifai.api.WorkflowModelUseCase use_cases = 4;
* @param index The index of the element to return.
* @return The useCases at the given index.
*/
com.clarifai.grpc.api.WorkflowModelUseCase getUseCases(int index);
/**
*
* The concepts must belong to models with specified use cases.
* Multiple values are joined using an OR condition.
*
*
* repeated .clarifai.api.WorkflowModelUseCase use_cases = 4;
* @return A list containing the enum numeric values on the wire for useCases.
*/
java.util.List
getUseCasesValueList();
/**
*
* The concepts must belong to models with specified use cases.
* Multiple values are joined using an OR condition.
*
*
* repeated .clarifai.api.WorkflowModelUseCase use_cases = 4;
* @param index The index of the value to return.
* @return The enum numeric value on the wire of useCases at the given index.
*/
int getUseCasesValue(int index);
/**
* .clarifai.api.Model model = 5;
* @return Whether the model field is set.
*/
boolean hasModel();
/**
* .clarifai.api.Model model = 5;
* @return The model.
*/
com.clarifai.grpc.api.Model getModel();
/**
* .clarifai.api.Model model = 5;
*/
com.clarifai.grpc.api.ModelOrBuilder getModelOrBuilder();
/**
* .clarifai.api.Workflow workflow = 6;
* @return Whether the workflow field is set.
*/
boolean hasWorkflow();
/**
* .clarifai.api.Workflow workflow = 6;
* @return The workflow.
*/
com.clarifai.grpc.api.Workflow getWorkflow();
/**
* .clarifai.api.Workflow workflow = 6;
*/
com.clarifai.grpc.api.WorkflowOrBuilder getWorkflowOrBuilder();
public com.clarifai.grpc.api.ConceptQuery.SourceCase getSourceCase();
}