public com.google.storagetransfer.v1.proto.TransferTypes.Schedule getSchedule() {
        if (scheduleBuilder_ == null) {
          return schedule_ == null
              ? com.google.storagetransfer.v1.proto.TransferTypes.Schedule.getDefaultInstance()
              : schedule_;
        } else {
          return scheduleBuilder_.getMessage();
        }
      }
<pre>
Specifies schedule for the transfer job.
This is an optional field. When the field is not set, the job never
executes a transfer, unless you invoke RunTransferJob or update the job to
have a non-empty schedule.
</pre>

<code>.google.storagetransfer.v1.Schedule schedule = 5;</code>

@return The schedule.
java-storage-transfer/proto-google-cloud-storage-transfer-v1/src/main/java/com/google/storagetransfer/v1/proto/TransferTypes.java