Package com.google.cloud.aiplatform.v1
Class DataLabelingJob.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<DataLabelingJob.Builder>
-
- com.google.cloud.aiplatform.v1.DataLabelingJob.Builder
-
- All Implemented Interfaces:
DataLabelingJobOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- DataLabelingJob
public static final class DataLabelingJob.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DataLabelingJob.Builder> implements DataLabelingJobOrBuilder
DataLabelingJob is used to trigger a human labeling job on unlabeled data from the following Dataset:
Protobuf typegoogle.cloud.aiplatform.v1.DataLabelingJob
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description DataLabelingJob.Builder
addAllDatasets(Iterable<String> values)
Required.DataLabelingJob.Builder
addAllSpecialistPools(Iterable<String> values)
The SpecialistPools' resource names associated with this job.DataLabelingJob.Builder
addDatasets(String value)
Required.DataLabelingJob.Builder
addDatasetsBytes(com.google.protobuf.ByteString value)
Required.DataLabelingJob.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
DataLabelingJob.Builder
addSpecialistPools(String value)
The SpecialistPools' resource names associated with this job.DataLabelingJob.Builder
addSpecialistPoolsBytes(com.google.protobuf.ByteString value)
The SpecialistPools' resource names associated with this job.DataLabelingJob
build()
DataLabelingJob
buildPartial()
DataLabelingJob.Builder
clear()
DataLabelingJob.Builder
clearActiveLearningConfig()
Parameters that configure the active learning pipeline.DataLabelingJob.Builder
clearAnnotationLabels()
DataLabelingJob.Builder
clearCreateTime()
Output only.DataLabelingJob.Builder
clearCurrentSpend()
Output only.DataLabelingJob.Builder
clearDatasets()
Required.DataLabelingJob.Builder
clearDisplayName()
Required.DataLabelingJob.Builder
clearEncryptionSpec()
Customer-managed encryption key spec for a DataLabelingJob.DataLabelingJob.Builder
clearError()
Output only.DataLabelingJob.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
DataLabelingJob.Builder
clearInputs()
Required.DataLabelingJob.Builder
clearInputsSchemaUri()
Required.DataLabelingJob.Builder
clearInstructionUri()
Required.DataLabelingJob.Builder
clearLabelerCount()
Required.DataLabelingJob.Builder
clearLabelingProgress()
Output only.DataLabelingJob.Builder
clearLabels()
DataLabelingJob.Builder
clearName()
Output only.DataLabelingJob.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
DataLabelingJob.Builder
clearSpecialistPools()
The SpecialistPools' resource names associated with this job.DataLabelingJob.Builder
clearState()
Output only.DataLabelingJob.Builder
clearUpdateTime()
Output only.DataLabelingJob.Builder
clone()
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.ActiveLearningConfig
getActiveLearningConfig()
Parameters that configure the active learning pipeline.ActiveLearningConfig.Builder
getActiveLearningConfigBuilder()
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.Timestamp.Builder
getCreateTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.com.google.type.Money
getCurrentSpend()
Output only.com.google.type.Money.Builder
getCurrentSpendBuilder()
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.DataLabelingJob
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getDisplayName()
Required.com.google.protobuf.ByteString
getDisplayNameBytes()
Required.EncryptionSpec
getEncryptionSpec()
Customer-managed encryption key spec for a DataLabelingJob.EncryptionSpec.Builder
getEncryptionSpecBuilder()
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.Status.Builder
getErrorBuilder()
Output only.com.google.rpc.StatusOrBuilder
getErrorOrBuilder()
Output only.com.google.protobuf.Value
getInputs()
Required.com.google.protobuf.Value.Builder
getInputsBuilder()
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.Map<String,String>
getMutableAnnotationLabels()
Deprecated.Map<String,String>
getMutableLabels()
Deprecated.String
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.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.Timestamp.Builder
getUpdateTimeBuilder()
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.boolean
hasInputs()
Required.boolean
hasUpdateTime()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
protected com.google.protobuf.MapField
internalGetMutableMapField(int number)
boolean
isInitialized()
DataLabelingJob.Builder
mergeActiveLearningConfig(ActiveLearningConfig value)
Parameters that configure the active learning pipeline.DataLabelingJob.Builder
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.DataLabelingJob.Builder
mergeCurrentSpend(com.google.type.Money value)
Output only.DataLabelingJob.Builder
mergeEncryptionSpec(EncryptionSpec value)
Customer-managed encryption key spec for a DataLabelingJob.DataLabelingJob.Builder
mergeError(com.google.rpc.Status value)
Output only.DataLabelingJob.Builder
mergeFrom(DataLabelingJob other)
DataLabelingJob.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
DataLabelingJob.Builder
mergeFrom(com.google.protobuf.Message other)
DataLabelingJob.Builder
mergeInputs(com.google.protobuf.Value value)
Required.DataLabelingJob.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
DataLabelingJob.Builder
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.DataLabelingJob.Builder
putAllAnnotationLabels(Map<String,String> values)
Labels to assign to annotations generated by this DataLabelingJob.DataLabelingJob.Builder
putAllLabels(Map<String,String> values)
The labels with user-defined metadata to organize your DataLabelingJobs.DataLabelingJob.Builder
putAnnotationLabels(String key, String value)
Labels to assign to annotations generated by this DataLabelingJob.DataLabelingJob.Builder
putLabels(String key, String value)
The labels with user-defined metadata to organize your DataLabelingJobs.DataLabelingJob.Builder
removeAnnotationLabels(String key)
Labels to assign to annotations generated by this DataLabelingJob.DataLabelingJob.Builder
removeLabels(String key)
The labels with user-defined metadata to organize your DataLabelingJobs.DataLabelingJob.Builder
setActiveLearningConfig(ActiveLearningConfig value)
Parameters that configure the active learning pipeline.DataLabelingJob.Builder
setActiveLearningConfig(ActiveLearningConfig.Builder builderForValue)
Parameters that configure the active learning pipeline.DataLabelingJob.Builder
setCreateTime(com.google.protobuf.Timestamp value)
Output only.DataLabelingJob.Builder
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.DataLabelingJob.Builder
setCurrentSpend(com.google.type.Money value)
Output only.DataLabelingJob.Builder
setCurrentSpend(com.google.type.Money.Builder builderForValue)
Output only.DataLabelingJob.Builder
setDatasets(int index, String value)
Required.DataLabelingJob.Builder
setDisplayName(String value)
Required.DataLabelingJob.Builder
setDisplayNameBytes(com.google.protobuf.ByteString value)
Required.DataLabelingJob.Builder
setEncryptionSpec(EncryptionSpec value)
Customer-managed encryption key spec for a DataLabelingJob.DataLabelingJob.Builder
setEncryptionSpec(EncryptionSpec.Builder builderForValue)
Customer-managed encryption key spec for a DataLabelingJob.DataLabelingJob.Builder
setError(com.google.rpc.Status value)
Output only.DataLabelingJob.Builder
setError(com.google.rpc.Status.Builder builderForValue)
Output only.DataLabelingJob.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
DataLabelingJob.Builder
setInputs(com.google.protobuf.Value value)
Required.DataLabelingJob.Builder
setInputs(com.google.protobuf.Value.Builder builderForValue)
Required.DataLabelingJob.Builder
setInputsSchemaUri(String value)
Required.DataLabelingJob.Builder
setInputsSchemaUriBytes(com.google.protobuf.ByteString value)
Required.DataLabelingJob.Builder
setInstructionUri(String value)
Required.DataLabelingJob.Builder
setInstructionUriBytes(com.google.protobuf.ByteString value)
Required.DataLabelingJob.Builder
setLabelerCount(int value)
Required.DataLabelingJob.Builder
setLabelingProgress(int value)
Output only.DataLabelingJob.Builder
setName(String value)
Output only.DataLabelingJob.Builder
setNameBytes(com.google.protobuf.ByteString value)
Output only.DataLabelingJob.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
DataLabelingJob.Builder
setSpecialistPools(int index, String value)
The SpecialistPools' resource names associated with this job.DataLabelingJob.Builder
setState(JobState value)
Output only.DataLabelingJob.Builder
setStateValue(int value)
Output only.DataLabelingJob.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
DataLabelingJob.Builder
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.DataLabelingJob.Builder
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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.Builder<DataLabelingJob.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataLabelingJob.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataLabelingJob.Builder>
-
clear
public DataLabelingJob.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataLabelingJob.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataLabelingJob.Builder>
-
getDefaultInstanceForType
public DataLabelingJob getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public DataLabelingJob build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public DataLabelingJob buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public DataLabelingJob.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataLabelingJob.Builder>
-
setField
public DataLabelingJob.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataLabelingJob.Builder>
-
clearField
public DataLabelingJob.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataLabelingJob.Builder>
-
clearOneof
public DataLabelingJob.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataLabelingJob.Builder>
-
setRepeatedField
public DataLabelingJob.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataLabelingJob.Builder>
-
addRepeatedField
public DataLabelingJob.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataLabelingJob.Builder>
-
mergeFrom
public DataLabelingJob.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<DataLabelingJob.Builder>
-
mergeFrom
public DataLabelingJob.Builder mergeFrom(DataLabelingJob other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataLabelingJob.Builder>
-
mergeFrom
public DataLabelingJob.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<DataLabelingJob.Builder>
- Throws:
IOException
-
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.
-
setName
public DataLabelingJob.Builder setName(String value)
Output only. Resource name of the DataLabelingJob.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
public DataLabelingJob.Builder clearName()
Output only. Resource name of the DataLabelingJob.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setNameBytes
public DataLabelingJob.Builder setNameBytes(com.google.protobuf.ByteString value)
Output only. Resource name of the DataLabelingJob.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
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.
-
setDisplayName
public DataLabelingJob.Builder setDisplayName(String value)
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];
- Parameters:
value
- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
public DataLabelingJob.Builder clearDisplayName()
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];
- Returns:
- This builder for chaining.
-
setDisplayNameBytes
public DataLabelingJob.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
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];
- Parameters:
value
- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
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.
-
setDatasets
public DataLabelingJob.Builder setDatasets(int index, String value)
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) = { ... }
- Parameters:
index
- The index to set the value at.value
- The datasets to set.- Returns:
- This builder for chaining.
-
addDatasets
public DataLabelingJob.Builder addDatasets(String value)
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) = { ... }
- Parameters:
value
- The datasets to add.- Returns:
- This builder for chaining.
-
addAllDatasets
public DataLabelingJob.Builder addAllDatasets(Iterable<String> values)
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) = { ... }
- Parameters:
values
- The datasets to add.- Returns:
- This builder for chaining.
-
clearDatasets
public DataLabelingJob.Builder clearDatasets()
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:
- This builder for chaining.
-
addDatasetsBytes
public DataLabelingJob.Builder addDatasetsBytes(com.google.protobuf.ByteString value)
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) = { ... }
- Parameters:
value
- The bytes of the datasets to add.- Returns:
- This builder for chaining.
-
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
-
clearAnnotationLabels
public DataLabelingJob.Builder clearAnnotationLabels()
-
removeAnnotationLabels
public DataLabelingJob.Builder removeAnnotationLabels(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;
-
getMutableAnnotationLabels
@Deprecated public Map<String,String> getMutableAnnotationLabels()
Deprecated.Use alternate mutation accessors instead.
-
putAnnotationLabels
public DataLabelingJob.Builder putAnnotationLabels(String key, String value)
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;
-
putAllAnnotationLabels
public DataLabelingJob.Builder putAllAnnotationLabels(Map<String,String> values)
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;
-
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.
-
setLabelerCount
public DataLabelingJob.Builder setLabelerCount(int value)
Required. Number of labelers to work on each DataItem.
int32 labeler_count = 4 [(.google.api.field_behavior) = REQUIRED];
- Parameters:
value
- The labelerCount to set.- Returns:
- This builder for chaining.
-
clearLabelerCount
public DataLabelingJob.Builder clearLabelerCount()
Required. Number of labelers to work on each DataItem.
int32 labeler_count = 4 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- This builder for chaining.
-
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.
-
setInstructionUri
public DataLabelingJob.Builder setInstructionUri(String value)
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];
- Parameters:
value
- The instructionUri to set.- Returns:
- This builder for chaining.
-
clearInstructionUri
public DataLabelingJob.Builder clearInstructionUri()
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:
- This builder for chaining.
-
setInstructionUriBytes
public DataLabelingJob.Builder setInstructionUriBytes(com.google.protobuf.ByteString value)
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];
- Parameters:
value
- The bytes for instructionUri to set.- Returns:
- This builder for chaining.
-
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.
-
setInputsSchemaUri
public DataLabelingJob.Builder setInputsSchemaUri(String value)
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];
- Parameters:
value
- The inputsSchemaUri to set.- Returns:
- This builder for chaining.
-
clearInputsSchemaUri
public DataLabelingJob.Builder clearInputsSchemaUri()
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:
- This builder for chaining.
-
setInputsSchemaUriBytes
public DataLabelingJob.Builder setInputsSchemaUriBytes(com.google.protobuf.ByteString value)
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];
- Parameters:
value
- The bytes for inputsSchemaUri to set.- Returns:
- This builder for chaining.
-
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.
-
setInputs
public DataLabelingJob.Builder setInputs(com.google.protobuf.Value value)
Required. Input config parameters for the DataLabelingJob.
.google.protobuf.Value inputs = 7 [(.google.api.field_behavior) = REQUIRED];
-
setInputs
public DataLabelingJob.Builder setInputs(com.google.protobuf.Value.Builder builderForValue)
Required. Input config parameters for the DataLabelingJob.
.google.protobuf.Value inputs = 7 [(.google.api.field_behavior) = REQUIRED];
-
mergeInputs
public DataLabelingJob.Builder mergeInputs(com.google.protobuf.Value value)
Required. Input config parameters for the DataLabelingJob.
.google.protobuf.Value inputs = 7 [(.google.api.field_behavior) = REQUIRED];
-
clearInputs
public DataLabelingJob.Builder clearInputs()
Required. Input config parameters for the DataLabelingJob.
.google.protobuf.Value inputs = 7 [(.google.api.field_behavior) = REQUIRED];
-
getInputsBuilder
public com.google.protobuf.Value.Builder getInputsBuilder()
Required. Input config parameters for the DataLabelingJob.
.google.protobuf.Value inputs = 7 [(.google.api.field_behavior) = REQUIRED];
-
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.v1.JobState state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getStateValue
in interfaceDataLabelingJobOrBuilder
- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
public DataLabelingJob.Builder setStateValue(int value)
Output only. The detailed state of the job.
.google.cloud.aiplatform.v1.JobState state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
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];
- Specified by:
getState
in interfaceDataLabelingJobOrBuilder
- Returns:
- The state.
-
setState
public DataLabelingJob.Builder setState(JobState value)
Output only. The detailed state of the job.
.google.cloud.aiplatform.v1.JobState state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The state to set.- Returns:
- This builder for chaining.
-
clearState
public DataLabelingJob.Builder clearState()
Output only. The detailed state of the job.
.google.cloud.aiplatform.v1.JobState state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
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.
-
setLabelingProgress
public DataLabelingJob.Builder setLabelingProgress(int value)
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];
- Parameters:
value
- The labelingProgress to set.- Returns:
- This builder for chaining.
-
clearLabelingProgress
public DataLabelingJob.Builder clearLabelingProgress()
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:
- This builder for chaining.
-
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.
-
setCurrentSpend
public DataLabelingJob.Builder setCurrentSpend(com.google.type.Money value)
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];
-
setCurrentSpend
public DataLabelingJob.Builder setCurrentSpend(com.google.type.Money.Builder builderForValue)
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];
-
mergeCurrentSpend
public DataLabelingJob.Builder mergeCurrentSpend(com.google.type.Money value)
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];
-
clearCurrentSpend
public DataLabelingJob.Builder clearCurrentSpend()
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];
-
getCurrentSpendBuilder
public com.google.type.Money.Builder getCurrentSpendBuilder()
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];
-
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.
-
setCreateTime
public DataLabelingJob.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. Timestamp when this DataLabelingJob was created.
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setCreateTime
public DataLabelingJob.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Timestamp when this DataLabelingJob was created.
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeCreateTime
public DataLabelingJob.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. Timestamp when this DataLabelingJob was created.
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearCreateTime
public DataLabelingJob.Builder clearCreateTime()
Output only. Timestamp when this DataLabelingJob was created.
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. Timestamp when this DataLabelingJob was created.
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
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.
-
setUpdateTime
public DataLabelingJob.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Output only. Timestamp when this DataLabelingJob was updated most recently.
.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setUpdateTime
public DataLabelingJob.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Timestamp when this DataLabelingJob was updated most recently.
.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeUpdateTime
public DataLabelingJob.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only. Timestamp when this DataLabelingJob was updated most recently.
.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearUpdateTime
public DataLabelingJob.Builder clearUpdateTime()
Output only. Timestamp when this DataLabelingJob was updated most recently.
.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
Output only. Timestamp when this DataLabelingJob was updated most recently.
.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
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.
-
setError
public DataLabelingJob.Builder setError(com.google.rpc.Status value)
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];
-
setError
public DataLabelingJob.Builder setError(com.google.rpc.Status.Builder builderForValue)
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];
-
mergeError
public DataLabelingJob.Builder mergeError(com.google.rpc.Status value)
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];
-
clearError
public DataLabelingJob.Builder clearError()
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];
-
getErrorBuilder
public com.google.rpc.Status.Builder getErrorBuilder()
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];
-
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.v1.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.v1.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.v1.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.v1.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.v1.DataLabelingJob.inputs_schema_uri]'s title.
map<string, string> labels = 11;
- Specified by:
getLabelsOrThrow
in interfaceDataLabelingJobOrBuilder
-
clearLabels
public DataLabelingJob.Builder clearLabels()
-
removeLabels
public DataLabelingJob.Builder removeLabels(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.v1.DataLabelingJob.inputs_schema_uri]'s title.
map<string, string> labels = 11;
-
getMutableLabels
@Deprecated public Map<String,String> getMutableLabels()
Deprecated.Use alternate mutation accessors instead.
-
putLabels
public DataLabelingJob.Builder putLabels(String key, String value)
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.v1.DataLabelingJob.inputs_schema_uri]'s title.
map<string, string> labels = 11;
-
putAllLabels
public DataLabelingJob.Builder putAllLabels(Map<String,String> values)
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.v1.DataLabelingJob.inputs_schema_uri]'s title.
map<string, string> labels = 11;
-
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.
-
setSpecialistPools
public DataLabelingJob.Builder setSpecialistPools(int index, String value)
The SpecialistPools' resource names associated with this job.
repeated string specialist_pools = 16;
- Parameters:
index
- The index to set the value at.value
- The specialistPools to set.- Returns:
- This builder for chaining.
-
addSpecialistPools
public DataLabelingJob.Builder addSpecialistPools(String value)
The SpecialistPools' resource names associated with this job.
repeated string specialist_pools = 16;
- Parameters:
value
- The specialistPools to add.- Returns:
- This builder for chaining.
-
addAllSpecialistPools
public DataLabelingJob.Builder addAllSpecialistPools(Iterable<String> values)
The SpecialistPools' resource names associated with this job.
repeated string specialist_pools = 16;
- Parameters:
values
- The specialistPools to add.- Returns:
- This builder for chaining.
-
clearSpecialistPools
public DataLabelingJob.Builder clearSpecialistPools()
The SpecialistPools' resource names associated with this job.
repeated string specialist_pools = 16;
- Returns:
- This builder for chaining.
-
addSpecialistPoolsBytes
public DataLabelingJob.Builder addSpecialistPoolsBytes(com.google.protobuf.ByteString value)
The SpecialistPools' resource names associated with this job.
repeated string specialist_pools = 16;
- Parameters:
value
- The bytes of the specialistPools to add.- Returns:
- This builder for chaining.
-
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;
- 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.v1.EncryptionSpec encryption_spec = 20;
- Specified by:
getEncryptionSpec
in interfaceDataLabelingJobOrBuilder
- Returns:
- The encryptionSpec.
-
setEncryptionSpec
public DataLabelingJob.Builder setEncryptionSpec(EncryptionSpec value)
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;
-
setEncryptionSpec
public DataLabelingJob.Builder setEncryptionSpec(EncryptionSpec.Builder builderForValue)
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;
-
mergeEncryptionSpec
public DataLabelingJob.Builder mergeEncryptionSpec(EncryptionSpec value)
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;
-
clearEncryptionSpec
public DataLabelingJob.Builder clearEncryptionSpec()
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;
-
getEncryptionSpecBuilder
public EncryptionSpec.Builder getEncryptionSpecBuilder()
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;
-
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;
- 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.v1.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.v1.ActiveLearningConfig active_learning_config = 21;
- Specified by:
getActiveLearningConfig
in interfaceDataLabelingJobOrBuilder
- Returns:
- The activeLearningConfig.
-
setActiveLearningConfig
public DataLabelingJob.Builder setActiveLearningConfig(ActiveLearningConfig value)
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;
-
setActiveLearningConfig
public DataLabelingJob.Builder setActiveLearningConfig(ActiveLearningConfig.Builder builderForValue)
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;
-
mergeActiveLearningConfig
public DataLabelingJob.Builder mergeActiveLearningConfig(ActiveLearningConfig value)
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;
-
clearActiveLearningConfig
public DataLabelingJob.Builder clearActiveLearningConfig()
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;
-
getActiveLearningConfigBuilder
public ActiveLearningConfig.Builder getActiveLearningConfigBuilder()
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;
-
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;
- Specified by:
getActiveLearningConfigOrBuilder
in interfaceDataLabelingJobOrBuilder
-
setUnknownFields
public final DataLabelingJob.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataLabelingJob.Builder>
-
mergeUnknownFields
public final DataLabelingJob.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataLabelingJob.Builder>
-
-