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 class
DataLabelingJob.Builder
DataLabelingJob 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 int
ACTIVE_LEARNING_CONFIG_FIELD_NUMBER
static int
ANNOTATION_LABELS_FIELD_NUMBER
static int
CREATE_TIME_FIELD_NUMBER
static int
CURRENT_SPEND_FIELD_NUMBER
static int
DATASETS_FIELD_NUMBER
static int
DISPLAY_NAME_FIELD_NUMBER
static int
ENCRYPTION_SPEC_FIELD_NUMBER
static int
ERROR_FIELD_NUMBER
static int
INPUTS_FIELD_NUMBER
static int
INPUTS_SCHEMA_URI_FIELD_NUMBER
static int
INSTRUCTION_URI_FIELD_NUMBER
static int
LABELER_COUNT_FIELD_NUMBER
static int
LABELING_PROGRESS_FIELD_NUMBER
static int
LABELS_FIELD_NUMBER
static int
NAME_FIELD_NUMBER
static int
SPECIALIST_POOLS_FIELD_NUMBER
static int
STATE_FIELD_NUMBER
static int
UPDATE_TIME_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
containsAnnotationLabels(String key)
Labels to assign to annotations generated by this DataLabelingJob.boolean
containsLabels(String key)
The labels with user-defined metadata to organize your DataLabelingJobs.boolean
equals(Object obj)
ActiveLearningConfig
getActiveLearningConfig()
Parameters that configure the active learning pipeline.ActiveLearningConfigOrBuilder
getActiveLearningConfigOrBuilder()
Parameters that configure the active learning pipeline.Map<String,String>
getAnnotationLabels()
Deprecated.int
getAnnotationLabelsCount()
Labels to assign to annotations generated by this DataLabelingJob.Map<String,String>
getAnnotationLabelsMap()
Labels to assign to annotations generated by this DataLabelingJob.String
getAnnotationLabelsOrDefault(String key, String defaultValue)
Labels to assign to annotations generated by this DataLabelingJob.String
getAnnotationLabelsOrThrow(String key)
Labels to assign to annotations generated by this DataLabelingJob.com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.com.google.type.Money
getCurrentSpend()
Output only.com.google.type.MoneyOrBuilder
getCurrentSpendOrBuilder()
Output only.String
getDatasets(int index)
Required.com.google.protobuf.ByteString
getDatasetsBytes(int index)
Required.int
getDatasetsCount()
Required.com.google.protobuf.ProtocolStringList
getDatasetsList()
Required.static DataLabelingJob
getDefaultInstance()
DataLabelingJob
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
String
getDisplayName()
Required.com.google.protobuf.ByteString
getDisplayNameBytes()
Required.EncryptionSpec
getEncryptionSpec()
Customer-managed encryption key spec for a DataLabelingJob.EncryptionSpecOrBuilder
getEncryptionSpecOrBuilder()
Customer-managed encryption key spec for a DataLabelingJob.com.google.rpc.Status
getError()
Output only.com.google.rpc.StatusOrBuilder
getErrorOrBuilder()
Output only.com.google.protobuf.Value
getInputs()
Required.com.google.protobuf.ValueOrBuilder
getInputsOrBuilder()
Required.String
getInputsSchemaUri()
Required.com.google.protobuf.ByteString
getInputsSchemaUriBytes()
Required.String
getInstructionUri()
Required.com.google.protobuf.ByteString
getInstructionUriBytes()
Required.int
getLabelerCount()
Required.int
getLabelingProgress()
Output only.Map<String,String>
getLabels()
Deprecated.int
getLabelsCount()
The labels with user-defined metadata to organize your DataLabelingJobs.Map<String,String>
getLabelsMap()
The labels with user-defined metadata to organize your DataLabelingJobs.String
getLabelsOrDefault(String key, String defaultValue)
The labels with user-defined metadata to organize your DataLabelingJobs.String
getLabelsOrThrow(String key)
The labels with user-defined metadata to organize your DataLabelingJobs.String
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.com.google.protobuf.Parser<DataLabelingJob>
getParserForType()
int
getSerializedSize()
String
getSpecialistPools(int index)
The SpecialistPools' resource names associated with this job.com.google.protobuf.ByteString
getSpecialistPoolsBytes(int index)
The SpecialistPools' resource names associated with this job.int
getSpecialistPoolsCount()
The SpecialistPools' resource names associated with this job.com.google.protobuf.ProtocolStringList
getSpecialistPoolsList()
The SpecialistPools' resource names associated with this job.JobState
getState()
Output only.int
getStateValue()
Output only.com.google.protobuf.Timestamp
getUpdateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
Output only.boolean
hasActiveLearningConfig()
Parameters that configure the active learning pipeline.boolean
hasCreateTime()
Output only.boolean
hasCurrentSpend()
Output only.boolean
hasEncryptionSpec()
Customer-managed encryption key spec for a DataLabelingJob.boolean
hasError()
Output only.int
hashCode()
boolean
hasInputs()
Required.boolean
hasUpdateTime()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
boolean
isInitialized()
static DataLabelingJob.Builder
newBuilder()
static DataLabelingJob.Builder
newBuilder(DataLabelingJob prototype)
DataLabelingJob.Builder
newBuilderForType()
protected DataLabelingJob.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static DataLabelingJob
parseDelimitedFrom(InputStream input)
static DataLabelingJob
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DataLabelingJob
parseFrom(byte[] data)
static DataLabelingJob
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DataLabelingJob
parseFrom(com.google.protobuf.ByteString data)
static DataLabelingJob
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DataLabelingJob
parseFrom(com.google.protobuf.CodedInputStream input)
static DataLabelingJob
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DataLabelingJob
parseFrom(InputStream input)
static DataLabelingJob
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DataLabelingJob
parseFrom(ByteBuffer data)
static DataLabelingJob
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<DataLabelingJob>
parser()
DataLabelingJob.Builder
toBuilder()
void
writeTo(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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in 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:
getName
in 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:
getNameBytes
in 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:
getDisplayName
in 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:
getDisplayNameBytes
in 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:
getDatasetsList
in 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:
getDatasetsCount
in 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:
getDatasets
in 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:
getDatasetsBytes
in 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:DataLabelingJobOrBuilder
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:
getAnnotationLabelsCount
in 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:
containsAnnotationLabels
in interfaceDataLabelingJobOrBuilder
-
getAnnotationLabels
@Deprecated public Map<String,String> getAnnotationLabels()
Deprecated.UsegetAnnotationLabelsMap()
instead.- Specified by:
getAnnotationLabels
in 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:
getAnnotationLabelsMap
in 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:
getAnnotationLabelsOrDefault
in 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:
getAnnotationLabelsOrThrow
in 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:
getLabelerCount
in 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:
getInstructionUri
in 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:
getInstructionUriBytes
in 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:
getInputsSchemaUri
in 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:
getInputsSchemaUriBytes
in 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:
hasInputs
in 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:
getInputs
in 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:
getInputsOrBuilder
in 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:
getStateValue
in 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:
getState
in 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:
getLabelingProgress
in 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:
hasCurrentSpend
in 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:
getCurrentSpend
in 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:
getCurrentSpendOrBuilder
in 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:
hasCreateTime
in 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:
getCreateTime
in 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:
getCreateTimeOrBuilder
in 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:
hasUpdateTime
in 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:
getUpdateTime
in 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:
getUpdateTimeOrBuilder
in 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:
hasError
in 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:
getError
in 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:
getErrorOrBuilder
in interfaceDataLabelingJobOrBuilder
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:DataLabelingJobOrBuilder
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:
getLabelsCount
in 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:
containsLabels
in interfaceDataLabelingJobOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in 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:
getLabelsMap
in 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:
getLabelsOrDefault
in 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:
getLabelsOrThrow
in interfaceDataLabelingJobOrBuilder
-
getSpecialistPoolsList
public com.google.protobuf.ProtocolStringList getSpecialistPoolsList()
The SpecialistPools' resource names associated with this job.
repeated string specialist_pools = 16;
- Specified by:
getSpecialistPoolsList
in 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:
getSpecialistPoolsCount
in 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:
getSpecialistPools
in 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:
getSpecialistPoolsBytes
in 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:
hasEncryptionSpec
in 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:
getEncryptionSpec
in 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:
getEncryptionSpecOrBuilder
in 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:
hasActiveLearningConfig
in 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:
getActiveLearningConfig
in 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:
getActiveLearningConfigOrBuilder
in interfaceDataLabelingJobOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected DataLabelingJob.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public DataLabelingJob getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-