Class DataLabelingJob
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.aiplatform.v1beta1.DataLabelingJob
-
- All Implemented Interfaces:
DataLabelingJobOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class DataLabelingJob extends com.google.protobuf.GeneratedMessageV3 implements DataLabelingJobOrBuilder
DataLabelingJob is used to trigger a human labeling job on unlabeled data from the following Dataset:
Protobuf typegoogle.cloud.aiplatform.v1beta1.DataLabelingJob- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDataLabelingJob.BuilderDataLabelingJob is used to trigger a human labeling job on unlabeled data from the following Dataset:-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intACTIVE_LEARNING_CONFIG_FIELD_NUMBERstatic intANNOTATION_LABELS_FIELD_NUMBERstatic intCREATE_TIME_FIELD_NUMBERstatic intCURRENT_SPEND_FIELD_NUMBERstatic intDATASETS_FIELD_NUMBERstatic intDISPLAY_NAME_FIELD_NUMBERstatic intENCRYPTION_SPEC_FIELD_NUMBERstatic intERROR_FIELD_NUMBERstatic intINPUTS_FIELD_NUMBERstatic intINPUTS_SCHEMA_URI_FIELD_NUMBERstatic intINSTRUCTION_URI_FIELD_NUMBERstatic intLABELER_COUNT_FIELD_NUMBERstatic intLABELING_PROGRESS_FIELD_NUMBERstatic intLABELS_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intSPECIALIST_POOLS_FIELD_NUMBERstatic intSTATE_FIELD_NUMBERstatic intUPDATE_TIME_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsAnnotationLabels(String key)Labels to assign to annotations generated by this DataLabelingJob.booleancontainsLabels(String key)The labels with user-defined metadata to organize your DataLabelingJobs.booleanequals(Object obj)ActiveLearningConfiggetActiveLearningConfig()Parameters that configure the active learning pipeline.ActiveLearningConfigOrBuildergetActiveLearningConfigOrBuilder()Parameters that configure the active learning pipeline.Map<String,String>getAnnotationLabels()Deprecated.intgetAnnotationLabelsCount()Labels to assign to annotations generated by this DataLabelingJob.Map<String,String>getAnnotationLabelsMap()Labels to assign to annotations generated by this DataLabelingJob.StringgetAnnotationLabelsOrDefault(String key, String defaultValue)Labels to assign to annotations generated by this DataLabelingJob.StringgetAnnotationLabelsOrThrow(String key)Labels to assign to annotations generated by this DataLabelingJob.com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.com.google.type.MoneygetCurrentSpend()Output only.com.google.type.MoneyOrBuildergetCurrentSpendOrBuilder()Output only.StringgetDatasets(int index)Required.com.google.protobuf.ByteStringgetDatasetsBytes(int index)Required.intgetDatasetsCount()Required.com.google.protobuf.ProtocolStringListgetDatasetsList()Required.static DataLabelingJobgetDefaultInstance()DataLabelingJobgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetDisplayName()Required.com.google.protobuf.ByteStringgetDisplayNameBytes()Required.EncryptionSpecgetEncryptionSpec()Customer-managed encryption key spec for a DataLabelingJob.EncryptionSpecOrBuildergetEncryptionSpecOrBuilder()Customer-managed encryption key spec for a DataLabelingJob.com.google.rpc.StatusgetError()Output only.com.google.rpc.StatusOrBuildergetErrorOrBuilder()Output only.com.google.protobuf.ValuegetInputs()Required.com.google.protobuf.ValueOrBuildergetInputsOrBuilder()Required.StringgetInputsSchemaUri()Required.com.google.protobuf.ByteStringgetInputsSchemaUriBytes()Required.StringgetInstructionUri()Required.com.google.protobuf.ByteStringgetInstructionUriBytes()Required.intgetLabelerCount()Required.intgetLabelingProgress()Output only.Map<String,String>getLabels()Deprecated.intgetLabelsCount()The labels with user-defined metadata to organize your DataLabelingJobs.Map<String,String>getLabelsMap()The labels with user-defined metadata to organize your DataLabelingJobs.StringgetLabelsOrDefault(String key, String defaultValue)The labels with user-defined metadata to organize your DataLabelingJobs.StringgetLabelsOrThrow(String key)The labels with user-defined metadata to organize your DataLabelingJobs.StringgetName()Output only.com.google.protobuf.ByteStringgetNameBytes()Output only.com.google.protobuf.Parser<DataLabelingJob>getParserForType()intgetSerializedSize()StringgetSpecialistPools(int index)The SpecialistPools' resource names associated with this job.com.google.protobuf.ByteStringgetSpecialistPoolsBytes(int index)The SpecialistPools' resource names associated with this job.intgetSpecialistPoolsCount()The SpecialistPools' resource names associated with this job.com.google.protobuf.ProtocolStringListgetSpecialistPoolsList()The SpecialistPools' resource names associated with this job.JobStategetState()Output only.intgetStateValue()Output only.com.google.protobuf.TimestampgetUpdateTime()Output only.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()Output only.booleanhasActiveLearningConfig()Parameters that configure the active learning pipeline.booleanhasCreateTime()Output only.booleanhasCurrentSpend()Output only.booleanhasEncryptionSpec()Customer-managed encryption key spec for a DataLabelingJob.booleanhasError()Output only.inthashCode()booleanhasInputs()Required.booleanhasUpdateTime()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)booleanisInitialized()static DataLabelingJob.BuildernewBuilder()static DataLabelingJob.BuildernewBuilder(DataLabelingJob prototype)DataLabelingJob.BuildernewBuilderForType()protected DataLabelingJob.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static DataLabelingJobparseDelimitedFrom(InputStream input)static DataLabelingJobparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DataLabelingJobparseFrom(byte[] data)static DataLabelingJobparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DataLabelingJobparseFrom(com.google.protobuf.ByteString data)static DataLabelingJobparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DataLabelingJobparseFrom(com.google.protobuf.CodedInputStream input)static DataLabelingJobparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DataLabelingJobparseFrom(InputStream input)static DataLabelingJobparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DataLabelingJobparseFrom(ByteBuffer data)static DataLabelingJobparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<DataLabelingJob>parser()DataLabelingJob.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DATASETS_FIELD_NUMBER
public static final int DATASETS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ANNOTATION_LABELS_FIELD_NUMBER
public static final int ANNOTATION_LABELS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LABELER_COUNT_FIELD_NUMBER
public static final int LABELER_COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INSTRUCTION_URI_FIELD_NUMBER
public static final int INSTRUCTION_URI_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INPUTS_SCHEMA_URI_FIELD_NUMBER
public static final int INPUTS_SCHEMA_URI_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INPUTS_FIELD_NUMBER
public static final int INPUTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LABELING_PROGRESS_FIELD_NUMBER
public static final int LABELING_PROGRESS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CURRENT_SPEND_FIELD_NUMBER
public static final int CURRENT_SPEND_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ERROR_FIELD_NUMBER
public static final int ERROR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SPECIALIST_POOLS_FIELD_NUMBER
public static final int SPECIALIST_POOLS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENCRYPTION_SPEC_FIELD_NUMBER
public static final int ENCRYPTION_SPEC_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ACTIVE_LEARNING_CONFIG_FIELD_NUMBER
public static final int ACTIVE_LEARNING_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getName
public String getName()
Output only. Resource name of the DataLabelingJob.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNamein interfaceDataLabelingJobOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Output only. Resource name of the DataLabelingJob.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNameBytesin interfaceDataLabelingJobOrBuilder- Returns:
- The bytes for name.
-
getDisplayName
public String getDisplayName()
Required. The user-defined name of the DataLabelingJob. The name can be up to 128 characters long and can consist of any UTF-8 characters. Display name of a DataLabelingJob.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDisplayNamein interfaceDataLabelingJobOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()
Required. The user-defined name of the DataLabelingJob. The name can be up to 128 characters long and can consist of any UTF-8 characters. Display name of a DataLabelingJob.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDisplayNameBytesin interfaceDataLabelingJobOrBuilder- Returns:
- The bytes for displayName.
-
getDatasetsList
public com.google.protobuf.ProtocolStringList getDatasetsList()
Required. Dataset resource names. Right now we only support labeling from a single Dataset. Format: `projects/{project}/locations/{location}/datasets/{dataset}`repeated string datasets = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getDatasetsListin interfaceDataLabelingJobOrBuilder- Returns:
- A list containing the datasets.
-
getDatasetsCount
public int getDatasetsCount()
Required. Dataset resource names. Right now we only support labeling from a single Dataset. Format: `projects/{project}/locations/{location}/datasets/{dataset}`repeated string datasets = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getDatasetsCountin interfaceDataLabelingJobOrBuilder- Returns:
- The count of datasets.
-
getDatasets
public String getDatasets(int index)
Required. Dataset resource names. Right now we only support labeling from a single Dataset. Format: `projects/{project}/locations/{location}/datasets/{dataset}`repeated string datasets = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getDatasetsin interfaceDataLabelingJobOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The datasets at the given index.
-
getDatasetsBytes
public com.google.protobuf.ByteString getDatasetsBytes(int index)
Required. Dataset resource names. Right now we only support labeling from a single Dataset. Format: `projects/{project}/locations/{location}/datasets/{dataset}`repeated string datasets = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getDatasetsBytesin interfaceDataLabelingJobOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the datasets at the given index.
-
getAnnotationLabelsCount
public int getAnnotationLabelsCount()
Description copied from interface:DataLabelingJobOrBuilderLabels to assign to annotations generated by this DataLabelingJob. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable.
map<string, string> annotation_labels = 12;- Specified by:
getAnnotationLabelsCountin interfaceDataLabelingJobOrBuilder
-
containsAnnotationLabels
public boolean containsAnnotationLabels(String key)
Labels to assign to annotations generated by this DataLabelingJob. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable.
map<string, string> annotation_labels = 12;- Specified by:
containsAnnotationLabelsin interfaceDataLabelingJobOrBuilder
-
getAnnotationLabels
@Deprecated public Map<String,String> getAnnotationLabels()
Deprecated.UsegetAnnotationLabelsMap()instead.- Specified by:
getAnnotationLabelsin interfaceDataLabelingJobOrBuilder
-
getAnnotationLabelsMap
public Map<String,String> getAnnotationLabelsMap()
Labels to assign to annotations generated by this DataLabelingJob. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable.
map<string, string> annotation_labels = 12;- Specified by:
getAnnotationLabelsMapin interfaceDataLabelingJobOrBuilder
-
getAnnotationLabelsOrDefault
public String getAnnotationLabelsOrDefault(String key, String defaultValue)
Labels to assign to annotations generated by this DataLabelingJob. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable.
map<string, string> annotation_labels = 12;- Specified by:
getAnnotationLabelsOrDefaultin interfaceDataLabelingJobOrBuilder
-
getAnnotationLabelsOrThrow
public String getAnnotationLabelsOrThrow(String key)
Labels to assign to annotations generated by this DataLabelingJob. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable.
map<string, string> annotation_labels = 12;- Specified by:
getAnnotationLabelsOrThrowin interfaceDataLabelingJobOrBuilder
-
getLabelerCount
public int getLabelerCount()
Required. Number of labelers to work on each DataItem.
int32 labeler_count = 4 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getLabelerCountin interfaceDataLabelingJobOrBuilder- Returns:
- The labelerCount.
-
getInstructionUri
public String getInstructionUri()
Required. The Google Cloud Storage location of the instruction pdf. This pdf is shared with labelers, and provides detailed description on how to label DataItems in Datasets.
string instruction_uri = 5 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getInstructionUriin interfaceDataLabelingJobOrBuilder- Returns:
- The instructionUri.
-
getInstructionUriBytes
public com.google.protobuf.ByteString getInstructionUriBytes()
Required. The Google Cloud Storage location of the instruction pdf. This pdf is shared with labelers, and provides detailed description on how to label DataItems in Datasets.
string instruction_uri = 5 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getInstructionUriBytesin interfaceDataLabelingJobOrBuilder- Returns:
- The bytes for instructionUri.
-
getInputsSchemaUri
public String getInputsSchemaUri()
Required. Points to a YAML file stored on Google Cloud Storage describing the config for a specific type of DataLabelingJob. The schema files that can be used here are found in the https://storage.googleapis.com/google-cloud-aiplatform bucket in the /schema/datalabelingjob/inputs/ folder.
string inputs_schema_uri = 6 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getInputsSchemaUriin interfaceDataLabelingJobOrBuilder- Returns:
- The inputsSchemaUri.
-
getInputsSchemaUriBytes
public com.google.protobuf.ByteString getInputsSchemaUriBytes()
Required. Points to a YAML file stored on Google Cloud Storage describing the config for a specific type of DataLabelingJob. The schema files that can be used here are found in the https://storage.googleapis.com/google-cloud-aiplatform bucket in the /schema/datalabelingjob/inputs/ folder.
string inputs_schema_uri = 6 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getInputsSchemaUriBytesin interfaceDataLabelingJobOrBuilder- Returns:
- The bytes for inputsSchemaUri.
-
hasInputs
public boolean hasInputs()
Required. Input config parameters for the DataLabelingJob.
.google.protobuf.Value inputs = 7 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasInputsin interfaceDataLabelingJobOrBuilder- Returns:
- Whether the inputs field is set.
-
getInputs
public com.google.protobuf.Value getInputs()
Required. Input config parameters for the DataLabelingJob.
.google.protobuf.Value inputs = 7 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getInputsin interfaceDataLabelingJobOrBuilder- Returns:
- The inputs.
-
getInputsOrBuilder
public com.google.protobuf.ValueOrBuilder getInputsOrBuilder()
Required. Input config parameters for the DataLabelingJob.
.google.protobuf.Value inputs = 7 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getInputsOrBuilderin interfaceDataLabelingJobOrBuilder
-
getStateValue
public int getStateValue()
Output only. The detailed state of the job.
.google.cloud.aiplatform.v1beta1.JobState state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateValuein interfaceDataLabelingJobOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
getState
public JobState getState()
Output only. The detailed state of the job.
.google.cloud.aiplatform.v1beta1.JobState state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceDataLabelingJobOrBuilder- Returns:
- The state.
-
getLabelingProgress
public int getLabelingProgress()
Output only. Current labeling job progress percentage scaled in interval [0, 100], indicating the percentage of DataItems that has been finished.
int32 labeling_progress = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLabelingProgressin interfaceDataLabelingJobOrBuilder- Returns:
- The labelingProgress.
-
hasCurrentSpend
public boolean hasCurrentSpend()
Output only. Estimated cost(in US dollars) that the DataLabelingJob has incurred to date.
.google.type.Money current_spend = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCurrentSpendin interfaceDataLabelingJobOrBuilder- Returns:
- Whether the currentSpend field is set.
-
getCurrentSpend
public com.google.type.Money getCurrentSpend()
Output only. Estimated cost(in US dollars) that the DataLabelingJob has incurred to date.
.google.type.Money current_spend = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCurrentSpendin interfaceDataLabelingJobOrBuilder- Returns:
- The currentSpend.
-
getCurrentSpendOrBuilder
public com.google.type.MoneyOrBuilder getCurrentSpendOrBuilder()
Output only. Estimated cost(in US dollars) that the DataLabelingJob has incurred to date.
.google.type.Money current_spend = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCurrentSpendOrBuilderin interfaceDataLabelingJobOrBuilder
-
hasCreateTime
public boolean hasCreateTime()
Output only. Timestamp when this DataLabelingJob was created.
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceDataLabelingJobOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Output only. Timestamp when this DataLabelingJob was created.
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceDataLabelingJobOrBuilder- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Timestamp when this DataLabelingJob was created.
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceDataLabelingJobOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()
Output only. Timestamp when this DataLabelingJob was updated most recently.
.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceDataLabelingJobOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()
Output only. Timestamp when this DataLabelingJob was updated most recently.
.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceDataLabelingJobOrBuilder- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Timestamp when this DataLabelingJob was updated most recently.
.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceDataLabelingJobOrBuilder
-
hasError
public boolean hasError()
Output only. DataLabelingJob errors. It is only populated when job's state is `JOB_STATE_FAILED` or `JOB_STATE_CANCELLED`.
.google.rpc.Status error = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasErrorin interfaceDataLabelingJobOrBuilder- Returns:
- Whether the error field is set.
-
getError
public com.google.rpc.Status getError()
Output only. DataLabelingJob errors. It is only populated when job's state is `JOB_STATE_FAILED` or `JOB_STATE_CANCELLED`.
.google.rpc.Status error = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getErrorin interfaceDataLabelingJobOrBuilder- Returns:
- The error.
-
getErrorOrBuilder
public com.google.rpc.StatusOrBuilder getErrorOrBuilder()
Output only. DataLabelingJob errors. It is only populated when job's state is `JOB_STATE_FAILED` or `JOB_STATE_CANCELLED`.
.google.rpc.Status error = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getErrorOrBuilderin interfaceDataLabelingJobOrBuilder
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:DataLabelingJobOrBuilderThe labels with user-defined metadata to organize your DataLabelingJobs. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable. Following system labels exist for each DataLabelingJob: * "aiplatform.googleapis.com/schema": output only, its value is the [inputs_schema][google.cloud.aiplatform.v1beta1.DataLabelingJob.inputs_schema_uri]'s title.
map<string, string> labels = 11;- Specified by:
getLabelsCountin interfaceDataLabelingJobOrBuilder
-
containsLabels
public boolean containsLabels(String key)
The labels with user-defined metadata to organize your DataLabelingJobs. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable. Following system labels exist for each DataLabelingJob: * "aiplatform.googleapis.com/schema": output only, its value is the [inputs_schema][google.cloud.aiplatform.v1beta1.DataLabelingJob.inputs_schema_uri]'s title.
map<string, string> labels = 11;- Specified by:
containsLabelsin interfaceDataLabelingJobOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceDataLabelingJobOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
The labels with user-defined metadata to organize your DataLabelingJobs. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable. Following system labels exist for each DataLabelingJob: * "aiplatform.googleapis.com/schema": output only, its value is the [inputs_schema][google.cloud.aiplatform.v1beta1.DataLabelingJob.inputs_schema_uri]'s title.
map<string, string> labels = 11;- Specified by:
getLabelsMapin interfaceDataLabelingJobOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
The labels with user-defined metadata to organize your DataLabelingJobs. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable. Following system labels exist for each DataLabelingJob: * "aiplatform.googleapis.com/schema": output only, its value is the [inputs_schema][google.cloud.aiplatform.v1beta1.DataLabelingJob.inputs_schema_uri]'s title.
map<string, string> labels = 11;- Specified by:
getLabelsOrDefaultin interfaceDataLabelingJobOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
The labels with user-defined metadata to organize your DataLabelingJobs. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable. Following system labels exist for each DataLabelingJob: * "aiplatform.googleapis.com/schema": output only, its value is the [inputs_schema][google.cloud.aiplatform.v1beta1.DataLabelingJob.inputs_schema_uri]'s title.
map<string, string> labels = 11;- Specified by:
getLabelsOrThrowin interfaceDataLabelingJobOrBuilder
-
getSpecialistPoolsList
public com.google.protobuf.ProtocolStringList getSpecialistPoolsList()
The SpecialistPools' resource names associated with this job.
repeated string specialist_pools = 16;- Specified by:
getSpecialistPoolsListin interfaceDataLabelingJobOrBuilder- Returns:
- A list containing the specialistPools.
-
getSpecialistPoolsCount
public int getSpecialistPoolsCount()
The SpecialistPools' resource names associated with this job.
repeated string specialist_pools = 16;- Specified by:
getSpecialistPoolsCountin interfaceDataLabelingJobOrBuilder- Returns:
- The count of specialistPools.
-
getSpecialistPools
public String getSpecialistPools(int index)
The SpecialistPools' resource names associated with this job.
repeated string specialist_pools = 16;- Specified by:
getSpecialistPoolsin interfaceDataLabelingJobOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The specialistPools at the given index.
-
getSpecialistPoolsBytes
public com.google.protobuf.ByteString getSpecialistPoolsBytes(int index)
The SpecialistPools' resource names associated with this job.
repeated string specialist_pools = 16;- Specified by:
getSpecialistPoolsBytesin interfaceDataLabelingJobOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the specialistPools at the given index.
-
hasEncryptionSpec
public boolean hasEncryptionSpec()
Customer-managed encryption key spec for a DataLabelingJob. If set, this DataLabelingJob will be secured by this key. Note: Annotations created in the DataLabelingJob are associated with the EncryptionSpec of the Dataset they are exported to.
.google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 20;- Specified by:
hasEncryptionSpecin interfaceDataLabelingJobOrBuilder- Returns:
- Whether the encryptionSpec field is set.
-
getEncryptionSpec
public EncryptionSpec getEncryptionSpec()
Customer-managed encryption key spec for a DataLabelingJob. If set, this DataLabelingJob will be secured by this key. Note: Annotations created in the DataLabelingJob are associated with the EncryptionSpec of the Dataset they are exported to.
.google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 20;- Specified by:
getEncryptionSpecin interfaceDataLabelingJobOrBuilder- Returns:
- The encryptionSpec.
-
getEncryptionSpecOrBuilder
public EncryptionSpecOrBuilder getEncryptionSpecOrBuilder()
Customer-managed encryption key spec for a DataLabelingJob. If set, this DataLabelingJob will be secured by this key. Note: Annotations created in the DataLabelingJob are associated with the EncryptionSpec of the Dataset they are exported to.
.google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 20;- Specified by:
getEncryptionSpecOrBuilderin interfaceDataLabelingJobOrBuilder
-
hasActiveLearningConfig
public boolean hasActiveLearningConfig()
Parameters that configure the active learning pipeline. Active learning will label the data incrementally via several iterations. For every iteration, it will select a batch of data based on the sampling strategy.
.google.cloud.aiplatform.v1beta1.ActiveLearningConfig active_learning_config = 21;- Specified by:
hasActiveLearningConfigin interfaceDataLabelingJobOrBuilder- Returns:
- Whether the activeLearningConfig field is set.
-
getActiveLearningConfig
public ActiveLearningConfig getActiveLearningConfig()
Parameters that configure the active learning pipeline. Active learning will label the data incrementally via several iterations. For every iteration, it will select a batch of data based on the sampling strategy.
.google.cloud.aiplatform.v1beta1.ActiveLearningConfig active_learning_config = 21;- Specified by:
getActiveLearningConfigin interfaceDataLabelingJobOrBuilder- Returns:
- The activeLearningConfig.
-
getActiveLearningConfigOrBuilder
public ActiveLearningConfigOrBuilder getActiveLearningConfigOrBuilder()
Parameters that configure the active learning pipeline. Active learning will label the data incrementally via several iterations. For every iteration, it will select a batch of data based on the sampling strategy.
.google.cloud.aiplatform.v1beta1.ActiveLearningConfig active_learning_config = 21;- Specified by:
getActiveLearningConfigOrBuilderin interfaceDataLabelingJobOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static DataLabelingJob parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataLabelingJob parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataLabelingJob parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataLabelingJob parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataLabelingJob parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataLabelingJob parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DataLabelingJob parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static DataLabelingJob parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static DataLabelingJob parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static DataLabelingJob parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static DataLabelingJob parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static DataLabelingJob parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public DataLabelingJob.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static DataLabelingJob.Builder newBuilder()
-
newBuilder
public static DataLabelingJob.Builder newBuilder(DataLabelingJob prototype)
-
toBuilder
public DataLabelingJob.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected DataLabelingJob.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static DataLabelingJob getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<DataLabelingJob> parser()
-
getParserForType
public com.google.protobuf.Parser<DataLabelingJob> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public DataLabelingJob getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-