Class SpecialistPool (3.13.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
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

PENDING_DATA_LABELING_JOBS_FIELD_NUMBER

public static final int PENDING_DATA_LABELING_JOBS_FIELD_NUMBER
Field Value
TypeDescription
int

SPECIALIST_MANAGERS_COUNT_FIELD_NUMBER

public static final int SPECIALIST_MANAGERS_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

SPECIALIST_MANAGER_EMAILS_FIELD_NUMBER

public static final int SPECIALIST_MANAGER_EMAILS_FIELD_NUMBER
Field Value
TypeDescription
int

SPECIALIST_WORKER_EMAILS_FIELD_NUMBER

public static final int SPECIALIST_WORKER_EMAILS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SpecialistPool getDefaultInstance()
Returns
TypeDescription
SpecialistPool

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static SpecialistPool.Builder newBuilder()
Returns
TypeDescription
SpecialistPool.Builder

newBuilder(SpecialistPool prototype)

public static SpecialistPool.Builder newBuilder(SpecialistPool prototype)
Parameter
NameDescription
prototypeSpecialistPool
Returns
TypeDescription
SpecialistPool.Builder

parseDelimitedFrom(InputStream input)

public static SpecialistPool parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SpecialistPool
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SpecialistPool parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SpecialistPool
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static SpecialistPool parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
SpecialistPool
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SpecialistPool parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SpecialistPool
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SpecialistPool parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
SpecialistPool
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SpecialistPool parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SpecialistPool
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SpecialistPool parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
SpecialistPool
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SpecialistPool parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SpecialistPool
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static SpecialistPool parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SpecialistPool
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SpecialistPool parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SpecialistPool
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static SpecialistPool parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
SpecialistPool
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SpecialistPool parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SpecialistPool
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<SpecialistPool> parser()
Returns
TypeDescription
Parser<SpecialistPool>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public SpecialistPool getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The resource name of the SpecialistPool.

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

Returns
TypeDescription
ByteString

The bytes for name.

getParserForType()

public Parser<SpecialistPool> getParserForType()
Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ProtocolStringList

A list containing the pendingDataLabelingJobs.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
int

The count of specialistWorkerEmails.

getSpecialistWorkerEmailsList()

public ProtocolStringList getSpecialistWorkerEmailsList()

The email addresses of workers in the SpecialistPool.

repeated string specialist_worker_emails = 7;

Returns
TypeDescription
ProtocolStringList

A list containing the specialistWorkerEmails.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public SpecialistPool.Builder newBuilderForType()
Returns
TypeDescription
SpecialistPool.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SpecialistPool.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
SpecialistPool.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public SpecialistPool.Builder toBuilder()
Returns
TypeDescription
SpecialistPool.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException