public static final class SpecialistPool.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SpecialistPool.Builder> implements SpecialistPoolOrBuilder
SpecialistPool represents customers' own workforce to work on their data labeling jobs. It includes a group of specialist managers and workers. Managers are responsible for managing the workers in this pool as well as customers' data labeling jobs associated with this pool. Customers create specialist pool as well as start data labeling jobs on Cloud, managers and workers handle the jobs using CrowdCompute console.Protobuf type
google.cloud.aiplatform.v1.SpecialistPool| Modifier and Type | Method and Description |
|---|---|
SpecialistPool.Builder |
addAllPendingDataLabelingJobs(Iterable<String> values)
Output only.
|
SpecialistPool.Builder |
addAllSpecialistManagerEmails(Iterable<String> values)
The email addresses of the managers in the SpecialistPool.
|
SpecialistPool.Builder |
addAllSpecialistWorkerEmails(Iterable<String> values)
The email addresses of workers in the SpecialistPool.
|
SpecialistPool.Builder |
addPendingDataLabelingJobs(String value)
Output only.
|
SpecialistPool.Builder |
addPendingDataLabelingJobsBytes(com.google.protobuf.ByteString value)
Output only.
|
SpecialistPool.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
SpecialistPool.Builder |
addSpecialistManagerEmails(String value)
The email addresses of the managers in the SpecialistPool.
|
SpecialistPool.Builder |
addSpecialistManagerEmailsBytes(com.google.protobuf.ByteString value)
The email addresses of the managers in the SpecialistPool.
|
SpecialistPool.Builder |
addSpecialistWorkerEmails(String value)
The email addresses of workers in the SpecialistPool.
|
SpecialistPool.Builder |
addSpecialistWorkerEmailsBytes(com.google.protobuf.ByteString value)
The email addresses of workers in the SpecialistPool.
|
SpecialistPool |
build() |
SpecialistPool |
buildPartial() |
SpecialistPool.Builder |
clear() |
SpecialistPool.Builder |
clearDisplayName()
Required.
|
SpecialistPool.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
SpecialistPool.Builder |
clearName()
Required.
|
SpecialistPool.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
SpecialistPool.Builder |
clearPendingDataLabelingJobs()
Output only.
|
SpecialistPool.Builder |
clearSpecialistManagerEmails()
The email addresses of the managers in the SpecialistPool.
|
SpecialistPool.Builder |
clearSpecialistManagersCount()
Output only.
|
SpecialistPool.Builder |
clearSpecialistWorkerEmails()
The email addresses of workers in the SpecialistPool.
|
SpecialistPool.Builder |
clone() |
SpecialistPool |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getDisplayName()
Required.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
Required.
|
String |
getName()
Required.
|
com.google.protobuf.ByteString |
getNameBytes()
Required.
|
String |
getPendingDataLabelingJobs(int index)
Output only.
|
com.google.protobuf.ByteString |
getPendingDataLabelingJobsBytes(int index)
Output only.
|
int |
getPendingDataLabelingJobsCount()
Output only.
|
com.google.protobuf.ProtocolStringList |
getPendingDataLabelingJobsList()
Output only.
|
String |
getSpecialistManagerEmails(int index)
The email addresses of the managers in the SpecialistPool.
|
com.google.protobuf.ByteString |
getSpecialistManagerEmailsBytes(int index)
The email addresses of the managers in the SpecialistPool.
|
int |
getSpecialistManagerEmailsCount()
The email addresses of the managers in the SpecialistPool.
|
com.google.protobuf.ProtocolStringList |
getSpecialistManagerEmailsList()
The email addresses of the managers in the SpecialistPool.
|
int |
getSpecialistManagersCount()
Output only.
|
String |
getSpecialistWorkerEmails(int index)
The email addresses of workers in the SpecialistPool.
|
com.google.protobuf.ByteString |
getSpecialistWorkerEmailsBytes(int index)
The email addresses of workers in the SpecialistPool.
|
int |
getSpecialistWorkerEmailsCount()
The email addresses of workers in the SpecialistPool.
|
com.google.protobuf.ProtocolStringList |
getSpecialistWorkerEmailsList()
The email addresses of workers in the SpecialistPool.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
SpecialistPool.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SpecialistPool.Builder |
mergeFrom(com.google.protobuf.Message other) |
SpecialistPool.Builder |
mergeFrom(SpecialistPool other) |
SpecialistPool.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
SpecialistPool.Builder |
setDisplayName(String value)
Required.
|
SpecialistPool.Builder |
setDisplayNameBytes(com.google.protobuf.ByteString value)
Required.
|
SpecialistPool.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
SpecialistPool.Builder |
setName(String value)
Required.
|
SpecialistPool.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Required.
|
SpecialistPool.Builder |
setPendingDataLabelingJobs(int index,
String value)
Output only.
|
SpecialistPool.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
SpecialistPool.Builder |
setSpecialistManagerEmails(int index,
String value)
The email addresses of the managers in the SpecialistPool.
|
SpecialistPool.Builder |
setSpecialistManagersCount(int value)
Output only.
|
SpecialistPool.Builder |
setSpecialistWorkerEmails(int index,
String value)
The email addresses of workers in the SpecialistPool.
|
SpecialistPool.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<SpecialistPool.Builder>public SpecialistPool.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<SpecialistPool.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<SpecialistPool.Builder>public SpecialistPool getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic SpecialistPool build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic SpecialistPool buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic SpecialistPool.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<SpecialistPool.Builder>public SpecialistPool.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<SpecialistPool.Builder>public SpecialistPool.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<SpecialistPool.Builder>public SpecialistPool.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<SpecialistPool.Builder>public SpecialistPool.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SpecialistPool.Builder>public SpecialistPool.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SpecialistPool.Builder>public SpecialistPool.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SpecialistPool.Builder>public SpecialistPool.Builder mergeFrom(SpecialistPool other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<SpecialistPool.Builder>public SpecialistPool.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SpecialistPool.Builder>IOExceptionpublic String getName()
Required. The resource name of the SpecialistPool.
string name = 1 [(.google.api.field_behavior) = REQUIRED];getName in interface SpecialistPoolOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Required. The resource name of the SpecialistPool.
string name = 1 [(.google.api.field_behavior) = REQUIRED];getNameBytes in interface SpecialistPoolOrBuilderpublic SpecialistPool.Builder setName(String value)
Required. The resource name of the SpecialistPool.
string name = 1 [(.google.api.field_behavior) = REQUIRED];value - The name to set.public SpecialistPool.Builder clearName()
Required. The resource name of the SpecialistPool.
string name = 1 [(.google.api.field_behavior) = REQUIRED];public SpecialistPool.Builder setNameBytes(com.google.protobuf.ByteString value)
Required. The resource name of the SpecialistPool.
string name = 1 [(.google.api.field_behavior) = REQUIRED];value - The bytes for name to set.public String getDisplayName()
Required. The user-defined name of the SpecialistPool. The name can be up to 128 characters long and can consist of any UTF-8 characters. This field should be unique on project-level.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];getDisplayName in interface SpecialistPoolOrBuilderpublic com.google.protobuf.ByteString getDisplayNameBytes()
Required. The user-defined name of the SpecialistPool. The name can be up to 128 characters long and can consist of any UTF-8 characters. This field should be unique on project-level.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];getDisplayNameBytes in interface SpecialistPoolOrBuilderpublic SpecialistPool.Builder setDisplayName(String value)
Required. The user-defined name of the SpecialistPool. The name can be up to 128 characters long and can consist of any UTF-8 characters. This field should be unique on project-level.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];value - The displayName to set.public SpecialistPool.Builder clearDisplayName()
Required. The user-defined name of the SpecialistPool. The name can be up to 128 characters long and can consist of any UTF-8 characters. This field should be unique on project-level.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];public SpecialistPool.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
Required. The user-defined name of the SpecialistPool. The name can be up to 128 characters long and can consist of any UTF-8 characters. This field should be unique on project-level.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];value - The bytes for displayName to set.public int getSpecialistManagersCount()
Output only. The number of managers in this SpecialistPool.
int32 specialist_managers_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getSpecialistManagersCount in interface SpecialistPoolOrBuilderpublic SpecialistPool.Builder setSpecialistManagersCount(int value)
Output only. The number of managers in this SpecialistPool.
int32 specialist_managers_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The specialistManagersCount to set.public SpecialistPool.Builder clearSpecialistManagersCount()
Output only. The number of managers in this SpecialistPool.
int32 specialist_managers_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.ProtocolStringList getSpecialistManagerEmailsList()
The email addresses of the managers in the SpecialistPool.
repeated string specialist_manager_emails = 4;getSpecialistManagerEmailsList in interface SpecialistPoolOrBuilderpublic int getSpecialistManagerEmailsCount()
The email addresses of the managers in the SpecialistPool.
repeated string specialist_manager_emails = 4;getSpecialistManagerEmailsCount in interface SpecialistPoolOrBuilderpublic String getSpecialistManagerEmails(int index)
The email addresses of the managers in the SpecialistPool.
repeated string specialist_manager_emails = 4;getSpecialistManagerEmails in interface SpecialistPoolOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getSpecialistManagerEmailsBytes(int index)
The email addresses of the managers in the SpecialistPool.
repeated string specialist_manager_emails = 4;getSpecialistManagerEmailsBytes in interface SpecialistPoolOrBuilderindex - The index of the value to return.public SpecialistPool.Builder setSpecialistManagerEmails(int index, String value)
The email addresses of the managers in the SpecialistPool.
repeated string specialist_manager_emails = 4;index - The index to set the value at.value - The specialistManagerEmails to set.public SpecialistPool.Builder addSpecialistManagerEmails(String value)
The email addresses of the managers in the SpecialistPool.
repeated string specialist_manager_emails = 4;value - The specialistManagerEmails to add.public SpecialistPool.Builder addAllSpecialistManagerEmails(Iterable<String> values)
The email addresses of the managers in the SpecialistPool.
repeated string specialist_manager_emails = 4;values - The specialistManagerEmails to add.public SpecialistPool.Builder clearSpecialistManagerEmails()
The email addresses of the managers in the SpecialistPool.
repeated string specialist_manager_emails = 4;public SpecialistPool.Builder addSpecialistManagerEmailsBytes(com.google.protobuf.ByteString value)
The email addresses of the managers in the SpecialistPool.
repeated string specialist_manager_emails = 4;value - The bytes of the specialistManagerEmails to add.public com.google.protobuf.ProtocolStringList getPendingDataLabelingJobsList()
Output only. The resource name of the pending data labeling jobs.
repeated string pending_data_labeling_jobs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getPendingDataLabelingJobsList in interface SpecialistPoolOrBuilderpublic int getPendingDataLabelingJobsCount()
Output only. The resource name of the pending data labeling jobs.
repeated string pending_data_labeling_jobs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getPendingDataLabelingJobsCount in interface SpecialistPoolOrBuilderpublic String getPendingDataLabelingJobs(int index)
Output only. The resource name of the pending data labeling jobs.
repeated string pending_data_labeling_jobs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getPendingDataLabelingJobs in interface SpecialistPoolOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getPendingDataLabelingJobsBytes(int index)
Output only. The resource name of the pending data labeling jobs.
repeated string pending_data_labeling_jobs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getPendingDataLabelingJobsBytes in interface SpecialistPoolOrBuilderindex - The index of the value to return.public SpecialistPool.Builder setPendingDataLabelingJobs(int index, String value)
Output only. The resource name of the pending data labeling jobs.
repeated string pending_data_labeling_jobs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
index - The index to set the value at.value - The pendingDataLabelingJobs to set.public SpecialistPool.Builder addPendingDataLabelingJobs(String value)
Output only. The resource name of the pending data labeling jobs.
repeated string pending_data_labeling_jobs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The pendingDataLabelingJobs to add.public SpecialistPool.Builder addAllPendingDataLabelingJobs(Iterable<String> values)
Output only. The resource name of the pending data labeling jobs.
repeated string pending_data_labeling_jobs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
values - The pendingDataLabelingJobs to add.public SpecialistPool.Builder clearPendingDataLabelingJobs()
Output only. The resource name of the pending data labeling jobs.
repeated string pending_data_labeling_jobs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public SpecialistPool.Builder addPendingDataLabelingJobsBytes(com.google.protobuf.ByteString value)
Output only. The resource name of the pending data labeling jobs.
repeated string pending_data_labeling_jobs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The bytes of the pendingDataLabelingJobs to add.public com.google.protobuf.ProtocolStringList getSpecialistWorkerEmailsList()
The email addresses of workers in the SpecialistPool.
repeated string specialist_worker_emails = 7;getSpecialistWorkerEmailsList in interface SpecialistPoolOrBuilderpublic int getSpecialistWorkerEmailsCount()
The email addresses of workers in the SpecialistPool.
repeated string specialist_worker_emails = 7;getSpecialistWorkerEmailsCount in interface SpecialistPoolOrBuilderpublic String getSpecialistWorkerEmails(int index)
The email addresses of workers in the SpecialistPool.
repeated string specialist_worker_emails = 7;getSpecialistWorkerEmails in interface SpecialistPoolOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getSpecialistWorkerEmailsBytes(int index)
The email addresses of workers in the SpecialistPool.
repeated string specialist_worker_emails = 7;getSpecialistWorkerEmailsBytes in interface SpecialistPoolOrBuilderindex - The index of the value to return.public SpecialistPool.Builder setSpecialistWorkerEmails(int index, String value)
The email addresses of workers in the SpecialistPool.
repeated string specialist_worker_emails = 7;index - The index to set the value at.value - The specialistWorkerEmails to set.public SpecialistPool.Builder addSpecialistWorkerEmails(String value)
The email addresses of workers in the SpecialistPool.
repeated string specialist_worker_emails = 7;value - The specialistWorkerEmails to add.public SpecialistPool.Builder addAllSpecialistWorkerEmails(Iterable<String> values)
The email addresses of workers in the SpecialistPool.
repeated string specialist_worker_emails = 7;values - The specialistWorkerEmails to add.public SpecialistPool.Builder clearSpecialistWorkerEmails()
The email addresses of workers in the SpecialistPool.
repeated string specialist_worker_emails = 7;public SpecialistPool.Builder addSpecialistWorkerEmailsBytes(com.google.protobuf.ByteString value)
The email addresses of workers in the SpecialistPool.
repeated string specialist_worker_emails = 7;value - The bytes of the specialistWorkerEmails to add.public final SpecialistPool.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SpecialistPool.Builder>public final SpecialistPool.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SpecialistPool.Builder>Copyright © 2025 Google LLC. All rights reserved.