requestedState property

  1. @TagNumber.new(9)
JobState get requestedState

The job's requested state.

UpdateJob may be used to switch between the JOB_STATE_STOPPED and JOB_STATE_RUNNING states, by setting requested_state. UpdateJob may also be used to directly set a job's requested state to JOB_STATE_CANCELLED or JOB_STATE_DONE, irrevocably terminating the job if it has not already reached a terminal state.

Implementation

@$pb.TagNumber(9)
JobState get requestedState => $_getN(7);
  1. @TagNumber.new(9)
set requestedState (JobState v)

Implementation

@$pb.TagNumber(9)
set requestedState(JobState v) {
  setField(9, v);
}