public boolean hasScheduleEndDate() {
        return ((bitField0_ & 0x00000002) != 0);
      }
<pre>
The last day a transfer runs. Date boundaries are determined relative to
UTC time. A job runs once per 24 hours within the following guidelines:

*   If `schedule_end_date` and
[schedule_start_date][google.storagetransfer.v1.Schedule.schedule_start_date]
are the same and in
    the future relative to UTC, the transfer is executed only one time.
*   If `schedule_end_date` is later than `schedule_start_date`  and
    `schedule_end_date` is in the future relative to UTC, the job runs each
    day at
    [start_time_of_day][google.storagetransfer.v1.Schedule.start_time_of_day]
    through `schedule_end_date`.
</pre>

<code>.google.type.Date schedule_end_date = 2;</code>

@return Whether the scheduleEndDate field is set.
java-storage-transfer/proto-google-cloud-storage-transfer-v1/src/main/java/com/google/storagetransfer/v1/proto/TransferTypes.java