Class SpecialistPool (3.52.0)

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

Static Fields

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

PENDING_DATA_LABELING_JOBS_FIELD_NUMBER

public static final int PENDING_DATA_LABELING_JOBS_FIELD_NUMBER
Field Value
Type Description
int

SPECIALIST_MANAGERS_COUNT_FIELD_NUMBER

public static final int SPECIALIST_MANAGERS_COUNT_FIELD_NUMBER
Field Value
Type Description
int

SPECIALIST_MANAGER_EMAILS_FIELD_NUMBER

public static final int SPECIALIST_MANAGER_EMAILS_FIELD_NUMBER
Field Value
Type Description
int

SPECIALIST_WORKER_EMAILS_FIELD_NUMBER

public static final int SPECIALIST_WORKER_EMAILS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SpecialistPool getDefaultInstance()
Returns
Type Description
SpecialistPool

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static SpecialistPool.Builder newBuilder()
Returns
Type Description
SpecialistPool.Builder

newBuilder(SpecialistPool prototype)

public static SpecialistPool.Builder newBuilder(SpecialistPool prototype)
Parameter
Name Description
prototype SpecialistPool
Returns
Type Description
SpecialistPool.Builder

parseDelimitedFrom(InputStream input)

public static SpecialistPool parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SpecialistPool
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SpecialistPool parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SpecialistPool
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static SpecialistPool parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
SpecialistPool
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SpecialistPool parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SpecialistPool
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SpecialistPool parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
SpecialistPool
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SpecialistPool parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SpecialistPool
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SpecialistPool parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
SpecialistPool
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SpecialistPool parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SpecialistPool
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static SpecialistPool parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SpecialistPool
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SpecialistPool parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SpecialistPool
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static SpecialistPool parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
SpecialistPool
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SpecialistPool parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SpecialistPool
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<SpecialistPool> parser()
Returns
Type Description
Parser<SpecialistPool>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public SpecialistPool getDefaultInstanceForType()
Returns
Type Description
SpecialistPool

getDisplayName()

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];

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public 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];

Returns
Type Description
ByteString

The bytes for displayName.

getName()

public String getName()

Required. The resource name of the SpecialistPool.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The resource name of the SpecialistPool.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

public Parser<SpecialistPool> getParserForType()
Returns
Type Description
Parser<SpecialistPool>
Overrides

getPendingDataLabelingJobs(int index)

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.

getPendingDataLabelingJobsBytes(int 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.

getPendingDataLabelingJobsCount()

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.

getPendingDataLabelingJobsList()

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
Type Description
ProtocolStringList

A list containing the pendingDataLabelingJobs.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSpecialistManagerEmails(int index)

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.

getSpecialistManagerEmailsBytes(int 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.

getSpecialistManagerEmailsCount()

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.

getSpecialistManagerEmailsList()

public ProtocolStringList getSpecialistManagerEmailsList()

The email addresses of the managers in the SpecialistPool.

repeated string specialist_manager_emails = 4;

Returns
Type Description
ProtocolStringList

A list containing the specialistManagerEmails.

getSpecialistManagersCount()

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.

getSpecialistWorkerEmails(int index)

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.

getSpecialistWorkerEmailsBytes(int 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.

getSpecialistWorkerEmailsCount()

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.

getSpecialistWorkerEmailsList()

public ProtocolStringList getSpecialistWorkerEmailsList()

The email addresses of workers in the SpecialistPool.

repeated string specialist_worker_emails = 7;

Returns
Type Description
ProtocolStringList

A list containing the specialistWorkerEmails.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public SpecialistPool.Builder newBuilderForType()
Returns
Type Description
SpecialistPool.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SpecialistPool.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
SpecialistPool.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public SpecialistPool.Builder toBuilder()
Returns
Type Description
SpecialistPool.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException