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.BuilderaddAllDatasets(Iterable<String> values)Required.DataLabelingJob.BuilderaddAllSpecialistPools(Iterable<String> values)The SpecialistPools' resource names associated with this job.DataLabelingJob.BuilderaddDatasets(String value)Required.DataLabelingJob.BuilderaddDatasetsBytes(com.google.protobuf.ByteString value)Required.DataLabelingJob.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)DataLabelingJob.BuilderaddSpecialistPools(String value)The SpecialistPools' resource names associated with this job.DataLabelingJob.BuilderaddSpecialistPoolsBytes(com.google.protobuf.ByteString value)The SpecialistPools' resource names associated with this job.DataLabelingJobbuild()DataLabelingJobbuildPartial()DataLabelingJob.Builderclear()DataLabelingJob.BuilderclearActiveLearningConfig()Parameters that configure the active learning pipeline.DataLabelingJob.BuilderclearAnnotationLabels()DataLabelingJob.BuilderclearCreateTime()Output only.DataLabelingJob.BuilderclearCurrentSpend()Output only.DataLabelingJob.BuilderclearDatasets()Required.DataLabelingJob.BuilderclearDisplayName()Required.DataLabelingJob.BuilderclearEncryptionSpec()Customer-managed encryption key spec for a DataLabelingJob.DataLabelingJob.BuilderclearError()Output only.DataLabelingJob.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)DataLabelingJob.BuilderclearInputs()Required.DataLabelingJob.BuilderclearInputsSchemaUri()Required.DataLabelingJob.BuilderclearInstructionUri()Required.DataLabelingJob.BuilderclearLabelerCount()Required.DataLabelingJob.BuilderclearLabelingProgress()Output only.DataLabelingJob.BuilderclearLabels()DataLabelingJob.BuilderclearName()Output only.DataLabelingJob.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)DataLabelingJob.BuilderclearSpecialistPools()The SpecialistPools' resource names associated with this job.DataLabelingJob.BuilderclearState()Output only.DataLabelingJob.BuilderclearUpdateTime()Output only.DataLabelingJob.Builderclone()booleancontainsAnnotationLabels(String key)Labels to assign to annotations generated by this DataLabelingJob.booleancontainsLabels(String key)The labels with user-defined metadata to organize your DataLabelingJobs.ActiveLearningConfiggetActiveLearningConfig()Parameters that configure the active learning pipeline.ActiveLearningConfig.BuildergetActiveLearningConfigBuilder()Parameters that configure the active learning pipeline.ActiveLearningConfigOrBuildergetActiveLearningConfigOrBuilder()Parameters that configure the active learning pipeline.Map<String,String>getAnnotationLabels()Deprecated.intgetAnnotationLabelsCount()Labels to assign to annotations generated by this DataLabelingJob.Map<String,String>getAnnotationLabelsMap()Labels to assign to annotations generated by this DataLabelingJob.StringgetAnnotationLabelsOrDefault(String key, String defaultValue)Labels to assign to annotations generated by this DataLabelingJob.StringgetAnnotationLabelsOrThrow(String key)Labels to assign to annotations generated by this DataLabelingJob.com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.Timestamp.BuildergetCreateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.com.google.type.MoneygetCurrentSpend()Output only.com.google.type.Money.BuildergetCurrentSpendBuilder()Output only.com.google.type.MoneyOrBuildergetCurrentSpendOrBuilder()Output only.StringgetDatasets(int index)Required.com.google.protobuf.ByteStringgetDatasetsBytes(int index)Required.intgetDatasetsCount()Required.com.google.protobuf.ProtocolStringListgetDatasetsList()Required.DataLabelingJobgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetDisplayName()Required.com.google.protobuf.ByteStringgetDisplayNameBytes()Required.EncryptionSpecgetEncryptionSpec()Customer-managed encryption key spec for a DataLabelingJob.EncryptionSpec.BuildergetEncryptionSpecBuilder()Customer-managed encryption key spec for a DataLabelingJob.EncryptionSpecOrBuildergetEncryptionSpecOrBuilder()Customer-managed encryption key spec for a DataLabelingJob.com.google.rpc.StatusgetError()Output only.com.google.rpc.Status.BuildergetErrorBuilder()Output only.com.google.rpc.StatusOrBuildergetErrorOrBuilder()Output only.com.google.protobuf.ValuegetInputs()Required.com.google.protobuf.Value.BuildergetInputsBuilder()Required.com.google.protobuf.ValueOrBuildergetInputsOrBuilder()Required.StringgetInputsSchemaUri()Required.com.google.protobuf.ByteStringgetInputsSchemaUriBytes()Required.StringgetInstructionUri()Required.com.google.protobuf.ByteStringgetInstructionUriBytes()Required.intgetLabelerCount()Required.intgetLabelingProgress()Output only.Map<String,String>getLabels()Deprecated.intgetLabelsCount()The labels with user-defined metadata to organize your DataLabelingJobs.Map<String,String>getLabelsMap()The labels with user-defined metadata to organize your DataLabelingJobs.StringgetLabelsOrDefault(String key, String defaultValue)The labels with user-defined metadata to organize your DataLabelingJobs.StringgetLabelsOrThrow(String key)The labels with user-defined metadata to organize your DataLabelingJobs.Map<String,String>getMutableAnnotationLabels()Deprecated.Map<String,String>getMutableLabels()Deprecated.StringgetName()Output only.com.google.protobuf.ByteStringgetNameBytes()Output only.StringgetSpecialistPools(int index)The SpecialistPools' resource names associated with this job.com.google.protobuf.ByteStringgetSpecialistPoolsBytes(int index)The SpecialistPools' resource names associated with this job.intgetSpecialistPoolsCount()The SpecialistPools' resource names associated with this job.com.google.protobuf.ProtocolStringListgetSpecialistPoolsList()The SpecialistPools' resource names associated with this job.JobStategetState()Output only.intgetStateValue()Output only.com.google.protobuf.TimestampgetUpdateTime()Output only.com.google.protobuf.Timestamp.BuildergetUpdateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()Output only.booleanhasActiveLearningConfig()Parameters that configure the active learning pipeline.booleanhasCreateTime()Output only.booleanhasCurrentSpend()Output only.booleanhasEncryptionSpec()Customer-managed encryption key spec for a DataLabelingJob.booleanhasError()Output only.booleanhasInputs()Required.booleanhasUpdateTime()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()DataLabelingJob.BuildermergeActiveLearningConfig(ActiveLearningConfig value)Parameters that configure the active learning pipeline.DataLabelingJob.BuildermergeCreateTime(com.google.protobuf.Timestamp value)Output only.DataLabelingJob.BuildermergeCurrentSpend(com.google.type.Money value)Output only.DataLabelingJob.BuildermergeEncryptionSpec(EncryptionSpec value)Customer-managed encryption key spec for a DataLabelingJob.DataLabelingJob.BuildermergeError(com.google.rpc.Status value)Output only.DataLabelingJob.BuildermergeFrom(DataLabelingJob other)DataLabelingJob.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)DataLabelingJob.BuildermergeFrom(com.google.protobuf.Message other)DataLabelingJob.BuildermergeInputs(com.google.protobuf.Value value)Required.DataLabelingJob.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)DataLabelingJob.BuildermergeUpdateTime(com.google.protobuf.Timestamp value)Output only.DataLabelingJob.BuilderputAllAnnotationLabels(Map<String,String> values)Labels to assign to annotations generated by this DataLabelingJob.DataLabelingJob.BuilderputAllLabels(Map<String,String> values)The labels with user-defined metadata to organize your DataLabelingJobs.DataLabelingJob.BuilderputAnnotationLabels(String key, String value)Labels to assign to annotations generated by this DataLabelingJob.DataLabelingJob.BuilderputLabels(String key, String value)The labels with user-defined metadata to organize your DataLabelingJobs.DataLabelingJob.BuilderremoveAnnotationLabels(String key)Labels to assign to annotations generated by this DataLabelingJob.DataLabelingJob.BuilderremoveLabels(String key)The labels with user-defined metadata to organize your DataLabelingJobs.DataLabelingJob.BuildersetActiveLearningConfig(ActiveLearningConfig value)Parameters that configure the active learning pipeline.DataLabelingJob.BuildersetActiveLearningConfig(ActiveLearningConfig.Builder builderForValue)Parameters that configure the active learning pipeline.DataLabelingJob.BuildersetCreateTime(com.google.protobuf.Timestamp value)Output only.DataLabelingJob.BuildersetCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.DataLabelingJob.BuildersetCurrentSpend(com.google.type.Money value)Output only.DataLabelingJob.BuildersetCurrentSpend(com.google.type.Money.Builder builderForValue)Output only.DataLabelingJob.BuildersetDatasets(int index, String value)Required.DataLabelingJob.BuildersetDisplayName(String value)Required.DataLabelingJob.BuildersetDisplayNameBytes(com.google.protobuf.ByteString value)Required.DataLabelingJob.BuildersetEncryptionSpec(EncryptionSpec value)Customer-managed encryption key spec for a DataLabelingJob.DataLabelingJob.BuildersetEncryptionSpec(EncryptionSpec.Builder builderForValue)Customer-managed encryption key spec for a DataLabelingJob.DataLabelingJob.BuildersetError(com.google.rpc.Status value)Output only.DataLabelingJob.BuildersetError(com.google.rpc.Status.Builder builderForValue)Output only.DataLabelingJob.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)DataLabelingJob.BuildersetInputs(com.google.protobuf.Value value)Required.DataLabelingJob.BuildersetInputs(com.google.protobuf.Value.Builder builderForValue)Required.DataLabelingJob.BuildersetInputsSchemaUri(String value)Required.DataLabelingJob.BuildersetInputsSchemaUriBytes(com.google.protobuf.ByteString value)Required.DataLabelingJob.BuildersetInstructionUri(String value)Required.DataLabelingJob.BuildersetInstructionUriBytes(com.google.protobuf.ByteString value)Required.DataLabelingJob.BuildersetLabelerCount(int value)Required.DataLabelingJob.BuildersetLabelingProgress(int value)Output only.DataLabelingJob.BuildersetName(String value)Output only.DataLabelingJob.BuildersetNameBytes(com.google.protobuf.ByteString value)Output only.DataLabelingJob.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)DataLabelingJob.BuildersetSpecialistPools(int index, String value)The SpecialistPools' resource names associated with this job.DataLabelingJob.BuildersetState(JobState value)Output only.DataLabelingJob.BuildersetStateValue(int value)Output only.DataLabelingJob.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)DataLabelingJob.BuildersetUpdateTime(com.google.protobuf.Timestamp value)Output only.DataLabelingJob.BuildersetUpdateTime(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:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DataLabelingJob.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DataLabelingJob.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<DataLabelingJob.Builder>
-
clear
public DataLabelingJob.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<DataLabelingJob.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<DataLabelingJob.Builder>
-
getDefaultInstanceForType
public DataLabelingJob getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public DataLabelingJob build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public DataLabelingJob buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public DataLabelingJob.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<DataLabelingJob.Builder>
-
setField
public DataLabelingJob.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DataLabelingJob.Builder>
-
clearField
public DataLabelingJob.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DataLabelingJob.Builder>
-
clearOneof
public DataLabelingJob.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<DataLabelingJob.Builder>
-
setRepeatedField
public DataLabelingJob.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DataLabelingJob.Builder>
-
addRepeatedField
public DataLabelingJob.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DataLabelingJob.Builder>
-
mergeFrom
public DataLabelingJob.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DataLabelingJob.Builder>
-
mergeFrom
public DataLabelingJob.Builder mergeFrom(DataLabelingJob other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin 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:
getNamein interfaceDataLabelingJobOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Output only. Resource name of the DataLabelingJob.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNameBytesin interfaceDataLabelingJobOrBuilder- Returns:
- The bytes for name.
-
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:
getDisplayNamein interfaceDataLabelingJobOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()
Required. The user-defined name of the DataLabelingJob. The name can be up to 128 characters long and can consist of any UTF-8 characters. Display name of a DataLabelingJob.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDisplayNameBytesin interfaceDataLabelingJobOrBuilder- Returns:
- The bytes for displayName.
-
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:
getDatasetsListin interfaceDataLabelingJobOrBuilder- Returns:
- A list containing the datasets.
-
getDatasetsCount
public int getDatasetsCount()
Required. Dataset resource names. Right now we only support labeling from a single Dataset. Format: `projects/{project}/locations/{location}/datasets/{dataset}`repeated string datasets = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getDatasetsCountin interfaceDataLabelingJobOrBuilder- Returns:
- The count of datasets.
-
getDatasets
public String getDatasets(int index)
Required. Dataset resource names. Right now we only support labeling from a single Dataset. Format: `projects/{project}/locations/{location}/datasets/{dataset}`repeated string datasets = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getDatasetsin interfaceDataLabelingJobOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The datasets at the given index.
-
getDatasetsBytes
public com.google.protobuf.ByteString getDatasetsBytes(int index)
Required. Dataset resource names. Right now we only support labeling from a single Dataset. Format: `projects/{project}/locations/{location}/datasets/{dataset}`repeated string datasets = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getDatasetsBytesin interfaceDataLabelingJobOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the datasets at the given index.
-
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:DataLabelingJobOrBuilderLabels to assign to annotations generated by this DataLabelingJob. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable.
map<string, string> annotation_labels = 12;- Specified by:
getAnnotationLabelsCountin interfaceDataLabelingJobOrBuilder
-
containsAnnotationLabels
public boolean containsAnnotationLabels(String key)
Labels to assign to annotations generated by this DataLabelingJob. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable.
map<string, string> annotation_labels = 12;- Specified by:
containsAnnotationLabelsin interfaceDataLabelingJobOrBuilder
-
getAnnotationLabels
@Deprecated public Map<String,String> getAnnotationLabels()
Deprecated.UsegetAnnotationLabelsMap()instead.- Specified by:
getAnnotationLabelsin interfaceDataLabelingJobOrBuilder
-
getAnnotationLabelsMap
public Map<String,String> getAnnotationLabelsMap()
Labels to assign to annotations generated by this DataLabelingJob. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable.
map<string, string> annotation_labels = 12;- Specified by:
getAnnotationLabelsMapin interfaceDataLabelingJobOrBuilder
-
getAnnotationLabelsOrDefault
public String getAnnotationLabelsOrDefault(String key, String defaultValue)
Labels to assign to annotations generated by this DataLabelingJob. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable.
map<string, string> annotation_labels = 12;- Specified by:
getAnnotationLabelsOrDefaultin interfaceDataLabelingJobOrBuilder
-
getAnnotationLabelsOrThrow
public String getAnnotationLabelsOrThrow(String key)
Labels to assign to annotations generated by this DataLabelingJob. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable.
map<string, string> annotation_labels = 12;- Specified by:
getAnnotationLabelsOrThrowin interfaceDataLabelingJobOrBuilder
-
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:
getLabelerCountin 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:
getInstructionUriin interfaceDataLabelingJobOrBuilder- Returns:
- The instructionUri.
-
getInstructionUriBytes
public com.google.protobuf.ByteString getInstructionUriBytes()
Required. The Google Cloud Storage location of the instruction pdf. This pdf is shared with labelers, and provides detailed description on how to label DataItems in Datasets.
string instruction_uri = 5 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getInstructionUriBytesin interfaceDataLabelingJobOrBuilder- Returns:
- The bytes for instructionUri.
-
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:
getInputsSchemaUriin interfaceDataLabelingJobOrBuilder- Returns:
- The inputsSchemaUri.
-
getInputsSchemaUriBytes
public com.google.protobuf.ByteString getInputsSchemaUriBytes()
Required. Points to a YAML file stored on Google Cloud Storage describing the config for a specific type of DataLabelingJob. The schema files that can be used here are found in the https://storage.googleapis.com/google-cloud-aiplatform bucket in the /schema/datalabelingjob/inputs/ folder.
string inputs_schema_uri = 6 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getInputsSchemaUriBytesin interfaceDataLabelingJobOrBuilder- Returns:
- The bytes for inputsSchemaUri.
-
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:
hasInputsin interfaceDataLabelingJobOrBuilder- Returns:
- Whether the inputs field is set.
-
getInputs
public com.google.protobuf.Value getInputs()
Required. Input config parameters for the DataLabelingJob.
.google.protobuf.Value inputs = 7 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getInputsin interfaceDataLabelingJobOrBuilder- Returns:
- The inputs.
-
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:
getInputsOrBuilderin 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:
getStateValuein 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:
getStatein 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:
getLabelingProgressin 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:
hasCurrentSpendin interfaceDataLabelingJobOrBuilder- Returns:
- Whether the currentSpend field is set.
-
getCurrentSpend
public com.google.type.Money getCurrentSpend()
Output only. Estimated cost(in US dollars) that the DataLabelingJob has incurred to date.
.google.type.Money current_spend = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCurrentSpendin interfaceDataLabelingJobOrBuilder- Returns:
- The currentSpend.
-
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:
getCurrentSpendOrBuilderin interfaceDataLabelingJobOrBuilder
-
hasCreateTime
public boolean hasCreateTime()
Output only. Timestamp when this DataLabelingJob was created.
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceDataLabelingJobOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Output only. Timestamp when this DataLabelingJob was created.
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceDataLabelingJobOrBuilder- Returns:
- The createTime.
-
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:
getCreateTimeOrBuilderin interfaceDataLabelingJobOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()
Output only. Timestamp when this DataLabelingJob was updated most recently.
.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceDataLabelingJobOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()
Output only. Timestamp when this DataLabelingJob was updated most recently.
.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceDataLabelingJobOrBuilder- Returns:
- The updateTime.
-
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:
getUpdateTimeOrBuilderin interfaceDataLabelingJobOrBuilder
-
hasError
public boolean hasError()
Output only. DataLabelingJob errors. It is only populated when job's state is `JOB_STATE_FAILED` or `JOB_STATE_CANCELLED`.
.google.rpc.Status error = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasErrorin interfaceDataLabelingJobOrBuilder- Returns:
- Whether the error field is set.
-
getError
public com.google.rpc.Status getError()
Output only. DataLabelingJob errors. It is only populated when job's state is `JOB_STATE_FAILED` or `JOB_STATE_CANCELLED`.
.google.rpc.Status error = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getErrorin interfaceDataLabelingJobOrBuilder- Returns:
- The error.
-
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:
getErrorOrBuilderin interfaceDataLabelingJobOrBuilder
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:DataLabelingJobOrBuilderThe labels with user-defined metadata to organize your DataLabelingJobs. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable. Following system labels exist for each DataLabelingJob: * "aiplatform.googleapis.com/schema": output only, its value is the [inputs_schema][google.cloud.aiplatform.v1.DataLabelingJob.inputs_schema_uri]'s title.
map<string, string> labels = 11;- Specified by:
getLabelsCountin interfaceDataLabelingJobOrBuilder
-
containsLabels
public boolean containsLabels(String key)
The labels with user-defined metadata to organize your DataLabelingJobs. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable. Following system labels exist for each DataLabelingJob: * "aiplatform.googleapis.com/schema": output only, its value is the [inputs_schema][google.cloud.aiplatform.v1.DataLabelingJob.inputs_schema_uri]'s title.
map<string, string> labels = 11;- Specified by:
containsLabelsin interfaceDataLabelingJobOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceDataLabelingJobOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
The labels with user-defined metadata to organize your DataLabelingJobs. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable. Following system labels exist for each DataLabelingJob: * "aiplatform.googleapis.com/schema": output only, its value is the [inputs_schema][google.cloud.aiplatform.v1.DataLabelingJob.inputs_schema_uri]'s title.
map<string, string> labels = 11;- Specified by:
getLabelsMapin interfaceDataLabelingJobOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
The labels with user-defined metadata to organize your DataLabelingJobs. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable. Following system labels exist for each DataLabelingJob: * "aiplatform.googleapis.com/schema": output only, its value is the [inputs_schema][google.cloud.aiplatform.v1.DataLabelingJob.inputs_schema_uri]'s title.
map<string, string> labels = 11;- Specified by:
getLabelsOrDefaultin interfaceDataLabelingJobOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
The labels with user-defined metadata to organize your DataLabelingJobs. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable. Following system labels exist for each DataLabelingJob: * "aiplatform.googleapis.com/schema": output only, its value is the [inputs_schema][google.cloud.aiplatform.v1.DataLabelingJob.inputs_schema_uri]'s title.
map<string, string> labels = 11;- Specified by:
getLabelsOrThrowin 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:
getSpecialistPoolsListin interfaceDataLabelingJobOrBuilder- Returns:
- A list containing the specialistPools.
-
getSpecialistPoolsCount
public int getSpecialistPoolsCount()
The SpecialistPools' resource names associated with this job.
repeated string specialist_pools = 16;- Specified by:
getSpecialistPoolsCountin interfaceDataLabelingJobOrBuilder- Returns:
- The count of specialistPools.
-
getSpecialistPools
public String getSpecialistPools(int index)
The SpecialistPools' resource names associated with this job.
repeated string specialist_pools = 16;- Specified by:
getSpecialistPoolsin interfaceDataLabelingJobOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The specialistPools at the given index.
-
getSpecialistPoolsBytes
public com.google.protobuf.ByteString getSpecialistPoolsBytes(int index)
The SpecialistPools' resource names associated with this job.
repeated string specialist_pools = 16;- Specified by:
getSpecialistPoolsBytesin interfaceDataLabelingJobOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the specialistPools at the given index.
-
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:
hasEncryptionSpecin interfaceDataLabelingJobOrBuilder- Returns:
- Whether the encryptionSpec field is set.
-
getEncryptionSpec
public EncryptionSpec getEncryptionSpec()
Customer-managed encryption key spec for a DataLabelingJob. If set, this DataLabelingJob will be secured by this key. Note: Annotations created in the DataLabelingJob are associated with the EncryptionSpec of the Dataset they are exported to.
.google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 20;- Specified by:
getEncryptionSpecin 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:
getEncryptionSpecOrBuilderin interfaceDataLabelingJobOrBuilder
-
hasActiveLearningConfig
public boolean hasActiveLearningConfig()
Parameters that configure the active learning pipeline. Active learning will label the data incrementally via several iterations. For every iteration, it will select a batch of data based on the sampling strategy.
.google.cloud.aiplatform.v1.ActiveLearningConfig active_learning_config = 21;- Specified by:
hasActiveLearningConfigin interfaceDataLabelingJobOrBuilder- Returns:
- Whether the activeLearningConfig field is set.
-
getActiveLearningConfig
public ActiveLearningConfig getActiveLearningConfig()
Parameters that configure the active learning pipeline. Active learning will label the data incrementally via several iterations. For every iteration, it will select a batch of data based on the sampling strategy.
.google.cloud.aiplatform.v1.ActiveLearningConfig active_learning_config = 21;- Specified by:
getActiveLearningConfigin 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:
getActiveLearningConfigOrBuilderin interfaceDataLabelingJobOrBuilder
-
setUnknownFields
public final DataLabelingJob.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DataLabelingJob.Builder>
-
mergeUnknownFields
public final DataLabelingJob.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DataLabelingJob.Builder>
-
-