public com.google.cloud.vmmigration.v1.SchedulePolicyOrBuilder getPolicyOrBuilder() {
      if (policyBuilder_ != null) {
        return policyBuilder_.getMessageOrBuilder();
      } else {
        return policy_ == null
            ? com.google.cloud.vmmigration.v1.SchedulePolicy.getDefaultInstance()
            : policy_;
      }
    }
<pre>
The replication schedule policy.
</pre>

<code>.google.cloud.vmmigration.v1.SchedulePolicy policy = 8;</code>
java-vmmigration/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/MigratingVm.java