Class SpecialistPool

  • All Implemented Interfaces:
    SpecialistPoolOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

    public final class SpecialistPool
    extends com.google.protobuf.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.v1beta1.SpecialistPool
    See Also:
    Serialized Form
    • Field Detail

      • DISPLAY_NAME_FIELD_NUMBER

        public static final int DISPLAY_NAME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SPECIALIST_MANAGERS_COUNT_FIELD_NUMBER

        public static final int SPECIALIST_MANAGERS_COUNT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SPECIALIST_MANAGER_EMAILS_FIELD_NUMBER

        public static final int SPECIALIST_MANAGER_EMAILS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PENDING_DATA_LABELING_JOBS_FIELD_NUMBER

        public static final int PENDING_DATA_LABELING_JOBS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SPECIALIST_WORKER_EMAILS_FIELD_NUMBER

        public static final int SPECIALIST_WORKER_EMAILS_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • getName

        public String getName()
         Required. The resource name of the SpecialistPool.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getName in interface SpecialistPoolOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Required. The resource name of the SpecialistPool.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getNameBytes in interface SpecialistPoolOrBuilder
        Returns:
        The bytes for name.
      • 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];
        Specified by:
        getDisplayName in interface SpecialistPoolOrBuilder
        Returns:
        The displayName.
      • getDisplayNameBytes

        public 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];
        Specified by:
        getDisplayNameBytes in interface SpecialistPoolOrBuilder
        Returns:
        The bytes for displayName.
      • getSpecialistManagersCount

        public int getSpecialistManagersCount()
         Output only. The number of managers in this SpecialistPool.
         
        int32 specialist_managers_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getSpecialistManagersCount in interface SpecialistPoolOrBuilder
        Returns:
        The specialistManagersCount.
      • getSpecialistManagerEmailsList

        public com.google.protobuf.ProtocolStringList getSpecialistManagerEmailsList()
         The email addresses of the managers in the SpecialistPool.
         
        repeated string specialist_manager_emails = 4;
        Specified by:
        getSpecialistManagerEmailsList in interface SpecialistPoolOrBuilder
        Returns:
        A list containing the specialistManagerEmails.
      • getSpecialistManagerEmailsCount

        public int getSpecialistManagerEmailsCount()
         The email addresses of the managers in the SpecialistPool.
         
        repeated string specialist_manager_emails = 4;
        Specified by:
        getSpecialistManagerEmailsCount in interface SpecialistPoolOrBuilder
        Returns:
        The count of specialistManagerEmails.
      • getSpecialistManagerEmails

        public String getSpecialistManagerEmails​(int index)
         The email addresses of the managers in the SpecialistPool.
         
        repeated string specialist_manager_emails = 4;
        Specified by:
        getSpecialistManagerEmails in interface SpecialistPoolOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The specialistManagerEmails at the given index.
      • getSpecialistManagerEmailsBytes

        public com.google.protobuf.ByteString getSpecialistManagerEmailsBytes​(int index)
         The email addresses of the managers in the SpecialistPool.
         
        repeated string specialist_manager_emails = 4;
        Specified by:
        getSpecialistManagerEmailsBytes in interface SpecialistPoolOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the specialistManagerEmails at the given index.
      • getPendingDataLabelingJobsList

        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];
        Specified by:
        getPendingDataLabelingJobsList in interface SpecialistPoolOrBuilder
        Returns:
        A list containing the pendingDataLabelingJobs.
      • 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];
        Specified by:
        getPendingDataLabelingJobsCount in interface SpecialistPoolOrBuilder
        Returns:
        The count of pendingDataLabelingJobs.
      • getPendingDataLabelingJobs

        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];
        Specified by:
        getPendingDataLabelingJobs in interface SpecialistPoolOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The pendingDataLabelingJobs at the given index.
      • getPendingDataLabelingJobsBytes

        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];
        Specified by:
        getPendingDataLabelingJobsBytes in interface SpecialistPoolOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the pendingDataLabelingJobs at the given index.
      • getSpecialistWorkerEmailsList

        public com.google.protobuf.ProtocolStringList getSpecialistWorkerEmailsList()
         The email addresses of workers in the SpecialistPool.
         
        repeated string specialist_worker_emails = 7;
        Specified by:
        getSpecialistWorkerEmailsList in interface SpecialistPoolOrBuilder
        Returns:
        A list containing the specialistWorkerEmails.
      • getSpecialistWorkerEmailsCount

        public int getSpecialistWorkerEmailsCount()
         The email addresses of workers in the SpecialistPool.
         
        repeated string specialist_worker_emails = 7;
        Specified by:
        getSpecialistWorkerEmailsCount in interface SpecialistPoolOrBuilder
        Returns:
        The count of specialistWorkerEmails.
      • getSpecialistWorkerEmails

        public String getSpecialistWorkerEmails​(int index)
         The email addresses of workers in the SpecialistPool.
         
        repeated string specialist_worker_emails = 7;
        Specified by:
        getSpecialistWorkerEmails in interface SpecialistPoolOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The specialistWorkerEmails at the given index.
      • getSpecialistWorkerEmailsBytes

        public com.google.protobuf.ByteString getSpecialistWorkerEmailsBytes​(int index)
         The email addresses of workers in the SpecialistPool.
         
        repeated string specialist_worker_emails = 7;
        Specified by:
        getSpecialistWorkerEmailsBytes in interface SpecialistPoolOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the specialistWorkerEmails at the given index.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static SpecialistPool parseFrom​(ByteBuffer data)
                                        throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static SpecialistPool parseFrom​(ByteBuffer data,
                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                        throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static SpecialistPool parseFrom​(com.google.protobuf.ByteString data)
                                        throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static SpecialistPool parseFrom​(com.google.protobuf.ByteString data,
                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                        throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static SpecialistPool parseFrom​(byte[] data)
                                        throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static SpecialistPool parseFrom​(byte[] data,
                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                        throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static SpecialistPool parseFrom​(com.google.protobuf.CodedInputStream input,
                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                        throws IOException
        Throws:
        IOException
      • newBuilderForType

        public SpecialistPool.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public SpecialistPool.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected SpecialistPool.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstance

        public static SpecialistPool getDefaultInstance()
      • parser

        public static com.google.protobuf.Parser<SpecialistPool> parser()
      • getParserForType

        public com.google.protobuf.Parser<SpecialistPool> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public SpecialistPool getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder