@java.lang.Override
  public com.google.type.DayOfWeek getDay() {
    com.google.type.DayOfWeek result = com.google.type.DayOfWeek.forNumber(day_);
    return result == null ? com.google.type.DayOfWeek.UNRECOGNIZED : result;
  }
<pre>
Optional. Allows to define schedule that runs specified day of the week.
</pre>

<code>.google.type.DayOfWeek day = 1 [(.google.api.field_behavior) = OPTIONAL];</code>

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