All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.clarifai.grpc.api.TaskWorkerOrBuilder 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 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 workers.user.id instead.
   * 
* * repeated string user_ids = 2 [deprecated = true]; * @deprecated clarifai.api.TaskWorker.user_ids is deprecated. * See proto/clarifai/api/resources.proto;l=3132 * @return A list containing the userIds. */ @java.lang.Deprecated java.util.List getUserIdsList(); /** *
   * Who will work on this task.
   * DEPRECATED: Use workers.user.id instead.
   * 
* * repeated string user_ids = 2 [deprecated = true]; * @deprecated clarifai.api.TaskWorker.user_ids is deprecated. * See proto/clarifai/api/resources.proto;l=3132 * @return The count of userIds. */ @java.lang.Deprecated int getUserIdsCount(); /** *
   * Who will work on this task.
   * DEPRECATED: Use workers.user.id instead.
   * 
* * repeated string user_ids = 2 [deprecated = true]; * @deprecated clarifai.api.TaskWorker.user_ids is deprecated. * See proto/clarifai/api/resources.proto;l=3132 * @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 workers.user.id instead.
   * 
* * repeated string user_ids = 2 [deprecated = true]; * @deprecated clarifai.api.TaskWorker.user_ids is deprecated. * See proto/clarifai/api/resources.proto;l=3132 * @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.
   * DEPRECATED: Use workers.user instead.
   * 
* * repeated .clarifai.api.User users = 4 [deprecated = true]; */ @java.lang.Deprecated 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.
   * DEPRECATED: Use workers.user instead.
   * 
* * repeated .clarifai.api.User users = 4 [deprecated = true]; */ @java.lang.Deprecated 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.
   * DEPRECATED: Use workers.user instead.
   * 
* * repeated .clarifai.api.User users = 4 [deprecated = true]; */ @java.lang.Deprecated 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.
   * DEPRECATED: Use workers.user instead.
   * 
* * repeated .clarifai.api.User users = 4 [deprecated = true]; */ @java.lang.Deprecated java.util.List 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.
   * DEPRECATED: Use workers.user instead.
   * 
* * repeated .clarifai.api.User users = 4 [deprecated = true]; */ @java.lang.Deprecated com.clarifai.grpc.api.UserOrBuilder getUsersOrBuilder( 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(); /** *
   * Workers that will work on this task.
   * For Auto Annotation Tasks:
   *   the worker can be either a model or a workflow;
   *   currently only supports 1 worker.
   * For manual labeling Tasks:
   *   the workers can only be users;
   *   no limitation on number of workers.
   * 
* * repeated .clarifai.api.Worker workers = 7; */ java.util.List getWorkersList(); /** *
   * Workers that will work on this task.
   * For Auto Annotation Tasks:
   *   the worker can be either a model or a workflow;
   *   currently only supports 1 worker.
   * For manual labeling Tasks:
   *   the workers can only be users;
   *   no limitation on number of workers.
   * 
* * repeated .clarifai.api.Worker workers = 7; */ com.clarifai.grpc.api.Worker getWorkers(int index); /** *
   * Workers that will work on this task.
   * For Auto Annotation Tasks:
   *   the worker can be either a model or a workflow;
   *   currently only supports 1 worker.
   * For manual labeling Tasks:
   *   the workers can only be users;
   *   no limitation on number of workers.
   * 
* * repeated .clarifai.api.Worker workers = 7; */ int getWorkersCount(); /** *
   * Workers that will work on this task.
   * For Auto Annotation Tasks:
   *   the worker can be either a model or a workflow;
   *   currently only supports 1 worker.
   * For manual labeling Tasks:
   *   the workers can only be users;
   *   no limitation on number of workers.
   * 
* * repeated .clarifai.api.Worker workers = 7; */ java.util.List getWorkersOrBuilderList(); /** *
   * Workers that will work on this task.
   * For Auto Annotation Tasks:
   *   the worker can be either a model or a workflow;
   *   currently only supports 1 worker.
   * For manual labeling Tasks:
   *   the workers can only be users;
   *   no limitation on number of workers.
   * 
* * repeated .clarifai.api.Worker workers = 7; */ com.clarifai.grpc.api.WorkerOrBuilder getWorkersOrBuilder( int index); public com.clarifai.grpc.api.TaskWorker.StrategyInfoCase getStrategyInfoCase(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy