public com.google.cloud.memorystore.v1.MaintenanceSchedule getMaintenanceSchedule() {
      if (maintenanceScheduleBuilder_ == null) {
        return maintenanceSchedule_ == null
            ? com.google.cloud.memorystore.v1.MaintenanceSchedule.getDefaultInstance()
            : maintenanceSchedule_;
      } else {
        return maintenanceScheduleBuilder_.getMessage();
      }
    }
<pre>
Output only. Published maintenance schedule.
</pre>

<code>
.google.cloud.memorystore.v1.MaintenanceSchedule maintenance_schedule = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
</code>

@return The maintenanceSchedule.
java-valkey/proto-google-cloud-valkey-v1/src/main/java/com/google/cloud/memorystore/v1/Instance.java