@java.lang.Override
    public boolean hasPullTarget() {
      return targetTypeCase_ == 4;
    }
<pre>
Pull target.

A pull queue is a queue that has a
[PullTarget][google.cloud.tasks.v2beta2.PullTarget].
</pre>

<code>.google.cloud.tasks.v2beta2.PullTarget pull_target = 4;</code>

@return Whether the pullTarget field is set.
java-tasks/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Queue.java