Class DataLabelingJob (3.4.1)

public final class DataLabelingJob extends GeneratedMessageV3 implements DataLabelingJobOrBuilder

DataLabelingJob is used to trigger a human labeling job on unlabeled data from the following Dataset:

Protobuf type google.cloud.aiplatform.v1.DataLabelingJob

Static Fields

ACTIVE_LEARNING_CONFIG_FIELD_NUMBER

public static final int ACTIVE_LEARNING_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

ANNOTATION_LABELS_FIELD_NUMBER

public static final int ANNOTATION_LABELS_FIELD_NUMBER
Field Value
TypeDescription
int

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

CURRENT_SPEND_FIELD_NUMBER

public static final int CURRENT_SPEND_FIELD_NUMBER
Field Value
TypeDescription
int

DATASETS_FIELD_NUMBER

public static final int DATASETS_FIELD_NUMBER
Field Value
TypeDescription
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

ENCRYPTION_SPEC_FIELD_NUMBER

public static final int ENCRYPTION_SPEC_FIELD_NUMBER
Field Value
TypeDescription
int

ERROR_FIELD_NUMBER

public static final int ERROR_FIELD_NUMBER
Field Value
TypeDescription
int

INPUTS_FIELD_NUMBER

public static final int INPUTS_FIELD_NUMBER
Field Value
TypeDescription
int

INPUTS_SCHEMA_URI_FIELD_NUMBER

public static final int INPUTS_SCHEMA_URI_FIELD_NUMBER
Field Value
TypeDescription
int

INSTRUCTION_URI_FIELD_NUMBER

public static final int INSTRUCTION_URI_FIELD_NUMBER
Field Value
TypeDescription
int

LABELER_COUNT_FIELD_NUMBER

public static final int LABELER_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

LABELING_PROGRESS_FIELD_NUMBER

public static final int LABELING_PROGRESS_FIELD_NUMBER
Field Value
TypeDescription
int

LABELS_FIELD_NUMBER

public static final int LABELS_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

SPECIALIST_POOLS_FIELD_NUMBER

public static final int SPECIALIST_POOLS_FIELD_NUMBER
Field Value
TypeDescription
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
TypeDescription
int

UPDATE_TIME_FIELD_NUMBER

public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DataLabelingJob getDefaultInstance()
Returns
TypeDescription
DataLabelingJob

getDescriptor()

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

newBuilder()

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

newBuilder(DataLabelingJob prototype)

public static DataLabelingJob.Builder newBuilder(DataLabelingJob prototype)
Parameter
NameDescription
prototypeDataLabelingJob
Returns
TypeDescription
DataLabelingJob.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

containsAnnotationLabels(String key)

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;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

containsLabels(String key)

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's title.

map<string, string> labels = 11;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

equals(Object obj)

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

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.v1.ActiveLearningConfig active_learning_config = 21;

Returns
TypeDescription
ActiveLearningConfig

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.v1.ActiveLearningConfig active_learning_config = 21;

Returns
TypeDescription
ActiveLearningConfigOrBuilder

getAnnotationLabels()

public Map<String,String> getAnnotationLabels()
Returns
TypeDescription
Map<String,String>

getAnnotationLabelsCount()

public int getAnnotationLabelsCount()

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;

Returns
TypeDescription
int

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;

Returns
TypeDescription
Map<String,String>

getAnnotationLabelsOrDefault(String key, String defaultValue)

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;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getAnnotationLabelsOrThrow(String key)

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;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getCreateTime()

public Timestamp getCreateTime()

Output only. Timestamp when this DataLabelingJob was created.

.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Timestamp when this DataLabelingJob was created.

.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getCurrentSpend()

public 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];

Returns
TypeDescription
com.google.type.Money

The currentSpend.

getCurrentSpendOrBuilder()

public 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];

Returns
TypeDescription
com.google.type.MoneyOrBuilder

getDatasets(int index)

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) = { ... }

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The datasets at the given index.

getDatasetsBytes(int index)

public 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) = { ... }

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the datasets at the given index.

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) = { ... }

Returns
TypeDescription
int

The count of datasets.

getDatasetsList()

public 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) = { ... }

Returns
TypeDescription
ProtocolStringList

A list containing the datasets.

getDefaultInstanceForType()

public DataLabelingJob getDefaultInstanceForType()
Returns
TypeDescription
DataLabelingJob

getDisplayName()

public String getDisplayName()

Required. The user-defined name of the DataLabelingJob. The name can be up to 128 characters long and can be consist of any UTF-8 characters. Display name of a DataLabelingJob.

