com.clarifai.grpc.api.TaskWorkerOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: proto/clarifai/api/resources.proto
package com.clarifai.grpc.api;
public interface TaskWorkerOrBuilder extends
// @@protoc_insertion_point(interface_extends:clarifai.api.TaskWorker)
com.google.protobuf.MessageOrBuilder {
/**
*
* Worker strategy.
*
*
* .clarifai.api.TaskWorker.TaskWorkerStrategy strategy = 1;
* @return The enum numeric value on the wire for strategy.
*/
int getStrategyValue();
/**
*
* Worker strategy.
*
*
* .clarifai.api.TaskWorker.TaskWorkerStrategy strategy = 1;
* @return The strategy.
*/
com.clarifai.grpc.api.TaskWorker.TaskWorkerStrategy getStrategy();
/**
*
* Who will work on this task.
* DEPRECATED: Use users.id instead.
*
*
* repeated string user_ids = 2 [deprecated = true];
* @deprecated clarifai.api.TaskWorker.user_ids is deprecated.
* See proto/clarifai/api/resources.proto;l=3081
* @return A list containing the userIds.
*/
@java.lang.Deprecated java.util.List
getUserIdsList();
/**
*
* Who will work on this task.
* DEPRECATED: Use users.id instead.
*
*
* repeated string user_ids = 2 [deprecated = true];
* @deprecated clarifai.api.TaskWorker.user_ids is deprecated.
* See proto/clarifai/api/resources.proto;l=3081
* @return The count of userIds.
*/
@java.lang.Deprecated int getUserIdsCount();
/**
*
* Who will work on this task.
* DEPRECATED: Use users.id instead.
*
*
* repeated string user_ids = 2 [deprecated = true];
* @deprecated clarifai.api.TaskWorker.user_ids is deprecated.
* See proto/clarifai/api/resources.proto;l=3081
* @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 work on this task.
* DEPRECATED: Use users.id instead.
*
*
* repeated string user_ids = 2 [deprecated = true];
* @deprecated clarifai.api.TaskWorker.user_ids is deprecated.
* See proto/clarifai/api/resources.proto;l=3081
* @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 work on this task.
* When the 'worker.users' field is additionally requested, then all user
* info is filled for the workers. Otherwise, only the user 'id' is filled.
*
*
* repeated .clarifai.api.User users = 4;
*/
java.util.List
getUsersList();
/**
*
* Users who will work on this task.
* When the 'worker.users' field is additionally requested, then all user
* info is filled for the workers. Otherwise, only the user 'id' is filled.
*
*
* repeated .clarifai.api.User users = 4;
*/
com.clarifai.grpc.api.User getUsers(int index);
/**
*
* Users who will work on this task.
* When the 'worker.users' field is additionally requested, then all user
* info is filled for the workers. Otherwise, only the user 'id' is filled.
*
*
* repeated .clarifai.api.User users = 4;
*/
int getUsersCount();
/**
*
* Users who will work on this task.
* When the 'worker.users' field is additionally requested, then all user
* info is filled for the workers. Otherwise, only the user 'id' is filled.
*
*
* repeated .clarifai.api.User users = 4;
*/
java.util.List extends com.clarifai.grpc.api.UserOrBuilder>
getUsersOrBuilderList();
/**
*
* Users who will work on this task.
* When the 'worker.users' field is additionally requested, then all user
* info is filled for the workers. Otherwise, only the user 'id' is filled.
*
*
* repeated .clarifai.api.User users = 4;
*/
com.clarifai.grpc.api.UserOrBuilder getUsersOrBuilder(
int index);
/**
*
* Models that will work on this task. For Auto Annotation Tasks. Currently only supports 1 entry.
*
*
* repeated .clarifai.api.Model models = 5;
*/
java.util.List
getModelsList();
/**
*
* Models that will work on this task. For Auto Annotation Tasks. Currently only supports 1 entry.
*
*
* repeated .clarifai.api.Model models = 5;
*/
com.clarifai.grpc.api.Model getModels(int index);
/**
*
* Models that will work on this task. For Auto Annotation Tasks. Currently only supports 1 entry.
*
*
* repeated .clarifai.api.Model models = 5;
*/
int getModelsCount();
/**
*
* Models that will work on this task. For Auto Annotation Tasks. Currently only supports 1 entry.
*
*
* repeated .clarifai.api.Model models = 5;
*/
java.util.List extends com.clarifai.grpc.api.ModelOrBuilder>
getModelsOrBuilderList();
/**
*
* Models that will work on this task. For Auto Annotation Tasks. Currently only supports 1 entry.
*
*
* repeated .clarifai.api.Model models = 5;
*/
com.clarifai.grpc.api.ModelOrBuilder getModelsOrBuilder(
int index);
/**
*
* Workflows that will work on this task. For Auto Annotation Tasks. Currently only supports 1 entry.
*
*
* repeated .clarifai.api.Workflow workflows = 6;
*/
java.util.List
getWorkflowsList();
/**
*
* Workflows that will work on this task. For Auto Annotation Tasks. Currently only supports 1 entry.
*
*
* repeated .clarifai.api.Workflow workflows = 6;
*/
com.clarifai.grpc.api.Workflow getWorkflows(int index);
/**
*
* Workflows that will work on this task. For Auto Annotation Tasks. Currently only supports 1 entry.
*
*
* repeated .clarifai.api.Workflow workflows = 6;
*/
int getWorkflowsCount();
/**
*
* Workflows that will work on this task. For Auto Annotation Tasks. Currently only supports 1 entry.
*
*
* repeated .clarifai.api.Workflow workflows = 6;
*/
java.util.List extends com.clarifai.grpc.api.WorkflowOrBuilder>
getWorkflowsOrBuilderList();
/**
*
* Workflows that will work on this task. For Auto Annotation Tasks. Currently only supports 1 entry.
*
*
* repeated .clarifai.api.Workflow workflows = 6;
*/
com.clarifai.grpc.api.WorkflowOrBuilder getWorkflowsOrBuilder(
int index);
/**
* .clarifai.api.TaskWorkerPartitionedStrategyInfo partitioned_strategy_info = 3;
* @return Whether the partitionedStrategyInfo field is set.
*/
boolean hasPartitionedStrategyInfo();
/**
* .clarifai.api.TaskWorkerPartitionedStrategyInfo partitioned_strategy_info = 3;
* @return The partitionedStrategyInfo.
*/
com.clarifai.grpc.api.TaskWorkerPartitionedStrategyInfo getPartitionedStrategyInfo();
/**
* .clarifai.api.TaskWorkerPartitionedStrategyInfo partitioned_strategy_info = 3;
*/
com.clarifai.grpc.api.TaskWorkerPartitionedStrategyInfoOrBuilder getPartitionedStrategyInfoOrBuilder();
public com.clarifai.grpc.api.TaskWorker.StrategyInfoCase getStrategyInfoCase();
}