com.clarifai.grpc.api.ListTasksRequestOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: proto/clarifai/api/service.proto
package com.clarifai.grpc.api;
public interface ListTasksRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:clarifai.api.ListTasksRequest)
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();
/**
*
* Get tasks that have ANY user from this list assigned as worker.
*
*
* repeated string worker_user_ids = 4;
* @return A list containing the workerUserIds.
*/
java.util.List
getWorkerUserIdsList();
/**
*
* Get tasks that have ANY user from this list assigned as worker.
*
*
* repeated string worker_user_ids = 4;
* @return The count of workerUserIds.
*/
int getWorkerUserIdsCount();
/**
*
* Get tasks that have ANY user from this list assigned as worker.
*
*
* repeated string worker_user_ids = 4;
* @param index The index of the element to return.
* @return The workerUserIds at the given index.
*/
java.lang.String getWorkerUserIds(int index);
/**
*
* Get tasks that have ANY user from this list assigned as worker.
*
*
* repeated string worker_user_ids = 4;
* @param index The index of the value to return.
* @return The bytes of the workerUserIds at the given index.
*/
com.google.protobuf.ByteString
getWorkerUserIdsBytes(int index);
/**
*
* Get tasks that have ANY user from this list assigned as reviewer.
*
*
* repeated string review_user_ids = 5;
* @return A list containing the reviewUserIds.
*/
java.util.List
getReviewUserIdsList();
/**
*
* Get tasks that have ANY user from this list assigned as reviewer.
*
*
* repeated string review_user_ids = 5;
* @return The count of reviewUserIds.
*/
int getReviewUserIdsCount();
/**
*
* Get tasks that have ANY user from this list assigned as reviewer.
*
*
* repeated string review_user_ids = 5;
* @param index The index of the element to return.
* @return The reviewUserIds at the given index.
*/
java.lang.String getReviewUserIds(int index);
/**
*
* Get tasks that have ANY user from this list assigned as reviewer.
*
*
* repeated string review_user_ids = 5;
* @param index The index of the value to return.
* @return The bytes of the reviewUserIds at the given index.
*/
com.google.protobuf.ByteString
getReviewUserIdsBytes(int index);
/**
*
* Get tasks that are associated to ANY label order from this list.
*
*
* repeated string label_order_ids = 8;
* @return A list containing the labelOrderIds.
*/
java.util.List
getLabelOrderIdsList();
/**
*
* Get tasks that are associated to ANY label order from this list.
*
*
* repeated string label_order_ids = 8;
* @return The count of labelOrderIds.
*/
int getLabelOrderIdsCount();
/**
*
* Get tasks that are associated to ANY label order from this list.
*
*
* repeated string label_order_ids = 8;
* @param index The index of the element to return.
* @return The labelOrderIds at the given index.
*/
java.lang.String getLabelOrderIds(int index);
/**
*
* Get tasks that are associated to ANY label order from this list.
*
*
* repeated string label_order_ids = 8;
* @param index The index of the value to return.
* @return The bytes of the labelOrderIds at the given index.
*/
com.google.protobuf.ByteString
getLabelOrderIdsBytes(int index);
/**
*
* Get label order tasks as well
* It is automatically set to true if label_order_ids is set.
*
*
* bool including_label_order_tasks = 6;
* @return The includingLabelOrderTasks.
*/
boolean getIncludingLabelOrderTasks();
/**
*
* (optional URL parameter) List of additional fields to be included in the response.
* Currently supported additional fields:
* - all
* - worker.users
* - review.users
* - metrics.work.inputs_count_estimated
* - metrics.work.inputs_percent_estimated
*
*
* repeated string additional_fields = 7;
* @return A list containing the additionalFields.
*/
java.util.List
getAdditionalFieldsList();
/**
*
* (optional URL parameter) List of additional fields to be included in the response.
* Currently supported additional fields:
* - all
* - worker.users
* - review.users
* - metrics.work.inputs_count_estimated
* - metrics.work.inputs_percent_estimated
*
*
* repeated string additional_fields = 7;
* @return The count of additionalFields.
*/
int getAdditionalFieldsCount();
/**
*
* (optional URL parameter) List of additional fields to be included in the response.
* Currently supported additional fields:
* - all
* - worker.users
* - review.users
* - metrics.work.inputs_count_estimated
* - metrics.work.inputs_percent_estimated
*
*
* repeated string additional_fields = 7;
* @param index The index of the element to return.
* @return The additionalFields at the given index.
*/
java.lang.String getAdditionalFields(int index);
/**
*
* (optional URL parameter) List of additional fields to be included in the response.
* Currently supported additional fields:
* - all
* - worker.users
* - review.users
* - metrics.work.inputs_count_estimated
* - metrics.work.inputs_percent_estimated
*
*
* repeated string additional_fields = 7;
* @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);
/**
*
* (optional) task IDs to filter on
*
*
* repeated string ids = 9;
* @return A list containing the ids.
*/
java.util.List
getIdsList();
/**
*
* (optional) task IDs to filter on
*
*
* repeated string ids = 9;
* @return The count of ids.
*/
int getIdsCount();
/**
*
* (optional) task IDs to filter on
*
*
* repeated string ids = 9;
* @param index The index of the element to return.
* @return The ids at the given index.
*/
java.lang.String getIds(int index);
/**
*
* (optional) task IDs to filter on
*
*
* repeated string ids = 9;
* @param index The index of the value to return.
* @return The bytes of the ids at the given index.
*/
com.google.protobuf.ByteString
getIdsBytes(int index);
}