com.clarifai.grpc.api.ListDatasetsRequestOrBuilder 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 ListDatasetsRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:clarifai.api.ListDatasetsRequest)
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();
/**
*
* (optional URL parameter) The page number. Pagination is used to split the results into chunks.
* Defaults to 1.
*
*
* uint32 page = 2;
* @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 = 3;
* @return The perPage.
*/
int getPerPage();
/**
* repeated string additional_fields = 5;
* @return A list containing the additionalFields.
*/
java.util.List
getAdditionalFieldsList();
/**
* repeated string additional_fields = 5;
* @return The count of additionalFields.
*/
int getAdditionalFieldsCount();
/**
* repeated string additional_fields = 5;
* @param index The index of the element to return.
* @return The additionalFields at the given index.
*/
java.lang.String getAdditionalFields(int index);
/**
* repeated string additional_fields = 5;
* @param index The index of the value to return.
* @return The bytes of the additionalFields at the given index.
*/
com.google.protobuf.ByteString
getAdditionalFieldsBytes(int index);
/**
*
* Sorting options:
* Whether to sort in ascending order. If false, will order in descending order.
*
*
* bool sort_ascending = 6;
* @return The sortAscending.
*/
boolean getSortAscending();
/**
*
* Whether to order by the created_at time.
*
*
* bool sort_by_created_at = 7;
* @return Whether the sortByCreatedAt field is set.
*/
boolean hasSortByCreatedAt();
/**
*
* Whether to order by the created_at time.
*
*
* bool sort_by_created_at = 7;
* @return The sortByCreatedAt.
*/
boolean getSortByCreatedAt();
/**
*
* Whether to order by the number of users stared the app
*
*
* bool sort_by_star_count = 8;
* @return Whether the sortByStarCount field is set.
*/
boolean hasSortByStarCount();
/**
*
* Whether to order by the number of users stared the app
*
*
* bool sort_by_star_count = 8;
* @return The sortByStarCount.
*/
boolean getSortByStarCount();
/**
*
* If neither sort option is set to true, will sort by modified_at.
*
*
* bool sort_by_modified_at = 9;
* @return Whether the sortByModifiedAt field is set.
*/
boolean hasSortByModifiedAt();
/**
*
* If neither sort option is set to true, will sort by modified_at.
*
*
* bool sort_by_modified_at = 9;
* @return The sortByModifiedAt.
*/
boolean getSortByModifiedAt();
/**
*
* Whether to order by the external id
*
*
* bool sort_by_id = 11;
* @return Whether the sortById field is set.
*/
boolean hasSortById();
/**
*
* Whether to order by the external id
*
*
* bool sort_by_id = 11;
* @return The sortById.
*/
boolean getSortById();
/**
*
* Filtering options:
*
*
* bool starred_only = 4;
* @return The starredOnly.
*/
boolean getStarredOnly();
/**
*
* Filter datasets by bookmark. If set, only return bookmarked datasets. Otherwise none bookmarked datasets only.
*
*
* bool bookmark = 10;
* @return The bookmark.
*/
boolean getBookmark();
/**
*
* Searching options:
* Specify a search parameter in order to perform keyword search on the
* following fields of the dataset:
* - id
* - description
* - notes
* - user_id (unless user_app_id.user_id is already set)
* Keywords are both normalized for search (so searching for "satisfy" matches "satisfied")
* and used for partial prefix-matching (so searching for "clari" matches "clarifai").
* NOTE: Both the list of fields searched and the exact keyword matching
* rules are subject to change and not guaranteed to be backwards-compatible.
*
*
* string search = 13;
* @return The search.
*/
java.lang.String getSearch();
/**
*
* Searching options:
* Specify a search parameter in order to perform keyword search on the
* following fields of the dataset:
* - id
* - description
* - notes
* - user_id (unless user_app_id.user_id is already set)
* Keywords are both normalized for search (so searching for "satisfy" matches "satisfied")
* and used for partial prefix-matching (so searching for "clari" matches "clarifai").
* NOTE: Both the list of fields searched and the exact keyword matching
* rules are subject to change and not guaranteed to be backwards-compatible.
*
*
* string search = 13;
* @return The bytes for search.
*/
com.google.protobuf.ByteString
getSearchBytes();
/**
*
* Fuzzy filter on dataset ID
* Deprecated: use search instead.
*
*
* string id = 12 [deprecated = true];
* @deprecated clarifai.api.ListDatasetsRequest.id is deprecated.
* See proto/clarifai/api/service.proto;l=4923
* @return The id.
*/
@java.lang.Deprecated java.lang.String getId();
/**
*
* Fuzzy filter on dataset ID
* Deprecated: use search instead.
*
*
* string id = 12 [deprecated = true];
* @deprecated clarifai.api.ListDatasetsRequest.id is deprecated.
* See proto/clarifai/api/service.proto;l=4923
* @return The bytes for id.
*/
@java.lang.Deprecated com.google.protobuf.ByteString
getIdBytes();
public com.clarifai.grpc.api.ListDatasetsRequest.SortByCase getSortByCase();
}