com.clarifai.grpc.api.ListModelVersionsRequestOrBuilder 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 ListModelVersionsRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:clarifai.api.ListModelVersionsRequest)
com.google.protobuf.MessageOrBuilder {
/**
* .clarifai.api.UserAppIDSet user_app_id = 1;
* @return Whether the userAppId field is set.
*/
boolean hasUserAppId();
/**
* .clarifai.api.UserAppIDSet user_app_id = 1;
* @return The userAppId.
*/
com.clarifai.grpc.api.UserAppIDSet getUserAppId();
/**
* .clarifai.api.UserAppIDSet user_app_id = 1;
*/
com.clarifai.grpc.api.UserAppIDSetOrBuilder getUserAppIdOrBuilder();
/**
* string model_id = 2;
* @return The modelId.
*/
java.lang.String getModelId();
/**
* string model_id = 2;
* @return The bytes for modelId.
*/
com.google.protobuf.ByteString
getModelIdBytes();
/**
*
* (optional URL parameter) The page number. Pagination is used to split the results into chunks.
* Defaults to 1.
*
*
* uint32 page = 3;
* @return The page.
*/
int getPage();
/**
*
* (optional URL parameter) The number of results that will be contained in each page. Defaults
* to 128.
*
*
* uint32 per_page = 4;
* @return The perPage.
*/
int getPerPage();
/**
*
* Filtering options:
* To list only the model versions that have these concept ids present in them.
*
*
* repeated string concept_ids = 5;
* @return A list containing the conceptIds.
*/
java.util.List
getConceptIdsList();
/**
*
* Filtering options:
* To list only the model versions that have these concept ids present in them.
*
*
* repeated string concept_ids = 5;
* @return The count of conceptIds.
*/
int getConceptIdsCount();
/**
*
* Filtering options:
* To list only the model versions that have these concept ids present in them.
*
*
* repeated string concept_ids = 5;
* @param index The index of the element to return.
* @return The conceptIds at the given index.
*/
java.lang.String getConceptIds(int index);
/**
*
* Filtering options:
* To list only the model versions that have these concept ids present in them.
*
*
* repeated string concept_ids = 5;
* @param index The index of the value to return.
* @return The bytes of the conceptIds at the given index.
*/
com.google.protobuf.ByteString
getConceptIdsBytes(int index);
/**
*
* To list only the model versions that have been trained.
*
*
* bool trained_only = 6;
* @return The trainedOnly.
*/
boolean getTrainedOnly();
/**
*
* Sorting options:
* Whether to sort in ascending order. If false, will order in descending order.
*
*
* bool sort_ascending = 7;
* @return The sortAscending.
*/
boolean getSortAscending();
/**
*
* Whether to order by the status code
*
*
* bool sort_by_status_code = 8;
* @return Whether the sortByStatusCode field is set.
*/
boolean hasSortByStatusCode();
/**
*
* Whether to order by the status code
*
*
* bool sort_by_status_code = 8;
* @return The sortByStatusCode.
*/
boolean getSortByStatusCode();
/**
*
* Whether to order by the number of training inputs
*
*
* bool sort_by_num_inputs = 9;
* @return Whether the sortByNumInputs field is set.
*/
boolean hasSortByNumInputs();
/**
*
* Whether to order by the number of training inputs
*
*
* bool sort_by_num_inputs = 9;
* @return The sortByNumInputs.
*/
boolean getSortByNumInputs();
/**
*
* Whether to sort by the description
*
*
* bool sort_by_description = 10;
* @return Whether the sortByDescription field is set.
*/
boolean hasSortByDescription();
/**
*
* Whether to sort by the description
*
*
* bool sort_by_description = 10;
* @return The sortByDescription.
*/
boolean getSortByDescription();
/**
*
* Whether to order by the created_at time
* If neither sort option is set to true, will sort by created_at.
*
*
* bool sort_by_created_at = 11;
* @return Whether the sortByCreatedAt field is set.
*/
boolean hasSortByCreatedAt();
/**
*
* Whether to order by the created_at time
* If neither sort option is set to true, will sort by created_at.
*
*
* bool sort_by_created_at = 11;
* @return The sortByCreatedAt.
*/
boolean getSortByCreatedAt();
public com.clarifai.grpc.api.ListModelVersionsRequest.SortByCase getSortByCase();
}