@java.lang.Override
    public int getStateValue() {
      return state_;
    }
<pre>
Output only. The state of the queue.

`state` can only be changed by calling
[PauseQueue][google.cloud.tasks.v2.CloudTasks.PauseQueue],
[ResumeQueue][google.cloud.tasks.v2.CloudTasks.ResumeQueue], or uploading
[queue.yaml/xml](https://cloud.google.com/appengine/docs/python/config/queueref).
[UpdateQueue][google.cloud.tasks.v2.CloudTasks.UpdateQueue] cannot be used
to change `state`.
</pre>

<code>.google.cloud.tasks.v2.Queue.State state = 5;</code>

@return The enum numeric value on the wire for state.
java-tasks/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Queue.java