code: public com.google.type.DayOfWeek getDayOfWeek() {
      @SuppressWarnings("deprecation")
      com.google.type.DayOfWeek result = com.google.type.DayOfWeek.valueOf(dayOfWeek_);
      return result == null ? com.google.type.DayOfWeek.UNRECOGNIZED : result;
    }
docs: <code>.google.type.DayOfWeek day_of_week = 2;</code>