Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: proto/clarifai/api/resources.proto
package com.clarifai.grpc.api;
/**
*
* TaskWorker
*
*
* Protobuf type {@code clarifai.api.TaskWorker}
*/
public final class TaskWorker extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:clarifai.api.TaskWorker)
TaskWorkerOrBuilder {
private static final long serialVersionUID = 0L;
// Use TaskWorker.newBuilder() to construct.
private TaskWorker(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private TaskWorker() {
strategy_ = 0;
userIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
users_ = java.util.Collections.emptyList();
models_ = java.util.Collections.emptyList();
workflows_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new TaskWorker();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private TaskWorker(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
int rawValue = input.readEnum();
strategy_ = rawValue;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
userIds_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000001;
}
userIds_.add(s);
break;
}
case 26: {
com.clarifai.grpc.api.TaskWorkerPartitionedStrategyInfo.Builder subBuilder = null;
if (strategyInfoCase_ == 3) {
subBuilder = ((com.clarifai.grpc.api.TaskWorkerPartitionedStrategyInfo) strategyInfo_).toBuilder();
}
strategyInfo_ =
input.readMessage(com.clarifai.grpc.api.TaskWorkerPartitionedStrategyInfo.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.clarifai.grpc.api.TaskWorkerPartitionedStrategyInfo) strategyInfo_);
strategyInfo_ = subBuilder.buildPartial();
}
strategyInfoCase_ = 3;
break;
}
case 34: {
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
users_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
users_.add(
input.readMessage(com.clarifai.grpc.api.User.parser(), extensionRegistry));
break;
}
case 42: {
if (!((mutable_bitField0_ & 0x00000004) != 0)) {
models_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000004;
}
models_.add(
input.readMessage(com.clarifai.grpc.api.Model.parser(), extensionRegistry));
break;
}
case 50: {
if (!((mutable_bitField0_ & 0x00000008) != 0)) {
workflows_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000008;
}
workflows_.add(
input.readMessage(com.clarifai.grpc.api.Workflow.parser(), extensionRegistry));
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
userIds_ = userIds_.getUnmodifiableView();
}
if (((mutable_bitField0_ & 0x00000002) != 0)) {
users_ = java.util.Collections.unmodifiableList(users_);
}
if (((mutable_bitField0_ & 0x00000004) != 0)) {
models_ = java.util.Collections.unmodifiableList(models_);
}
if (((mutable_bitField0_ & 0x00000008) != 0)) {
workflows_ = java.util.Collections.unmodifiableList(workflows_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.clarifai.grpc.api.Resources.internal_static_clarifai_api_TaskWorker_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.clarifai.grpc.api.Resources.internal_static_clarifai_api_TaskWorker_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.clarifai.grpc.api.TaskWorker.class, com.clarifai.grpc.api.TaskWorker.Builder.class);
}
/**
* Protobuf enum {@code clarifai.api.TaskWorker.TaskWorkerStrategy}
*/
public enum TaskWorkerStrategy
implements com.google.protobuf.ProtocolMessageEnum {
/**
* WORKER_STRATEGY_NOT_SET = 0;
*/
WORKER_STRATEGY_NOT_SET(0),
/**
*
* The inputs will be partitioned in several partitions.
* Each worker will label one or more input partitions.
*
*
* PARTITIONED = 2;
*/
PARTITIONED(2),
/**
*
* Each worker will label all inputs from input source.
*
*
* FULL = 3;
*/
FULL(3),
UNRECOGNIZED(-1),
;
/**
* WORKER_STRATEGY_NOT_SET = 0;
*/
public static final int WORKER_STRATEGY_NOT_SET_VALUE = 0;
/**
*
* The inputs will be partitioned in several partitions.
* Each worker will label one or more input partitions.
*
*
* PARTITIONED = 2;
*/
public static final int PARTITIONED_VALUE = 2;
/**
*
* Each worker will label all inputs from input source.
*
*
* FULL = 3;
*/
public static final int FULL_VALUE = 3;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static TaskWorkerStrategy valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static TaskWorkerStrategy forNumber(int value) {
switch (value) {
case 0: return WORKER_STRATEGY_NOT_SET;
case 2: return PARTITIONED;
case 3: return FULL;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
TaskWorkerStrategy> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public TaskWorkerStrategy findValueByNumber(int number) {
return TaskWorkerStrategy.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return com.clarifai.grpc.api.TaskWorker.getDescriptor().getEnumTypes().get(0);
}
private static final TaskWorkerStrategy[] VALUES = values();
public static TaskWorkerStrategy valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private TaskWorkerStrategy(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:clarifai.api.TaskWorker.TaskWorkerStrategy)
}
private int strategyInfoCase_ = 0;
private java.lang.Object strategyInfo_;
public enum StrategyInfoCase
implements com.google.protobuf.Internal.EnumLite,
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
PARTITIONED_STRATEGY_INFO(3),
STRATEGYINFO_NOT_SET(0);
private final int value;
private StrategyInfoCase(int value) {
this.value = value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static StrategyInfoCase valueOf(int value) {
return forNumber(value);
}
public static StrategyInfoCase forNumber(int value) {
switch (value) {
case 3: return PARTITIONED_STRATEGY_INFO;
case 0: return STRATEGYINFO_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public StrategyInfoCase
getStrategyInfoCase() {
return StrategyInfoCase.forNumber(
strategyInfoCase_);
}
public static final int STRATEGY_FIELD_NUMBER = 1;
private int strategy_;
/**
*
* Worker strategy.
*
*
* .clarifai.api.TaskWorker.TaskWorkerStrategy strategy = 1;
* @return The enum numeric value on the wire for strategy.
*/
@java.lang.Override public int getStrategyValue() {
return strategy_;
}
/**
*
* Worker strategy.
*
*
* .clarifai.api.TaskWorker.TaskWorkerStrategy strategy = 1;
* @return The strategy.
*/
@java.lang.Override public com.clarifai.grpc.api.TaskWorker.TaskWorkerStrategy getStrategy() {
@SuppressWarnings("deprecation")
com.clarifai.grpc.api.TaskWorker.TaskWorkerStrategy result = com.clarifai.grpc.api.TaskWorker.TaskWorkerStrategy.valueOf(strategy_);
return result == null ? com.clarifai.grpc.api.TaskWorker.TaskWorkerStrategy.UNRECOGNIZED : result;
}
public static final int USER_IDS_FIELD_NUMBER = 2;
private com.google.protobuf.LazyStringList userIds_;
/**
*
* 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=3055
* @return A list containing the userIds.
*/
@java.lang.Deprecated public com.google.protobuf.ProtocolStringList
getUserIdsList() {
return userIds_;
}
/**
*
* 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=3055
* @return The count of userIds.
*/
@java.lang.Deprecated public int getUserIdsCount() {
return userIds_.size();
}
/**
*
* 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=3055
* @param index The index of the element to return.
* @return The userIds at the given index.
*/
@java.lang.Deprecated public java.lang.String getUserIds(int index) {
return userIds_.get(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=3055
* @param index The index of the value to return.
* @return The bytes of the userIds at the given index.
*/
@java.lang.Deprecated public com.google.protobuf.ByteString
getUserIdsBytes(int index) {
return userIds_.getByteString(index);
}
public static final int USERS_FIELD_NUMBER = 4;
private java.util.List users_;
/**
*
* 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.
*
* 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.
*
* 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.lang.Override
public int getUsersCount() {
return users_.size();
}
/**
*
* 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.
*
* 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.lang.Override
public com.clarifai.grpc.api.UserOrBuilder getUsersOrBuilder(
int index) {
return users_.get(index);
}
public static final int MODELS_FIELD_NUMBER = 5;
private java.util.List models_;
/**
*
* Models that will work on this task. For Auto Annotation Tasks. Currently only supports 1 entry.
*
*
* .clarifai.api.TaskWorker.TaskWorkerStrategy strategy = 1;
* @return The enum numeric value on the wire for strategy.
*/
@java.lang.Override public int getStrategyValue() {
return strategy_;
}
/**
*
* Worker strategy.
*
*
* .clarifai.api.TaskWorker.TaskWorkerStrategy strategy = 1;
* @param value The enum numeric value on the wire for strategy to set.
* @return This builder for chaining.
*/
public Builder setStrategyValue(int value) {
strategy_ = value;
onChanged();
return this;
}
/**
*
* Worker strategy.
*
*
* .clarifai.api.TaskWorker.TaskWorkerStrategy strategy = 1;
* @return The strategy.
*/
@java.lang.Override
public com.clarifai.grpc.api.TaskWorker.TaskWorkerStrategy getStrategy() {
@SuppressWarnings("deprecation")
com.clarifai.grpc.api.TaskWorker.TaskWorkerStrategy result = com.clarifai.grpc.api.TaskWorker.TaskWorkerStrategy.valueOf(strategy_);
return result == null ? com.clarifai.grpc.api.TaskWorker.TaskWorkerStrategy.UNRECOGNIZED : result;
}
/**
*
* Worker strategy.
*
*
* .clarifai.api.TaskWorker.TaskWorkerStrategy strategy = 1;
* @param value The strategy to set.
* @return This builder for chaining.
*/
public Builder setStrategy(com.clarifai.grpc.api.TaskWorker.TaskWorkerStrategy value) {
if (value == null) {
throw new NullPointerException();
}
strategy_ = value.getNumber();
onChanged();
return this;
}
/**
*
* 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=3055
* @return A list containing the userIds.
*/
@java.lang.Deprecated public com.google.protobuf.ProtocolStringList
getUserIdsList() {
return userIds_.getUnmodifiableView();
}
/**
*
* 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=3055
* @return The count of userIds.
*/
@java.lang.Deprecated public int getUserIdsCount() {
return userIds_.size();
}
/**
*
* 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=3055
* @param index The index of the element to return.
* @return The userIds at the given index.
*/
@java.lang.Deprecated public java.lang.String getUserIds(int index) {
return userIds_.get(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=3055
* @param index The index of the value to return.
* @return The bytes of the userIds at the given index.
*/
@java.lang.Deprecated public com.google.protobuf.ByteString
getUserIdsBytes(int index) {
return userIds_.getByteString(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=3055
* @param index The index to set the value at.
* @param value The userIds to set.
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder setUserIds(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureUserIdsIsMutable();
userIds_.set(index, value);
onChanged();
return this;
}
/**
*
* 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=3055
* @param value The userIds to add.
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder addUserIds(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureUserIdsIsMutable();
userIds_.add(value);
onChanged();
return this;
}
/**
*
* 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=3055
* @param values The userIds to add.
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder addAllUserIds(
java.lang.Iterable values) {
ensureUserIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, userIds_);
onChanged();
return this;
}
/**
*
* 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=3055
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder clearUserIds() {
userIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
*
* 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=3055
* @param value The bytes of the userIds to add.
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder addUserIdsBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureUserIdsIsMutable();
userIds_.add(value);
onChanged();
return this;
}
private java.util.List users_ =
java.util.Collections.emptyList();
private void ensureUsersIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
users_ = new java.util.ArrayList(users_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.clarifai.grpc.api.User, com.clarifai.grpc.api.User.Builder, com.clarifai.grpc.api.UserOrBuilder> usersBuilder_;
/**
*
* 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.
*
* 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;
*/
public int getUsersCount() {
if (usersBuilder_ == null) {
return users_.size();
} else {
return usersBuilder_.getCount();
}
}
/**
*
* 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.
*
* 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;
*/
public Builder setUsers(
int index, com.clarifai.grpc.api.User value) {
if (usersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureUsersIsMutable();
users_.set(index, value);
onChanged();
} else {
usersBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* 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.
*
* 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;
*/
public Builder addUsers(com.clarifai.grpc.api.User value) {
if (usersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureUsersIsMutable();
users_.add(value);
onChanged();
} else {
usersBuilder_.addMessage(value);
}
return this;
}
/**
*
* 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;
*/
public Builder addUsers(
int index, com.clarifai.grpc.api.User value) {
if (usersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureUsersIsMutable();
users_.add(index, value);
onChanged();
} else {
usersBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* 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.
*
* 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.
*
* 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.
*
* 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.
*
* 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.
*
* 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;
*/
public com.clarifai.grpc.api.User.Builder getUsersBuilder(
int index) {
return getUsersFieldBuilder().getBuilder(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;
*/
public com.clarifai.grpc.api.UserOrBuilder getUsersOrBuilder(
int index) {
if (usersBuilder_ == null) {
return users_.get(index); } else {
return usersBuilder_.getMessageOrBuilder(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.
*
* 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.
*
* 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.
*
* 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.
*