public Builder setQueue(com.google.cloud.tasks.v2beta2.Queue value) {
      if (queueBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        queue_ = value;
      } else {
        queueBuilder_.setMessage(value);
      }
      bitField0_ |= 0x00000001;
      onChanged();
      return this;
    }
<pre>
Required. The queue to create or update.

The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be
specified.

Output only fields cannot be modified using UpdateQueue.
Any value specified for an output only field will be ignored.
The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be
changed.
</pre>

<code>.google.cloud.tasks.v2beta2.Queue queue = 1 [(.google.api.field_behavior) = REQUIRED];
</code>
java-tasks/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/UpdateQueueRequest.java