Class EvaluationJob.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<EvaluationJob.Builder>
-
- com.google.cloud.datalabeling.v1beta1.EvaluationJob.Builder
-
- All Implemented Interfaces:
EvaluationJobOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- EvaluationJob
public static final class EvaluationJob.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<EvaluationJob.Builder> implements EvaluationJobOrBuilder
Defines an evaluation job that runs periodically to generate [Evaluations][google.cloud.datalabeling.v1beta1.Evaluation]. [Creating an evaluation job](/ml-engine/docs/continuous-evaluation/create-job) is the starting point for using continuous evaluation.
Protobuf typegoogle.cloud.datalabeling.v1beta1.EvaluationJob
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, 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()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<EvaluationJob.Builder>
-
clear
public EvaluationJob.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<EvaluationJob.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<EvaluationJob.Builder>
-
getDefaultInstanceForType
public EvaluationJob getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public EvaluationJob build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public EvaluationJob buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public EvaluationJob.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<EvaluationJob.Builder>
-
setField
public EvaluationJob.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<EvaluationJob.Builder>
-
clearField
public EvaluationJob.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<EvaluationJob.Builder>
-
clearOneof
public EvaluationJob.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<EvaluationJob.Builder>
-
setRepeatedField
public EvaluationJob.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<EvaluationJob.Builder>
-
addRepeatedField
public EvaluationJob.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<EvaluationJob.Builder>
-
mergeFrom
public EvaluationJob.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<EvaluationJob.Builder>
-
mergeFrom
public EvaluationJob.Builder mergeFrom(EvaluationJob other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<EvaluationJob.Builder>
-
mergeFrom
public EvaluationJob.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<EvaluationJob.Builder>- Throws:
IOException
-
getName
public String getName()
Output only. After you create a job, Data Labeling Service assigns a name to the job with the following format: "projects/<var>{project_id}</var>/evaluationJobs/<var>{evaluation_job_id}</var>"string name = 1;- Specified by:
getNamein interfaceEvaluationJobOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Output only. After you create a job, Data Labeling Service assigns a name to the job with the following format: "projects/<var>{project_id}</var>/evaluationJobs/<var>{evaluation_job_id}</var>"string name = 1;- Specified by:
getNameBytesin interfaceEvaluationJobOrBuilder- Returns:
- The bytes for name.
-
setName
public EvaluationJob.Builder setName(String value)
Output only. After you create a job, Data Labeling Service assigns a name to the job with the following format: "projects/<var>{project_id}</var>/evaluationJobs/<var>{evaluation_job_id}</var>"string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public EvaluationJob.Builder clearName()
Output only. After you create a job, Data Labeling Service assigns a name to the job with the following format: "projects/<var>{project_id}</var>/evaluationJobs/<var>{evaluation_job_id}</var>"string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
public EvaluationJob.Builder setNameBytes(com.google.protobuf.ByteString value)
Output only. After you create a job, Data Labeling Service assigns a name to the job with the following format: "projects/<var>{project_id}</var>/evaluationJobs/<var>{evaluation_job_id}</var>"string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDescription
public String getDescription()
Required. Description of the job. The description can be up to 25,000 characters long.
string description = 2;- Specified by:
getDescriptionin interfaceEvaluationJobOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
Required. Description of the job. The description can be up to 25,000 characters long.
string description = 2;- Specified by:
getDescriptionBytesin interfaceEvaluationJobOrBuilder- Returns:
- The bytes for description.
-
setDescription
public EvaluationJob.Builder setDescription(String value)
Required. Description of the job. The description can be up to 25,000 characters long.
string description = 2;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
public EvaluationJob.Builder clearDescription()
Required. Description of the job. The description can be up to 25,000 characters long.
string description = 2;- Returns:
- This builder for chaining.
-
setDescriptionBytes
public EvaluationJob.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
Required. Description of the job. The description can be up to 25,000 characters long.
string description = 2;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
getStateValue
public int getStateValue()
Output only. Describes the current state of the job.
.google.cloud.datalabeling.v1beta1.EvaluationJob.State state = 3;- Specified by:
getStateValuein interfaceEvaluationJobOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
public EvaluationJob.Builder setStateValue(int value)
Output only. Describes the current state of the job.
.google.cloud.datalabeling.v1beta1.EvaluationJob.State state = 3;- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
public EvaluationJob.State getState()
Output only. Describes the current state of the job.
.google.cloud.datalabeling.v1beta1.EvaluationJob.State state = 3;- Specified by:
getStatein interfaceEvaluationJobOrBuilder- Returns:
- The state.
-
setState
public EvaluationJob.Builder setState(EvaluationJob.State value)
Output only. Describes the current state of the job.
.google.cloud.datalabeling.v1beta1.EvaluationJob.State state = 3;- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
public EvaluationJob.Builder clearState()
Output only. Describes the current state of the job.
.google.cloud.datalabeling.v1beta1.EvaluationJob.State state = 3;- Returns:
- This builder for chaining.
-
getSchedule
public String getSchedule()
Required. Describes the interval at which the job runs. This interval must be at least 1 day, and it is rounded to the nearest day. For example, if you specify a 50-hour interval, the job runs every 2 days. You can provide the schedule in [crontab format](/scheduler/docs/configuring/cron-job-schedules) or in an [English-like format](/appengine/docs/standard/python/config/cronref#schedule_format). Regardless of what you specify, the job will run at 10:00 AM UTC. Only the interval from this schedule is used, not the specific time of day.
string schedule = 4;- Specified by:
getSchedulein interfaceEvaluationJobOrBuilder- Returns:
- The schedule.
-
getScheduleBytes
public com.google.protobuf.ByteString getScheduleBytes()
Required. Describes the interval at which the job runs. This interval must be at least 1 day, and it is rounded to the nearest day. For example, if you specify a 50-hour interval, the job runs every 2 days. You can provide the schedule in [crontab format](/scheduler/docs/configuring/cron-job-schedules) or in an [English-like format](/appengine/docs/standard/python/config/cronref#schedule_format). Regardless of what you specify, the job will run at 10:00 AM UTC. Only the interval from this schedule is used, not the specific time of day.
string schedule = 4;- Specified by:
getScheduleBytesin interfaceEvaluationJobOrBuilder- Returns:
- The bytes for schedule.
-
setSchedule
public EvaluationJob.Builder setSchedule(String value)
Required. Describes the interval at which the job runs. This interval must be at least 1 day, and it is rounded to the nearest day. For example, if you specify a 50-hour interval, the job runs every 2 days. You can provide the schedule in [crontab format](/scheduler/docs/configuring/cron-job-schedules) or in an [English-like format](/appengine/docs/standard/python/config/cronref#schedule_format). Regardless of what you specify, the job will run at 10:00 AM UTC. Only the interval from this schedule is used, not the specific time of day.
string schedule = 4;- Parameters:
value- The schedule to set.- Returns:
- This builder for chaining.
-
clearSchedule
public EvaluationJob.Builder clearSchedule()
Required. Describes the interval at which the job runs. This interval must be at least 1 day, and it is rounded to the nearest day. For example, if you specify a 50-hour interval, the job runs every 2 days. You can provide the schedule in [crontab format](/scheduler/docs/configuring/cron-job-schedules) or in an [English-like format](/appengine/docs/standard/python/config/cronref#schedule_format). Regardless of what you specify, the job will run at 10:00 AM UTC. Only the interval from this schedule is used, not the specific time of day.
string schedule = 4;- Returns:
- This builder for chaining.
-
setScheduleBytes
public EvaluationJob.Builder setScheduleBytes(com.google.protobuf.ByteString value)
Required. Describes the interval at which the job runs. This interval must be at least 1 day, and it is rounded to the nearest day. For example, if you specify a 50-hour interval, the job runs every 2 days. You can provide the schedule in [crontab format](/scheduler/docs/configuring/cron-job-schedules) or in an [English-like format](/appengine/docs/standard/python/config/cronref#schedule_format). Regardless of what you specify, the job will run at 10:00 AM UTC. Only the interval from this schedule is used, not the specific time of day.
string schedule = 4;- Parameters:
value- The bytes for schedule to set.- Returns:
- This builder for chaining.
-
getModelVersion
public String getModelVersion()
Required. The [AI Platform Prediction model version](/ml-engine/docs/prediction-overview) to be evaluated. Prediction input and output is sampled from this model version. When creating an evaluation job, specify the model version in the following format: "projects/<var>{project_id}</var>/models/<var>{model_name}</var>/versions/<var>{version_name}</var>" There can only be one evaluation job per model version.string model_version = 5;- Specified by:
getModelVersionin interfaceEvaluationJobOrBuilder- Returns:
- The modelVersion.
-
getModelVersionBytes
public com.google.protobuf.ByteString getModelVersionBytes()
Required. The [AI Platform Prediction model version](/ml-engine/docs/prediction-overview) to be evaluated. Prediction input and output is sampled from this model version. When creating an evaluation job, specify the model version in the following format: "projects/<var>{project_id}</var>/models/<var>{model_name}</var>/versions/<var>{version_name}</var>" There can only be one evaluation job per model version.string model_version = 5;- Specified by:
getModelVersionBytesin interfaceEvaluationJobOrBuilder- Returns:
- The bytes for modelVersion.
-
setModelVersion
public EvaluationJob.Builder setModelVersion(String value)
Required. The [AI Platform Prediction model version](/ml-engine/docs/prediction-overview) to be evaluated. Prediction input and output is sampled from this model version. When creating an evaluation job, specify the model version in the following format: "projects/<var>{project_id}</var>/models/<var>{model_name}</var>/versions/<var>{version_name}</var>" There can only be one evaluation job per model version.string model_version = 5;- Parameters:
value- The modelVersion to set.- Returns:
- This builder for chaining.
-
clearModelVersion
public EvaluationJob.Builder clearModelVersion()
Required. The [AI Platform Prediction model version](/ml-engine/docs/prediction-overview) to be evaluated. Prediction input and output is sampled from this model version. When creating an evaluation job, specify the model version in the following format: "projects/<var>{project_id}</var>/models/<var>{model_name}</var>/versions/<var>{version_name}</var>" There can only be one evaluation job per model version.string model_version = 5;- Returns:
- This builder for chaining.
-
setModelVersionBytes
public EvaluationJob.Builder setModelVersionBytes(com.google.protobuf.ByteString value)
Required. The [AI Platform Prediction model version](/ml-engine/docs/prediction-overview) to be evaluated. Prediction input and output is sampled from this model version. When creating an evaluation job, specify the model version in the following format: "projects/<var>{project_id}</var>/models/<var>{model_name}</var>/versions/<var>{version_name}</var>" There can only be one evaluation job per model version.string model_version = 5;- Parameters:
value- The bytes for modelVersion to set.- Returns:
- This builder for chaining.
-
hasEvaluationJobConfig
public boolean hasEvaluationJobConfig()
Required. Configuration details for the evaluation job.
.google.cloud.datalabeling.v1beta1.EvaluationJobConfig evaluation_job_config = 6;- Specified by:
hasEvaluationJobConfigin interfaceEvaluationJobOrBuilder- Returns:
- Whether the evaluationJobConfig field is set.
-
getEvaluationJobConfig
public EvaluationJobConfig getEvaluationJobConfig()
Required. Configuration details for the evaluation job.
.google.cloud.datalabeling.v1beta1.EvaluationJobConfig evaluation_job_config = 6;- Specified by:
getEvaluationJobConfigin interfaceEvaluationJobOrBuilder- Returns:
- The evaluationJobConfig.
-
setEvaluationJobConfig
public EvaluationJob.Builder setEvaluationJobConfig(EvaluationJobConfig value)
Required. Configuration details for the evaluation job.
.google.cloud.datalabeling.v1beta1.EvaluationJobConfig evaluation_job_config = 6;
-
setEvaluationJobConfig
public EvaluationJob.Builder setEvaluationJobConfig(EvaluationJobConfig.Builder builderForValue)
Required. Configuration details for the evaluation job.
.google.cloud.datalabeling.v1beta1.EvaluationJobConfig evaluation_job_config = 6;
-
mergeEvaluationJobConfig
public EvaluationJob.Builder mergeEvaluationJobConfig(EvaluationJobConfig value)
Required. Configuration details for the evaluation job.
.google.cloud.datalabeling.v1beta1.EvaluationJobConfig evaluation_job_config = 6;
-
clearEvaluationJobConfig
public EvaluationJob.Builder clearEvaluationJobConfig()
Required. Configuration details for the evaluation job.
.google.cloud.datalabeling.v1beta1.EvaluationJobConfig evaluation_job_config = 6;
-
getEvaluationJobConfigBuilder
public EvaluationJobConfig.Builder getEvaluationJobConfigBuilder()
Required. Configuration details for the evaluation job.
.google.cloud.datalabeling.v1beta1.EvaluationJobConfig evaluation_job_config = 6;
-
getEvaluationJobConfigOrBuilder
public EvaluationJobConfigOrBuilder getEvaluationJobConfigOrBuilder()
Required. Configuration details for the evaluation job.
.google.cloud.datalabeling.v1beta1.EvaluationJobConfig evaluation_job_config = 6;- Specified by:
getEvaluationJobConfigOrBuilderin interfaceEvaluationJobOrBuilder
-
getAnnotationSpecSet
public String getAnnotationSpecSet()
Required. Name of the [AnnotationSpecSet][google.cloud.datalabeling.v1beta1.AnnotationSpecSet] describing all the labels that your machine learning model outputs. You must create this resource before you create an evaluation job and provide its name in the following format: "projects/<var>{project_id}</var>/annotationSpecSets/<var>{annotation_spec_set_id}</var>"string annotation_spec_set = 7;- Specified by:
getAnnotationSpecSetin interfaceEvaluationJobOrBuilder- Returns:
- The annotationSpecSet.
-
getAnnotationSpecSetBytes
public com.google.protobuf.ByteString getAnnotationSpecSetBytes()
Required. Name of the [AnnotationSpecSet][google.cloud.datalabeling.v1beta1.AnnotationSpecSet] describing all the labels that your machine learning model outputs. You must create this resource before you create an evaluation job and provide its name in the following format: "projects/<var>{project_id}</var>/annotationSpecSets/<var>{annotation_spec_set_id}</var>"string annotation_spec_set = 7;- Specified by:
getAnnotationSpecSetBytesin interfaceEvaluationJobOrBuilder- Returns:
- The bytes for annotationSpecSet.
-
setAnnotationSpecSet
public EvaluationJob.Builder setAnnotationSpecSet(String value)
Required. Name of the [AnnotationSpecSet][google.cloud.datalabeling.v1beta1.AnnotationSpecSet] describing all the labels that your machine learning model outputs. You must create this resource before you create an evaluation job and provide its name in the following format: "projects/<var>{project_id}</var>/annotationSpecSets/<var>{annotation_spec_set_id}</var>"string annotation_spec_set = 7;- Parameters:
value- The annotationSpecSet to set.- Returns:
- This builder for chaining.
-
clearAnnotationSpecSet
public EvaluationJob.Builder clearAnnotationSpecSet()
Required. Name of the [AnnotationSpecSet][google.cloud.datalabeling.v1beta1.AnnotationSpecSet] describing all the labels that your machine learning model outputs. You must create this resource before you create an evaluation job and provide its name in the following format: "projects/<var>{project_id}</var>/annotationSpecSets/<var>{annotation_spec_set_id}</var>"string annotation_spec_set = 7;- Returns:
- This builder for chaining.
-
setAnnotationSpecSetBytes
public EvaluationJob.Builder setAnnotationSpecSetBytes(com.google.protobuf.ByteString value)
Required. Name of the [AnnotationSpecSet][google.cloud.datalabeling.v1beta1.AnnotationSpecSet] describing all the labels that your machine learning model outputs. You must create this resource before you create an evaluation job and provide its name in the following format: "projects/<var>{project_id}</var>/annotationSpecSets/<var>{annotation_spec_set_id}</var>"string annotation_spec_set = 7;- Parameters:
value- The bytes for annotationSpecSet to set.- Returns:
- This builder for chaining.
-
getLabelMissingGroundTruth
public boolean getLabelMissingGroundTruth()
Required. Whether you want Data Labeling Service to provide ground truth labels for prediction input. If you want the service to assign human labelers to annotate your data, set this to `true`. If you want to provide your own ground truth labels in the evaluation job's BigQuery table, set this to `false`.
bool label_missing_ground_truth = 8;- Specified by:
getLabelMissingGroundTruthin interfaceEvaluationJobOrBuilder- Returns:
- The labelMissingGroundTruth.
-
setLabelMissingGroundTruth
public EvaluationJob.Builder setLabelMissingGroundTruth(boolean value)
Required. Whether you want Data Labeling Service to provide ground truth labels for prediction input. If you want the service to assign human labelers to annotate your data, set this to `true`. If you want to provide your own ground truth labels in the evaluation job's BigQuery table, set this to `false`.
bool label_missing_ground_truth = 8;- Parameters:
value- The labelMissingGroundTruth to set.- Returns:
- This builder for chaining.
-
clearLabelMissingGroundTruth
public EvaluationJob.Builder clearLabelMissingGroundTruth()
Required. Whether you want Data Labeling Service to provide ground truth labels for prediction input. If you want the service to assign human labelers to annotate your data, set this to `true`. If you want to provide your own ground truth labels in the evaluation job's BigQuery table, set this to `false`.
bool label_missing_ground_truth = 8;- Returns:
- This builder for chaining.
-
getAttemptsList
public List<Attempt> getAttemptsList()
Output only. Every time the evaluation job runs and an error occurs, the failed attempt is appended to this array.
repeated .google.cloud.datalabeling.v1beta1.Attempt attempts = 9;- Specified by:
getAttemptsListin interfaceEvaluationJobOrBuilder
-
getAttemptsCount
public int getAttemptsCount()
Output only. Every time the evaluation job runs and an error occurs, the failed attempt is appended to this array.
repeated .google.cloud.datalabeling.v1beta1.Attempt attempts = 9;- Specified by:
getAttemptsCountin interfaceEvaluationJobOrBuilder
-
getAttempts
public Attempt getAttempts(int index)
Output only. Every time the evaluation job runs and an error occurs, the failed attempt is appended to this array.
repeated .google.cloud.datalabeling.v1beta1.Attempt attempts = 9;- Specified by:
getAttemptsin interfaceEvaluationJobOrBuilder
-
setAttempts
public EvaluationJob.Builder setAttempts(int index, Attempt value)
Output only. Every time the evaluation job runs and an error occurs, the failed attempt is appended to this array.
repeated .google.cloud.datalabeling.v1beta1.Attempt attempts = 9;
-
setAttempts
public EvaluationJob.Builder setAttempts(int index, Attempt.Builder builderForValue)
Output only. Every time the evaluation job runs and an error occurs, the failed attempt is appended to this array.
repeated .google.cloud.datalabeling.v1beta1.Attempt attempts = 9;
-
addAttempts
public EvaluationJob.Builder addAttempts(Attempt value)
Output only. Every time the evaluation job runs and an error occurs, the failed attempt is appended to this array.
repeated .google.cloud.datalabeling.v1beta1.Attempt attempts = 9;
-
addAttempts
public EvaluationJob.Builder addAttempts(int index, Attempt value)
Output only. Every time the evaluation job runs and an error occurs, the failed attempt is appended to this array.
repeated .google.cloud.datalabeling.v1beta1.Attempt attempts = 9;
-
addAttempts
public EvaluationJob.Builder addAttempts(Attempt.Builder builderForValue)
Output only. Every time the evaluation job runs and an error occurs, the failed attempt is appended to this array.
repeated .google.cloud.datalabeling.v1beta1.Attempt attempts = 9;
-
addAttempts
public EvaluationJob.Builder addAttempts(int index, Attempt.Builder builderForValue)
Output only. Every time the evaluation job runs and an error occurs, the failed attempt is appended to this array.
repeated .google.cloud.datalabeling.v1beta1.Attempt attempts = 9;
-
addAllAttempts
public EvaluationJob.Builder addAllAttempts(Iterable<? extends Attempt> values)
Output only. Every time the evaluation job runs and an error occurs, the failed attempt is appended to this array.
repeated .google.cloud.datalabeling.v1beta1.Attempt attempts = 9;
-
clearAttempts
public EvaluationJob.Builder clearAttempts()
Output only. Every time the evaluation job runs and an error occurs, the failed attempt is appended to this array.
repeated .google.cloud.datalabeling.v1beta1.Attempt attempts = 9;
-
removeAttempts
public EvaluationJob.Builder removeAttempts(int index)
Output only. Every time the evaluation job runs and an error occurs, the failed attempt is appended to this array.
repeated .google.cloud.datalabeling.v1beta1.Attempt attempts = 9;
-
getAttemptsBuilder
public Attempt.Builder getAttemptsBuilder(int index)
Output only. Every time the evaluation job runs and an error occurs, the failed attempt is appended to this array.
repeated .google.cloud.datalabeling.v1beta1.Attempt attempts = 9;
-
getAttemptsOrBuilder
public AttemptOrBuilder getAttemptsOrBuilder(int index)
Output only. Every time the evaluation job runs and an error occurs, the failed attempt is appended to this array.
repeated .google.cloud.datalabeling.v1beta1.Attempt attempts = 9;- Specified by:
getAttemptsOrBuilderin interfaceEvaluationJobOrBuilder
-
getAttemptsOrBuilderList
public List<? extends AttemptOrBuilder> getAttemptsOrBuilderList()
Output only. Every time the evaluation job runs and an error occurs, the failed attempt is appended to this array.
repeated .google.cloud.datalabeling.v1beta1.Attempt attempts = 9;- Specified by:
getAttemptsOrBuilderListin interfaceEvaluationJobOrBuilder
-
addAttemptsBuilder
public Attempt.Builder addAttemptsBuilder()
Output only. Every time the evaluation job runs and an error occurs, the failed attempt is appended to this array.
repeated .google.cloud.datalabeling.v1beta1.Attempt attempts = 9;
-
addAttemptsBuilder
public Attempt.Builder addAttemptsBuilder(int index)
Output only. Every time the evaluation job runs and an error occurs, the failed attempt is appended to this array.
repeated .google.cloud.datalabeling.v1beta1.Attempt attempts = 9;
-
getAttemptsBuilderList
public List<Attempt.Builder> getAttemptsBuilderList()
Output only. Every time the evaluation job runs and an error occurs, the failed attempt is appended to this array.
repeated .google.cloud.datalabeling.v1beta1.Attempt attempts = 9;
-
hasCreateTime
public boolean hasCreateTime()
Output only. Timestamp of when this evaluation job was created.
.google.protobuf.Timestamp create_time = 10;- Specified by:
hasCreateTimein interfaceEvaluationJobOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Output only. Timestamp of when this evaluation job was created.
.google.protobuf.Timestamp create_time = 10;- Specified by:
getCreateTimein interfaceEvaluationJobOrBuilder- Returns:
- The createTime.
-
setCreateTime
public EvaluationJob.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. Timestamp of when this evaluation job was created.
.google.protobuf.Timestamp create_time = 10;
-
setCreateTime
public EvaluationJob.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Timestamp of when this evaluation job was created.
.google.protobuf.Timestamp create_time = 10;
-
mergeCreateTime
public EvaluationJob.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. Timestamp of when this evaluation job was created.
.google.protobuf.Timestamp create_time = 10;
-
clearCreateTime
public EvaluationJob.Builder clearCreateTime()
Output only. Timestamp of when this evaluation job was created.
.google.protobuf.Timestamp create_time = 10;
-
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. Timestamp of when this evaluation job was created.
.google.protobuf.Timestamp create_time = 10;
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Timestamp of when this evaluation job was created.
.google.protobuf.Timestamp create_time = 10;- Specified by:
getCreateTimeOrBuilderin interfaceEvaluationJobOrBuilder
-
setUnknownFields
public final EvaluationJob.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<EvaluationJob.Builder>
-
mergeUnknownFields
public final EvaluationJob.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<EvaluationJob.Builder>
-
-