string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Required. The user-defined name of the DataLabelingJob. The name can be up to 128 characters long and can be consist of any UTF-8 characters. Display name of a DataLabelingJob.

string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for displayName.

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.v1.EncryptionSpec encryption_spec = 20;

Returns
TypeDescription
EncryptionSpec

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.v1.EncryptionSpec encryption_spec = 20;

Returns
TypeDescription
EncryptionSpecOrBuilder

getError()

public 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];

Returns
TypeDescription
com.google.rpc.Status

The error.

getErrorOrBuilder()

public 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];

Returns
TypeDescription
com.google.rpc.StatusOrBuilder

getInputs()

public Value getInputs()

Required. Input config parameters for the DataLabelingJob.

.google.protobuf.Value inputs = 7 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Value

The inputs.

getInputsOrBuilder()

public ValueOrBuilder getInputsOrBuilder()

Required. Input config parameters for the DataLabelingJob.

.google.protobuf.Value inputs = 7 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ValueOrBuilder

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];

Returns
TypeDescription
String

The inputsSchemaUri.

getInputsSchemaUriBytes()

public 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];

Returns
TypeDescription
ByteString

The bytes for inputsSchemaUri.

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];

Returns
TypeDescription
String

The instructionUri.

getInstructionUriBytes()

public 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];

Returns
TypeDescription
ByteString

The bytes for instructionUri.

getLabelerCount()

public int getLabelerCount()

Required. Number of labelers to work on each DataItem.

int32 labeler_count = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

The labelerCount.

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];

Returns
TypeDescription
int

The labelingProgress.

getLabels()

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
Map<String,String>

getLabelsCount()

public int getLabelsCount()

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's title.

map<string, string> labels = 11;

Returns
TypeDescription
int

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's title.

map<string, string> labels = 11;

Returns
TypeDescription
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

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's title.

map<string, string> labels = 11;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getLabelsOrThrow(String key)

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's title.

map<string, string> labels = 11;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getName()

public String getName()

Output only. Resource name of the DataLabelingJob.

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

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. Resource name of the DataLabelingJob.

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

Returns
TypeDescription
ByteString

The bytes for name.

getParserForType()

public Parser<DataLabelingJob> getParserForType()
Returns
TypeDescription
Parser<DataLabelingJob>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSpecialistPools(int index)

public String getSpecialistPools(int index)

The SpecialistPools' resource names associated with this job.

repeated string specialist_pools = 16;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The specialistPools at the given index.

getSpecialistPoolsBytes(int index)

public ByteString getSpecialistPoolsBytes(int index)

The SpecialistPools' resource names associated with this job.

repeated string specialist_pools = 16;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the specialistPools at the given index.

getSpecialistPoolsCount()

public int getSpecialistPoolsCount()

The SpecialistPools' resource names associated with this job.

repeated string specialist_pools = 16;

Returns
TypeDescription
int

The count of specialistPools.

getSpecialistPoolsList()

public ProtocolStringList getSpecialistPoolsList()

The SpecialistPools' resource names associated with this job.

repeated string specialist_pools = 16;

Returns
TypeDescription
ProtocolStringList

A list containing the specialistPools.

getState()

public JobState getState()

Output only. The detailed state of the job.

.google.cloud.aiplatform.v1.JobState state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
JobState

The state.

getStateValue()

public int getStateValue()

Output only. The detailed state of the job.

.google.cloud.aiplatform.v1.JobState state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The enum numeric value on the wire for state.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getUpdateTime()

public Timestamp getUpdateTime()

Output only. Timestamp when this DataLabelingJob was updated most recently.

.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. Timestamp when this DataLabelingJob was updated most recently.

.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

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.v1.ActiveLearningConfig active_learning_config = 21;

Returns
TypeDescription
boolean

Whether the activeLearningConfig field is set.

hasCreateTime()

public boolean hasCreateTime()

Output only. Timestamp when this DataLabelingJob was created.

.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the createTime field is set.

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];

Returns
TypeDescription
boolean

Whether the currentSpend field is set.

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.v1.EncryptionSpec encryption_spec = 20;

Returns
TypeDescription
boolean

Whether the encryptionSpec field is set.

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];

Returns
TypeDescription
boolean

Whether the error field is set.

hasInputs()

public boolean hasInputs()

Required. Input config parameters for the DataLabelingJob.

.google.protobuf.Value inputs = 7 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the inputs field is set.

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];

Returns
TypeDescription
boolean

Whether the updateTime field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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