Package com.google.cloud.aiplatform.v1
Class SpecialistPool.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<SpecialistPool.Builder>
com.google.cloud.aiplatform.v1.SpecialistPool.Builder
- All Implemented Interfaces:
SpecialistPoolOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- SpecialistPool
public static final class SpecialistPool.Builder
extends com.google.protobuf.GeneratedMessage.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-
Method Summary
Modifier and TypeMethodDescriptionaddAllPendingDataLabelingJobs(Iterable<String> values) Output only.addAllSpecialistManagerEmails(Iterable<String> values) The email addresses of the managers in the SpecialistPool.addAllSpecialistWorkerEmails(Iterable<String> values) The email addresses of workers in the SpecialistPool.addPendingDataLabelingJobs(String value) Output only.addPendingDataLabelingJobsBytes(com.google.protobuf.ByteString value) Output only.addSpecialistManagerEmails(String value) The email addresses of the managers in the SpecialistPool.addSpecialistManagerEmailsBytes(com.google.protobuf.ByteString value) The email addresses of the managers in the SpecialistPool.addSpecialistWorkerEmails(String value) The email addresses of workers in the SpecialistPool.addSpecialistWorkerEmailsBytes(com.google.protobuf.ByteString value) The email addresses of workers in the SpecialistPool.build()clear()Required.Required.Output only.The email addresses of the managers in the SpecialistPool.Output only.The email addresses of workers in the SpecialistPool.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorRequired.com.google.protobuf.ByteStringRequired.getName()Required.com.google.protobuf.ByteStringRequired.getPendingDataLabelingJobs(int index) Output only.com.google.protobuf.ByteStringgetPendingDataLabelingJobsBytes(int index) Output only.intOutput only.com.google.protobuf.ProtocolStringListOutput only.getSpecialistManagerEmails(int index) The email addresses of the managers in the SpecialistPool.com.google.protobuf.ByteStringgetSpecialistManagerEmailsBytes(int index) The email addresses of the managers in the SpecialistPool.intThe email addresses of the managers in the SpecialistPool.com.google.protobuf.ProtocolStringListThe email addresses of the managers in the SpecialistPool.intOutput only.getSpecialistWorkerEmails(int index) The email addresses of workers in the SpecialistPool.com.google.protobuf.ByteStringgetSpecialistWorkerEmailsBytes(int index) The email addresses of workers in the SpecialistPool.intThe email addresses of workers in the SpecialistPool.com.google.protobuf.ProtocolStringListThe email addresses of workers in the SpecialistPool.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(SpecialistPool other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setDisplayName(String value) Required.setDisplayNameBytes(com.google.protobuf.ByteString value) Required.Required.setNameBytes(com.google.protobuf.ByteString value) Required.setPendingDataLabelingJobs(int index, String value) Output only.setSpecialistManagerEmails(int index, String value) The email addresses of the managers in the SpecialistPool.setSpecialistManagersCount(int value) Output only.setSpecialistWorkerEmails(int index, String value) The email addresses of workers in the SpecialistPool.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<SpecialistPool.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<SpecialistPool.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<SpecialistPool.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SpecialistPool.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<SpecialistPool.Builder>
-
mergeFrom
public SpecialistPool.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SpecialistPool.Builder>- Throws:
IOException
-
getName
Required. The resource name of the SpecialistPool.
string name = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getNamein interfaceSpecialistPoolOrBuilder- 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:
getNameBytesin interfaceSpecialistPoolOrBuilder- Returns:
- The bytes for name.
-
setName
Required. The resource name of the SpecialistPool.
string name = 1 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Required. The resource name of the SpecialistPool.
string name = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setNameBytes
Required. The resource name of the SpecialistPool.
string name = 1 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
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:
getDisplayNamein interfaceSpecialistPoolOrBuilder- 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:
getDisplayNameBytesin interfaceSpecialistPoolOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
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];- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
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];- Returns:
- This builder for chaining.
-
setDisplayNameBytes
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];- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
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:
getSpecialistManagersCountin interfaceSpecialistPoolOrBuilder- Returns:
- The specialistManagersCount.
-
setSpecialistManagersCount
Output only. The number of managers in this SpecialistPool.
int32 specialist_managers_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The specialistManagersCount to set.- Returns:
- This builder for chaining.
-
clearSpecialistManagersCount
Output only. The number of managers in this SpecialistPool.
int32 specialist_managers_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getSpecialistManagerEmailsList
public com.google.protobuf.ProtocolStringList getSpecialistManagerEmailsList()The email addresses of the managers in the SpecialistPool.
repeated string specialist_manager_emails = 4;- Specified by:
getSpecialistManagerEmailsListin interfaceSpecialistPoolOrBuilder- 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:
getSpecialistManagerEmailsCountin interfaceSpecialistPoolOrBuilder- Returns:
- The count of specialistManagerEmails.
-
getSpecialistManagerEmails
The email addresses of the managers in the SpecialistPool.
repeated string specialist_manager_emails = 4;- Specified by:
getSpecialistManagerEmailsin interfaceSpecialistPoolOrBuilder- 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:
getSpecialistManagerEmailsBytesin interfaceSpecialistPoolOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the specialistManagerEmails at the given index.
-
setSpecialistManagerEmails
The email addresses of the managers in the SpecialistPool.
repeated string specialist_manager_emails = 4;- Parameters:
index- The index to set the value at.value- The specialistManagerEmails to set.- Returns:
- This builder for chaining.
-
addSpecialistManagerEmails
The email addresses of the managers in the SpecialistPool.
repeated string specialist_manager_emails = 4;- Parameters:
value- The specialistManagerEmails to add.- Returns:
- This builder for chaining.
-
addAllSpecialistManagerEmails
The email addresses of the managers in the SpecialistPool.
repeated string specialist_manager_emails = 4;- Parameters:
values- The specialistManagerEmails to add.- Returns:
- This builder for chaining.
-
clearSpecialistManagerEmails
The email addresses of the managers in the SpecialistPool.
repeated string specialist_manager_emails = 4;- Returns:
- This builder for chaining.
-
addSpecialistManagerEmailsBytes
The email addresses of the managers in the SpecialistPool.
repeated string specialist_manager_emails = 4;- Parameters:
value- The bytes of the specialistManagerEmails to add.- Returns:
- This builder for chaining.
-
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:
getPendingDataLabelingJobsListin interfaceSpecialistPoolOrBuilder- 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:
getPendingDataLabelingJobsCountin interfaceSpecialistPoolOrBuilder- Returns:
- The count of pendingDataLabelingJobs.
-
getPendingDataLabelingJobs
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:
getPendingDataLabelingJobsin interfaceSpecialistPoolOrBuilder- 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:
getPendingDataLabelingJobsBytesin interfaceSpecialistPoolOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the pendingDataLabelingJobs at the given index.
-
setPendingDataLabelingJobs
Output only. The resource name of the pending data labeling jobs.
repeated string pending_data_labeling_jobs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
index- The index to set the value at.value- The pendingDataLabelingJobs to set.- Returns:
- This builder for chaining.
-
addPendingDataLabelingJobs
Output only. The resource name of the pending data labeling jobs.
repeated string pending_data_labeling_jobs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The pendingDataLabelingJobs to add.- Returns:
- This builder for chaining.
-
addAllPendingDataLabelingJobs
Output only. The resource name of the pending data labeling jobs.
repeated string pending_data_labeling_jobs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
values- The pendingDataLabelingJobs to add.- Returns:
- This builder for chaining.
-
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];- Returns:
- This builder for chaining.
-
addPendingDataLabelingJobsBytes
Output only. The resource name of the pending data labeling jobs.
repeated string pending_data_labeling_jobs = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes of the pendingDataLabelingJobs to add.- Returns:
- This builder for chaining.
-
getSpecialistWorkerEmailsList
public com.google.protobuf.ProtocolStringList getSpecialistWorkerEmailsList()The email addresses of workers in the SpecialistPool.
repeated string specialist_worker_emails = 7;- Specified by:
getSpecialistWorkerEmailsListin interfaceSpecialistPoolOrBuilder- 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:
getSpecialistWorkerEmailsCountin interfaceSpecialistPoolOrBuilder- Returns:
- The count of specialistWorkerEmails.
-
getSpecialistWorkerEmails
The email addresses of workers in the SpecialistPool.
repeated string specialist_worker_emails = 7;- Specified by:
getSpecialistWorkerEmailsin interfaceSpecialistPoolOrBuilder- 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:
getSpecialistWorkerEmailsBytesin interfaceSpecialistPoolOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the specialistWorkerEmails at the given index.
-
setSpecialistWorkerEmails
The email addresses of workers in the SpecialistPool.
repeated string specialist_worker_emails = 7;- Parameters:
index- The index to set the value at.value- The specialistWorkerEmails to set.- Returns:
- This builder for chaining.
-
addSpecialistWorkerEmails
The email addresses of workers in the SpecialistPool.
repeated string specialist_worker_emails = 7;- Parameters:
value- The specialistWorkerEmails to add.- Returns:
- This builder for chaining.
-
addAllSpecialistWorkerEmails
The email addresses of workers in the SpecialistPool.
repeated string specialist_worker_emails = 7;- Parameters:
values- The specialistWorkerEmails to add.- Returns:
- This builder for chaining.
-
clearSpecialistWorkerEmails
The email addresses of workers in the SpecialistPool.
repeated string specialist_worker_emails = 7;- Returns:
- This builder for chaining.
-
addSpecialistWorkerEmailsBytes
The email addresses of workers in the SpecialistPool.
repeated string specialist_worker_emails = 7;- Parameters:
value- The bytes of the specialistWorkerEmails to add.- Returns:
- This builder for chaining.
-