public Builder setState(com.google.cloud.tasks.v2beta3.Queue.State value) {
      if (value == null) {
        throw new NullPointerException();
      }
      bitField0_ |= 0x00000020;
      state_ = value.getNumber();
      onChanged();
      return this;
    }
<pre>
Output only. The state of the queue.

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

<code>.google.cloud.tasks.v2beta3.Queue.State state = 6;</code>

@param value The state to set.
@return This builder for chaining.
java-tasks/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Queue.java