public final class SpecialistPool extends GeneratedMessageV3 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
Fields
public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
public static final int NAME_FIELD_NUMBER
Field Value
public static final int PENDING_DATA_LABELING_JOBS_FIELD_NUMBER
Field Value
public static final int SPECIALIST_MANAGERS_COUNT_FIELD_NUMBER
Field Value
public static final int SPECIALIST_MANAGER_EMAILS_FIELD_NUMBER
Field Value
public static final int SPECIALIST_WORKER_EMAILS_FIELD_NUMBER
Field Value
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public static SpecialistPool getDefaultInstance()
Returns
public SpecialistPool getDefaultInstanceForType()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public String getDisplayName()
Required. The user-defined name of the SpecialistPool.
The name can be up to 128 characters long and can be consist of any UTF-8
characters.
This field should be unique on project-level.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
String | The displayName.
|
public ByteString getDisplayNameBytes()
Required. The user-defined name of the SpecialistPool.
The name can be up to 128 characters long and can be consist of any UTF-8
characters.
This field should be unique on project-level.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
ByteString | The bytes for displayName.
|
Required. The resource name of the SpecialistPool.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
String | The name.
|
public ByteString getNameBytes()
Required. The resource name of the SpecialistPool.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
public Parser<SpecialistPool> getParserForType()
Returns
Overrides
public 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];
Parameter
Name | Description |
index | int
The index of the element to return.
|
Returns
Type | Description |
String | The pendingDataLabelingJobs at the given index.
|
public 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];
Parameter
Name | Description |
index | int
The index of the value to return.
|
Returns
Type | Description |
ByteString | The bytes of the pendingDataLabelingJobs at the given index.
|
public 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];
Returns
Type | Description |
int | The count of pendingDataLabelingJobs.
|
public 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];
Returns
public int getSerializedSize()
Returns
Overrides
public String getSpecialistManagerEmails(int index)
The email addresses of the managers in the SpecialistPool.
repeated string specialist_manager_emails = 4;
Parameter
Name | Description |
index | int
The index of the element to return.
|
Returns
Type | Description |
String | The specialistManagerEmails at the given index.
|
public ByteString getSpecialistManagerEmailsBytes(int index)
The email addresses of the managers in the SpecialistPool.
repeated string specialist_manager_emails = 4;
Parameter
Name | Description |
index | int
The index of the value to return.
|
Returns
Type | Description |
ByteString | The bytes of the specialistManagerEmails at the given index.
|
public int getSpecialistManagerEmailsCount()
The email addresses of the managers in the SpecialistPool.
repeated string specialist_manager_emails = 4;
Returns
Type | Description |
int | The count of specialistManagerEmails.
|
public ProtocolStringList getSpecialistManagerEmailsList()
The email addresses of the managers in the SpecialistPool.
repeated string specialist_manager_emails = 4;
Returns
public int getSpecialistManagersCount()
Output only. The number of managers in this SpecialistPool.
int32 specialist_managers_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
int | The specialistManagersCount.
|
public String getSpecialistWorkerEmails(int index)
The email addresses of workers in the SpecialistPool.
repeated string specialist_worker_emails = 7;
Parameter
Name | Description |
index | int
The index of the element to return.
|
Returns
Type | Description |
String | The specialistWorkerEmails at the given index.
|
public ByteString getSpecialistWorkerEmailsBytes(int index)
The email addresses of workers in the SpecialistPool.
repeated string specialist_worker_emails = 7;
Parameter
Name | Description |
index | int
The index of the value to return.
|
Returns
Type | Description |
ByteString | The bytes of the specialistWorkerEmails at the given index.
|
public int getSpecialistWorkerEmailsCount()
The email addresses of workers in the SpecialistPool.
repeated string specialist_worker_emails = 7;
Returns
Type | Description |
int | The count of specialistWorkerEmails.
|
public ProtocolStringList getSpecialistWorkerEmailsList()
The email addresses of workers in the SpecialistPool.
repeated string specialist_worker_emails = 7;
Returns
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public static SpecialistPool.Builder newBuilder()
Returns
public static SpecialistPool.Builder newBuilder(SpecialistPool prototype)
Parameter
Returns
public SpecialistPool.Builder newBuilderForType()
Returns
protected SpecialistPool.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static SpecialistPool parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static SpecialistPool parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SpecialistPool parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static SpecialistPool parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SpecialistPool parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static SpecialistPool parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SpecialistPool parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static SpecialistPool parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SpecialistPool parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static SpecialistPool parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SpecialistPool parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static SpecialistPool parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<SpecialistPool> parser()
Returns
public SpecialistPool.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions