@java.lang.Override
    public com.google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance
        getOnHostMaintenance() {
      com.google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance result =
          com.google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance.forNumber(
              onHostMaintenance_);
      return result == null
          ? com.google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance.UNRECOGNIZED
          : result;
    }
<pre>
How the instance should behave when the host machine undergoes
maintenance that may temporarily impact instance performance.
</pre>

<code>
.google.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance on_host_maintenance = 1;
</code>

@return The onHostMaintenance.
java-vmmigration/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/ComputeScheduling.java