public Builder setPolicy(
        com.google.cloud.vmmigration.v1.SchedulePolicy.Builder builderForValue) {
      if (policyBuilder_ == null) {
        policy_ = builderForValue.build();
      } else {
        policyBuilder_.setMessage(builderForValue.build());
      }
      bitField0_ |= 0x00000040;
      onChanged();
      return this;
    }
<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