com.clarifai.grpc.api.TaskReviewOrBuilder 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 TaskReviewOrBuilder extends
// @@protoc_insertion_point(interface_extends:clarifai.api.TaskReview)
com.google.protobuf.MessageOrBuilder {
/**
*
* Task review strategy.
*
*
* .clarifai.api.TaskReview.TaskReviewStrategy strategy = 1;
* @return The enum numeric value on the wire for strategy.
*/
int getStrategyValue();
/**
*
* Task review strategy.
*
*
* .clarifai.api.TaskReview.TaskReviewStrategy strategy = 1;
* @return The strategy.
*/
com.clarifai.grpc.api.TaskReview.TaskReviewStrategy getStrategy();
/**
*
* Who will review this task.
* DEPRECATED: Use users.id instead.
*
*
* repeated string user_ids = 2 [deprecated = true];
* @deprecated clarifai.api.TaskReview.user_ids is deprecated.
* See proto/clarifai/api/resources.proto;l=3238
* @return A list containing the userIds.
*/
@java.lang.Deprecated java.util.List
getUserIdsList();
/**
*
* Who will review this task.
* DEPRECATED: Use users.id instead.
*
*
* repeated string user_ids = 2 [deprecated = true];
* @deprecated clarifai.api.TaskReview.user_ids is deprecated.
* See proto/clarifai/api/resources.proto;l=3238
* @return The count of userIds.
*/
@java.lang.Deprecated int getUserIdsCount();
/**
*
* Who will review this task.
* DEPRECATED: Use users.id instead.
*
*
* repeated string user_ids = 2 [deprecated = true];
* @deprecated clarifai.api.TaskReview.user_ids is deprecated.
* See proto/clarifai/api/resources.proto;l=3238
* @param index The index of the element to return.
* @return The userIds at the given index.
*/
@java.lang.Deprecated java.lang.String getUserIds(int index);
/**
*
* Who will review this task.
* DEPRECATED: Use users.id instead.
*
*
* repeated string user_ids = 2 [deprecated = true];
* @deprecated clarifai.api.TaskReview.user_ids is deprecated.
* See proto/clarifai/api/resources.proto;l=3238
* @param index The index of the value to return.
* @return The bytes of the userIds at the given index.
*/
@java.lang.Deprecated com.google.protobuf.ByteString
getUserIdsBytes(int index);
/**
*
* Users who will review this task.
* When the 'review.users' field is additionally requested, then all user
* info is filled for the reviewers. Otherwise, only the user 'id' is filled.
*
*
* repeated .clarifai.api.User users = 5;
*/
java.util.List
getUsersList();
/**
*
* Users who will review this task.
* When the 'review.users' field is additionally requested, then all user
* info is filled for the reviewers. Otherwise, only the user 'id' is filled.
*
*
* repeated .clarifai.api.User users = 5;
*/
com.clarifai.grpc.api.User getUsers(int index);
/**
*
* Users who will review this task.
* When the 'review.users' field is additionally requested, then all user
* info is filled for the reviewers. Otherwise, only the user 'id' is filled.
*
*
* repeated .clarifai.api.User users = 5;
*/
int getUsersCount();
/**
*
* Users who will review this task.
* When the 'review.users' field is additionally requested, then all user
* info is filled for the reviewers. Otherwise, only the user 'id' is filled.
*
*
* repeated .clarifai.api.User users = 5;
*/
java.util.List extends com.clarifai.grpc.api.UserOrBuilder>
getUsersOrBuilderList();
/**
*
* Users who will review this task.
* When the 'review.users' field is additionally requested, then all user
* info is filled for the reviewers. Otherwise, only the user 'id' is filled.
*
*
* repeated .clarifai.api.User users = 5;
*/
com.clarifai.grpc.api.UserOrBuilder getUsersOrBuilder(
int index);
/**
* .clarifai.api.TaskReviewManualStrategyInfo manual_strategy_info = 3;
* @return Whether the manualStrategyInfo field is set.
*/
boolean hasManualStrategyInfo();
/**
* .clarifai.api.TaskReviewManualStrategyInfo manual_strategy_info = 3;
* @return The manualStrategyInfo.
*/
com.clarifai.grpc.api.TaskReviewManualStrategyInfo getManualStrategyInfo();
/**
* .clarifai.api.TaskReviewManualStrategyInfo manual_strategy_info = 3;
*/
com.clarifai.grpc.api.TaskReviewManualStrategyInfoOrBuilder getManualStrategyInfoOrBuilder();
/**
* .clarifai.api.TaskReviewConsensusStrategyInfo consensus_strategy_info = 4;
* @return Whether the consensusStrategyInfo field is set.
*/
boolean hasConsensusStrategyInfo();
/**
* .clarifai.api.TaskReviewConsensusStrategyInfo consensus_strategy_info = 4;
* @return The consensusStrategyInfo.
*/
com.clarifai.grpc.api.TaskReviewConsensusStrategyInfo getConsensusStrategyInfo();
/**
* .clarifai.api.TaskReviewConsensusStrategyInfo consensus_strategy_info = 4;
*/
com.clarifai.grpc.api.TaskReviewConsensusStrategyInfoOrBuilder getConsensusStrategyInfoOrBuilder();
public com.clarifai.grpc.api.TaskReview.StrategyInfoCase getStrategyInfoCase();
}