public boolean hasPolicy() {
      return ((bitField0_ & 0x00000040) != 0);
    }
<pre>
The replication schedule policy.
</pre>

<code>.google.cloud.vmmigration.v1.SchedulePolicy policy = 8;</code>

@return Whether the policy field is set.
java-vmmigration/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/MigratingVm.java