Enum EvaluationJob.State

java.lang.Object
java.lang.Enum<EvaluationJob.State>
com.google.cloud.datalabeling.v1beta1.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 Details

    • STATE_UNSPECIFIED

      public static final EvaluationJob.State STATE_UNSPECIFIED
      STATE_UNSPECIFIED = 0;
    • SCHEDULED

      public static final EvaluationJob.State 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

      public static final EvaluationJob.State 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

      public static final EvaluationJob.State 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

      public static final EvaluationJob.State STOPPED
       The job has this state right before it is deleted.
       
      STOPPED = 4;
    • UNRECOGNIZED

      public static final EvaluationJob.State UNRECOGNIZED
  • Field Details

    • STATE_UNSPECIFIED_VALUE

      public static final int STATE_UNSPECIFIED_VALUE
      STATE_UNSPECIFIED = 0;
      See Also:
    • SCHEDULED_VALUE

      public static final int SCHEDULED_VALUE
       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;
      See Also:
    • RUNNING_VALUE

      public static final int RUNNING_VALUE
       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;
      See Also:
    • PAUSED_VALUE

      public static final int PAUSED_VALUE
       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;
      See Also:
    • STOPPED_VALUE

      public static final int STOPPED_VALUE
       The job has this state right before it is deleted.
       
      STOPPED = 4;
      See Also:
  • Method Details

    • values

      public static EvaluationJob.State[] 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

      public static EvaluationJob.State valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static EvaluationJob.State valueOf(int value)
      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 name
      NullPointerException - if the argument is null
    • forNumber

      public static EvaluationJob.State forNumber(int value)
      Parameters:
      value - The numeric wire value of the corresponding enum entry.
      Returns:
      The enum associated with the given numeric wire value.
    • internalGetValueMap

      public static com.google.protobuf.Internal.EnumLiteMap<EvaluationJob.State> internalGetValueMap()
    • getValueDescriptor

      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptor

      public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static EvaluationJob.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
      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 name
      NullPointerException - if the argument is null