@java.lang.Override
  public boolean hasScheduleTime() {
    return ((bitField0_ & 0x00000001) != 0);
  }
<pre>
Required. The task's current schedule time, available in the
[schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
[LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] response or
[RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response.
This restriction is to ensure that your worker currently holds the lease.
</pre>

<code>.google.protobuf.Timestamp schedule_time = 2 [(.google.api.field_behavior) = REQUIRED];
</code>

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