Enum EvaluationJob.State
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<EvaluationJob.State>
- Enclosing class:
- EvaluationJob
public static enum EvaluationJob.State
extends Enum<EvaluationJob.State>
implements com.google.protobuf.ProtocolMessageEnum
State of the job.Protobuf enum
google.cloud.datalabeling.v1beta1.EvaluationJob.State-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe job is not sampling prediction input and output into your BigQuery table and it will not run according to its schedule.The job is currently running.The job is scheduled to run at the [configured interval][google.cloud.datalabeling.v1beta1.EvaluationJob.schedule].STATE_UNSPECIFIED = 0;The job has this state right before it is deleted. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe job is not sampling prediction input and output into your BigQuery table and it will not run according to its schedule.static final intThe job is currently running.static final intThe job is scheduled to run at the [configured interval][google.cloud.datalabeling.v1beta1.EvaluationJob.schedule].static final intSTATE_UNSPECIFIED = 0;static final intThe job has this state right before it is deleted. -
Method Summary
Modifier and TypeMethodDescriptionstatic EvaluationJob.StateforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<EvaluationJob.State>static EvaluationJob.StatevalueOf(int value) Deprecated.static EvaluationJob.StatevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static EvaluationJob.StateReturns the enum constant of this type with the specified name.static EvaluationJob.State[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
STATE_UNSPECIFIED
STATE_UNSPECIFIED = 0; -
SCHEDULED
The job is scheduled to run at the [configured interval][google.cloud.datalabeling.v1beta1.EvaluationJob.schedule]. You can [pause][google.cloud.datalabeling.v1beta1.DataLabelingService.PauseEvaluationJob] or [delete][google.cloud.datalabeling.v1beta1.DataLabelingService.DeleteEvaluationJob] the job. When the job is in this state, it samples prediction input and output from your model version into your BigQuery table as predictions occur.
SCHEDULED = 1; -
RUNNING
The job is currently running. When the job runs, Data Labeling Service does several things: 1. If you have configured your job to use Data Labeling Service for ground truth labeling, the service creates a [Dataset][google.cloud.datalabeling.v1beta1.Dataset] and a labeling task for all data sampled since the last time the job ran. Human labelers provide ground truth labels for your data. Human labeling may take hours, or even days, depending on how much data has been sampled. The job remains in the `RUNNING` state during this time, and it can even be running multiple times in parallel if it gets triggered again (for example 24 hours later) before the earlier run has completed. When human labelers have finished labeling the data, the next step occurs. <br><br> If you have configured your job to provide your own ground truth labels, Data Labeling Service still creates a [Dataset][google.cloud.datalabeling.v1beta1.Dataset] for newly sampled data, but it expects that you have already added ground truth labels to the BigQuery table by this time. The next step occurs immediately. 2. Data Labeling Service creates an [Evaluation][google.cloud.datalabeling.v1beta1.Evaluation] by comparing your model version's predictions with the ground truth labels. If the job remains in this state for a long time, it continues to sample prediction data into your BigQuery table and will run again at the next interval, even if it causes the job to run multiple times in parallel.
RUNNING = 2; -
PAUSED
The job is not sampling prediction input and output into your BigQuery table and it will not run according to its schedule. You can [resume][google.cloud.datalabeling.v1beta1.DataLabelingService.ResumeEvaluationJob] the job.
PAUSED = 3; -
STOPPED
The job has this state right before it is deleted.
STOPPED = 4; -
UNRECOGNIZED
-
-
Field Details
-
STATE_UNSPECIFIED_VALUE
public static final int STATE_UNSPECIFIED_VALUESTATE_UNSPECIFIED = 0;- See Also:
-
SCHEDULED_VALUE
public static final int SCHEDULED_VALUEThe job is scheduled to run at the [configured interval][google.cloud.datalabeling.v1beta1.EvaluationJob.schedule]. You can [pause][google.cloud.datalabeling.v1beta1.DataLabelingService.PauseEvaluationJob] or [delete][google.cloud.datalabeling.v1beta1.DataLabelingService.DeleteEvaluationJob] the job. When the job is in this state, it samples prediction input and output from your model version into your BigQuery table as predictions occur.
SCHEDULED = 1;- See Also:
-
RUNNING_VALUE
public static final int RUNNING_VALUEThe job is currently running. When the job runs, Data Labeling Service does several things: 1. If you have configured your job to use Data Labeling Service for ground truth labeling, the service creates a [Dataset][google.cloud.datalabeling.v1beta1.Dataset] and a labeling task for all data sampled since the last time the job ran. Human labelers provide ground truth labels for your data. Human labeling may take hours, or even days, depending on how much data has been sampled. The job remains in the `RUNNING` state during this time, and it can even be running multiple times in parallel if it gets triggered again (for example 24 hours later) before the earlier run has completed. When human labelers have finished labeling the data, the next step occurs. <br><br> If you have configured your job to provide your own ground truth labels, Data Labeling Service still creates a [Dataset][google.cloud.datalabeling.v1beta1.Dataset] for newly sampled data, but it expects that you have already added ground truth labels to the BigQuery table by this time. The next step occurs immediately. 2. Data Labeling Service creates an [Evaluation][google.cloud.datalabeling.v1beta1.Evaluation] by comparing your model version's predictions with the ground truth labels. If the job remains in this state for a long time, it continues to sample prediction data into your BigQuery table and will run again at the next interval, even if it causes the job to run multiple times in parallel.
RUNNING = 2;- See Also:
-
PAUSED_VALUE
public static final int PAUSED_VALUEThe job is not sampling prediction input and output into your BigQuery table and it will not run according to its schedule. You can [resume][google.cloud.datalabeling.v1beta1.DataLabelingService.ResumeEvaluationJob] the job.
PAUSED = 3;- See Also:
-
STOPPED_VALUE
public static final int STOPPED_VALUEThe job has this state right before it is deleted.
STOPPED = 4;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-